@font-face {
    font-family: 'EKModena';
    src: url('../fonts/EKModena-Regular.woff2') format('woff2'),
    url('../fonts/EKModena-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html, body {
    height: 100%;
}
body {
    font-family: 'EKModena', sans-serif;
    color: #524D47;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.38;
    letter-spacing: -0.02em;
    leading-trim: cap height;
    vertical-align: middle;
    background-color: #EBEDED;

}
.page-template-page-project{
    overflow-y: scroll;
}
p {
    margin-bottom: 10px;
}
.container-fluid{
    padding-right: 24px;
    padding-left: 24px;
}
.container-fluid > .row {
    margin-right: -24px;
    margin-left: -24px;

}
.container-fluid > .row > * {
    padding-right: 24px;
    padding-left: 24px;
}

/* PRELOADER ANIMATION STYLE */
.loading .header-menu,
.loading .thumb,
.loading .slider-counter,
.loading .slider-text,
.loading footer,
.loading section,
.loading .slider-counter-wrappe/*,
/.loading header*/ {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

/* Когда убираем класс loading, контент плавно появляется */
.header-menu,
.slider-counter,
.thumb,
footer,
section,
.slider-text,
.slider-counter-wrapper/*,
header*/ {
    opacity: 1;
    transition: opacity 1.2s ease-out;
}

.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EBEDED;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}

.preloader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

@keyframes preloader-fadeout {
    0% { opacity: 1; }
    20% { opacity: 0.8; } /* В этот момент начнет появляться контент */
    100% { opacity: 0; }
}

@keyframes content-fadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
/* PRELOADER ANIMATION STYLE */

.preloader-grid {
    display: grid;
    grid-template-columns: repeat(21, minmax(20px, 1fr)); /* минимум 80px, но тянутся */
    grid-template-rows: repeat(6, 11px); /* 6 рядов */
    gap: 1px;
    background-color: #524D47;
    border: 1px solid #524D47;
    margin: 14px 24px 0 24px;
}

.preloader-block {
    min-width: 20px;
    height: 11px;
    background-color: #EBEDED;
}


.page-template-page-project{

    display: flex;
    flex-direction: column;


}
.navbar {
    padding: 0;
}

.header__nav i,
.header__nav i:after,
.header__nav i:before {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 20px;
    height: 1px;
    display: block;
    background: #524D47;
    border-radius: 0px;
    transition: all 0.3s linear;
}

body.nav--active {
    overflow: hidden;
}

.header__nav i {
    margin: -1px 0 0 0;
}

.header__nav i:after, .header__nav i:before {
    width: 20px;
    content: "";
    top: -3px;
    left: 0;
}

.header__nav i:after {
    top: 3px;
}

.nav--active .header__nav i {
    background: #fff;
}

.nav--active .header__nav i:after, .nav--active .header__nav i:before {
    top: 0;
}

.nav--active .header__nav i:after {
    transform: rotate(-25deg);
}

.nav--active .header__nav i:before {
    transform: rotate(25deg);

}
.custom-logo-link svg path{
    mix-blend-mode: difference;
    background-blend-mode: difference;
}
.imagefluid {
    position: relative;
}

.imagefluid img {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    transform: translateX(-50%);
    height: 100% !important;
    object-position: center;
    object-fit: contain;
    z-index: 1;
}

.imagefluid video {
    height: 100%;
    width: auto;
}
.logo-top {
    margin-top: 2px;
    margin-left: 2px;
    z-index: 102;
    position: relative;
}

.btn:hover {
    color: #FFFFFF;
    background-color: #524D47;
    border-color: #524D47;
    opacity: 0.7;
}

input.form-control {

}

input.form-control:hover,
textarea:hover,
select:hover
{
    outline: none !important;
    box-shadow: none !important;
    opacity: 0.7;
    border: 1px solid transparent !important;
}
input.form-control:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #524D47 !important;
}

.wpcf7-submit {
    border: 0 !important;
}

.wpcf7-not-valid {
    border: 1px solid #EE1D00 !important;
    background: #FEF4F2 !important;

}

.sticky-top {
    top: 14px;
    position: fixed!important;
    left: 0px;
    right: 0px;
}

.white {
    background-color: white;
    overflow: hidden;
}

.pages {
    margin-top: 134px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1680px;
    }
}

a {
    color: #524D47;
    text-decoration: none;
}

.positionabsolute header {
    left: 0;
    right:0;
    top: 14px;
    position: fixed!important;
    z-index: 100;
}

