/* --- 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;
	-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;
	display: inline-block;
	width: 280px;
	cursor: pointer;
	font-family: "FuturaBold", sans-serif;
	background: #fff;
	padding: 0;
	text-align: left;
	
	color:  #000;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

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

.dropdown:hover,
.dropdown.focus{

}

/* CARAT */

.dropdown .carat,
.dropdown .carat:after{
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -5px;
	z-index: 1;
	width: 14px;
	height: 9px;
	background: url(../images/dropdown-filter.png) no-repeat center center;
	background-size: 14px 9px;

}


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

.dropdown .selected,
.dropdown li{
	display: block;
	font-size: 13px;
	line-height: 13px !important;
	padding: 5px 15px;
	overflow: hidden;
	white-space: nowrap;
}

/* SELECTED FEEDBACK ITEM */
.dropdown .selected {
	color: #000;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	padding: 12px 15px;
}

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

.dropdown:hover .selected::after,
.dropdown.focus .selected::after{

}

/* DROP DOWN WRAPPER */

.dropdown div{
	position: absolute;
	height: 0;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: -1px;
	background: #fff;
	overflow: hidden;
	opacity: 0;
	color: #000;
}

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

/* 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:hover div::after{

}

.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;
	margin:0 !important;
	padding: 0 !important;
	font-family: "FuturaStdLight", sans-serif;
	letter-spacing: 0;
	text-transform: none;
}

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

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 5px 15px !important;
}

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

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

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

.dropdown li.active{
	background: #000;
	color: #fff;
}

@media screen and (min-width: 768px) {
	/* WRAPPER */
	.dropdown{
		width: 320px;
	}

	/* CARAT */
	.dropdown .carat,
	.dropdown .carat:after{
		right: 14px;
		top: 50%;
		margin-top: -6px;
		width: 19px;
		height: 12px;
		background: url(../images/dropdown-filter.png) no-repeat center center;

	}

	.dropdown .selected,
	.dropdown li{
		font-size: 15px;
		line-height: 15px !important;
		padding: 8px 24px;
	}

	/* SELECTED FEEDBACK ITEM */
	.dropdown .selected {
		padding: 19px 24px;
	}

	.dropdown .selected::after{
		width: 60px;
	}


	/* FADE OVERLAY FOR SCROLLING LISTS */
	.dropdown.scrollable div::after{
		height: 50px;
	}

	/* DROP DOWN LIST ITEMS */
	.dropdown li {
		padding: 8px 24px !important;
	}

}