/* --- EASYDROPDOWN DEFAULT THEME --- */

/* PREFIXED CSS */

.dropdown, .dropdown div, .dropdown li, .dropdown div::after {
-webkit-transition: all 150ms ease-in-out;
 -moz-transition: all 150ms ease-in-out;
 -ms-transition: all 150ms ease-in-out;
 transition: all 150ms ease-in-out;
}
 .dropdown .selected::after, .dropdown.scrollable div::after {
 -webkit-pointer-events: none;
 -moz-pointer-events: none;
 -ms-pointer-events: none;
 pointer-events: none;
}
/* WRAPPER */

.dropdown {
	position: relative;
	width: 96%;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	height: 30px;
	line-height: 30px;
	padding: 0 2%;
	line-height: normal;
	background: #E5E6E8;
}
.ddSmall .dropdown {

	height: 20px;
	line-height: 20px;
	background: none;
	border: solid 1px #999999;
}
.dropdown.open {
	z-index: 2;
}
.dropdown:hover {
}
.dropdown.focus {
}
/* CARAT */

.dropdown .carat {
	position: absolute;
	top: 0;
	right: 0;
	height: 30px;
	width: 30px;
	background: url("../img/ddArrow.png") no-repeat scroll 8px 10px #E5E6E8;
}

.ddSmall .dropdown .carat {

	height: 20px;
	width: 22px;
	background: url("../img/ddArrowSmall.png") no-repeat scroll 5px 8px #E5E6E8;
	border-left: solid 1px #999999;
}
.dropdown.open .carat {
}
.dropdown.disabled .carat {
}
/* OLD SELECT (HIDDEN) */

.dropdown .old {
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}
.dropdown select {
	position: absolute;
	left: 0px;
	top: 0px;
}
.dropdown.touch .old {
	width: 100%;
	height: 100%;
}
.dropdown.touch select {
	width: 100%;
	height: 100%;
	opacity: 0;
}
/* SELECTED FEEDBACK ITEM */ 

.dropdown .selected, .dropdown li {
	font-size: 0.75em !important;
	line-height: 1em !important;
	height: 11px;
	overflow: hidden;
	white-space: nowrap;
}
.resnav .dropdown .selected, .resnav .dropdown li
{
font-size: 1em !important;
}
.dropdown .selected {
	line-height: 31px !important;
	height: 31px !important;
}

.ddSmall .dropdown .selected {
	line-height: 20px !important;
	height: 20px !important;
}
.dropdown.disabled .selected {
	color: #999;
}
 .dropdown .selected::after {
 content: '';
 position: absolute;
 right: 0;
 top: 0;
 bottom: 0;
 width: 60px;
}
/* DROP DOWN WRAPPER */

.dropdown div {
	position: absolute;
	height: 0;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: -1px;
	overflow: hidden;
	opacity: 0;
}

.ddSmall .dropdown div {

	margin: 0px -1px;
	background: #f5f5f5;
	border: solid 1px #999;
}
/* Height is adjusted by JS on open */

.dropdown.open div {
	opacity: 1;
	z-index: 2;
}

/* FADE OVERLAY FOR SCROLLING LISTS */

.dropdown.scrollable div::after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 50px;
 box-shadow: inset 0 -50px 30px -35px #fff;
}
 .dropdown.scrollable.bottom div::after {
 opacity: 0;
}
/* DROP DOWN LIST */

.dropdown ul {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	list-style: none;
	overflow: hidden;
	margin: 0;
	padding: 0;
	max-height: 318px;
    overflow-y: scroll;
}
.dropdown.scrollable.open ul {
	overflow-y: auto;
}
/* DROP DOWN LIST ITEMS */

.dropdown li {
	list-style: none;
	padding: 8px 2%;
	display: inline-block;
	width: 96%;
	float: left;
	margin: 0 !important;
	background: #B5B8BD;
	color: #ffffff;
	border-top: solid 2px #E5E6E8;
}
.dropdown li:first-child
{
border-top: none;
}
.dropdown li:hover
{
color: #000;
}
.ddSmall .dropdown li {
	list-style: none;
	padding: 5px 2%;

	background: #fff;
	color: #464646;
	margin-top: 0;
	
	border: none;
}
.ddSmall .dropdown li:hover
{
background: #E5E6E8;
color: #464646;
}
/* .focus class is also added on hover */

.dropdown li.focus {
	/*background: #E5E6E8;*/
	position: relative;
	z-index: 3;
}
.dropdown li.active {
	font-weight: 700;
}