/*header*/
.header-menu {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 101;
}

.menu-top {
    width: 100%;
}

#menu-main {
    display: flex;
    width: 100%;
    justify-content: end;
    height: 24px;
}

#menu-main li {
    max-width: 240px;
    width: 100%;
    height: 24px;
}

#menu-main li a {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    width: 100%;
    display: block;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-left: 0;
    padding: 4px 7px;
    height: 24px;
}

#menu-main li:first-child a {
    border-left: 1px solid #D9D9D9;
}

#menu-main li a:hover {
    background: #F5F5F5;
}
#menu-item-38 a:hover,
#menu-item-38.current-menu-item a{
    background: #D9D9D9!important;

}
.lineheader {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0px;
    z-index: 100;
}

.line_header2 {
    background: #FFFFFF0D;
    backdrop-filter: blur(34px);
    height: 24px;
    width: 100%;

}
.line_header1 {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(21, minmax(20px, 1fr));
    grid-template-rows: repeat(1, 12px);
}

.line_header1 div {
    height: 12px;
    backdrop-filter: blur(24px);
    width: 100%;
    min-width: 20px;

}

.line_1 {
    background: #FFFFFF1A;
}

.line_2 {
    background: #FFFFFF33;

}

.line_3 {
    background: #FFFFFF4D;

}

.line_4 {
    background: #FFFFFF1A;

}

.line_5 {
    background: #FFFFFF1A;

}

.line_6 {
    background: #FFFFFF33;

}

.line_7 {
    background: #FFFFFF4D;

}

.line_8 {
    background: #FFFFFF1A;

}

.line_9 {
    background: #FFFFFF1A;

}

.line_10 {
    background: #FFFFFF33;

}

.line_11 {
    background: #FFFFFF4D;

}

.line_12 {
    background: #FFFFFF1A;

}

.line_13 {
    background: #FFFFFF1A;

}

.line_14 {
    background: #FFFFFF33;

}

.line_15 {
    background: #FFFFFF4D;
}

.line_16 {
    background: #FFFFFF1A;

}

.line_17 {
    background: #FFFFFF1A;

}

.line_18 {
    background: #FFFFFF33;

}

.line_19 {
    background: #FFFFFF4D;

}

.line_20 {
    background: #FFFFFF1A;

}

.line_21 {
    background: #FFFFFF1A;

}


/**/
.text-infos {
    display: flex;
}

.text-infos .right {
    flex: 0 0 50%;
}

.text-infos .left {
    flex: 0 0 50%;
}

.text-infos .title {
    background: #FFE58E;
    padding: 2px 7px;
    border-bottom:  1px solid #D9D9D9;
}
.text-infos.text-infos-params .title {

    border-bottom: 0;
}
.text-infos .text > div {
    padding: 3px 8px 12px 8px;
}
.text-infos .text > div#wpcf7-f25-o1 {
    padding: 14px;
}
.text-infos.text-infos-params .text > div{
    padding: 3px 8px 12px 8px;
}
.text-infos-top .left {
    border: 1px solid #D9D9D9;
}
.text-infos.text-infos-form .text > div p {
    margin-bottom: 0;
}
.text-infos-top .right {
    border: 1px solid #D9D9D9;
    border-left: 0;
}

.text-infos-line {

    height: 64px;
    border: 1px solid #D9D9D9;
    border-top: 0;
}

.text-infos-form {
    border-top: 0;
}

.text-infos-form .left {
    border: 1px solid #D9D9D9;
    border-top: 0;
}

.text-infos-form .right {
    border: 1px solid #D9D9D9;
    border-left: 0;
    border-top: 0;
}

.text-infos-params .title {
    text-align: right;
    background: none;
}

.text-infos-params .left {
    border: 1px solid #D9D9D9;
    border-top: 0;
}

.text-infos-params .right {
    border: 1px solid #D9D9D9;
    border-left: 0;
    border-top: 0;
}
.text-infos.text-infos-top .text > div p {
   margin-bottom: 15px;
}
.text-infos.text-infos-top .text > div p:last-child {
    margin-bottom: 0;
}
.text-infos-contact .title {

}

.text-infos-contact .left {
    border: 1px solid #D9D9D9;
    border-top: 0;
}

.text-infos-contact .right {
    border: 1px solid #D9D9D9;
    border-left: 0;
    border-top: 0;
}

.text-infos-contact .text {
    padding: 0;
}

.text-infos-contact .items {
    display: flex;
}

