* {
    outline: none;
}

#to_top:before, #to_top:after {
content: ' ';
    width: 21px;
    height: 2px;
    background: #ffffff;
    display: block;
    position: absolute;
    top: 27px;
}

#to_top:before {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    left: 13px;
}

#to_top:after {
    right: 13px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.grecaptcha-badge {
    display: none;
}

.bg_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}

.img-responsive {
    width: 100%;
    height: auto;
}

.relative {
    position: relative
}

.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#to_top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 38px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    z-index: 20;
    color: #fff;
    opacity: 0.5;
    background: #840039;
}

.transition {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    transition: 0.5s;
}

#to_top:hover {
    opacity: 1;
}

.load-box {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.load-box img {
    position: fixed;
    left: 50%;
    width: 46px;
    margin-left: -23px;
    top: 50%;
}

.close_all_form {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    z-index: 4;
}

.txt_error, .txt_yes {
    display: none;
    padding: 15px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 4;
}

.txt_error {
    background-color: #d50000;
}

.txt_yes {
    background-color: #f5a212;
}

.text-center {
    text-align: center;
}

.page-section {
    padding: 70px 0;
}

.read_more_wrap {
    margin-top: 20px;
}

.agree {
    text-align: center;
    margin-top: 10px;
    line-height: 13px;
    font-size: 13px;
}

.factory__company {
    align-items: flex-start;
}

.director-description {
    text-align: center;
    margin-top: 10px;
    color: #840039;
}

.header {
    position: fixed;
    z-index: 2;
    width: 100%;
    top: 0;
    left: 0;
}

.page-main {
    margin-top: 126px;
}

.header__phone {
    font-weight: 900;
}

.head-scroll {
    box-shadow: 0 1px 4px 0 #840039;
}

.head-scroll .header__logo-img, .head-scroll .header__logo {
    width: 65px;
    height: 65px;
}
.nav__link {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    transition: 0.5s;
}
.head-scroll .nav__link {
    padding: 25px 0;
}

.head-scroll .header__logo {
    top: 8px;
    left: 15px;
}

.main-video {
    padding-top: 50px;
    text-align: center;
}

.main-video video {
    width: 80%;
    margin: 0 auto;
    height: auto;
}

.contacts__table {
    position: relative;
    z-index: 1;
}

.projects {
    padding-bottom: 70px;
}

.consult__agreement {
 margin: 0 auto;
}

.agr_wrap {
    margin-top: 20px;
}

@media screen and (max-width: 1229px) {
    .head-scroll .header__logo-img, .head-scroll .header__logo {
        width: 80px;
        height: 80px;
    }
    .head-scroll .header__logo {
        left: 0;
    }

    .head-scroll .nav__link {
        padding: 0;
    }

    .factory__img-cont {
        flex-direction: column;
        margin: 0 auto;
        margin-bottom: 35px;
    }

    .page-main {
        margin-top: 94px;
    }
}

@media screen and (max-width: 767px) {
    .main-video video {
        width: 100%;
    }
    .factory__company-img {
        margin: 0 auto;
    }
    .header__logo, .header__logo-img {
        width: 65px;
        height: 65px;
    }
    .head-scroll .header__logo-img, .head-scroll .header__logo {
        width: 65px;
        height: 65px;
    }
    .nav__wrapper {
        top: 79px;
    }
}

@media screen and (max-width: 330px) {
    .header__phone {
        margin-left: -5px;
    }
}