/****************** Custom select **********************/
.custom-md-select {
    position: relative;
    margin-top:16px;
}
.custom-md-select label{
    position: absolute;
    top:0;
    left:0;
    transform: translate(8px,-50%);
    padding: 0 3px;
    font-size: 13px;
    font-weight: 500;
    color:#757575;
    background-color: white;
    -webkit-transition: transform .4s, left .4s;
    -moz-transition: transform .4s, left .4s;
    -ms-transition: transform .4s, left .4s;
    -o-transition: transform .4s, left .4s;
    transition: transform .4s, left .4s;
}
.custom-md-select i.fas.fa-angle-down{
    position: absolute;
    right: 12px;
    top: 9px;
    transition:color .4s;
}
.custom-md-select .custom-select {
    display: none;
}
.custom-md-select .custom-md-select-input {
    cursor: pointer;
    outline:none;
    position:relative;
    width: 100%;
    margin: 0;
    background-color:white;
    padding: 3px 16px;
    border:1px solid #dadce0;
    border-radius: 4px;
    transition:border-color .4s,box-shadow .4s;
}
.custom-md-select .custom-md-select-input.active {
    border-color: #E88A60;
    box-shadow: inset 0 0 0 1px #E88A60;
}
.custom-md-select .custom-md-select-input.active~i.fas.fa-angle-down{
    color: #E88A60;
}
.custom-md-select .custom-md-select-input.active~label{
    color: #E88A60;
    left:50%;
    z-index:1000;
    transform: translate(-50%,calc(-100% + 4px));
}
.custom-md-select .custom-md-select-options{
    opacity: 0;
    position:absolute;
    top:2px;
    left:2px;
    width: calc(100% - 4px);
    border-radius: 4px;
    z-index:999;
    margin:0;
    max-height: 0;
    padding:0;
    list-style:none;
    background-color:white;
    -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    transition: max-height .6s,opacity .2s;
    overflow-y: auto;
}
.custom-md-select .custom-md-select-options.active{
    opacity: 1;
    max-height: 300px;
    -webkit-transition: max-height .6s, opacity .2s;
    -moz-transition: max-height .6s, opacity .2s;
    -ms-transition: max-height .6s, opacity .2s;
    -o-transition: max-height .6s, opacity .2s;
    transition: max-height .6s, opacity .2s;
}
.custom-md-select .custom-md-select-options li:not(.selected-option) {
    padding:0 11px;
    margin:2px 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: background-color .4s, color .4s;
    -moz-transition: background-color .4s, color .4s;
    -ms-transition: background-color .4s, color .4s;
    -o-transition: background-color .4s, color .4s;
    transition: background-color .4s, color .4s;
}
.custom-md-select .custom-md-select-options li.selected-option {
    padding:0 15px;
    margin: 2px 0;
    color:grey;
    font-weight:bolder;
}
.custom-md-select .custom-md-select-options li.active {
    color: #545454;
    font-weight:bold;
    background-color: lightgrey;
}
.custom-md-select .custom-md-select-options li:not(.selected-option):hover {
    background-color:grey;
    color:white;
}

/****************** End Custom select **********************/