.text-infos-contact .items div {
    flex: 0 0 50%;
}
.text-infos-contact .items:last-child .item_text {
    flex: 0 0 100%;
    max-width: 100%!important;
}
.text-infos-contact .items:last-child .item_title {
   border-left: 0;
}
.text-infos-contact .item_text:hover {
    background: #F5F5F5;
}

.text-infos-contact .text > div {
    padding: 0px;
}

.text-infos-contact .item_title {
    border-bottom: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
    text-align: right;

    padding: 2px 7px;
}
.header_contact.text-infos-contact .item_title {
    border-left: 1px solid #D9D9D9;
    border-right: 1px solid transparent;
}
.text-infos-contact .item_text {
    border-bottom: 1px solid #D9D9D9;

    padding: 2px 7px;
}
.header_contact.text-infos-contact .item_text {
    border-left: 1px solid #D9D9D9;
}
.text-infos-contact .items:last-child .item_text,
.text-infos-contact .items:last-child .item_title {
    border-bottom: 0;
}

.text-infos-contact .items:last-child .item_title {
    width: 0px;
    padding: 0;
    border-right: 0;
    flex: 0 0 auto;
}
.text-infos-contact .items:last-child .item_text:hover{
    background: transparent;
}
.white {
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    display: flex;
justify-content: space-between;
}
.white .text-infos-top .right,
.white .text-infos-top .left {
    border-top: 0;
}
.white .text-infos-contact .right,
.white .text-infos-contact .left {

    border-bottom: 0;
}
.order2 .image-quote {
    display: none;
}

.header_contact {
    position: fixed;
    top: 38px;
    right: 24px;
    background: #FFFFFF;
    z-index: 1030;
    width: 481px;
    display: none;
}

.header_contact .right {
    flex: 0 0 100%;
}

.wpcf7 {
    background: #EBEDED;
    padding: 14px;
}

.form-control {
    border-radius: 0;
    width: 100%;
}

.wpcf7-form-control-wrap {

    width: 100%;
    margin-bottom: 8px;
    position: relative;
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: 8px;
    right: 8px;
    font-weight: 400;
    font-size: 9px;
    line-height: 100%;
    text-align: right;
    color: #EE1D00;

}
.form-control {
    padding: 3px 8px 12px 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    border: 1px solid #FFFFFF;
}
.wpcf7-submit {
    width: 100%;
    border-radius: 0;
    background: #524D47;
    border: 0 !important;
    text-align: left;
    padding: 5px 8px 10px 8px;
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;


}

.wpcf7-spinner {
    display: none;
}

/**/
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}



.slide-caption {
    display: none;
}

.main-slider .imagefluid {
    height: 100%;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.swipercontainer {
    width: 100%;
    position: relative;
    height: 100vh;
}

.main-slider {

    width: 100%;
    height: 100vh;
}



/* Счётчик */

.slider-counter-wrapper {
    position: absolute;
    top: 0;
    left: 24px;
    visibility: hidden;
    padding-left: 176px;
    z-index: 101;
    min-height: 120px;
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;


}
.home .slider-counter-wrapper{
    visibility: visible;
}
.slider-counter-wrapper:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: '';
    background: #FFFFFF33;
    backdrop-filter: blur(34px)
}

.slider-counter-wrapper:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    content: '';
    background: #FFFFFF4D;
    z-index: 99;
    width: calc(var(--progress, 0%) - 24px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    backdrop-filter: blur(24px)


}
.slide-caption {
    display: none;
}
.main-slide .imagefluid {
    height: 100%;
    width: 100%;
}
.main-slide .imagefluid img {
    position: absolute;

    width: 100%;

    height: 100% !important;
    object-position: center center;
    object-fit: contain;
    z-index: 1;
}
.swipercontainer {
    width: 100%;
    position: relative;
    height: 100vh;
}

.main-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-align: center;
}
.main-slide.active {
    opacity: 1;
}

.growing-image,
.shrinking-image {
    position: fixed;
    z-index: 50;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Миниатюры */
.thumb {
    position: absolute;
    bottom: 24px;
    width: 128px;
    height: 76px;
    background-size: cover;
    background-position: center;
    border: 1px solid #D9D9D9;
    cursor: pointer;
    z-index: 20;
}

.thumb-prev {
    left: 24px;
}

.thumb-next {
    right: 24px;
}
.thumb-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.slider-text {
    padding: 4px 7px;
    padding-left: 0;
    flex: 1;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
    vertical-align: middle;

    position: relative;
    z-index: 101;
}

.slider-counter {
    margin-bottom: 7px;
    position: relative;
    z-index: 101;
}

.swiper-button-disabled {
    display: none;
}

/**/

.projects {
    margin-top: 158px;
    flex: 1;
}
.page-template-page-project footer{
    margin-top: auto;
}
.projects #slider-container {
    padding-right: 0;
    padding-left: 0;
}

