body.block-scroll {
    height: 100vh;
    overflow: hidden;
    min-width: 360px;
}

.social-icons .selected {
    color: var(--main-color);
}

.projects-list.projects-list-6 li {
    width: calc(50% - 15px);
}

.simple-list.projects-list li {
    height: 280px;
}

.simple-list.projects-list-with-desc.projects-list li {
    height: 318px;
}

.simple-list.projects-list.isotope li>a,
.simple-list.projects-list.isotope a>img {
    display: block;
    width: 100%;
    /* object-fit: cover;*/
    object-fit: contain;
}

.simple-list.projects-list.isotope li>a {
    height: 280px;
}

.simple-list.projects-list.isotope a>img {
    height: 100%;
}

.simple-list.projects-list-with-desc.projects-list.isotope li>a {
    height: 272px;
}

.projects-list .item-description {
    padding-top: 8px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    font-weight: 700;
    color: #000;
}

.base-section p {
    font-family: 'Raleway';
    font-size: 14px;
    line-height: 24px;
    margin-top: 24px;
    padding: 0;
}

.base-section h2:after,
.base-section h3:after {
    display: block;
    content: "";
    background: var(--main-color);
    width: 40px;
    height: 2px;
    margin-top: 13px;
}

.product-page .description.section_2>div {
    overflow: auto;
}

.product-page .description.section_2 table {
    min-width: 750px;
}

.main-manufacturer-info .services-list {
    display: flex;
}

.main-manufacturer-info .services-list li {
    width: 50%;
}

.main-manufacturer-info .services-list li img {
    width: 100%;
}

.cost-calculator-box.cost-calculator-contact .wpcf7-form-control-wrap:first-child input {
    margin-top: 0;
}

.cost-calculator-box.cost-calculator-contact .wpcf7-form-control-wrap input {
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.cost-calculator-box.cost-calculator-contact .wpcf7-form-control-wrap textarea {
    box-sizing: border-box;
    width: 100%;
}

.main-contact-form-container {
    position: relative;
    background: #F5F5F5;
    box-sizing: border-box;
}

.ren-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    z-index: -1;
    opacity: 0;
    overflow: auto;
}

.ren-popup.open {
    z-index: 50;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.ren-popup__wrapper {
    padding: 16px;
    width: 100%;
    max-width: 1240px;
    position: relative;
}

.wpcf7-form.init>.row {
    width: 100%;
}

.wpcf7-form p {
    line-height: 12px;
}

span.wpcf7-form-control-wrap {
    display: block;
}

/*
.wpcf7-form.invalid .wpcf7-form-control-wrap input {
    margin-top: 0;
}*/

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip)>input {
    margin-bottom: 8px;
}

.page-numbers {
    clear: both;
    float: right;
}

.page-numbers li:first-child {
    margin-left: 0;
}

.page-numbers li {
    font-family: 'Raleway';
    float: left;
    margin-left: 7px;
}

.page-numbers li:has(.prev) a,
.page-numbers li:has(.next) a {
    padding: 9px 0;
}

.page-numbers li a,
.page-numbers li span {
    text-decoration: none;
    display: block;
    color: #999;
    font-size: 16px;
    width: 35px;
    padding: 9px 0 10px;
    border: 1px solid #E2E6E7;
    text-align: center;
}

