/* --- 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: 160px;
	border: 1px solid #959595;
	cursor: pointer;
	background: #fff;
	display: inline-block;
	vertical-align: middle;
	text-align: left;
	font-size: 16px;
	margin: 0 5px;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.dropdown ul
{
	margin: 0;
	padding: 0;
	text-align: left;
}

.dropdown.open{
	z-index: 2;
}

.dropdown:hover{
	border: 1px solid #848484;
}

.dropdown.focus{
	border: 1px solid #848484;
}

/* CARAT */

.dropdown .carat{
	position: absolute;
	right: 7px;
	top: 50%;
	margin-top: -2px;
	border: 6px solid transparent;
	border-top: 6px solid #959595;
}

.dropdown.open .carat{
	margin-top: -10px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid #959595;
}

.dropdown .carat:after{
	content: '';
	width: 1px;
	height: 36px;
	background: #959595;
	position: absolute;
	right: 13px;
	top: -22px;;
}
.dropdown.open .carat:after{ top: -14px;}


.dropdown.disabled .carat{
	border-top-color: #999;
}

/* 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{
	display: block;
	font-size: 16px;
	line-height: 1;
	color: #706f74;
	padding: 9px;
	overflow: hidden;
	white-space: nowrap;
}

.dropdown.disabled .selected{
	color: #999;
}

.dropdown .selected::after{
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 60px;
	
	border-radius: 0 2px 2px 0;
}

/* DROP DOWN WRAPPER */

.dropdown div{
	position: absolute;
	height: 0;
	left: -1px;
	right: -1px;
	top: 100%;
	margin-top: -1px;
	background: #fff;
	border: 1px solid #959595;
	border-top: 1px solid #eee;
	border-radius: 0 0 3px 3px;
	overflow: hidden;
	opacity: 0;
}

/* 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;
}

.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;
}

.dropdown.scrollable.open ul{
	overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 12px;
}

/* .focus class is also added on hover */

.dropdown li.focus{
	background: #272727;
	position: relative;
	z-index: 3;
	color: #bbb;
}

.dropdown li.active{
	background: #e0e0e0;
}

.dropdown li.active:hover{
	color: #706f74;
	cursor: default;
}








