/* --- EASYDROPDOWN FLAT THEME by Jan Cantor --- */

/* 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;
	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: auto;
	cursor: pointer;
	font-weight: 200;
	background: transparent;
	padding: 0px 0px 0px 0px;
	border-radius: 0px;
	
	color:  rgb(255, 255, 255);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
    display: inline-block;
    vertical-align: middle;
}
.dropdown:before{
    content: "";
    position: absolute;
    bottom: -2px;
    left: 5%;
    width: 95%;
    height: 1px;
    background-color: rgb(255, 255, 255);
}
.dropdown.open{
	z-index: 2;
}

.dropdown:hover,
.dropdown.focus{
	background: transparent;
}

/* CARAT */

.dropdown .carat,
.dropdown .carat:after{
	position: absolute;
	right: 14px;
	top: 50%;
	margin-top: -3px;
	border: 6px solid transparent;
	border-top: 6px solid #FFF;
	z-index: 1;
	opacity: 0;
	-webkit-transform-origin: 50% 20%;
	transform-origin: 50% 20%;
	
}

.dropdown:hover .carat:after{
	border-top-color: transparent;
}

.dropdown.focus .carat{
	border-top-color: transparent;
}

.dropdown.focus .carat:after{
	border-top-color: transparent;
}

.dropdown.open .carat{
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

/* 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 select{
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

/* SELECTED FEEDBACK ITEM */ 
.dropdown .selected {
    color: rgb(255, 255, 255);
}

.dropdown .selected,
.dropdown li{
	display: block;
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	line-height: 1;
	padding: 8px 12px;
	overflow: hidden;
	white-space: nowrap;
}
.dropdown .selected{
    padding: 0px 0px 0px  5px;
    font-size: 18px;
    
}
.dropdown .selected::after{
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 60px;
	
	border-radius: 0 5px 5px 0;
/*	box-shadow: inset -55px 0 25px -20px #29af84;*/
}

.dropdown:hover .selected::after,
.dropdown.focus .selected::after{
/*	box-shadow: inset -55px 0 25px -20px #00c384;*/
}

/* DROP DOWN WRAPPER */

.dropdown div{
	position: absolute;
	height: 0;
	left: -200;
	right: 0;
	top: 110%;
	margin-top: 1px;
	background: rgb(255, 255, 255);
	overflow: hidden;
	opacity: 0;
	color: rgb(41, 41, 41);
	width: 200px;
	border-radius: 5px;
}

.dropdown:hover div{
	background: rgb(255, 255, 255);
	
	border-radius: 5px;
}

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

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

.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;
	border-radius: 5px;
}

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

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 14px 12px;
	border-bottom: 1px solid rgb(150, 150, 150);
}

.dropdown li:last-child {
    border-bottom: 0;
}

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

.dropdown li.focus{
	background: rgb(240, 240, 240);
	position: relative;
	z-index: 3;
	color: rgb(41, 41, 41);
}

.dropdown li.active{
    background: rgb(210, 210, 210);
    color: rgb(41, 41, 41);
}
@media screen and (max-width:1182px){
    .dropdown div{
        position: absolute;
        height: 0;
        left: 0;
        right: 0;
        top: 110%;
        margin-top: 1px;
        background: rgb(255, 255, 255);
        overflow: hidden;
        opacity: 0;
        color: rgb(41, 41, 41);
        width: 200px;
        border-radius: 5px;
    }
}