/* --- EASYDROPDOWN DEFAULT THEME --- */

/* PREFIXED CSS */

.vd-select,
.vd-select div,
.vd-select li,
.vd-select 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;
}

.vd-select .selected::after,
.vd-select.scrollable div::after{
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    -ms-pointer-events: none;
    pointer-events: none;
}

/* WRAPPER */

.vd-select{
    position: relative;
    width: 160px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #fff;
    display: flex!important;
    align-items:center;
    border-radius: 3px;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.vd-select.open{
    z-index: 2;
}



/* CARAT */

.vd-select .carat{
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -2px;
    height: 7px;
    width: 13px;
    background: url(../img/drop-down.png) no-repeat scroll  transparent;
}

.vd-select.open .carat{
    height: 7px;
    width: 13px;
    background: url(../img/pull-up.png) no-repeat scroll  transparent;
}

.vd-select.disabled .carat{
    border-top-color: #999;
}

/* OLD SELECT (HIDDEN) */

.vd-select .old{
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.vd-select select{
    position: absolute;
    left: 0px;
    top: 0px;
}

.vd-select.touch .old{
    width: 100%;
    height: 100%;
}

.vd-select.touch select{
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* SELECTED FEEDBACK ITEM */

.vd-select .selected,
.vd-select li{
    display: block;
    font-size: 14px;
    line-height: 1;
    color: #000;

    overflow: hidden;
    white-space: nowrap;
}

.vd-select.disabled .selected{
    color: #999;
}



/* DROP DOWN WRAPPER */

.vd-select div{
    position: absolute;
    height: 0;
    left: 0px;
    right: 0px;
    top: 100%;
    margin-top: 0px;
    background: #fff;
    border: solid 1px #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    max-height: 160px;
    overflow-y: auto;
    box-shadow: 0px 1px 3px 0px rgba(226, 226, 226, 0.46);
}

/* Height is adjusted by JS on open */

.vd-select.open div{
    opacity: 1;
    z-index: 2;
}

/* FADE OVERLAY FOR SCROLLING LISTS */

.vd-select.scrollable div::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;

    box-shadow: inset 0 -50px 30px -35px #fff;
}

.vd-select.scrollable.bottom div::after{
    opacity: 0;
}

/* DROP DOWN LIST */

.vd-select ul{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;

}

.vd-select.scrollable.open ul{
    overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */

.vd-select li{
    list-style: none;
    padding: 10px 14px;
}

/* .focus class is also added on hover */

.vd-select li.focus{
    background: #cae9ff;
    position: relative;
    z-index: 3;

}

.vd-select li.active{
    background-color: #cae9ff;
}

.vd-select>div::-webkit-scrollbar-track-piece {
    background-color:#fff;
    border:#e2e2e2;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.vd-select>div::-webkit-scrollbar {
    width:6px;
    height:9px;
}
.vd-select>div::-webkit-scrollbar-thumb {
    background-color:#eeeeee;
    background-clip:padding-box;
    min-height:28px;
    border-radius: 5px;
}
.vd-select>div::-webkit-scrollbar-thumb:hover {
    background-color:#bbb;
    border-radius: 0 6px 6px 0;
}