.projects-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.projects-swiper,
.projects-swiper .swiper-wrapper,
.projects-swiper .swiper-slide {
    cursor: default !important;
}

.projects-swiper:hover {
    cursor: pointer !important;
}

.projects-swiper a,
.projects-swiper img {
    cursor: pointer !important;
}

.projects-swiper.swiper-dragging,
.projects-swiper.swiper-dragging * {
    cursor: grabbing !important;
}

.projects .slide {
    display: flex;
    flex-direction: column;
    height: 570px;
    width: 100%;
    border-right: 1px solid #EBEDED;
    border-bottom: 1px solid #EBEDED;
    background: white;
}
.projects-swiper .swiper-slide:last-child{
    margin-right: 24px;
}
.projects-swiper .swiper-slide:first-child{
    margin-left: 24px;
}
.projects .slide:hover {
    opacity: 0.8;
}

.projects .img {
    width: 100%;
    height: 517px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects .img img {
    width: auto;
    height: 517px;
    object-fit: contain;
}

.projects .title {

    padding: 7px;
    text-align: left;
    flex-grow: 1;
}

.projects .title a {
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
}

.projects .params {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    vertical-align: middle;
    margin-top: auto;
}

.projects .params .project-materials span {
    margin-right: 7px;
}

.projects .params > div {
    padding: 7px;
    text-align: left;
    flex: 0 0 50%;
}


.sliderprojects-wrapper {
    overflow: hidden;

}

.project-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}
.projectslider{
    padding: 5px 0px;
    padding-right: 0;
}
.projectslider,
.projectslider .slider-wrapper,
.projectslider .project-swiper,
.projectslider .swiper-slide {
    height: calc(100vh - 10px);
}

.project-swiper .swiper-slide .imgfluid {
    height: calc(100vh - 10px);
    width: auto;
    object-fit: cover;
    display: block;
}
.project-swiper .swiper-slide:first-child{
    margin-left: 5px;
}
.project-swiper .swiper-slide:last-child{
    /*margin-right: 5px;*/
}

.project-swiper video {
    height: 100%;
    width: auto;
}

.more_projects_block {

    margin-top: 108px;
    background: white;
    margin-right: 5px;
}

.more_projects {
    display: flex;
    flex-direction: row;

}

.more_projects_title {
    padding: 7px;
    padding-bottom: 69px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    text-align: left;
}

.more_projects .more_project {
    background: white;
    border-right: 1px solid #D9D9D9;
    height: unset;
}

