/*hot fix*/
.header {
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
}
.header--scrolled {
    background-color: #fff;
    -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 40%);
    box-shadow: 0 5px 15px rgb(0 0 0 / 40%);
}
main{margin-top: 80px;}
.about-companie__info {
     -webkit-box-pack: normal;
        -ms-flex-pack: normal;
            justify-content: normal;   
}
.video__about {
    position: relative;
    margin-bottom: 32px;
}
.video__about .link_video{
    display:block;
    position:relative;
    height: 407px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.84%, rgba(44, 44, 44, 0.86)), color-stop(38.05%, rgba(0, 0, 0, 0))), url(pexels-wallace-chuck-2973392.jpg), #C4C4C4;
    background: -o-linear-gradient(top, rgba(44, 44, 44, 0.86) 0.84%, rgba(0, 0, 0, 0) 38.05%), url(pexels-wallace-chuck-2973392.jpg), #C4C4C4;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.86) 0.84%, rgba(0, 0, 0, 0) 38.05%), url(pexels-wallace-chuck-2973392.jpg), #C4C4C4;
    cursor: pointer;
}
.video__about .link_video:hover{
    opacity: 0.8;

}
.video__about .link_video:after{
    position: absolute;
    display:block;
    width:80px;
    height:80px;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%, -50%);
        -ms-transform:translate(-50%, -50%);
            transform:translate(-50%, -50%);
    background: url('../img/icons/icon-video.svg');
    background-size:80px;
    z-index:2;
    content: " ";
}
.video__about a> img {
    width: 100%;
    height: 407px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
}
.about .about__subtitle{
    position: absolute;
    left:50%;
    -webkit-transform:translateX(-50%);
        -ms-transform:translateX(-50%);
            transform:translateX(-50%);
    top: 16px;
    color: #fff;
    font-family: Gilroy;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 32px;
    letter-spacing: 0em;
    margin:0;
    text-align: center;

}
.popup-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    outline-width: 0;
}
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.form__field--recaptcha{ 
    margin-bottom: 26px;
    -ms-grid-row: 3;
   -ms-grid-column: 7;
   -ms-grid-column-span: 6;
    grid-area: 3/7/3/13;}
    .social-wrapper{
        display: -ms-grid;
        display: grid;
        -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
        -ms-grid-columns: -webkit-min-content -webkit-min-content -webkit-min-content;
        -ms-grid-columns: min-content min-content min-content;
        grid-template-columns: -webkit-min-content -webkit-min-content -webkit-min-content;
        grid-template-columns: min-content min-content min-content;
        -ms-grid-column-align: end;
        justify-self: end;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
        grid-area: 1/3/2/4;
        gap: 0 20px;
        margin-right: 40px;
    }
    .social-link{
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            -webkit-transition: .3s;
            transition: .3s;
    }
     .social-link.link-in{ background-image: url(../img/icons/Inst.svg)}
     .social-link.link-in:hover,.social-link.link-in:focus {background-image: url(../img/icons/Inst-hover.svg)}
    .social-link.link-youtube{ background-image: url(../img/icons/Ytb.svg)}
     .social-link.link-youtube:hover,.social-link.link-youtube:focus {background-image: url(../img/icons/Ytb-hover.svg)}
      .social-link.link-fb{ background-image: url(../img/icons/Fcb.svg)}
     .social-link.link-fb:hover,.social-link.link-fb:focus {background-image: url(../img/icons/Fcb-hover.svg)}
    @media (max-width: 420px) {
    .g-recaptcha{
    width: 100%;
    overflow: hidden;
    }
}
@media (min-width: 768px){
    .popup-video .form-popup__inner{
        height: 440px;
    }
}
@media (min-width: 1200px){
    .popup-video .form-popup__inner{
        height: 648px;
    }
}
@media (max-width: 767px) {
    main {
        margin-top: 60px;
    }
    .header__logo {
        margin-right: 5px;
    }
    .social-wrapper{gap: 0 13px;margin-right: 25px;}
    .social-link{
        width: 32px;
        height: 32px;
        background-size: 32px;
    }
    .subfooter__author{
        font-size: 14px;
    }
    .copyrite {
      order: 1;
      margin-bottom: 9px;
    }
    .subfooter__author {
        order: 2;
        margin-bottom: 0;
    }
    .video__about {
    margin-bottom: 18px;
    }
      .video__about .link_video:after{
        width:20px;
        height:20px;
        background-size:20px;
    }
     .video__about .link_video{ 
         height: 106px
     }
    .video__about a> img {
        height: 106px;
    }
    .about .about__subtitle{
        position: relative;
        top: 8px;
        color: #222;
        font-size: 18px;
        line-height: 24px;
        letter-spacing: 0em;
    }
    .popup-video .form-popup__close {
        top: 0px;
        right: -2px;
    }
    .popup-video .form-popup__inner {
        padding: 30px;
    }
}

.brands {
    grid-template-columns: repeat(4, 1fr);
}

.brand-card {
    margin-right: 0;
    width: auto;
    height: 300px;
}

.brand-card__fake-link {
    width: max-content;
}
.mobile_content_toggle{display:none;}
@media (max-width: 767px) {
    .mobile_content_toggle{
        display: block;
        text-align: center;
        color: #222;
        border: 2px solid #222;
        width: 290px;
        height: 46px;
        font-family: Inter;
        font-size: 18px;
        font-weight: 500;
        line-height: 46px;
        margin-top: 10px;
    }
    .about__mobile {
        /*overflow: hidden;
        height: 100px;*/
        position: relative;
   }
   /*.about__mobile:after{
        position: absolute;
        right: 38px;
        bottom: 7px;
        content: '...';
        background: #fff;
        width: 100px;
        height: 18px;
   }*/
   .about__mobile.about__mobile_visible_all:after{display:none;}
   .about__mobile.about__mobile_visible_all{
     overflow: inherit;
     height:auto;
   }  
   .hiden_mobile{display:none;}
}
@media (max-width: 1200px) {
    .brands {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 10px;
        /* grid-template-rows: repeat(2, 1fr); */
    }
}

@media (max-width: 600px) {
    .copyrite{font-size:14px;}
    .brands {
        grid-template-columns: 1fr;
    }
}

/* 27.12.2021 - Map link fix on hover (текст показывался сразу [до того, как ширина плашки займет 250px] и некорректно переносился) */
.map__link {
    opacity: 0;
}
.map__pin:hover+.map__link {
    opacity: 1;
}
.map__link:hover {
    opacity: 1;
}
.input_error{
    border: 1px solid #fd0000;
}