/* --- 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:90%;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
background: #fff;
border: 1px solid #ccc;
border-radius: 3px;
padding-left: 10px;
margin-left: 0;
max-width:60%;
width:auto;
min-width:50px;
display:inline-block;vertical-align:middle
}

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

.dropdown:hover{
	box-shadow: none;
}

.dropdown.focus{
	box-shadow:none;
}

/* CARAT */

.dropdown .carat{
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 0px;
    width: 30px;
    height: 30px;
    background:#f6f6f6 url(../img/arrow-down.png) no-repeat center center /10px;
    border-left: 1px solid #ddd;
}

.dropdown.open .carat{
   background: url(../img/arrow-up.png) no-repeat center center /10px;
   border-color:#fff
}

.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: 13px;
line-height: 30px;
color: #333;
padding: 0;
overflow: hidden;
white-space: nowrap;
opacity:0.8
}

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

.dropdown .selected::after{
content: '';
position: absolute;
right: 15px;
top: 0;
bottom: 0;
width: 60px;
box-shadow: none;
border-radius: 25px;
}

/* DROP DOWN WRAPPER */

.dropdown div{
position: absolute;
height: 0;
left: -1px;
right: -1px;
top: 100%;
margin-top: -1px;
background: #fff;
border: none;
border-top: none;
border-radius: 0;
overflow: hidden;
opacity: 0;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
.dropdown.open {border-radius:0;background:inherit}
/* 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;
}

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

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 0px 10px;
	opacity:1;
}

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

.dropdown li.focus{
	position: relative;
	z-index: 3;
	color: #3276ce;
}

.dropdown li.active{
	font-weight: 700;
}
