body {
    overflow-x: hidden;
}
.projects__card a {
    display: inline-block;
    width: 100%;
}
.resizable img {
    height: 100% !important;
}
._position_top {
    left: 50px !important;
    display: none;
}
iframe {
    width: 100%;
    height: 594px;
}
.popup:not(._dropdown)._position_top {
    left: 0 !important;
}
.popup {
    left: 0 !important;
}
.about__block-slider .marquee {
    animation: scroll 100s linear infinite;  
}
.about__block-slider {
    position: relative;
}

@media (min-width: 768px) {
    .about__block-slider::after {
        content: '';
        width: 100px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: -webkit-linear-gradient(90deg, rgb(250, 250, 250), rgba(79, 86, 186, 0) 100%);
        background: -moz-linear-gradient(90deg, rgb(250, 250, 250), rgba(79, 86, 186, 0) 100%);
        background: linear-gradient(90deg, rgb(250, 250, 250), rgba(79, 86, 186, 0) 100%);
    }
}
.about__block-slider:hover .marquee {
    animation-play-state: paused;
}
.projects__img,
.publications__post-img {
    overflow: hidden;
}
.projects__img img,
.publications__post-img-hov img {
    transition: all 1s ease 0s;
}
.projects__img img:hover,
.publications__post-img-hov img:hover {
    transform: scale(1.05);
    transition: all 1s ease 0s;
}
.contacts__title-box {
    max-width: 100%;
}
.publications__text {
    max-width: 100%;
}
.video-trigger {
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    position: relative;
    width: 90%;
    aspect-ratio: 16/9;
  }

  .modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  .close-btn {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }
#youtubePlayer {
    height: 100%;
}
.modal-content iframe {
    height: revert-layer !important;
    min-height: 100%;
}
.video-trigger {
    position: relative; 
    cursor: pointer; 
    overflow: hidden;
    width: 387px;
    height: 100%;
}
.video-trigger img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
}
.znach {
    position:absolute; 
    top:50%; 
    left:50%; 
    transform:translate(-50%, -50%);
    font-size: 40px; 
    color: white;
}
iframe {
    height: 100%;
}
.publications__post-img {
    width: 387px;
    height: auto;
    aspect-ratio: 387/220;
}
@media (max-width: 767px) {
    .publications__post-img {
        width: 100%;
    }
}
.publications__more-posts button {
    position: relative;
}

.page-portfolio__f-v-banner {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 4px;
    overflow: hidden;
}
@media (max-width: 767px) {
    .page-portfolio__f-v-banner {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
}
.fancybox__thumbs,
.fancybox__toolbar__items--left,
.fancybox__button--slideshow,
.fancybox__button--fullscreen,
.fancybox__button--thumbs {
    display: none;
}
.form__button {
    background-color: transparent;
    cursor: pointer;
}
.form__button:hover {
    color: #fff;
}
.form__input {
    margin-bottom: 12px;
    width: 100%;
}
.section-form__text {
    margin-bottom: 25px;
}

.fomr-box-but-conf {
    display: flex;
    margin-top: 38px;
    gap: 24px;
}
@media (max-width: 767px) {
    .fomr-box-but-conf {
        margin-top: 13px;
        flex-direction: column;
        gap: 10px;
    }
}
.form__button-box {
    margin-top: 0;
    align-items: center;
}

.box .wpcf7-form p {
    display: flex;
    column-gap: 40px;
}
@media (max-width: 767px) {
    .box .wpcf7-form p {
        display: block;
    }
}
@media (max-width: 767px) {
    .form__button-box p {
        font-size: 8px;
    }
}
.contacts__map-contacts {
    position: relative;
}
.contacts__map-contacts-close {
    width: 40px;
    height: 40px;
    border: 1px solid;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 2;
    background-color: #fff;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
    color: #ACACAC;
    font-weight: 100;
    cursor: pointer;
}
#map {
    width: 100%; 
    height: 594px;
}
@media (max-width: 767px) {
    #map {
        height: 486px;
    }
}
.director__block-foto img:first-child{
    padding: 5px;
    background: #fff;
}
.wpcf7 .screen-reader-response {
    position: relative !important;
    clip-path: none !important;
    width: 100%;
    height: 100%;
    font-weight: bold;
    color: #9a7d57;
}
@media (max-width: 767px) {
    .page-portfolio .projects__title-block {
        flex-direction: column;
    }
}
.projects #load-more-portfolio {
    border: 1px solid #000;
    padding: 11px 63px;
    font-family: 'Manrope';
    font-size: 17px;
    font-weight: 600;
    line-height: 22.95px;
    letter-spacing: 0.17px;
}
.publications #load-more {
    border: 1px solid #000;
    padding: 11px 63px;
    font-family: 'Manrope';
    font-size: 17px;
    font-weight: 600;
    line-height: 22.95px;
    letter-spacing: 0.17px;
}
.footer {
    overflow-x: hidden;
}
.more-works {
    overflow-x: hidden;
}
@media (max-width: 767px) {
    .publications__more-posts {
       margin-top: 0;
       padding-top: 25px;
    }
    .projects__botton-box {
        order: -1;
    }
    .projects__subtitle {
        margin-top: 0;
        padding-top: 25px;
        border-top: 1px solid hsla(0, 0%, 67%, 0.25);
    }
    .more-works__info {
        width: 100%;
    }
    .projects #load-more-portfolio {
        width: 100%;
    }
    .load-more-wrapper {
        margin-top: 25px !important;
        margin-bottom: 25px;
    }
}
.load-more-wrapper {
    margin-top: 50px;
}
.publications__post-link button {
    color: rgb(44, 44, 44);
    font-size: 17px;
    font-weight: 400;
    line-height: 22.95px;
    letter-spacing: 0.17px;
    border-bottom: 1px solid rgb(44, 44, 44);
}
.video-active .publications__post-img {
   position: fixed;
   z-index: 999;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   max-width: 100%;
   width: 90%;
   display: block;
}
.video-active::before {
    content: '';
    width: 200%;
    height: 150vh;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 900;
    background-color: #18181bfa;
    transform: translate(-50%, -50%);
}
.director__block-foto img:nth-child(1) {
	height: 100%;
    object-fit: cover;
}

