/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 */

.selec1{width:200px;}

.ms-parent {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.main .wrapSearch .boxSelect .listSelect li:nth-child(1) .ms-parent .ms-choice{
    border-radius: 5px 0 0 5px;
    width: 196px !important;
}

.main .wrapSearch .boxSelect .listSelect li:nth-child(2) .ms-parent .ms-choice{
    width: 196px !important;
}
.main .wrapSearch .boxSelect .listSelect li:nth-child(3) .ms-parent .ms-choice{
    width: 196px !important;
}
.main .wrapSearch .boxSelect .listSelect li:nth-child(4) .ms-parent .ms-choice{
    width: 320px !important;
    border-radius: 0 5px 5px 0;
}

.ms-parent .ms-choice{
    border: none;
    border-top: 2px solid #fff;
    border-right: 1px solid #fff;
    background: url(../../images/index/select-arrow.png) no-repeat right 18px top 27px, linear-gradient( 180deg, rgb(255, 255, 255) 50%, rgb(233, 233, 233) 100%);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 18px;
    width: 100%;
    padding: 35px 0 37px 29px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    z-index: 11;
    line-height: 1.15;

}

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

}

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

.ms-choice > span {
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    left: 0;
    right: 0px;
    margin-left: 29px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    text-align: left;
}

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

.ms-choice > div {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 25px;
}

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

.ms-drop.bottom {
    top: 100%;
    width: 100% !important;
}

.ms-drop.top {
    bottom: 100%;
}

.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%;
    height: auto !important;
    min-height: 24px;
    padding: 0 20px 0 5px;
    margin: 0;
    outline: 0;
    font-family: sans-serif;
    font-size: 1em;
    border: 1px solid #aaa;
    border-radius: 0;
}

.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-drop ul {
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 5px 8px;
}

.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;
    text-overflow: ellipsis;
}

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

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

.ms-drop .ms-no-results {
    display: none;
}
@media(min-width: 769px){
    .ms-choice > span{
       padding-right: 30px; 
    }
}


@media(max-width: 768px){
    .main .wrapSearch .boxSelect .listSelect li .ms-parent{
        width: 100%;
    }
    .ms-parent .ms-choice{
        font-size: 15.5px;
        padding: 21px 0 26px;
        background: url(../../images/index/select-arrow.png) no-repeat right 11px top 17px/6px, linear-gradient(0deg, rgba(255, 255, 255) 50%, rgba(233, 233, 233) 100%);
    }
    .ms-choice > span{
       top: 44%;
       margin-left: 9px;
    }

    .main .wrapSearch .boxSelect .listSelect li:nth-child(1) .ms-parent .ms-choice, .main .wrapSearch .boxSelect .listSelect li:nth-child(2) .ms-parent .ms-choice, .main .wrapSearch .boxSelect .listSelect li:nth-child(3) .ms-parent .ms-choice, .main .wrapSearch .boxSelect .listSelect li:nth-child(4) .ms-parent .ms-choice {
        border-radius: 3px;
    }
    .main .wrapSearch .boxSelect .listSelect li:nth-child(1) .ms-parent .ms-choice {
        width: 100% !important;
    }
    .main .wrapSearch .boxSelect .listSelect li:nth-child(2) .ms-parent .ms-choice{
        width: 100% !important;
    }
    .main .wrapSearch .boxSelect .listSelect li:nth-child(3) .ms-parent .ms-choice{
        width: 100% !important;
    }
    .main .wrapSearch .boxSelect .listSelect li:nth-child(4) .ms-parent .ms-choice{
        width: 100% !important;
    }
/*    .ms-drop ul{
        overflow: auto;
    }*/
    .main .wrapSearch .boxSelect .listSelect li:nth-child(4) .ms-parent .ms-choice span{
/*        word-wrap: break-word;
        text-overflow: inherit;
        white-space: normal;*/
        padding: 1px 36px 0px 0px;
        line-height: 1.1;
    }

}

@media(max-width: 414px){
    .main .wrapSearch .boxSelect .listSelect li select{
        background: url(../images/index/select-arrow.png) no-repeat right 11px top 17px/6px, linear-gradient(0deg, rgba(255, 255, 255) 50%, rgba(233, 233, 233) 100%);
    }


}