﻿/* --- 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;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

.dropdown .selected::after,
.dropdown.scrollable div::after{
	pointer-events: none;
}

/* WRAPPER */

.dropdown {
    position: relative;
    /*width: 160px;*/
    width: auto;
    border:0;
    cursor: pointer;
    background: transparent;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dropdown.open{
	z-index: 2;
}

    .dropdown:hover {
        -moz-box-shadow: 0;
        -webkit-box-shadow: 0;
        box-shadow: 0;
    }

    .dropdown.focus {
        -moz-box-shadow: 0;
        -webkit-box-shadow: 0;
        box-shadow: 0;
    }

/* CARAT */

.dropdown .carat{
	position: absolute;
	/*right: 12px;
	top: 50%;
	margin-top: -4px;
	border: 6px solid transparent;
	border-top: 8px solid #fff;*/

    background-image: url("/Images/h_arrow_down.png");
    background-position: 87% center;
    background-repeat: no-repeat;
    display: block;
    height: 7px;
    width: 12px;
    right: 0;
    top: 8px;
}

.dropdown.open .carat{
	/*margin-top: -10px;
	border-top: 6px solid transparent;
	border-bottom: 8px solid #fff;*/
}

.dropdown.disabled .carat{
	/*border-top-color: #999;*/
    opacity:0.5;
}

/* OLD SELECT (HIDDEN) */

.dropdown .old{
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

.dropdown select{
	position: absolute;
	left: 0;
	top: 0;
}

.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: 14px;
	line-height: 1;
	color: #ecebe6;
	padding: 4px 12px;
	overflow: hidden;
	white-space: nowrap;
}
.dropdown .selected{
    padding:4px 26px 4px 4px;
}
.dropdown.disabled .selected{
	color: #999;
}

    .dropdown .selected::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 60px;
        -moz-border-radius:0;
        -webkit-border-radius:0;
        border-radius:0;
        -moz-box-shadow: 0;
        -webkit-box-shadow: 0;
        box-shadow: 0;
    }

/* DROP DOWN WRAPPER */

    .dropdown div {
        position: absolute;
        height: 0;
        left: -1px;
        right: -1px;
        top: 100%;
        margin-top: -1px;
        background: transparent;
        border: 0;
        border-top: 0;
        -moz-border-radius: 0 0 3px 3px;
        -webkit-border-radius: 0 0 3px 3px;
        border-radius: 0;
        overflow: hidden;
        opacity: 0;
    }

/* 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;
        -moz-box-shadow: 0;
        -webkit-box-shadow: 0;
        box-shadow: 0;
    }

.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: 6px 14px;*/
    padding:6px 14px 6px 0;
    margin:0 0 0 6px;
    border-bottom:1px solid #434b5e;
    text-align:left;
}
.dropdown li:last-child{
    border-bottom:0;
}
/* .focus class is also added on hover */

.dropdown li.focus{
	background: transparent;
	position: relative;
	z-index: 3;
	color: #fff;
}

.dropdown li.active{
	font-weight: 700;

    display:none;
}

.dropdown.open ul {
    padding-top: 10px;
}

.dropdown.open ul li{
    opacity:0.7;
}