.body-wrapper {
    background-color: #F5F5F5!important;
    position: relative;
    z-index: 1;
    border-radius: 0 0 48px 48px;
}

.company-body {
    margin-top: 40px;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    min-height: 900px;
}

.company-wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    margin-bottom: 54px;
}

.company-wrapper__title h2 {
    font-weight: 500;
}

.company-vacancies-wrapper {
    margin-bottom: 24px;
}

.company-vacancies-wrapper h2 {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
}

.company-wrapper__flex {
    display: flex;
}


.company-wrapper__info, .company-wrapper__logo {
    background-color: #fff;
    height: auto;
    border-radius: 16px;
}

.company-wrapper__info, .company-wrapper__logo .company-wrapper__logo-container {
    overflow: hidden;
    border-radius: 6px;
}


.company-wrapper__logo-actions-item {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    border-radius: 6px;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

.company-wrapper__logo-actions-item_vacancies {
    background: #E6E6E6;
    color: #06BDA7;
    margin-bottom: 16px;
}


.company-wrapper__logo-actions-item_subscribe {
    background: linear-gradient(42deg, #06B5C5 4.31%, #06C58C 86.71%);
    color: #fff;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.company-wrapper__logo-actions-item_subscribe:hover {
    background: linear-gradient(42deg, #06B5C5 4.31%, #06C58C 86.71%);
    color: #fff;
}

.company-wrapper__logo-actions-item_subscribe span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
}

.company-wrapper__logo-actions-item_subscribe span:before {
    content: '';
    display: block;
    height: 24px;
    width: 24px;
    background-image: url("/local/templates/new-lavoria/images/star.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.company-wrapper__logo-actions {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 0 0 0;
}

.company-wrapper__info {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
}

.company-wrapper__info-item {
    display: flex;
    justify-content: flex-start;
}

.company-wrapper__info-item span {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.company-wrapper__info-about-item {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    padding-top: 16px;
}

.company-wrapper__info-about-item span {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    color: #5C6266;
}

.company-wrapper__info-about-item p {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    margin-bottom: 28px;
}

.company-wrapper__info-about-item p:last-child {
    margin-bottom: 0;
}

.company-wrapper__info-item span:nth-child(1) {
    width: 160px;
    color: #5C6266;
}

.company-wrapper__info-item:last-child {
    margin-bottom: 0;
    color: #14181A;
}

.company-wrapper__logo {
    padding: 16px;
}

.company-wrapper__logo img {
    display: block;
    width: 100%!important;
}

.company-vacancies-wrapper {
    /*min-height: 100svh*/
}


/*ACCORDION START*/


.accordion {
}

.accordion-item {
    margin-bottom: 16px;
}

.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 177.778% */
    color: #06BDA7;
    margin-bottom: 16px;
}

.accordion-header:hover {

}

.accordion-body {
    display: none;
    font-size: 14px;
}

.accordion-body ul {
    list-style: none;
    padding: 0;
}

.accordion-body li {
    margin: 5px 0;
}

.accordion-body.active {
    display: block;
}

.arrow {
    transition: transform 0.3s ease;
    position: relative;
    margin-left: 3px;
}

.arrow.rotate {
    transform: rotate(180deg);
    top: 5px;
}

/*ACCORDION END*/

.vacancy-item-flex {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: #FFF;
    margin-bottom: 16px;
}

.vacancy-item-flex:last-child {
    margin-bottom: 0;
}

.vacancy-item-flex__header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.vacancy-item-flex__header div {
    color: #919699;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    margin-right: 20px;
    position: relative;
}

.vacancy-item-flex__header div:after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    width: 4px;
    height: 4px;
    background-color: #5C6266;
    border-radius: 50%;
}

.vacancy-item__geo {
    position: relative;
    padding-left: 20px;
}

.vacancy-item__geo:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("/local/templates/new-lavoria/images/marker-pin-02.svg");
    position: absolute;
    top: 0;
    left: -2px;
}

.vacancy-item-flex__header div:last-child:after {
    display: none;
}

.vacancy-item-flex__body h3 {
    font-style: normal;
    font-weight: 500;
}

.vacancy-item-flex__footer {
    color: #14181A;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 114.286% */
    display: flex;
}

.vacancy-item-flex__footer-features {
    display: flex;
    justify-content: flex-start;
}

.vacancy-item-flex__footer-features div {
    border-radius: 23px;
    border: 1px solid #CED7DC;
    background: #FFF;
    color: var(--Text-text-primary, #14181A);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    width: fit-content;
}

.vacancy-item-flex__footer-action {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

.vacancy-item__detail {
    display: flex;
    border-radius: 6px;
    background: linear-gradient(42deg, #06B5C5 4.31%, #06C58C 86.71%);
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    color: #fff;
    min-height: 36px;
}

.vacancy-item__detail span {
    margin: auto;
}

.company-vacancies-empty {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 177.778% */
    color: #919699;
}


@media (min-width: 320px) {
    .company-wrapper__title {
        margin-bottom: 24px;
        text-align: center;
    }

    .company-wrapper__title h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .company-wrapper__flex {
        flex-flow: column-reverse nowrap;
        justify-content: flex-start;
        height: 100%;
    }
    .company-wrapper__flex-left {
        width: 100%;
    }

    .company-wrapper__flex-right {
        width: 100%;
        margin: 0 auto 24px auto;
        padding: 0 24px;
    }
    .company-wrapper {
        margin: 0 -24px;
    }
    .company-wrapper__info {
        padding: 16px;
        margin-bottom: 32px;
    }
    .company-wrapper__info-item {
        flex-flow: column nowrap;
        margin-bottom: 24px;
    }
    .company-wrapper__info-item span:nth-child(1) {
        margin-right: 0;
        margin-bottom: 12px;
    }
    .company-wrapper__info-about-item span {
        margin-bottom: 12px;
    }
    .company-wrapper__info-about-item {
        margin-bottom: 0;
    }
    .company-vacancies-common-wrapper {
        padding: 0 16px;
    }
    .vacancy-item-flex__footer {
        flex-flow: column nowrap;
        justify-content: flex-start;
    }
    .vacancy-item-flex__footer-features {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 4px;
        margin-top: 0;
        margin-bottom: 20px;
    }
    .vacancy-item-flex__footer-features div {
        padding: 4px 12px;
        margin-right: 0;
    }
    .vacancy-item__detail {
        font-size: 14px;
        width: 100%;
    }
    .vacancy-item-flex__body {
        margin-bottom: 16px;
    }
    .vacancy-item-flex__body h3 {
        font-size: 18px;
        line-height: 24px; /* 133.333% */
    }

    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item {
        display: none;
    }

    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item_scroll {
        position: sticky;
        bottom: 42px;
        display: flex;
        width: calc(100% - 32px);
        margin-inline: auto;
        margin-top: 56px;
        max-width: 724px;
    }

    #thankYouModal .f-button.is-close-btn {
        display: none;
    }

    @media (max-width: 1024px) {
        .fancybox__slide:has( #subscribeModal),
        .fancybox__slide:has( #thankYouModal),
        .fancybox__slide:has( #unSubscribeModal) {
            padding: 0;
            justify-content: flex-end;
        }

        #subscribeModal,
        #thankYouModal,
        #unSubscribeModal {
            position: relative;
            width: 100%;
            bottom: 0;
        }

        #subscribeModal .modal-content:before,
        #thankYouModal .modal-content:before,
        #unSubscribeModal .modal-content:before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            width: 38px;
            height: 4px;
            transform: translateX(-50%);
            background-color: #ffffff;
            border-radius: 20px;
        }

        #subscribeModal .modal-content,
        #thankYouModal .modal-content,
        #unSubscribeModal .modal-content {
            width: 100%;
            max-width: none;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
        }

        .fancybox__slide:has(#subscribeModal)::before,
        .fancybox__slide:has(#subscribeModal)::after,
        .fancybox__slide:has(#thankYouModal)::before,
        .fancybox__slide:has(#thankYouModal)::after,
        .fancybox__slide:has(#unSubscribeModal)::before,
        .fancybox__slide:has(#unSubscribeModal)::after {
            content: none;
        }

        .fancybox__container #subscribeModal .modal-content,
        .fancybox__container #thankYouModal .modal-content,
        .fancybox__container #unSubscribeModal .modal-content {
            bottom: 0%;
            transition: bottom 0.3s;
        }

        .fancybox__container.is-animated #subscribeModal .modal-content,
        .fancybox__container.is-animated #thankYouModal .modal-content,
        .fancybox__container.is-animated #unSubscribeModal .modal-content {
            bottom: -100%;
        }

        .is-compact .fancybox__content>.f-button.is-close-btn {
            background-color: transparent;
        }

        .fancybox__slide {
            background-color: transparent !important;
        }

        .fancybox__viewport {
            position: relative;
        }

        .fancybox__viewport:before {
            content: '' !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            background-color: rgba(51, 51, 51, .5);
            pointer-events: none;
        }

        .company-wrapper__logo {
            max-width: 710px;
            margin: 0 auto;
        }
    }
}

@media (min-width: 576px) {
    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item_scroll {
        width: calc(100% - 26px);
    }
}

@media (min-width: 991px) {
    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item_scroll {
        max-width: 944px;
    }
}

@media (min-width: 1024px) {
    .fancybox__track:has( #subscribeModal),
    .fancybox__track:has( #thankYouModal),
    .fancybox__track:has( #unSubscribeModal) {
        transform: none !important;
    }

    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item_scroll {
        max-width: none;
        width: calc(100% - 24px);
    }

    .company-wrapper__title {
        margin-bottom: 40px;
        text-align: left;
    }

    .company-wrapper__title h2 {
        font-size: 36px;
        line-height: 40px;
    }
    .company-wrapper__flex {
        flex-flow: row nowrap;
        justify-content: space-between;
        height: 100%;
    }
    .company-wrapper__flex-left {
        width: calc(70% - 12px)
    }

    .company-wrapper__flex-right {
        width: calc(30% - 12px);
        padding: 0;
        margin: 0;
    }
    .company-wrapper {
        margin: 0;
    }
    .company-wrapper__info {
        padding: 32px;
        margin-bottom: 54px;
    }
    .company-wrapper__info-item {
        flex-flow: row nowrap;
        margin-bottom: 28px;
    }
    .company-wrapper__info-item span:nth-child(1) {
        margin-right: 24px;
        margin-bottom: 0;
    }
    .company-wrapper__info-about-item span {
        margin-bottom: 28px;
    }
    .company-wrapper__info-about-item {
        margin-bottom: 28px;
    }
    .company-vacancies-common-wrapper {
        padding: 0;
    }
    .vacancy-item-flex__footer {
        flex-flow: row nowrap;
        justify-content: space-between;
    }
    .vacancy-item-flex__footer-features {
        margin-top: auto;
    }
    .vacancy-item-flex__footer-features div {
        padding: 4px 12px;
        margin-right: 4px;
        margin-bottom: 0;
    }
    .vacancy-item-flex__footer-features div:last-child {
        margin-bottom: 0;
    }
    .vacancy-item__detail {
        font-size: 14px;
        width: 150px;
    }
    .vacancy-item-flex__body {
        margin-bottom: 24px;
    }
    .vacancy-item-flex__body h3 {
        font-size: 28px;
        line-height: 32px; /* 114.286% */
    }

    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item {
        display: flex;
    }

    .company-wrapper__logo-actions-item_subscribe.company-wrapper__logo-actions-item_scroll {
        display: none;
    }
}

@media (min-width: 1368px) {

}



/* Стили кнопки */

.f-button.is-close-btn {
    position: absolute;
    top: 10px !important;
    right: 10px !important;
    width: 14px !important;
    height: 14px !important;
}

.f-button.is-close-btn svg{
    stroke: #919699
}

.fancybox__content {
    padding: 0!important;
    background: none!important;
}

.subscribe-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.subscribe-btn:hover {
    background-color: #0056b3;
}

/* Стили модального окна */

#subscribeModal.fancybox__overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Белый полупрозрачный фон */
}

.fancybox__backdrop {
    background: none!important;
}

.fancybox__slide {
    background-color: rgba(51, 51, 51, .5);
}

/*.f-button.is-close-btn {*/
/*    display: none!important;*/
/*}*/

.modal-content {
    padding: 40px 32px;
    margin: auto;
    background: #fff;
    border-radius: 24px;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 500px
}

.modal-title-icon {
    display: block;
    margin: 0 auto 24px auto;
    width: 80px;
    height: 80px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #06BDA7;
    border-radius: 50%;
    padding: 20px;
}

.modal-icon__pic-inner {
    display: block;
    width: 40px;
    height: 40px;
    background-image: url("/local/templates/new-lavoria/images/thumbs_up.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto;
}

.modal-title {
    color: #14181A;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 114.286% */
    margin-bottom: 24px;
}

.modal-text {
    color: #5C6266;
    text-align: center;
    /* Body Regular 16 */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    margin-bottom: 24px;
}

.modal-label {
    display: block;
    text-align: left;
    color: #666564;
    /* Body Regular 14 */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    margin-bottom: 4px;
}

.modal-input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #E5E4E3;
    background: #F5F5F5;
    color: #14181A;
    /* Body Regular 16 */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    margin-bottom: 40px;
}

.modal-submit,
.modal-ok {
    padding: 12px 20px;
    width: 100%;
    color: #FFF;
    /* Button Medium 1 */
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    cursor: not-allowed;
    border-radius: 6px;
    background: linear-gradient(42deg, #06B5C5 4.31%, #06C58C 86.71%);
    outline: none!important;
    border: none!important;
}

.modal-submit:disabled {
    width: 100%;
    color: #FFF;
    /* Button Medium 1 */
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    cursor: not-allowed;
    border-radius: 6px;
    background: linear-gradient(42deg, #06B5C5 4.31%, #06C58C 86.71%);
    opacity: 0.3;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #aaa;
}

.modal-close:hover {
    color: #000;
}
