/*dropdown*/

.form_dropbox {
    position: relative;
    height: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow2);
}

.form_dropbox .btn-dropbox {
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
    animation-fill-mode: forwards;
    padding: 22.5px 15px;
    height: 100%;
    min-width: 30px;
    line-height: 1;
    overflow: hidden;
    outline: 0;
    transition: all .2s;
    user-select: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
    width: auto;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--border-radius);
    border: 1px solid rgba(71, 76, 102, 0.07);
    gap: 10px;
    -webkit-transition: border-radius .3s .2s;
    transition: border-radius .3s .2s;
}

.form_dropbox .btn-dropbox > span {
    max-width: calc(100% - 34px);
    overflow: hidden;
}

.form_dropbox.opened .btn-dropbox {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    -webkit-transition: border-radius .3s .0s;
    transition: border-radius .3s .0s;
}

.form_dropbox.blocked .btn-dropbox {
    cursor: not-allowed;
    opacity: 0.7;
}

.form_dropbox i {
    font-size: 15px;
    color: var(--color-black);
    position: relative;
    width: 24px;
    height: 24px;
    transition: transform .3s;
    flex-shrink: 0
}

.form_dropbox i.svg use {
    fill: var(--color-black);
    stroke: none;
    transition-duration: .1s;
}

.form_dropbox.opened i{
    transform: rotate(180deg);
}

.form_dropbox ul {
    max-height: 0px;
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    min-width: 280px;
    background: var(--color-white);
    border: 0 solid transparent;
    box-shadow: 0px 25px 25px rgba(71, 76, 102, 0.05);
    border-radius: 0;
    z-index: 9998;
    -webkit-transition: all .3s .0s;
    transition: all .3s .0s;
    top: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    outline: none;
}

.form_dropbox.opened ul {
    max-height: calc((45px * 6) + (15px * 5));
    z-index: 9999;
    border-width: 1px;
    border-color: rgba(71, 76, 102, 0.07);
    border-top-color: transparent;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: block;
    -webkit-transition: all .3s .3s;
    transition: all .3s .3s;
}

.form_dropbox ul li {
    text-align: left;
    display: block;
    width: 100%;
    font-size: 15px;
    margin: 0px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
}

.form_dropbox ul li.selected {
    background: rgba(136, 77, 255, 0.05); 
}

.form_dropbox ul li.item-li:first-child {
    padding-top: 15px;
}

.form_dropbox ul li.item-li:last-child {
    padding-bottom: 15px;
}

.form_dropbox ul li.item-li:not(:last-child) {
    padding-bottom: 15px;
}

.form_dropbox ul li.item-li:not(:first-child) {
    padding-top: 15px;
    border-top: 1px solid var(--color-gray3);
}

.form_dropbox ul li label{
    line-height: 1;
    padding: 0px;
    display: block;
    width: 100%;
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}
.form_dropbox ul li label:hover{
    color: var(--color-main);
}


.form_dropbox ul li:before {
    content: unset;
    display: none;
}

.form_dropbox ul li input[type="checkbox"],
.form_dropbox ul li input[type="radio"] {
    display: none;
}

.form_dropbox ul li input[type="checkbox"]+label {
    width: 100%;
    position: relative;
    z-index: 100;
    cursor: pointer;
    outline: none;
    font-weight: 600;
}

.form_dropbox ul li input[type="radio"]+label {
    width: 100%;
    position: relative;
    z-index: 100;
    cursor: pointer;
    outline: none;
    font-weight: 600;
    margin: 0;
}

.form_dropbox ul li input[type="radio"]+label > a {
    line-height: 1;
    font-weight: 600;
}


.form_dropbox ul li input[type="checkbox"]+label:before {
    margin: 11px 10px;
    font-size: 0;
    content: ".";
    display: none;
    height: 16px;
    width: 16px;
    position: absolute;
    left: 0px;
    top: 0px;
    background: var(--color-main);
    z-index: -1;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.form_dropbox ul li input[type="checkbox"]:checked+label:before,
.form_dropbox ul li input[type="checkbox"]:checked+label:hover:before {
    z-index: -1;
    display: inline-block;
}

.form_dropbox ul li input[type="checkbox"]+label:after {
    margin: 11px 10px;
    font-size: 0;
    content: ".";
    display: block;
    height: 16px;
    width: 16px;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    box-shadow: 0px 0px 0px 1px #cccccc inset;
    -moz-box-shadow: 0px 0px 0px 1px #cccccc inset;
    -webkit-box-shadow: 0px 0px 0px 1px #cccccc inset;
    background: #fff;
}