.page-numbers li:has(.prev) a:before,
.page-numbers li:has(.next) a:before {
    content: "a";
    color: #999;
    font-family: "template" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    vertical-align: middle;
    speak: none;
    line-height: 1;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-numbers li a:hover,
.page-numbers li:has(.current) span {
    color: #FFF;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.page-numbers li:has(.next) {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: fliph;
    filter: fliph;
}

.page-numbers li a:hover,
.page-numbers li:has(.current) span {
    color: #FFF;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.page-numbers li a:hover:before,
.page-numbers li:has(.current) a:before {
    color: #FFF;
}

img.full-width {
    width: 100%;
}

img.cover {
    object-fit: cover;
}

.box-header.-left- {
    text-align: left;
}

h2.box-header.-left-:after {
    margin-left: 0;
    margin-right: 0;
}

.input-cont+.input-cont {
    margin-top: 32px;
}

.general-error-container:has(div),
.general-success-container:has(div) {
    margin: 16px 0;
}


.general-error-container .error-message,
.input-cont>.error-message {
    margin-top: 16px;
    color: #912323;
}

.general-success-container {
    color: #198754;
}

.custom-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    /* Полупрозрачный белый фон */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}


.home .row.full-width .services-list {
    display: flex;
    flex-direction: column;
}

.home .row.full-width .services-list>li {
    width: 100%;
    padding-top: 26px;
}

.home .services-list>li:not(:last-child) {
    border-bottom: 1px solid #cccaca;
}

.custom-preloader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 768px) {
    .ren-popup {
        align-items: center;
    }

    .ren-popup__wrapper .column.column-1-2 {
        width: calc(50% - 15px);
    }

    .home .row.full-width .services-list {
        display: flex;
        flex-direction: row;
    }

    .home .services-list>li:not(:last-child) {
        border-bottom: none;
        border-right: 1px solid #cccaca;
    }

    .home .services-list>li img {
        display: block;
        margin: 0 auto;
        max-width: 390px;
    }

}

@media screen and (max-width: 767px) {
    .ren-popup__wrapper .row {
        width: 402px;
    }

    .ren-popup__wrapper {
        padding: 16px;
        height: 100%;
    }

    .ren-popup__wrapper {
        max-width: 600px;
    }


}

@media screen and (max-width: 560px) {
    .ren-popup__wrapper .row {
        width: 100%;
    }
}

.close-icon {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    transition: opacity ease 0.3s;
    -webkit-transition: opacity ease 0.3s;
    -moz-transition: opacity ease 0.3s;
    -ms-transition: opacity ease 0.3s;
    -o-transition: opacity ease 0.3s;
}

.close-icon:hover {
    opacity: 1;
}

.close-icon:before,
.close-icon:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}

.close-icon:before {
    transform: rotate(45deg);
}

.close-icon:after {
    transform: rotate(-45deg);
}

.personal-page {
    padding-bottom: 80px;
}

.prices-list .price-items .more {
    color: #999;
    font-weight: 500;
    font-size: 11px;
    line-height: 16px;
}

.price-items>li {
    display: flex;
    justify-content: space-between;
}

.prices-list__manufacturer-item:not(:last-child) {
    margin-bottom: 32px;
}


.prices-list__manufacturer-item .title {
    display: inline-block;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    background: #f5f5f5;
    color: #000;
    font-weight: 700;
}

.more.simple.small:hover {
    color: #FFF;
}

.prices-list__manufacturer-item>ul {
    padding: 0 16px;
    border-top: 1px solid #E2E6E7;
    border-bottom: 1px solid #E2E6E7;
}

.price-items>li {
    padding: 16px 0;
}

.price-items>li:not(:last-child) {
    border-bottom: 1px solid #E2E6E7;
}

.prices-list>h2 {
    text-align: start;
}

.prices-list__manufacturer-item .button.more {
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}

.parallax.parallax-1 {
    position: relative;
}

