﻿@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('/fonts/Montserrat-Light.ttf') format('truetype');
}


html {
    scroll-behavior: smooth;
}

.slider {
    position: relative;
}

.slider-links {
    width: 1210px;
    margin: 0 auto;
    padding: 0 15px;
    margin-top: 25px;
}

.slider {
    margin: 50px auto -41px;
}

.slider-link {
    position: relative;
    padding: 10px;
    color: #fff;
    /* border: 2px solid #14181e; */
    transition: color .15s linear;
    text-transform: uppercase;
    /* background-color: #14181e; */
}

/* .slider-link::after {
content: '';
position: absolute;
width: 15px;
height: 15px;
border-top: 2px solid #fff;
border-right: 2px solid #fff;
margin-right: 60px;
transform: rotate(135deg) translate(0%, 50%);
bottom: -20px;
left: 50%;
transition: .15s;
animation: arrow-8 3s linear infinite -1.5s;
} */
.projects-h3 {
    font-size: 18px !important;
    font-weight: bold !important;
}

.projects-h3 span {
    margin-bottom: 5px;
}

.slider-link::before {
    content: '';
    position: absolute;
    background: rgba(7, 10, 14, 0.5);
    width: 50px;
    height: 50px;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, 50%);
    border-radius: 50%;
}

.slider-link:hover::after {
    border-top: 2px solid #dd1313;
    border-right: 2px solid #dd1313;
}

.slider-link:not(:last-child) {
    margin-right: 15px;
}

.slider-link:hover {
    color: #dd1313;
    /* border: 2px solid #dd1313; */
}

.slider-link img {
    position: absolute;
    width: 13px;
    bottom: -30px;
    left: 50%;
    transform: translate(-50%, 50%);
    animation: arrow-8 2.8s linear infinite -1.5s;
}

.page-activity {
    padding-top: 180px;
}

.page-about {
    padding-top: 180px;
}

.page-projects {
    padding-top: 180px;
}

.page-services {
    padding-top: 180px;
}

.page-service {
    padding-top: 180px;
}

.contacts {
    padding-top: 180px;
}

.home-info__inner {
    padding: 100px 0;
}

.home-projects {
    padding: 100px 0;
}

.home-services {
    padding-top: 0px;
}

.call-back {
    margin: 100px 0;
}

.projects-block {
    padding: 100px 0;
}

.activity-info {
    padding: 100px 0;
}

.menu_socials {
    display: flex;
    flex-wrap: wrap;
}

a.services__item-content {
    display: block;
    outline: none;
}

@media screen and (max-width: 1280px) {
    .slider-links {
        width: 670px;
    }
}

@media (max-width: 769px) {
    .slider-link:not(:last-child) {
        margin-right: 10px;
    }

    .slider-links {
        bottom: 50px;
    }

    .slider-link {
        padding: 5px;
    }
}

@media screen and (max-width: 768px) {
    .slider-links {
        width: 310px;
    }

    .link-anchor {
        margin-bottom: 15px;
    }

    .slider {
        margin: 30px auto -41px;
    }
}

@keyframes arrow-8 {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    10%,
    90% {
        opacity: 0;
    }

    50% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
}

/*
ЗНАЮ, ЧТО ПЛОХО !IMPORTANT, НО ТАМ ТАКОЙ
КАСКАД СТИЛЕЙ, ПОЭТОМУ НЕ РУГАЙТЕСЬ! ;)
*/
.main-title-1 {
    font-weight: 700 !important;
    font-size: 44px !important;
    line-height: 1 !important;
    font-style: normal !important;
}

.main-subtitle-2 {
    font-size: 34px !important;
    line-height: 1 !important;
}

.main-subtitle-3 {
    font-size: 24px !important;
    /* 44 */
    line-height: 1 !important;
    font-style: normal !important;

    margin-bottom: 30px !important;
}

.main-list {
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 130% !important;
    font-style: normal !important;
}

@media (max-width: 768px) {

    .breadcrumbs__inner,
    .page-activity__inner,
    .slider-links,
    .activity-info__inner,
    .projects-block__inner,
    .footer__inner,
    .page-about-info__inner,
    .columns-text__inner,
    .page-about-info__inner,
    .statistic__inner,
    .page-about-team__inner,
    .list-block__inner,
    .partners__inner,
    .home-projects__inner,
    .home-services__inner,
    .page-projects__inner,
    .projects__inner,
    .pagination__inner,
    .page-services__inner {
        width: calc(100% - 10px);
    }

    body .editable-block__inner--container {
        display: flex;
    }

}

