.is_lang{
    align-items: center;
    justify-content: center;
}

.is_lang.open{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, .8);
}

.is_lang .language__switcher{
    margin: 0 auto;
    width: 300px;
    height: 140px;
    background-color: var(--darkblue);
    position: relative;
}

.is_lang .language__switcher li a {
    margin: 0 16px;
}

.is_lang__cross{
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--darkblue);
    color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.is_lang__cross:hover{
    background-color: var(--white);
    color: var(--darkblue);
}

/* MENU */

.menu li{
    margin: 0 32px 0 0;
    
}

.menu li a{
    color: var(--white);
    margin: 0 0 15px;
    border-bottom: 2px solid transparent;
}

.menu li a:hover,
.menu li.current a{
    border-color: var(--white);
}

.menu__footer .menu li a{
    margin: 0 0 15px;
    display: inline-block;
    font-size: 16px;
}

.menu__footer p a{
    color: var(--white);
}

.has_children > a{
    font-weight: bold;
}

.contacts__wrap{
    width: 70%;
    padding: 70px;
    margin: 0 auto;
}

.contacts__wrap h1{
    margin-bottom: 50px;
}
.contacts__wrap p{
    margin: 0 0 16px;
}

.contacts__wrap a{
    font-size: 20px;
    color: var(--black);
    border-bottom: 2px solid transparent;
    display: inline-block;
}
.contacts__wrap a:hover{
    border-color: var(--black);
}

body.portfolio-page #content{
    background-image: url(/site/templates/assets/svg/back.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    background-attachment: fixed;
}

.basic-page h1{
    margin: 0 0 32px;
}

.basic-page #content ol,
.basic-page #content ul{
    margin: 16px 0;
}
.basic-page #content ol li,
.basic-page #content ul li{
    list-style-position: inside;
    margin: 0 0 8px;
}

/* FOOTER */
footer{
    background-image: url(/site/templates/assets/svg/lines.svg);
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: center 25vh; */
    overflow: hidden;
    color: var(--white);
}

footer .form{

    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 32px;
}

footer .content{
    padding-bottom: 32px;
}

footer .form h2{
    margin: 0 0 24px;
}

footer .form p{
    margin: 0 0 40px;
}




.portfolio .project__title{
    padding: 15px 10px;
    color: var(--white); 
}


.portfolio .project__title strong{
    margin: 10px 0;
}
.project img{
    width: 100%;
    height: auto;
}

.video_iframe,
body:not(.home) .project.flex.flexColumn,
body:not(.portfolio-page) .project img {
    border: 1px solid rgba(0, 0, 0, .3);
}


body.portfolio-page .project{
    transition: transform .4s;
}
body.portfolio-page .project:hover{
    transform: translateY(-15px);
}

/* project page*/

.content.page_text{
    padding-bottom: 0px;
}

.project__hero_image{
    height: 450px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}


.video_iframe {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
  
  /* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
 }

.masonry-grid-sizer,
.masonry-grid-item { width: calc(33% - 16px); margin: 0 0 32px; opacity: 0; transition: opacity .4s;}
/* .masonry-grid-item--width2 { width: 900px; } */

.initialized .masonry-grid-item{opacity: 1;}

.testimonial-inner{
    padding: 32px;
    border: 1px solid #000;
}
.testimonial-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}
.rating span.star {
    display: inline-block;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
}
.rating span.star:before {
    color: #ffb900;
    background: #ffb900;
}

.rating span.star:before {
    content: "";
    mask: url(/site/templates/assets/svg/star-solid.svg) center center no-repeat;
    display: inline-block;
    font-size: 1.25em;
    width: 19px;
    height: 20px;
    padding: 0 4px;
    transition: color .3s ease;
}

 @media screen and (max-width: 1550px){
    .masonry-grid-sizer,
    .masonry-grid-item { width: calc(33.333% - 14px); margin: 0 0 32px; }

    .menu__footer{
        margin: 50px 0 0;
    }
    .button a,
    p,
    body{
        font-size: 16px;
    }
    .content{
        max-width: var(--container-x2);
    }
    h2, h1 {
        font-size: 42px;
    }
    .title{
        margin: 0 0 50px;
    }
    #content .content:last-of-type{
        padding-bottom: 50px;
    }
    .content-x2, .content{
        padding: 100px 0 70px;
    }

    .p-t-100 {
        padding-top: 70px;
    }
    .header .content {
        padding: 10px 0;
    }
    .button a {
        letter-spacing: 0px;
        padding: 12px 54px 12px 16px;
    }
    .logo__wrap p {
        font-size: 18px;
    }

    .project__hero_image{
        height: 300px;
    }
    .content-x2 {
        max-width: var(--container-x3);
    }
    .menu__footer .menu li a {
        margin: 0 0 8px;
    }
}

/* MOBILE */
@media screen and (max-width: 1000px){
    .masonry-grid-sizer,
    .masonry-grid-item { width: calc(100% - 32px); margin: 0 0 32px;}

    .page ol,
    .page ul{
        padding-inline-start: 20px;
    }
    h1,
    h2{
        font-size: 32px;
    }
    .content{
        max-width: var(--container-mobile);
    }
    .menu__footer,
    .title{
        display: flex;
        flex-flow: column;
    }
    .menu__footer div{
        margin: 15px 0;
    }


    .contacts__wrap {
        width: auto;
        padding: 30px;
    }

    .content.grid.col-2,
    .portfolio.grid.col-2{
        display: flex;
        flex-flow: column;
    }
    .content-x2{
        padding: 70px 0;
        max-width: var(--container-mobile);;
    }
    .project__hero_image {
        height: calc(100vw / 16* 9);
        padding: 0;
    }



    .p-t-100.breadcrumbs__wrap{
        padding: 0;
    }
}