@media (min-width: 1100px) {
    .section-form__subtitle {
        font-size: 32px;
    }
}

.services-page .more-works__content {
	align-items: stretch;
}
.services-page .more-works__img {
    max-width: 377px;
    width: 100%;
    aspect-ratio: 377 / 305;
}
.services-page .more-works__img img {
    object-fit: cover;
}

@media (min-width: 768px) {
    .section-form__img-fon {
        aspect-ratio: 387 / 290;
        max-height: 290px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .section-form__img-fon {
        height: 220px;
    }
}
.section-service__img {
	flex-basis: 50%;
}
.section-service__block-text {
	flex-shrink: 0;
    width: 47%;
}
@media (max-width: 767px) {
    .section-service__block-text {
        width: 100%;
    }
}
@media (max-width: 520px) {
    .more-works__title {
        font-size: 23px;
    }
}
.about-section__banner {
	height: 100%;
}
.slider-handle::after {
        content: '<>';
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;  
}
.publications__more-posts {
	padding-bottom: 50px;
}
.more-works__title span {
	color: #00A0E3;
}
.button__box {
    display: flex;
    justify-content: center;
    margin-top: 50px;

}
.before-after__load-more {
    display: inline-block;
    padding: 11px 63px;
    border: 1px solid #2c2c2c;
}
.publications__content {
    margin-top: 50px;
}
@media (max-width: 767px) {
    .publications__content {
        margin-top: 30px;
    }
}
.publications__subtitle-mrg {
    margin-top: 70px;
}
@media (max-width: 767px) {
    .publications__content {
        margin-top: 30px;
    }
}
.projects__portf-policy strong {
    font-weight: 700;
}
.projects__portf-policy h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 1.3rem;
    line-height: 1.4;
}
.projects__portf-policy ul li {
    list-style: disc;
    margin-left: 20px;
}
.projects__portf-policy ul {
    margin-bottom: .9375rem;
}

.cookie {
    position: fixed;
    left: 64px;
    bottom: 16px;
    right: 64px;
    background: #fff;
    padding: 16px;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    z-index: 10000;
    gap: 8px;
    max-width: 380px;
    display: none;
}
.cookie__wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cookie__btn {
    border: 1px solid #9a7d57;
    display: inline-block;
    padding: 11px 37px;
    text-align: center;
    color: #9a7d57;
    font-weight: 700;
}

.cookie a {
    color: #00f;
}
.cookie p {
    margin: 0;
    font-size: 12px;
}
@media screen and (max-width: 500px) {
    .cookie {
        left: 0;
        bottom: 0;
        right: 0;
        max-width: unset;
        padding: 12px 24px;
        flex-direction: column;
    }
    .cookie__btn {
        margin-right: auto;
    }

}
.footer__politic {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}
.footer__politic a {
    margin-top: 4px;
}

.wpcf7-acceptance {
    cursor: pointer;
    max-width: 350px;
}
.wpcf7-acceptance a {
    text-decoration: underline;
    color: #9a7d57;
}
.wpcf7-acceptance {
    display: block;
    user-select: none;
}
.wpcf7-acceptance input {
    display: none;
}
.wpcf7-acceptance .wpcf7-list-item-label span {
    font-size: 12px;
    padding-left: 24px;
    position: relative;
    display: block;
    color: #2c2c2c;
}
.wpcf7-acceptance .wpcf7-list-item-label span::after {
    content: '';
    position: absolute;
    display: block;
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #2c2c2c;
}
.wpcf7-acceptance input:checked + .wpcf7-list-item-label span::after {
    background: url(../img/ico-check.svg) center no-repeat;
    background-size: 12px 12px;
}
.form-checkbox--error {
    color: #ff0000;
}
@media screen and (max-width: 768px) {
    .wpcf7-acceptance {
        margin-top: 24px;
    }
    .form__button-box {
        align-items: flex-start;
    }
}