.more_projects .more_project:hover{
opacity: 0.8!important;
}
.more_projects .img {
    width: 100%;
    height: 517px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more_projects .img img {
    width: auto;
    height: 517px;
    object-fit: contain;
}

.more_projects .title {

    padding: 7px;
    text-align: left;
    flex-grow: 1;
}

.more_projects .title a {
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
}

.more_projects .params {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    vertical-align: middle;
    margin-top: auto;
}

.more_projects .params > div {
    padding: 7px;
    text-align: left;
    flex: 0 0 50%;
}

/*
.more_projects,
.more_projects .swiper-wrapper,
.more_projects .swiper-slide {
    cursor: default !important;
}

.more_projects:hover {
    cursor: pointer !important;
}

.more_projects a,
.more_projects img {
    cursor: pointer !important;
}

.more_projects.swiper-dragging,
.more_projects.swiper-dragging * {
    cursor: grabbing !important;
}*/


/**/
.projectslider {
    position: relative;

}

.projectslider .info-block {
    position: absolute;
    right: 24px;
    bottom: 19px;
    z-index: 2;
    max-width: 321px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    width: 100%;
}

.projectslider .info-block .title {
    padding: 3px 7px 4px;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    vertical-align: middle;

}

.projectslider .info-block .params {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    vertical-align: middle;
    margin-top: auto;
    border-bottom: 1px solid #D9D9D9;
}

.projectslider .info-block .params .project-materials span {
    margin-right: 7px;
}

.projectslider .info-block .params > div {
    padding: 5px 7px;
}

.projectslider .info-block .info {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #D9D9D9;
    flex-wrap: wrap;
}

.projectslider .info-block .info .tit {
    padding: 4px 7px 5px;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    vertical-align: middle;
    color: #8E8E8E;
    flex: 0 0 50%;
}

.projectslider .info-block .info .par {
    padding: 4px 7px 5px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    flex: 0 0 50%;
}

.projectslider .info-block .info .tet {
    padding: 7px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    vertical-align: middle;

}

.projectslider .info-block .info.mp {
    padding: 7px;
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr 1fr;
}
.projectslider .info-block .info .img_bg {
   background-repeat: no-repeat;
    width: 150px;
    height: 36px;
    background-position: left center;
    margin-bottom: 7px;
}
.projectslider .info-block .info .mat {
    flex: 0 0 50%;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    vertical-align: middle;
    margin-bottom: 5px;
}

.projectslider .info-block .info .mat img {
    margin-bottom: 7px;

}

/* Все нечётные .cell внутри .grid */

.projectslider .info-block .infos {
    display: none;
}

.filter_grid {
    display: grid;
    gap: 1px;
    background: #D9D9D9;
    grid-template-columns: repeat(12, minmax(20px, 1fr)); /* минимум 80px, но тянутся */
    grid-template-rows: repeat(3, 12px); /* 3 рядов */
    border-top: 1px solid #D9D9D9;
    overflow: hidden;
    height: 38px;
}
.info-block .filter_grid{
    grid-template-columns: repeat(4, minmax(20px, 1fr)); /* минимум 80px, но тянутся */
    border-top: 0;
}
.cell {
    background: white;
    min-width: 20px;
    height: 12px;
}

.infos-more {
    border-top: 1px solid #D9D9D9;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.infos-more > div {
    padding: 2px 7px;
    flex: 0 0 50%;
}

.infos-more .infomore {
    border-right: 1px solid #D9D9D9;
    flex: 0 0 calc(50% + 0.5px);
}

.infos-more .infomore.active {
    background-color: #D9D9D9;
}

.infos-more .infomore a {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    text-decoration: none;
}

.projects_filter {
    position: absolute;
    z-index: 99;
    top: 86px;
    right: 24px;
    margin-left: auto;
    width: 961px;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    overflow: hidden;

}

.projects_filter_scrol {
    display: flex;
    flex-direction: column;
}

.filter_menu_title {
    display: none;
}
.filter_space_flex{
    display: flex;
    flex-direction: row;
}
.filter_space{
    width: 80px;
    flex: 0 0 auto;
    border-right: 1px solid #D9D9D9;
}
.filter_categorys {
    display: none;
    flex-direction: column;

}

.filter_category {
    display: flex;
    align-items: unset;
    flex-direction: row;
}

.filter_category .filter_param:hover {
    background: #F5F5F5;

}

.filter_categorys .filter_title {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    /*border-right: 1px solid #D9D9D9;*/
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    height: 24px;
    overflow: hidden;
    display: flex;
}
.filter_categorys .filter_title.category{
    display: none;
}


.filter_categorys .filter_title.material div:first-child {

   border-right: 1px solid transparent;
}
.filter_categorys .filter_title.material div:nth-child(2){

    background: transparent;
}

.filter_categorys .filter_title div {
    background: #FFE58E;
    width: 240px;

cursor: pointer;
    padding: 4px 7px;
    border-right: 1px solid #D9D9D9;

}
.filter_categorys .filter_title div:first-child{
    background: transparent;
}
.filter_category .filter_param {
    width: 240px;
    flex: 0 0 auto;
    font-weight: 400;
    font-size: 11px;
    line-height: 100%;
    vertical-align: middle;
    padding: 7px;
    border-right: 1px solid #D9D9D9;
    display: flex;
    justify-content: space-between;
    height: 48px;
}
.filter_category .filter_param:first-child{

    width: 240px;
}
input[type="checkbox"][name="filter_category[]"] {
    appearance: none;
    width: 8px;
    height: 8px;
    border: 1px solid #524D47;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

input[type="checkbox"][name="filter_category[]"]:checked::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background-color: #524D47;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter_category.material .filter_param {
    flex-direction: column;
    height: 72px;
}

.filter_category.material .filter_param img {
    margin-bottom: 7px;
}

.filter_category.material .filter_param input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter_category {
    overflow-x: auto;
    scrollbar-width: none;
}

.filter_category::-webkit-scrollbar {
    display: none;
}

label {
    cursor: pointer;
}

.filter_menu {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 24px;
}

.filter_menu svg {
    cursor: pointer
}


.projects_filter_scrol,
.projects_filter_grid {
    display: none;
}
.projects_filter_scrol.active {
    display: flex;
    overflow: hidden;
}
.projects_filter_grid.active {
    display: block;
}
.filter_block {
    display: flex;
    flex-direction: column;
}

.filter_menu_icon {
    padding: 5px 7px;
    width: 80px;
    flex: 0 0 auto;
    border-right: 1px solid #D9D9D9;
}

.filter_menu_row {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex: 0 0 100%;
}
.filter_menu_row.active {
    border-bottom: 1px solid #D9D9D9;
    z-index: 2;
}
.filter_menu_row div {
    width: 240px;
    padding: 4px 7px;
    border-right: 1px solid #D9D9D9;


}
.filter_menu_row div:first-child{

    width: 240px;
}
.filter_menu_row div:hover{
    background: #F5F5F5;

}

.filter_menu_row > div.active{
    background: #FFE58E;
}
.filter_menu_row > div.active.notext{
    background: #FFFFFF;
}
.filter_menu_row .notext a{
    color: white;
}

.filter_menu_row div.notext:hover a{
     color: #F5F5F5;
 }
.filter_menu_row div.active.notext:hover a{
    color: #FFFFFF;
}
.filter_menu_row a{
    display: block;
}

.filter_menu.active {
    width: 80px;
    flex: 0 0 auto;
    display: unset;
    border-right: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}



.filter_menu.active .filter_menu_icon {
    border-right: 0;
}

.filter_menu.active .filter_menu_row {
    display: none;
}

.filter_category.year .filter_param {
    display: flex;
    flex-direction: column;
}
.filter_category.year .filter_param svg{
    width: 100%;
    height: 8px;
}
.filter_category.year .filter_param div {
    flex: 1;


}

.filter_category.year .filter_param input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter_param:has(input[type="checkbox"]:checked) {
    background: #F5F5F5;
    background-clip: padding-box;
}


@media (max-width: 1230px) {
    .slider-counter-wrapper {

        max-width: 480px;
    }
}

@media (max-width: 945px) {
    .slider-counter-wrapper {

        max-width: 340px;
    }
}

.copyright {
    margin-top: 48px;
    margin-bottom: 7px;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    vertical-align: middle;

}
.blur-up {
    -webkit-filter: blur(1px);
    filter: blur(1px);
    transition:
            filter 200ms 500ms,
            -webkit-filter 200ms 500ms;
}
.blur-up.lazyloaded {
    -webkit-filter: blur(0);
    filter: blur(0);
}
@media (min-width: 768px) {
    .header__nav {
        display: none;
    }
}

.offcanvas,
.offcanvas.show {
    transition: none !important;
    transform: none !important;
}

.offcanvas.offcanvas-end {
    top: 72px;
    width: 100%;
    border-left: 0;
    background: transparent;
}

.offcanvas-body {
    padding: 5px;
}

.offcanvas-backdrop.show {
    display: none;
}

.single-projects footer {
    display: none;
}

@media (max-width: 768px) {
    .thumb{
        display: none;
    }
    .container-fluid{
        padding-right: 5px;
        padding-left: 5px;
    }
    .container-fluid > .row {
        margin-right: -5px;
        margin-left: -5px;

    }
    .sticky-top {
        top: 5px;
    }
    .container-fluid > .row > * {
        padding-right: 5px;
        padding-left: 5px;
    }
    .slider-counter,
    .slider-text {
        display: none;
    }

    .header__nav {
        width: 153px;
        height: 24px;
        position: relative;
        display: flex;
        border-radius: 0px;
        padding: 7px;
        align-items: center;
        justify-content: space-between;
        background: #FFFFFF;
        z-index: 1046;
        border: 1px solid #D9D9D9;
        margin-left: auto;
        color: #524D47;
        cursor: pointer;
    }

    .custom-logo-link svg {
        width: 90px !important;
        height: auto !important;
    }
    #menu-main {
        height: unset;
    }
    #menu-main li {
        max-width: unset;
        width: 100%;
        height: unset;
    }

    #menu-main li a {
        padding: 4px 7px;
        padding-bottom: 14px;
        border-top: 0;
        border-left: 1px solid #D9D9D9;
        height: 31px;

    }

    #menu-main li:first-child a {
        border-top: 1px solid #D9D9D9;
    }

    .main-slider .imagefluid {
        position: relative;

    }

    #menu-main li:last-child a {
        border-top: 0;
    }

   /* .main-slide .imagefluid img {
        position: absolute;
        top: unset;
        left: unset;
        width: 100%;
        height: auto !important;
        object-position: center center;
        object-fit: contain;
        z-index: 1;
    }*/
    .projects_filter_scrol{
        overflow: hidden;
    }
    .slider-counter-wrapper {
        left: 5px;
        padding-left: 0px;
        background: #FFFFFF33;
        min-height: 72px;
        top: 0;
        max-width: calc(100% - 178px);
    }
    .text-infos .title {
        border-bottom: 0;
    }
    .line_header1 {
        grid-template-columns: repeat(6, minmax(20px, 1fr));
        overflow: hidden;
    }
    .preloader-grid {
        grid-template-columns: repeat(6, minmax(20px, 1fr));
        overflow: hidden;
    }
    .preloader-grid .preloader-block:nth-child(n+61) {
       display: none;
    }
    .line_header1 div:nth-child(n+7) {
        display: none;
    }
    .offcanvas.offcanvas-end {
        top: 77px;
    }

    .white {

        border-left: 0;
    }
    .offcanvas.offcanvas-end {
        left: 0;
        right: 0;
        bottom: unset;
    }

    .header_contact {
        position: fixed;
        top: 201px;
        right: 5px;
        left: 5px;
        width: unset;

    }

    .text-infos-contact .item_title {
        border-left: 1px solid #D9D9D9;
    }

    .offcanvas-body {
        padding: 0 5px;
    }
    .header_contact.text-infos-contact .item_text {
        border-left: 1px solid #D9D9D9;
        border-right: 1px solid #D9D9D9;
    }
    /**/
    .text-infos {
        flex-direction: column;
    }

    .text-infos .right,
    .text-infos .left {
        flex: unset;
    }
    .preloader-grid {
        margin: 5px 5px 0 5px;
    }
    .order2 {
        display: flex;
        flex-direction: column;
    }