.parallax-1::before {
    content: "";
    position: absolute;
    background-color: #000;
    opacity: 0.6;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax-1 .testimonials-container {
    position: relative;
    z-index: 10;
}

.projects-list {
    display: flex;
    justify-content: center;
}

.projects-list img {
    object-fit: cover;
    aspect-ratio: 475 / 317;
}

.menu-container a {
    text-transform: uppercase;
}

.company-list{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.company-list-item{
    width: calc(50% - 20px);
    height: 120px;
    margin-right: 20px;
}

.company-list-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media screen and (min-width: 768px) {
    .company-list-item{
        width: calc(20% - 20px);
    }
}

.product-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-top: 30px;
}

.product-list-item {
    margin-right: 20px;
    margin-top: 20px;
    position: relative;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 24px;
    border: 1px solid var(--main-color);
    border-radius: 25px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-list-item:hover{
    text-decoration: none;
}

.product-list-item:hover img{
    opacity: 1;
}

.product-list-item{
    width: calc(100% - 20px);
}

.product-list-item-view button{
    position: relative;
    top: 20px;
}

.product-list-item:hover .product-list-item-view button{
    top: 0px;
}

.product-list-item-title{
    margin-top: 20px;
}

.product-list-item-img{
    max-width: 390px;
    width: 100%;
    height: 260px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.product-list-item-img img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}


.product-list-item-view{
    position: absolute;
    top: 0;
    background: rgba(38, 38, 40, 0.5);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-list-item:hover .product-list-item-view {
    opacity: 1;
}


.product-type-archive .product-list,
.manufacturer-archive .product-list{
    margin-top: -20px;
}

.manufacturer-archive .product-list{
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .product-list-item{
        width: calc(50% - 20px);
    }

    .product-type-archive .product-list-item,
    .manufacturer-archive .product-list-item
    {
        width: calc(100% - 20px);
    }
}

@media screen and (min-width: 1190px) {
    .product-list-item{
        width: calc(33.33% - 20px);
    }

    .product-type-archive  .product-list-item,
    .manufacturer-archive .product-list-item{
        width: calc(50% - 20px);
    }
}


.swiper-cases {
    position: relative;
    overflow: hidden;
}

.swiper-cases .swiper-wrapper .swiper-slide{
    width: 100%;
    max-height: 260px;
}

.swiper-cases .swiper-wrapper .swiper-slide a{
    width: 100%;
    height: 260px;
    max-height: 260px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.swiper-cases .swiper-button-prev,
.swiper-cases .swiper-button-next,
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next,
.gallery-swiper-full .swiper-button-prev,
.gallery-swiper-full .swiper-button-next
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-family: Raleway;
    width: 40px;
    height: 100px;
    cursor: pointer;
    line-height: 40px;
    background: rgba(0, 0, 0, 0.15);
    padding: 0px;
    transition: 0.3s;
    top: 50%;
    margin-top: 0px;
    transform: translate(0%, -50%);
}

.swiper-cases .swiper-button-prev:hover,
.swiper-cases .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover,
.gallery-swiper-full .swiper-button-prev:hover,
.gallery-swiper-full .swiper-button-next:hover {
    background: var(--main-color);
}


.swiper-cases .swiper-button-next:after,
.swiper-cases .swiper-button-prev:after,
.gallery-swiper .swiper-button-prev:after,
.gallery-swiper .swiper-button-next:after,
.gallery-swiper-full .swiper-button-prev:after,
.gallery-swiper-full .swiper-button-next:after
{
    z-index: 10;
    font-size: 16px;
}


.swiper-cases .swiper-wrapper .swiper-slide a img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 260px;
}

@media screen and (min-width: 768px) {
    .swiper-cases .swiper-wrapper .swiper-slide{
        width: 50%;
    }

    .swiper-cases .swiper-wrapper{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .swiper-cases .swiper-button-prev,
    .swiper-cases .swiper-button-next {
        display: none;
    }

    .swiper-cases .swiper-wrapper .swiper-slide{
        max-height: 300px;
    }

    .swiper-cases .swiper-wrapper .swiper-slide a{
        width: 100%;
        height: 300px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }


    .swiper-cases .swiper-wrapper .swiper-slide a img{
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }
}

@media screen and (min-width: 1190px) {
    .swiper-cases .swiper-wrapper .swiper-slide{
        width: 25%;
    }
}

:root{
    --swiper-navigation-sides-offset: 0px;
}

.gallery{
    margin-top: 40px;
}


.gallery-swiper{
    position: relative;
    max-height: 300px;
    overflow: hidden;
}

.gallery-swiper .swiper-wrapper .swiper-slide{
    width: 100%;
    max-height: 300px;
}

.gallery-swiper-full .swiper-wrapper .swiper-slide{
    width: 100%;
}

.show-full-photo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    max-height: 300px;
    cursor: pointer;
}

.gallery-swiper .show-full-photo{
    height: 300px;
}

.show-full-photo img{
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;
}


.gallery-swiper-full{
    display: none;
}

.gallery-swiper-full.active{
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 100;
    overflow: hidden;
    background: white;
}


.gallery-swiper-full .show-full-photo{
    max-height: none;
}

.gallery-swiper-full .show-full-photo img{
    width: auto;
    height: 100%;
    max-height: max-content;
    max-width: 100%;
}


.gallery-swiper-full .close-icon{
    z-index: 200;
    opacity: 1;
    border: none;
    background: none;
    cursor: pointer;
}