.video-flex {
    display: grid !important;
}

@media (min-width: 550px) and (max-width: 768px) {
    .projects-list {
        grid-template-columns: 1fr 1fr;
    }
}

.gallery-editable__slide-image {
    height: auto;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-editable__slide-image-wrap {
    height: 100vh;
}

.gallery-editable__image {
    object-fit: cover;
}

ul.style-list li {
    display: list-item !important;
}

ol.style-list li {
    display: list-item !important;
}

.hover-effect:hover {
    color: #c10020 !important;
}

.services__item-text ul,
.services__item-title ul {
    padding-left: 15px;
}

.services__item-text ul li,
.services__item-title ul li {
    display: list-item;
}

.services__item-text a,
.services__item-title a {
    color: #ed1b2f;
}

.services__item-text a:hover,
.services__item-title a:hover {
    color: #c10020 !important;
}

.page-activity__heading {
    margin-top: 20px;
    color: #E9E9E9;
}

.page-activity__heading {
    font-family: 'Montserrat-Light', sans-serif;
}

.site-header__inner_fix {
    height: 80px !important;
    transition: 200ms;
}

.page-activity {
    padding-top: 75px;
}

@media (min-width: 1000px) {
    .page-activity .link-anchor.btn.btn--red {
        margin-top: 12px;
    }

    .site-header__inner {
        height: 160px;
    }

    .page-activity {
        padding-top: 0;
    }

    .breadcrumbs {
        z-index: 3;
        position: absolute;
        top: 176px;
        left: auto;
    }

    .page-activity__inner {
        z-index: 3;
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 307px;
        left: auto;
        width: 100%;
        justify-content: center;
        font-style: normal;
        text-align: center;
    }

    .page-activity__title {
        max-width: 1180px;
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 60px;
        line-height: 73px;
        margin-top: 0;
    }

    .page-activity__heading {
        max-width: 700px;
        margin-top: 20px;
        font-weight: 300;
        font-size: 36px;
        line-height: 38px;
    }

    .slider-links {
        z-index: 3;
        position: absolute;
        top: 600px;
        left: auto;
        width: 100%;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
    }

    .page-activity__inner {
        justify-content: center;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .site-header--dark-mode {
        background-color: transparent;
    }

    .slider {
        min-height: 100vh;
        margin: 0 auto;
        padding-bottom: 0;
        filter: brightness(50%);
    }

    /* .slider-editable__slide {
        height: 100vh !important;
    } */

    .slider-links .link-anchor {
        height: auto;
        padding: 20px 50px;
        font-size: 18px;
        box-shadow: 0px 7px 40px -5px rgba(0, 0, 0, 0.57);
    }

    .site-header--dark-mode.site-header--translated {
        background-color: #14181e;
    }
}

@media (max-width: 768px) {
    .layout .page-activity .slider-links a[href='#activity-info'] {
        display: none;
    }

    .page-activity .link-anchor.btn.btn--red {
        margin-top: 34px;
        font-size: 14px;
        padding: 0 40px;
        height: 40px;
    }

    .breadcrumbs {
        margin-top: 36px;
    }

    .breadcrumbs__link {
        font-size: 12px;
    }

    .layout .page-activity .slider-links a[href='#projects-block']:after {
        content: 'Смотреть проекты';
        display: block;
        position: absolute;
        background-color: #ed1b2f;
    }

    .page-activity__title {
        font-size: 20px;
        font-weight: 800;
        line-height: 24px;
        margin-top: 18px;
    }

    .page-activity__heading {
        width: 60%;
        margin-top: 13px;
        font-size: 10px;
        line-height: 11px;
    }

    .slider-links {
        margin-top: 0;
    }
}

@media (min-width: 1000px) and (max-width: 1281px) {
    .page-activity__title {
        max-width: 800px;
        font-size: 30px;
    }

    .page-activity__heading {
        max-width: 800px;
        font-size: 20px;
    }

    .page-activity__inner {
        top: 250px;
    }

    .slider-links {
        top: 480px;
    }

    .slider-links .link-anchor {
        padding: 20px 50px;
    }

    .link-anchor {
        font-size: 20px;
        padding: 15px 40px;
    }
}

.accordion__item {
    position: relative;
    border-top: 1px solid black;
}

.accordion__item:last-child {
    border-bottom: 1px solid black;
}

.accordion__header {
    cursor: pointer;
    font-weight: bold !important;
    font-size: 20px !important;
    padding: 30px 0 30px 10px;
    margin: 0 !important;
}

.accordion__item:not(.accordion__item_show) .accordion__body {
    display: none;
}

.accordion__item:not(.accordion__item_show) .accordion__body {
    display: none;
}

.accordion__body {
    font-size: 19px;
    padding: 0 0 30px 10px;
    box-sizing: border-box;
}

.accordion__header::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 25px;
    background-color: #ed1b2f;
    top: 30px;
    right: 30px;
    transition: transform 0.2s ease-out;
}

.accordion__header::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 25px;
    background-color: #ed1b2f;
    top: 30px;
    right: 30px;
    transform: rotate(90deg);
    transition: transform 0.2s ease-out;
}

