﻿.ms-parent {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    /*width: 204px!important;*/
    width: 100%;
}

.ms-choice {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e4e6e9;
    text-align: left;
    white-space: nowrap;
    line-height: 35px;
    /*color: #444;*/
    text-decoration: none;
    background-color: #fff;

}

    .ms-choice.disabled {
        background-image: none;
        cursor: default;
        background-color: #2d6ca0;
        cursor: default;
        border: 1px solid #a3a3a3;
    }

        .ms-choice.disabled > div {
            background: none;
        }

    .ms-choice > span {
        display: block;
        color: #3d3d3d;
        left: 0;
        overflow: hidden;
        padding-left: 12px;
        position: absolute;
        right: 20px;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        top: 2px;
        white-space: nowrap;
    }

        .ms-choice > span.placeholder {
            color: #999;
        }

    .ms-choice > div {
        position: absolute;
        top: 8px;
        right: 3px;
        width: 20px;
        height: 25px;
        background: url(../img/caret-down.svg) center right 10px no-repeat;
    }

        .ms-choice > div.open {
            background: url('../img/caret-down.svg') center right 10px no-repeat;
        }

.ms-drop {
    overflow: hidden;
    display: none;
    margin-top: -1px;
    padding: 0;
    position: absolute;
    z-index: 5;
    background: #fff;
    /*color: #000;*/
    border: 1px solid #dcdcdc;
}

    .ms-drop.bottom {
        top: 100%;
        -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
        -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
        box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    }

    .ms-drop.top {
        bottom: 100%;
        -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
        -moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
        box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
    }

.ms-search {
    display: inline-block;
    margin: 0;
    min-height: 26px;
    padding: 4px;
    position: relative;
    white-space: nowrap;
    width: 100%;
    z-index: 10000;
}

    .ms-search input {
        width: 100% !important;
        height: auto !important;
        min-height: 24px;
        padding: 0 20px 0 5px;
        margin: 0;
        font-size: 1em;
        border: 1px solid #dcdcdc;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background: #fff url('multiple-select.png') no-repeat 100% -22px;
        background: url('multiple-select.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
        background: url('multiple-select.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
        background: url('multiple-select.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
        background: url('multiple-select.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
        background: url('multiple-select.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
        background: url('multiple-select.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
    }

    .ms-search, .ms-search input {
        -webkit-box-sizing: border-box;
        -khtml-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

.ms-ul {
    overflow: auto;
}

.ms-drop ul {
    margin: 0;
    float: left;
    min-width: 100%;
}

    .ms-drop ul > li {
        list-style: none;
        display: list-item;
        background-image: none;
        position: static;
    }

        .ms-drop ul > li .disabled {
            opacity: .35;
            filter: Alpha(Opacity=35);
        }

        .ms-drop ul > li.multiple {
            display: block;
            float: left;
        }

        .ms-drop ul > li.group {
            clear: both;
        }

        .ms-drop ul > li.multiple label {
            width: 100%;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
        }

        .ms-drop ul > li label {
            font-weight: normal;
            display: block;
            /* white-space: nowrap; */
            padding: 5px 12px;
            float: none !important;
            margin-bottom: 0;
        }

            .ms-drop ul > li label.optgroup {
                font-weight: bold;
            }

.ms-drop input[type="checkbox"] {
    vertical-align: middle;
}

li < li input[type="checkbox"]:focus {
    background: #d8d8d8 !important;
}

.ms-drop input[type="radio"] {
    opacity: 0;
    height: 2px;
    width: 2px;
}

li < li input[type="radio"]:focus {
    background: #d8d8d8 !important;
}

.ms-drop .ms-no-results {
    display: none;
}


.ms-drop.bottom li {
    width: 100%;
    margin-left: 0px;
    text-align: left;
}

    .ms-drop.bottom li.selected {
        background: #d6ecff;
    }

    .ms-drop.bottom li:hover {
        background: #d6ecff;
    }


.testhover {
    background: #d8d8d8 !important;
}
