.vacance-sort-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px 32px;
    margin-bottom: 28px;
}
.vacance-sort {
    width: 328px;
    max-width: 100%;
    position: relative;
}
.vacance-sort__name {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 23px 6px 40px;
    border: 1px solid #ADACAF;
    border-radius: 11px;
    cursor: pointer;
    transition: .4s;
}
.vacance-sort__name:hover {
    border-color: #646464;
}
.sort .vacance-sort__name {
    background: #EEEEEE;
    color: #00945D;
    border-color: #646464;
}
.vacance-sort__name span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    box-orient: vertical;
    white-space: nowrap;
    font-weight: 700;
}
.vacance-sort img {
    width: 35px;
    flex-shrink: 0;
    border-radius: 50%;
}
.vacance-sort.up img {
    transform: rotate(180deg);
}
.vacance-sort__drop {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    z-index: 10;
    width: 100%;
    padding: 9px;
    border: 1px solid #ADACAF;
    border-radius: 11px;
    background: #fff;
}
.vacance-sort__search {
    display: inline-block;
    background: rgba(234, 234, 234, 0.58) url(img/search.svg) 19px center / 18px no-repeat;
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 7px 7px 7px 46px;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    font-size: 16px;
}
.vacance-sort__search::placeholder {
    display: inline-block;
    color: #ADACAF;
}
.vacance-sort__all {
    display: inline-block;
    padding: 6px 9px;
    font-weight: 500;
    background: rgba(234, 234, 234, 0.58);
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}
.vacance-sort__all:hover {
    background: rgba(234, 234, 234, 1);
}
.vacance-sort__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    overflow: auto hidden;
    max-height: 200px;
}
.vacance-sort__item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    position: relative;
    cursor: pointer;
    transition: .4s;
}
.vacance-sort__item:hover {
    color: #00945D;
}
.vacance-sort__item.disabled {
    opacity: .5;
    pointer-events: none;
}
.vacance-sort__item.hide {
    display: none;
}
.vacance-sort__item input {
    flex: 1;
    position: absolute;
    opacity: 0;
}
.vacance-sort__item span {
    flex: 1;
    font-weight: 700;
}
.vacance-sort__item i {
    font-weight: 700;
    display: block;
    width: 16px;
    height: 16px;
    background: url(img/vsi_n.svg) center / contain no-repeat;
    position: relative;
}
.vacance-sort__item i::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-image: url(img/vsi_y.svg);
    opacity: 0;
    transition: .2s;
}
.vacance-sort__item input:checked ~ i::before {
    opacity: 1;
}


.vacance {
    transition: .4s;
}
.vacance:hover {
    box-shadow: 0 0 18px #8C8C8C;
}
.vacance-icon img {
    margin: 0 !important;
    height: 67px;
}
.vacance-descr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;    
}
.vacance-name {
    margin-bottom: 16px;    
}
.vacance-filial {
    margin: auto 0 0 0 !important;    
}
@media screen and (max-width: 767px) {
  .vacance-icon {
    top: 30px !important;
  }
}
@media (max-width: 717px){
        .vacance-sort-list {
            margin-bottom: 20px;
        }
    .vacance-sort {
            width: 100%;
    }
    .vacance-sort img {
        width: 24px;
    }
    .vacance-icon img {
        height: 52px;
    }
    .vacance-descr {
        padding-right: 32px;        
        margin-bottom: 10px;
    }
}
