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

/* PREFIXED CSS */
.easyDropDown {
-moz-border-radius: 4px;-webkit-border-radius: 4px;border-radius: 4px;
border:solid 1px #CDCDCD;
}

.easyDropDown,
.easyDropDown div,
.easyDropDown li,
.easyDropDown div::after,
.easyDropDown .carat,
.easyDropDown .carat:after,
.easyDropDown .selected::after,
.easyDropDown: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;
 }

.easyDropDown .selected::after,
.easyDropDown.scrollable div::after{
	-webkit-pointer-events: none;
	-moz-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
}

/* WRAPPER */

.easyDropDown{
    float:right;
	position: relative;
	width: 100%;
	cursor: pointer;
	font-weight: 200;
	background: #fff;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
    /**/
    direction:rtl;
    height:35px;
}

.easyDropDown.open{
	z-index: 99999999;
}

.easyDropDown:hover{
	/*background: #f4f4f4;*/
}

.easyDropDown:after{
	content: '';
	position: absolute;
	left: 3px;
	bottom: 3px;
	top: 2px;
	width: 30px;
	background: transparent;
}

.easyDropDown.focus:after{
	background: #0A5ED8;
}

/* CARAT */

.easyDropDown .carat,
.easyDropDown .carat:after{
	content: '';
	position: absolute;
	left: 10px;
	top: 50%;
	margin-top: -4px;
	border: 8px solid transparent;
	border-top: 8px solid #000;
	z-index: 2;
	
	-webkit-transform-origin: 50% 20%;
	-moz-transform-origin: 50% 20%;
	-ms-transform-origin: 50% 20%;
	transform-origin: 50% 20%;
	
}

.easyDropDown .carat:after{
	margin-top: -10px;
	left: -8px;
	border-top-color: #fff;
}

.easyDropDown:hover .carat:after{
	/*border-top-color: #f4f4f4;*/
}

.easyDropDown.focus .carat{
	border-top-color: #fff;
}

.easyDropDown.focus .carat:after{
	border-top-color: #0A5ED8;
}

.easyDropDown.open .carat{
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

/* OLD SELECT (HIDDEN) */

.easyDropDown .old{
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

.easyDropDown select{
	position: absolute;
	left: 0px;
	top: 0px;

}

.easyDropDown.touch .old{
	width: 100%;
	height: 100%;
}

.easyDropDown.touch select{
	width: 100%;
	height: 100%;
	opacity: 0;

}

/* SELECTED FEEDBACK ITEM */ 

.easyDropDown .selected,
.easyDropDown li{
	display: block;
	font-size: 1.0em;
	line-height: 1;
	color: #000;
	padding: 9px 10px;
	overflow: hidden;
	white-space: nowrap;
    direction:rtl;
}

.easyDropDown .selected::after{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 30px;
	
	border-radius: 0 2px 2px 0;
	box-shadow: inset -55px 0 25px -20px #fff;

}

.easyDropDown:hover .selected::after{
	box-shadow: inset -55px 0 25px -20px #fff /*#f4f4f4*/;
}

/* DROP DOWN WRAPPER */

.easyDropDown div{
	position: absolute;
	height: 0;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: -1px;
	background: #fff;
	overflow: hidden;
	opacity: 0;
    border-right:solid 1px #CDCDCD;
    border-bottom:solid 1px #CDCDCD;
    border-left:solid 1px #CDCDCD;
}

.easyDropDown:hover div{
	/*background: #f4f4f4;*/
}

/* Height is adjusted by JS on open */

.easyDropDown.open div{
	opacity: 1;
	z-index: 2;
}

/* FADE OVERLAY FOR SCROLLING LISTS */

.easyDropDown.scrollable div::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50px;
	
	box-shadow: inset 0 -50px 30px -35px #fff;
}

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

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

/* DROP DOWN LIST */

.easyDropDown ul{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	list-style: none;
	overflow: hidden;
    padding:0px;
    
}

.easyDropDown.scrollable.open ul{
	overflow-y: auto;
    width:100%;
}

/* DROP DOWN LIST ITEMS */

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

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

.easyDropDown li.focus{
	background: #0A5ED8;
	position: relative;
	z-index: 3;
	color: #fff;
    
}

.easyDropDown li.active{
	background: #0A5ED8;
	color: #fff;
}
