.s2 {
	display: inline-block;
	position: relative;
	padding: 0;
	margin: 0;
	height: 25px;
	width: 200px;
	background-color: #f7f7f7;
	border: 1px solid #aaa;
	border-radius: 2px;
	font-size: 13px;
	outline: 0;
	background: -webkit-linear-gradient(top, #e6e6e6 50%, #eeeeee 100%);
	background: -o-linear-gradient(top, white 50%, #eeeeee 100%);
	background: -moz-linear-gradient(top, white 50%, #eeeeee 100%);
	background: linear-gradient(to bottom, white 50%, #eeeeee 100%);
	text-align: left;
	cursor: pointer;
	vertical-align: bottom;
}

.s2.first {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.s2.middle {
	border-radius: 0;
	border-left: 0;
	padding-left: 1px;
}

.s2.last {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: 0;
	padding-left: 1px;
}

.s2.selected.middle,
.s2.selected.last {
	padding-left: 0;
}

.s2.selected {
	border: 1px solid #5897fb;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.s2 > input {
	outline: 1;
	height: 25px;
	line-height: normal;
	width: 100%;
	font-size: 13px;
	font-weight: 400;
	text-align: left;
	padding: 0px 7px;
	margin: 0 !important;
	border: 0px solid #000 !important;
	box-shadow: none !important;
	box-sizing: border-box;
	cursor: pointer !important;
	background: -webkit-linear-gradient(top, #e6e6e6 50%, #eeeeee 100%);
	background: -o-linear-gradient(top, white 50%, #eeeeee 100%);
	background: -moz-linear-gradient(top, white 50%, #eeeeee 100%);
	background: linear-gradient(to bottom, white 50%, #eeeeee 100%);
}

.s2.selected > input {
	background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
	background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
	background-image: -moz-linear-gradient(top, #eeeeee 50%, white 100%);
	background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
}

.s2 .arrow {
    background-color: #ddd;
    border: none;
    border-left: 1px solid #aaa;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    height: 25px;
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    background: -webkit-linear-gradient(top, #eeeeee 50%, #dddddd 100%);
    background: -o-linear-gradient(top, #eeeeee 50%, #dddddd 100%);
    background: linear-gradient(to bottom, #eeeeee 50%, #dddddd 100%);
}

.s2.selected .arrow {
	background: none;
	border: 0;
}

.s2 .arrow b {
	border-color: #888 transparent transparent transparent;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	height: 0;
	left: 50%;
	margin-left: -4px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	width: 0;
}

.s2.selected .arrow b {
	border-color: transparent transparent #888 transparent;
	border-width: 0 4px 5px 4px;
}

.s2 > .content {
	display: none;
	position: absolute;
	min-width: 100%;
	border: 1px solid #5897fb;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	top: 25px;
	left: -1px;
	z-index: 1000;
	background: #FFFFFF;
	margin-bottom: 12px;
}

.s2.selected span.line {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 1px;
	background: #FFFFFF;
	z-index: 1005;
}

.s2.selected.upper span.line {
	top: -1px;
}

.s2.selected > .content {
	display: block;
}


/*----------MULTIPLE---------*/

.s2.multiple ul {
	max-height: 125px;
	overflow-y: scroll;
}

.s2.multiple ul li {
	font-size: 13px;
	font-weight: 400;
	text-align: left;
	padding: 7px 8px;
	cursor: pointer;
}

.s2.multiple ul li:hover {
	background: #316AD1;
	color: #FFFFFF;
}

.s2.multiple ul li input[type=checkbox] {
	display: inline-block;
	margin-right: 7px;
	vertical-align: baseline;
}

/*----------MULTIPLE---------*/

.s2.datepicker .ui-datepicker {
	border: 0 !important;
	margin: 0 auto;
}

.s2.datepicker .ui-datepicker-header {
	height: 19px !important;
}

.s2.datepicker .ui-datepicker-title {
	line-height: 19px !important;
}

.s2.datepicker .ui-state-highlight {
	background: #CCCCCC !important;
	border: 1px solid #999999 !important;
	color: #333333 !important;
}

.s2.datepicker .ui-state-active {
	background: #5897fb !important;
	color: #FFFFFF !important;
}
