.vacancy-filter {
    background: #F3F3F3;
    margin-top: 10px;
    padding: 19px;
    padding-bottom: 30px;
    margin-bottom: 35px;
}

.searchandfilter ul {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
}

.searchandfilter li {
    padding: 0 !important;
}


.searchandfilter h4 {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 4px 14px !important;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px !important;
    line-height: 19px !important;
    -webkit-box-shadow: 0px 0px 20px rgb(0 0 0 / 5%);
    box-shadow: 0px 0px 20px rgb(0 0 0 / 5%);
    border-radius: 15px 15px 0px 0px;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    background: #C23016;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

.searchandfilter select {
    padding: 15px;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
    box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
    border-radius: 3px;
    font-family: 'Inter';
    outline: none;
    border: none;
    width: 100%;
    resize: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.searchandfilter label {
    position: relative;
    width: 100%;
}

.searchandfilter label:before {
    width: 10px;
    height: 10px;
    display: block;
    content: '';
    background: url(../imgs/arrow-down.svg);
    background-size: contain;
    position: absolute;
    right: 17px;
    top: 20px;
}

.sf-field-taxonomy-gorod, .sf-field-taxonomy-zanyatost, .sf-field-taxonomy-specialnost {
    width: 25%;
}

.sf-field-submit {
    padding: 0 !important;
}

.sf-field-submit input {
    width: 182px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #B33530;
    font-family: 'Molot';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    outline: none;
}

.vacancy-item  {
    margin-bottom: 25px;
    background: #F3F3F3;
}

.vacancy-toggle-panel {
    display: flex;
    align-items: center;
}

.vacancy-title {
    height: 42px;
    display: flex;
    align-items: center;
    padding-left: 26px;
    padding-right: 45px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    background: linear-gradient(130.92deg, #D23D36 26.78%, #B43630 70.79%);
    clip-path: polygon(0 0, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
}

.vacancy-toggle {
    width: 42px;
    height: 42px;
    background: #E8E8E8 url(../imgs/arrow-down.svg) no-repeat center;
    background-size: 21px;
    transition: background .3s ease;
    cursor: pointer;
    margin-left: 14px;
}

.vacancy-toggle:hover {
    opacity: .7;
}

.vacancy-company {
    margin-left: auto;
    width: 250px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;   
    color: #000000;    
}

.vacancy-type {
    width: 200px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;   
    color: #000000;      
}

.vacancy-salary {
    width: 200px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #000000;      
}

.vacancy-panel {
    padding-bottom: 25px;
    display: none;
}

.on .vacancy-panel {
    display: block;
}

.on .vacancy-toggle {
    transform: rotate(180deg);
    transition: none !important;
}

.vacancy-thumb {
    width: 100%;
    height: auto;
}

.vacancy-content {
    padding: 25px 35px;
}

.vacancy-content strong {
    font-weight: bold;
}
.vacancy-content p {
    margin-bottom: 20px;
}
.vacancy-link {
    background: #C23016;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pobeda';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    width: fit-content;
    padding: 5px 20px;
    width: fit-content;
    margin-left: 25px;
    color: #FFFFFF;
    text-decoration: none;    
    padding-left: 40px;
}

.vacancy-link:after {
    width: 30px;
    height: 23px;
    display: block;
    content: '';
    background: url(http://reserve.igroprom.online/wp-content/uploads/2022/06/link.svg);
    margin-left: 23px;
}

.vacancy-link:hover {
    opacity: .7;
}

.post-type-archive-vacancy ul.page-numbers, .post-type-archive-resume ul.page-numbers {
    margin: 40px 0;
}

.vacancy-content a {
    color: #B33530;
}
.vacancy-content a:hover {
    opacity: .7;
}

.page-template-vac .lozung {
    margin-bottom: 25px;
}

.page-template-vac .text {
    margin-bottom: 25px;
}

.link-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 55px;
}

.link-box {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.img-box img {
    width: 100%;
    height: auto;
}
.img-box {
    background: #F3F3F3;
    margin-bottom: 15px;
    padding: 30px 90px;
}

.link-box .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}


@media only screen and (max-width: 1200px) {
    .vacancy-salary, .vacancy-type, .vacancy-company  {
        width: 150px;
        font-size: 14px;
    }

    .vacancy-title {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1024px) {
    .vacancy-toggle-panel {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .vacancy-title {
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
        width: 100%;
    }

    .vacancy-company {
        margin-left: 20px;
    }

    .vacancy-salary, .vacancy-type, .vacancy-company  {
        width: calc((100% - 80px) / 3);
    }

    .searchandfilter ul {
        flex-direction: column;
    }

    .sf-field-taxonomy-gorod, .sf-field-taxonomy-zanyatost, .sf-field-taxonomy-specialnost {
        width: 100%;
        margin-bottom: 20px !important;
    }

    .sf-field-submit {
        margin: 0 auto !important;
    }

    .vacancy-content p, .vacancy-content a {
        font-size: 14px;
    }

    
    .img-box {
        padding: 20px;
    }

    .link-box {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .vacancy-content {
        padding: 15px 15px;
    }

    .vacancy-salary, .vacancy-type, .vacancy-company {
        width: 100%;
        padding: 10px 20px;
        margin: 0;
    }

    .vacancy-toggle {
        margin-left: 0;
        width: 100%;
    }


    .link-row {
        flex-direction: column;
    }
  
}