.top_header{
    padding-left: 10px;
    padding-right: 10px;
}
    .order2 .image-quote {
        display: block;
    }

    .order1 .image-quote {
        display: none;
    }

    .order2 .text-infos-top {

    }

    .order2 .text-infos-line {

    }

    .order2 .image-quote {

        padding-bottom: 64px;
        border-left: 1px solid #D9D9D9;
        border-right: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
    }

    .order2 .text-infos-params {

        flex-direction: row;
    }

    .order2 .text-infos-params > div {
        flex: 0 0 50%;
    }

    .order2 .text-infos-form {

    }

    .order2 .text-infos-contact {

        border-left: 1px solid #D9D9D9;
        border-right: 1px solid #D9D9D9;
    }

    .pages {
        margin-top: 125px;
    }

    .text-infos-contact .left {


        border-left: 0;
        border-right: 0;
    }

    .text-infos-form .right {
        border-left: 1px solid #D9D9D9;
    }

    .text-infos-form .text > div {
        padding: 14px;
    }
    .text-infos-form .right .text > div {
        padding: 3px 8px 12px 8px;
    }
    .text-infos-top .left {
        border-bottom: 0;
    }

    .text-infos-top .right {
        border-left: 1px solid #D9D9D9;
    }

    .text-infos-contact:not(.header_contact) .item_title {
        border-left: 0;
        border-right: 1px solid #D9D9D9;

    }

    .text-infos-contact .item_text {

    }
    .text-infos-contact .title,
    .text-infos-top .title {

        border-bottom: 1px solid #D9D9D9;
    }
    .text-infos-contact .right {
        border-right: 0;
    }

    .text-infos-contact .items:last-child div {
        flex: 0 0 100%;
    }

    .projects #slider-container {
        padding-right: 0;
        padding-left: 0;
    }

    .projects .img,
    .projects .img img {
        height: 371px;
    }

    .projects .slide {

        height: 426px;

    }

    .filter_menu_row {
        display: none;
    }

    .filter_menu_title {
        display: block
    }

    .projects_filter {
        top: 77px;
        right: 5px;
        margin-left: auto;
       /* width: 153px;*/

    }
    .projects {
        margin-top: 125px;
    }
    .lineheader {

        left: 5px;
        right: 5px;

    }

    .filter_menu_icon {
        width: 100%;
        border-right: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        position: relative;
    }

    .open_filter {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 2px 7px;
align-items: center;
        cursor: pointer;
    }
    .filter_menu.active {
        border-bottom: 0;
    }
    .filter_menu.active .open_filter{
        width: 100%!important;
    }
    .filter_space {
       display: none;
    }
    .filter_block {
        flex-direction: column;
    }

    .projects_filter.active {
        width: unset!important;
        left: 5px;
        right: 5px;
    }
    .projects-swiper .swiper-slide:last-child{
        margin-right: 5px;
    }
    .projects-swiper .swiper-slide:first-child{
        margin-left: 5px;
    }
    .filter_menu.active {
        width: unset;
        border-right: 0
    }

    .filter_categorys {
        display: flex;
    }

    .filter_categorys .filter_title {
        border-right: 0;
        background: #FFE58E;

    }

    .filter_categorys .filter_title div {
        background: transparent;
        width: unset;
        border-right: 0;
    }
    .filter_categorys .filter_title.category{
        display:  block;
    }
    .filter_categorys .filter_title.material div,
    .filter_categorys .filter_title.year div {
        margin-left: 0;
        width: unset;
        border-left: 0;
    }

    .filter_categorys {

        width: unset;
    }

    .filter_grid {
        grid-template-columns: repeat(6, minmax(20px, 1fr));
    }

    .projectslider, .projectslider .slider-wrapper, .projectslider .project-swiper, .projectslider .swiper-slide {
        height: unset;
    }

    .projectslider .swiper-wrapper {
        position: relative;
        width: 100%;
        height: unset;
        z-index: 1;
        display: flex;
        flex-direction: column;
    }

    .project-swiper .swiper-slide .imgfluid {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .project-swiper video {
        height: auto;
        width: 100%;
        margin-bottom: -5px;
    }

    .project-swiper .swiper-slide:not(.moreprojects):not(.more_project) {
        margin: 0px 5px 5px 5px;
    }

    .more_projects_block {
        margin-top: 0px;
margin-right: 0;
    }
    .project-swiper .swiper-slide:first-child {
        margin-left: 0px;
    }
    .project-swiper .swiper-slide:last-child {
         margin-right: 0px;
    }
    .single-projects footer {
        display: block;
    }
    .more_projects_title {
        margin: 0 5px;
    }

    .projectslider .swiper-wrapper .more_projects_block .swiper-wrapper {
        display: flex;
        height: 426px;
        flex-direction: row;
        margin-left: 5px;
    }

    .more_projects .img {

        height: 371px;
    }

    .more_projects .img img {
        height: 371px;
    }

    .more_projects_block {
        background: transparent;
    }

    .more_projects_title {
        background: white;
    }
    .positionabsolute header {
        top: 5px;
    }

    .projectslider .info-block {
        position: static;
margin-top: 72px;
        margin-left: 5px;
        margin-bottom: 5px;

    }

    .projectslider {
       display: flex;
        flex-direction: column-reverse;
    }
    .info-block .filter_grid{
        grid-template-columns: repeat(4, minmax(20px, 1fr)); /* минимум 80px, но тянутся */
        border-top: 0;
    }
    .imagefluid img {
        position: absolute;
      /*  top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%,-50%);
        height: auto!important;*/
        object-position: center center;
        object-fit: cover;
        z-index: 1;
    }
    .main-slider .swiper-slide{
overflow: hidden;
    }
    .page-template-page-project {
        display: block;
        height: 100%;
    }
    .single-projects .position-absolute,
    .page-template-template-page-1 .sticky-top,
    .page-template-page-project .sticky-top{
        position: fixed!important;
        right: 0px;
        left: 0px;
        z-index: 1000;
    }
    .page-template-page-project footer {
         margin-top: 48px;
    }
}

@media (max-width: 500px) {
    .line_header1 {
        grid-template-columns: repeat(5, minmax(20px, 1fr));

    }
    .preloader-grid {
        grid-template-columns: repeat(5, minmax(20px, 1fr));

    }
    .preloader-grid .preloader-block:nth-child(n+31) {
        display: none;
    }
    .line_header1 div:nth-child(n+6) {
        display: none;
    }
    .filter_grid {
        grid-template-columns: repeat(4, minmax(20px, 1fr));

    }
    .info-block .filter_grid{
        grid-template-columns: repeat(4, minmax(20px, 1fr)); /* минимум 80px, но тянутся */
        border-top: 0;
    }
}

.projects-swiper.swiper-dragging {
    cursor: grabbing;
}

.projects-swiper.swiper-dragging * {
    cursor: grabbing !important;

}

