﻿.fstdiv {
    position: relative;
    min-height: 34px;
    width: 100%;
    width: -moz-available;         
    width: -webkit-fill-available;  
    width: fill-available;
}
.fstdiv.open {
    z-index: 2147483647
}
.fstdropdown {
    vertical-align: middle;
    border: none;
    border-radius:3px 0 0 3px;
    cursor: pointer;
    background: white;
    overflow: hidden;
    width: inherit;
    color: #333;
}
.fstdropdown.open {
    box-shadow: 2px 2px 3px #ccc;
}
.fstdiv.open > .fstdropdown{
    position: absolute;
}

.fstdropdown > .fstselected {
    line-height: 1.42857143;
    padding: 11px 24px 6px 30px;
    box-shadow: none;
    color: #d7d7d7;
    font-size: 14px;
    outline: 0;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-user-select: none;
    position: relative;
    height: 45px;
    border-radius: 3px 0 0 3px;
    font-size: 15px;
    outline: none;
    border-right: 1px solid #ccc;
    text-align: left;
}
.fstsearch input {
    border: 1px solid #ccc !important;
    height: 40px !important;
    font-size: 14px;
    padding: 5px;
}
.fstdropdown > .fstselected:after {
    position: absolute;
    top: 41%;
    display: block;
    height: 0;
    color: #d7d7d7;
    margin-top: -3px;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    content: "\f3c5";
    left: 11px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fstdropdown.open > .fstselected {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-color: transparent;
}

.fstdropdown.open > .fstselected::after {
    margin-top: -3px;
    border-color: transparent transparent #999;
    border-width: 0 4px 4px;
}

.fstdropdown > .fstlist {
    display: none;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden
}

.fstdropdown.open > .fstlist {
    display: block
}

.fstlist > div {
    padding: 10px 15px 10px 35px;
    user-select: none;
    -webkit-user-select: none;
    font-size: 15px;
    border-bottom: 1px solid #d7d7d7;
    position: relative;
}
.fstlist > div:after {
    position: absolute;
    top: 40%;
    display: block;
    height: 0;
    color: #d7d7d7;
    margin-top: -3px;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    content: "\f3c5";
    left: 9px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.fstlist > div.selected:after {
    color: #555;
}
/*.fstdropdown.open:hover {
    border-color: #66afe9;
    overflow-x: hidden;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    -o-transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s;
    -webkit-transition: border-color ease-in-out .1s,-webkit-box-shadow ease-in-out .1s;
    transition: border-color ease-in-out .1s,-webkit-box-shadow ease-in-out .1s;
    transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s;
    transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s,-webkit-box-shadow ease-in-out .1s;
}
*/
.fstlist > div:hover {
    background-color: #eee;
    color: #555;
}

.fstlist > div.selected {
    background-color: #d7d7d7;
    color: #262626;
}

.fstdropdown > .fstlist div:first-child {
    display: none !important;
}
.fstsearchinput {
    padding: 5px 15px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border: none;
    color: #555;
    display: none;
    height: 45px;
    border-radius: 3px;
    font-size: 16px;
    outline: none;
    position: relative;
}
.fstsearchinput:hover, .fstsearchinput:focus {
    border: 1px solid #d7d7d7;
}
.fstdropdown.open > .fstsearch {
    display: block;
    padding: 4px;
}

.fstdropdown.open .fstsearchinput {
    display: block;
}

.fstdropdown .hideFst, .fstdropdown-select.fstcreated {
    display: none;
}

.fstAll {
    width: 100%;
    position: relative;
    background-color: #0090ff;
    color: #fff;
    border: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    height: 30px;
    display: none;
}

.fstAll:hover {
    background-color: #337ab7
}

.open .fstAll {
    display: block;
}
#nosearch {
    padding: 10px 15px;
    background-color: #ffcccc;
    color: #333;
    font-size: 13px;
}


@media only screen and (max-width: 767px) {
    .fstlist > div {
        font-size: 13px;
    }
    .fstdropdown > .fstselected {
        height: 2.5rem;
        font-size: 14px;
    }
    .fstdropdown > .fstselected {
        padding-top: 9px;
    }
    .fstlist > div {
        padding: 8px 10px 8px 30px;
    }
    .fstsearch input {
        height: 35px !important;
        font-size: 13px;
        padding: 3px 10px;
    }
    .fstdropdown > .fstlist {
        text-align: left;
    }
}