/* --- EASYDROPDOWN METRO THEME --- */

/* PREFIXED CSS */

.dropdown,
.dropdown div,
.dropdown li,
.dropdown div::after,
.dropdown .carat,
.dropdown .carat:after,
.dropdown .selected::after,
.dropdown: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: 31.5%;
	cursor: pointer;
	font-weight: 200;
	background: #f9fafb;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

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

.dropdown:hover{
	background: #f9fafb;
}

.dropdown:after{
	content: '';
	position: absolute;
	right: 3px;
	bottom: 3px;
	top: 2px;
	width: 6%;
	background: transparent;
}

/*.dropdown.focus:after{
	background: #aec90b;
}*/

/* CARAT */

.dropdown .carat,
.dropdown .carat:after{
	/*content: '';
	position: absolute;
	right: 2%;
	top: 50%;
	margin-top: -4px;
	border: 8px solid #aec90b;
	border-top: 8px solid #fff;
	z-index: 2;*/
	font-family: FontAwesome;
	content: '\f107';
	width: 50px;
	height: 100%;
	background-color: #aec90b;
	color: #fff;
	position: absolute;
	right: 0;
	top: 1%;
	font-size: 25px;
	text-align: center;
	line-height: 36px;
	/*
	-webkit-transform-origin: 50% 20%;
	-moz-transform-origin: 50% 20%;
	-ms-transform-origin: 50% 20%;
	transform-origin: 50% 20%;*/
	
}

/*.dropdown .carat:after{
	margin-top: -10px;
	right: -8px;
	border-top-color: #f8f8f8;
}*/

.dropdown:hover .carat:after{
	font-family: FontAwesome;
	content: '\f107';
	width: 50px;
	height: 100%;
	background-color: #aec90b;
	color: #fff;
	position: absolute;
	right: 0;
	top: 1%;
	font-size: 25px;
	text-align: center;
	line-height: 36px;
}

.dropdown.focus .carat{
	font-family: FontAwesome;
	content: '\f106';
	width: 50px;
	height: 100%;
	background-color: #aec90b;
	color: #fff;
	position: absolute;
	right: 0;
	top: 1%;
	font-size: 25px;
	text-align: center;
	line-height: 36px;
}

.dropdown.focus .carat:after{
	font-family: FontAwesome;
	content: '\f107';
	width: 50px;
	height: 100%;
	background-color: #aec90b;
	color: #fff;
	position: absolute;
	right: 0;
	top: 1%;
	font-size: 25px;
	text-align: center;
	line-height: 36px;
}

.dropdown.open .carat:after{
	font-family: FontAwesome;
	content: '\f106';
	width: 50px;
	height: 100%;
	background-color: #aec90b;
	color: #fff;
	position: absolute;
	right: 0;
	top: 1%;
	font-size: 25px;
	text-align: center;
	line-height: 36px;
}

/* 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: 18px;
	line-height: 1;
	color: #000;
	padding: 9px 12px;
	overflow: hidden;
	white-space: nowrap;
}

.dropdown .selected::after{
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 60px;
	
	border-radius: 0 2px 2px 0;
	box-shadow: inset -55px 0 25px -20px #f8f8f8;
}

.dropdown:hover .selected::after{
	box-shadow: inset -55px 0 25px -20px #f4f4f4;
}

/* DROP DOWN WRAPPER */

.dropdown div{
	position: absolute;
	height: 0;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: -1px;
	background: #f8f8f8;
	opacity: 0;
}

.dropdown:hover div{
	background: #f4f4f4;
}

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

.dropdown.scrollable:hover div::after{
	box-shadow: inset 0 -50px 30px -35px #f4f4f4;
}

.dropdown.scrollable.bottom div::after{
	opacity: 0;
}

/* DROP DOWN LIST */

.dropdown ul{
	position: absolute;
	left: 0;
	top: 1px;
	height: 100%;
	width: 100%;
	list-style: none;
	overflow: hidden;
	background-color: #fff;
	outline: solid 1px #bdc3c7;
	padding: 0px;

}

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

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 8px 12px;
	border-bottom: solid 1px #bdc3c7;
}

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

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

.dropdown li.active{
	background: #f3f3f3;
	color: #333333;
}