.accordion__header:hover::after,
.accordion__header:hover::before {
    background: grey;
}

.accordion__item_show .accordion__header::after,
.accordion__item_slidedown .accordion__header::after {
    transform: rotate(45deg);
}

.accordion__item_show .accordion__header::before,
.accordion__item_slidedown .accordion__header::before {
    transform: rotate(135deg);
}

@media screen and (max-width: 1280px) {
    .main-title-1 {
        font-size: 28px !important;
    }

    .main-subtitle-2 {
        font-size: 28px !important;
    }

    .main-list {
        font-size: 14px !important;
    }

    .accordion__header {
        padding-right: 45px;
        font-size: 16px;
    }

    .accordion__body {
        font-size: 15px;
    }

    .accordion__header::after,
    .accordion__header::before {
        right: 25px;
    }
}

.accordion__body p {
  margin-bottom: 10px !important;
}

.accordion__body li {
  margin-bottom: 0 !important;
}

.accordion__subtitle {
  font-weight: 600;
}

.accordion__body li {
  margin-left: 50px;
}


.editable-block__item a.block-info__btn {
	color: #fff;
	margin-top: 0px;
}


.slider-img-text .slider-editable > .slider-editable__inner {
	max-width: 100%;
}

.barnhouse{
    display: flex; 
    flex-direction: row; 
    flex-wrap: wrap;
}
.barnhouse__item{
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.barnhouse__item a{
    color: #000000;
}
.barnhouse__item span{
    color:#ff0000;
}

@media screen and (max-width: 768px) {
    div:has(> h2.barnhouse-block-even-title){
        order:2;
    }
}


.barnhouse__wrapper{
    margin-top: 40px;
}

.barnhouse-page .page-service > .slider-editable.editable-block:nth-of-type(1){
    display: none;       
}

.barnhouse-page .page-service .editable-block--two-columns:nth-of-type(3) {
    display: none;
}



 @media(max-width: 768px){
    .barnhouse-page .page-service{
        display: flex;
        flex-direction: column;
    }

    .barnhouse-page .page-service nav{
        order: -3;
    }

    .barnhouse-page .page-service > .slider-editable.editable-block:nth-of-type(1){
        order: -3;
        display: block;       
    }

    .barnhouse-page .page-service .editable-block--text:nth-of-type(2) {
        order: -1;
    }

    .barnhouse-page .page-service .editable-block--two-columns:nth-of-type(3) {
        display: block;
        order: -1;
    }

    .barnhouse-page .page-service .editable-block--two-columns:nth-of-type(4) > div > div:first-child{
        display: none;
    }

    .barnhouse-page .page-service .editable-block--image:nth-of-type(5){
        /* order: -2; */
        display: none;
    }

    .barnhouse-page .page-service .editable-block--gallery:nth-of-type(6){
        /* order: -2; */
        display: none;
    }

    .barnhouse-page .page-service .editable-block--text:nth-of-type(7){
        order: -1;
    }

    .barnhouse-page .page-service .editable-block--image:nth-of-type(8){
        order: -1;
    }

    .barnhouse-page .accordion__header{
        font-size: 18px!important;
    }

    .barnhouse-page .editable-block--image-plus-text .editable-block__item:not(:first-of-type){
        margin-top: 0;
    }

    .barnhouse-page section.slider-editable.editable-block{
        padding-bottom: 0!important;
    }

    .barnhouse-page .uppercase{
        text-transform: uppercase;
    }

    .barnhouse-page .h3{
        font-size: 18px;
    }


} 



.table-2 td{
    padding: 10px 0 10px 14px;
}


@media(max-width: 768px){
    .table-2{
        line-height: 16px;
    }
}

.title-over-video{
    position: absolute;
    top: -600px;
    z-index: 1;
    margin: 0 auto;
}

.title-over-video h2{
    color: rgb(220, 224, 229);
    font-size: 44px;
    font-weight: 700;
}