﻿.done select {
    height: 1px;
    width: 1px;
    border: none !important;
    background: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: -2px;
    z-index: -10;
    outline: none;
    -webkit-appearance: none;
    opacity: 0;
}

.select-list {
    position: absolute;
    left: 0
}

.custom-select {
    z-index: 1
}

    .custom-select * {
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
    }

.open_list {
    z-index: 10
}

.custom-select ul {
    left: 0;
}

.custom-select li {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.custom-select, .custom-select ul {
    position: relative;
    top: 0;
    left: 0;
}

    .custom-select .custom-text {
        cursor: pointer;
        display: inline-block;
    }

    .custom-select li {
        cursor: pointer;
        min-height: 27px;
    }

.select-scroll {
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 10;
}

.default-scroll ul {
    overflow-y: scroll;
}

.custom-scroll {
    overflow: hidden;
    z-index: 10;
}

.scroll-drag {
    display: block;
    position: absolute;
    left: 1px;
    cursor: pointer
}

.disabled * {
    cursor: default !important
}
/* Style for example*/

.custom-text, .ds-selected {
    padding-right: 20px;
    position: relative;
    background-color: #ffffff;
    margin: 1px;
    height: 38px;
    border: 1px solid #FFF;
    color: #393737;
    font-size: 14px;
    line-height: 38px;
    padding-left: 13px;
    width: auto !important;
    overflow: hidden;
}

span.custom-text:after, div.ds-selected:after {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    background: var(--sprite) -17px 0 no-repeat;
    position: absolute;
    right: 12px;
    top: 17px;
}

.custom-select .custom-text, .custom-select.disabled span.custom-text:hover {
    overflow: hidden;
}

.custom-select .custom-text {
    display: block;
    font-weight: 300;
    text-transform: uppercase;
}

.custom-select span.custom-text:hover, .active span.custom-text {
    background-color: #f3f3f3;
}

span.custom-text {
    text-align: left;
}

.select-list {
    top: 43px;
    line-height: 27px;
    color: #393737;
    left: auto;
    right: 0;
    background: #fff;
    text-align: left;
    border-bottom: 1px solid #dfdfdf;
}

    .select-list li {
        color: #393737;
        padding: 0 12px;
        margin: 0 !important;
        min-height: 34px;
        font-size: 14px;
        line-height: 34px;
    }

        .select-list li:first-child {
            border-top: none;
        }

        .select-list li:hover, .select-list li.selected {
            background-color: var(--main-color);
            color: #FFFFFF;
        }

    .select-list.custom-scroll {
    }

    .select-list li.disabled {
        color: #CCCCCC;
        cursor: default
    }

.select-scroll {
    background-color: #e6e6e6;
    width: 12px;
    border-radius: 2px;
}

.scroll-drag {
    top: 0;
    width: 10px;
    background-color: #1a1a1a;
}

.custom-select .hover {
    color: #FFF
}

.custom-select.disabled {
    opacity: 0.5 !important;
}

.device-select {
    width: 33.333%;
    float: left;
    position: relative;
}

.device-select select {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

@media (max-width: 680px) {
    .device-select {
        width: 50%;
    }
}

@media (max-width: 450px) {
    .device-select {
        width: 50%;
    }

    .ds-selected {
        padding-right: 12px;
        padding-left: 6px;
    }

    div.ds-selected:after {
        right: 6px;
    }
}

@media (max-width: 350px) {
    .device-select {
        width: 100% !important;
    }
}