.front-page-full-width {
    width: 100%;
    height: 100%;
}

.first-slider {
    height: 830px;
    max-height: 830px;
    padding-top: 288px;
    position: relative;
    background-size: cover;
}

.page-container-front {
    max-width: 1500px;
    width: 100%;
    padding-right: var(--bs-gutter-x, .94rem);
    padding-left: var(--bs-gutter-x, .94rem);
    margin-right: auto;
    margin-left: auto;
    flex: 1 0 auto;
}

.slider-info {
    width: 100%;
    max-width: 655px;
}

.slider-info h1 {
    font-family: "Gotham Black", sans-serif;
    font-size: 70px;
    text-transform: uppercase;
    color: #004D42;
    line-height: 78px;
    margin: 0;
}



.novita-inner-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
    gap: 17.3px;
    margin-bottom: 130px;
}

.novita-inner-links a {
    display: block;
    outline: none;
}

.novita-inner-links a .top-link-block {
    padding: 25px 13px;
    min-height: 123.5px;
}

.novita-inner-links a .top-link-block span {
    font-family: "Gotham Black", sans-serif;
    font-size: 14px;
    line-height: 23px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.novita-inner-links a .bottom-link-block {
    max-height: 146.36px;
    overflow: hidden;
}


.reverse-novita-blocks .reverse-block:not(:last-of-type){
    margin-bottom: 194px;
}
.reverse-novita-blocks{
    margin-top: 104px;
    margin-bottom: 145px;
}
.reverse-novita-blocks .reverse-block{
    min-height: 765px;
    background-attachment: initial;
    background-size: cover;
}
.reverse-block .inner-block-content {
    display: flex;
}
.reverse-block .inner-block-content .left-image {
    max-width: 653px;
    width: 100%;
    margin-right: 66px;
}
.reverse-block .inner-block-content .left-image img {
    border-radius: 30px;
    position: relative;
    top: -104px;
}
.right-content {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    padding-top: 38px;
    padding-bottom: 46px;
    flex: 1;
}
.right-content * {
    color: #ffffff;
}
.right-content p.block-title {
    font-size: 80px;
    line-height: 85px;
    font-family: 'Gotham Light', serif;
    margin-top: 0;
    margin-bottom: 30px;
}
.right-content p.block-descr {
    font-size: 16px;
    line-height: 23px;
    font-family: 'Gotham Book', serif;
    margin-top: 0;
    margin-bottom: 19px;
}
.right-content .popup-btn:hover {
    opacity: .7;
}
.right-content .popup-btn {
    font-size: 16px;
    cursor: pointer;
    line-height: 23px;
    color: #ffffff;
    text-decoration: underline;
    font-family: 'Gotham Bold', serif;
    transition: all .3s ease;
    width: fit-content;
    outline: none;
}

.reverse-novita-blocks .reverse-block.right-image .inner-block-content {
    flex-direction: row-reverse;
}

.reverse-novita-blocks .reverse-block.right-image .inner-block-content .left-image {
    margin-left: 66px;
    margin-right: 0;
}

/*popup*/
.catalog-popup .close-form:hover {
    filter: drop-shadow(0 0 1px #151515);
}
.catalog-popup .close-form {
    z-index: 5;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    transition: all .3s ease;
}
.catalog-popup .image-popup{
    margin-right: 44px;
    max-width: 381px;
    width: 100%;
    grid-area: image;
}
.catalog-popup p.popup-title {
    font-size: 77px;
    line-height: 79px;
    font-family: 'Gotham Light', serif;
    margin-top: 0;
    margin-bottom: 25px;
    color: #004D42;
    grid-area: title;
}

.catalog-popup .content-popup {
    height: 100%;
    display: flex;
    flex-direction: column;
    grid-area: content;
}
.catalog-popup .input-wrap {
    margin-bottom: 19px;
}
.catalog-popup .form-wrap input {
    height: 44px;
    border: 1px solid #808080;
    outline: none;
    border-radius: unset;
    padding: 14.5px 6px 16.5px 6px;
    color: #808080;
    width: 100%;
    font-size: 12px;
    margin-bottom: 0;
    font-family: 'Gotham Medium', serif;
}

.catalog-popup .form-wrap p {
    margin: 0;
}

.catalog-popup .submit-wrapper p {
    margin: 0;
}

.catalog-popup .submit-wrapper input {
    background-color: #004D42;
    color: #ffffff;
    outline: none;
    border: none;
    width: 100%;
    height: 43px;
    font-size: 16px;
    line-height: normal;
    border-radius: unset;
    font-family: 'Gotham Black', serif;
}

.catalog-popup .submit-wrapper {
    position: relative;
    margin-bottom: 15.8px;
}

.catalog-popup .wpcf7-spinner {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
}

.catalog-popup .acceptance input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    background-color: #fff;
    margin: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #000000;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    top: 2px;
}
.catalog-popup .acceptance input[type="checkbox"]::before {
    content: "";
    width: 100%;
    border-radius: 50%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #35201E;
    box-shadow: 0 0 0 0.3px #35201E;
}
.catalog-popup .acceptance input[type="checkbox"]:checked::before {
    transform: scale(0.6);
}
.catalog-popup .wpcf7 form .wpcf7-response-output {
    margin: 0;
}
.catalog-popup .wpcf7-not-valid-tip {
    font-size: 12px;
    font-family: 'Gotham Medium', serif;
}
.catalog-popup .acceptance .wpcf7-list-item {
    margin: 0;
}
.catalog-popup .acceptance .wpcf7-list-item {
    margin: 0;
}

.catalog-popup .acceptance span.wpcf7-list-item-label, .catalog-popup .acceptance span.wpcf7-list-item-label a {
    font-size: 10px;
    line-height: 16px;
    flex: 1;
    color: #000000;
    font-family: 'Gotham Light', serif;
}

.catalog-popup .acceptance p {
    margin: 0 0 5px 0;
}

.catalog-popup .acceptance .wpcf7-list-item label {
    display: flex;
    column-gap: 8.6px;
    cursor: pointer;
}

.catalog-popup .acceptance span.wpcf7-list-item-label a {
    text-decoration: underline;
}


p.popup-descr {
    margin-top: 0;
    margin-bottom: 37.4px;
    font-size: 16px;
    line-height: 23px;
    font-family: 'Gotham Book', serif;
}
.back-popup.show, .catalog-popup.show {
    opacity: 1;
    pointer-events: initial;
}
.back-popup {
    position: fixed;
    z-index: 100;
    background-color: rgba(0,0,0,.8);
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    transition: all .5s ease;
}
.catalog-popup {
    color: #151515;
    position: fixed;
    bottom: 0;
    left: 15px;
    right: 15px;
    top: 0;
    margin: auto;
    z-index: 105;
    max-width: 1139px;
    grid-column-gap: 44px;
    height: fit-content;
    transition: all .5s ease;
    opacity: 0;
    pointer-events: none;
    display: grid;
    grid-template-areas:
        "image title"
        "image content";
    grid-template-rows: auto 1fr;
    grid-template-columns: 381px auto;
    justify-content: center;
    padding: 59px 40px 59px 48px;
    background-color: #fff;
}
.stop-scroll{
    overflow: hidden;
}


body.page-template-novita_template .btn-up{
    right: 166px;
}

@media all and (max-width: 1200px){
    .catalog-popup p.popup-title {
        font-size: 35px;
        line-height: 36px;
        height: fit-content;
    }
}

@media all and (max-width: 1024px) {
    .novita-inner-links {
        margin-bottom: 0;
    }

    .reverse-novita-blocks {
        margin-top: 109px;
        margin-bottom: 47px;
    }
    .reverse-block .inner-block-content {
        flex-direction: column;
    }

    .reverse-block .inner-block-content .left-image {
        margin: -60px auto 0 auto;
    }

    .reverse-block .inner-block-content .left-image img {
        top: 0;
        border-radius: 20px;
        aspect-ratio: 363 / 310;
    }

    .right-content p.block-title {
        font-size: 16px;
        line-height: normal;
        font-family: 'Gotham Bold', serif;
        margin-bottom: 19px;
    }

    .right-content p.block-descr {
        margin-bottom: 32px;
    }

    .right-content a {
        font-size: 14px;
    }

    .reverse-novita-blocks .reverse-block.right-image .inner-block-content {
        flex-direction: column;
    }

    .reverse-novita-blocks .reverse-block.right-image .inner-block-content .left-image {
        margin: -60px auto 0 auto;
    }

    .reverse-novita-blocks .reverse-block:not(:last-of-type) {
        margin-bottom: 116px;
        min-height: initial;
    }
}

@media all and (max-width: 768px) {
    .catalog-popup {
        grid-template-areas:
        "title"
        "image"
        "content";
        grid-template-columns: 1fr;
        padding: 27.7px 18.2px;
    }

    .catalog-popup p.popup-title {
        text-align: center;
        margin-bottom: 10px;
    }

    .catalog-popup .image-popup {
        margin-left: auto;
        margin-right: auto;
        max-width: 182px;
        margin-bottom: 18px;
    }

    p.popup-descr {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
    }

    .catalog-popup .form-wrap input {
        height: 40px;
        font-size: 16px;
    }

    .catalog-popup .acceptance input[type="checkbox"] {
        width: 24.5px;
        height: 24.5px;
    }

    .catalog-popup .submit-wrapper {
        order: 10;
        margin-top: 18px;
    }

    .popup-form form {
        display: flex;
        flex-direction: column;
    }

    .catalog-popup .wpcf7 form .wpcf7-response-output {
        margin: 1em 0 0;
    }

    .catalog-popup .submit-wrapper input {
        height: 40px;
    }
}

@media all and (max-width: 576px) {
    .reverse-novita-blocks .reverse-block{
        min-height: initial;
    }
    .first-slider {
        padding-top: 0;
        padding-bottom: 86px;
        display: flex;
        align-items: flex-end;
        max-height: 697px;
    }

    .slider-info h1 {
        font-size: 38px;
        line-height: 25px;
        font-family: 'Gotham Black', serif;
        text-align: center;
    }

    .slider-info {
        margin-top: initial;
    }

    .novita-links-wrapper .rank-math-breadcrumb {
        margin-bottom: 18px;
    }

    .novita-inner-links {
        grid-template-columns: 1fr;
        margin-bottom: 0;
        gap: 15px;
    }

    .novita-inner-links a {
        display: flex;
        align-items: center;
        min-height: 100px;
        flex-direction: row-reverse;
    }

    .novita-inner-links a .top-link-block {
        min-height: unset;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        padding: 12px 12px 12px 20.5px;
        width: 50%;
    }

    .novita-inner-links a .bottom-link-block {
        max-height: 100%;
        height: 100%;
        position: relative;
        width: 50%;
    }

    .novita-inner-links a .bottom-link-block img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .novita-inner-links a .top-link-block span {
        font-size: 16px;
        line-height: 22px;
    }
}