@charset "UTF-8";
/* CSS Document */

/*
Theme Name: SiteOnWpTEAM
Author: Alex Made
Author URI: http://alex-made.ru/
*/

@font-face {
    font-family: 'Gilroy Regular';
    src: url('fonts/Gilroy-Regular.eot');
    src: url('fonts/Gilroy-Regular-1.eot') format('embedded-opentype'),
    url('fonts/Gilroy-Regular.woff') format('woff'),
    url('fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy Bold';
    src: url('fonts/Gilroy-Bold.eot');
    src: url('fonts/Gilroy-Bold-1.eot') format('embedded-opentype'),
    url('fonts/Gilroy-Bold.woff') format('woff'),
    url('fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy Extra Bold';
    src: url('fonts/Gilroy-ExtraBold.eot');
    src: url('fonts/Gilroy-ExtraBold-1.eot') format('embedded-opentype'),
    url('fonts/Gilroy-ExtraBold.woff') format('woff'),
    url('fonts/Gilroy-ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    background: #f8f8f8;
}

.body {
    width: 100%;
    max-width: 1920px;
    min-height: 100vh;
    margin: 0 auto;
    font-family: 'Gilroy Regular';
    font-size: 16px;
    color: #000;
    background: #fff;
    -webkit-box-shadow: 0px 0px 128px -30px rgba(0,0,0,0.29);
    -moz-box-shadow: 0px 0px 128px -30px rgba(0,0,0,0.29);
    box-shadow: 0px 0px 128px -30px rgba(0,0,0,0.29);
    overflow-x: hidden;
}

section {
    width: 100%;  
}

.agree {display:none}

.container {
    width: 100%;
    height: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.button-red {
    padding: 16px 32px;
    border-radius: 100px;
    background: #a81212;
    font-size: 18px;
    font-family: 'Gilroy Bold';
    color: #fff;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    border: 2px #a81212 solid;
}

.button-red:hover {
    border: 2px #fff solid;
    background: none;
}

.button-white {
    padding: 20px 36px;
    border-radius: 100px;
    font-size: 18px;
    font-family: 'Gilroy Bold';
    color: #fff;
    border: 2px #fff solid;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
}

.h2-container {
    width: 100%;
    height: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 50px 20px 30px 20px;
    box-sizing: border-box;
}

.h2-container h2 {
    font-size: 70px;
    line-height: 80px;
    color: #122345;
    font-family: 'Gilroy Extra Bold';
    margin: 0;
}

.instblok {
	text-align: center;
    position: initial;
    padding-right: 30px;
}

.instblok h2 {
    font-size: 70px;
    line-height: 80px;
    color: #122345;
    font-family: 'Gilroy Extra Bold';
    margin: 0;
}

.h2-container span {
    color: #7b7b7b;
    font-size: 18px;
    padding: 10px 0 20px 0;
    box-sizing: border-box;
    display: inline-block;
}

a:hover {
    opacity: 0.8;
}

.page-title {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

.header {
    height: 160px;
    position: absolute;
    width: 100%;
    max-width: 1920px;
}

.header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-contact-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.header-icon-block{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.header-phone-block{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.header-icon-block a {
    margin: 0 7px;
    text-decoration: none;
}

.header-icon-block a img {
    max-width: 18px;
    max-height: 16px;
}

.phone-icon {
    width: 36px;
    height: 36px;
    border: 1px #fff solid;
    border-radius: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 15px 0 0;
}

.phone-icon img {
    max-height: 16px;
    max-width: 16px;
}

.header-phone-block {
    margin: 0 0 0 33px;
    text-decoration: none;
}

.header-phone-block span {
    font-size: 24px;
    font-family: 'Gilroy Bold';
    color: #fff;
}

.home-one {
    height: 700px;
    max-height: 100%;
}

.home-one .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home-one .container h1 {
    font-size: 70px;
    line-height: 80px;
    font-family: 'Gilroy Bold';
    color: #fff;
    max-width: 900px;
    margin: 0;
}

.home-one .container span {
    font-size: 22px;
    color: #fff;
    margin: 40px 0;
}

.home-two {
    padding-bottom: 30px;
    box-sizing: border-box;  
}

.home-two-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 50%;
}

.home-two-item {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 50px 30px 0;
    box-sizing: border-box;
}

.home-two-item img {
    height: 64px;
    width: auto;
}

.home-two-item h3 {
    font-size: 22px;
    color: #122345;
    font-family: 'Gilroy Bold';
    margin: 20px 0;
}

.home-two-item span {
    color: #122345;
}

.home-three {
    padding-bottom: 60px;
    box-sizing: border-box;
    background-size: cover;
    background-position: top center;
}

.home-three .h2-container h2 {
    color: #fff;
}

.home-three .container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

.home-three-item {
    width: 33%;
    height: 300px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.home-three-item:first-child {
    padding-right: 22px;
    box-sizing: border-box;
}

.home-three-item:last-child {
    padding-left: 22px;
    box-sizing: border-box;
}

.home-three-block {
    width: 100%;
    height: 260px;
    opacity: 0.9;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
}

.home-three-block:hover {
    height: 300px;
    opacity: 1;
}

.home-three-block:hover .button-white {
    background: #fff;
    color: #000;
}

.home-three-block h3 {
    font-size: 50px;
    color: #fff;
    font-family: 'Gilroy Bold';
    margin: 0;
}

.home-four {
    padding-bottom: 60px;
    background-position: 94% bottom;
    background-repeat: no-repeat;
}

.home-four .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.home-four .container iframe {
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
}


.home-four .button-red:hover {
    background: #122345;
    border: 2px #122345 solid;
}

.swiper-container {
      width: 100%;
      height: 100%;
}

.swiper-slide {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 90px;
    box-sizing: border-box;
}

.swiper-button-next {
    background-image: url(img/arrow.png);
}

.swiper-button-prev {
    background-image: url(img/arrow.png);
    transform: rotate(180deg);
}

.swiper-button-next, .swiper-button-prev {
    width: 46px;
    height: 127px;
    background-size: 46px 127px;
    margin-top: -63px;
}

.home-five-box-img {
    width: 340px;
    height: 340px;
    background-position: center center;
}

.home-five {
    padding-bottom: 80px;
    box-sizing: border-box;
    background-size: cover;
    background-position: top center;
}

.home-five h2 {
    color: #fff;
}

.home-five-box-text-block {
    padding-left: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.home-five-box-text-block h3 {
    color: #fff;
    font-size: 40px;
    margin: 20px 0;
    font-family: 'Gilroy Bold';
}

.home-five-box-text-block span {
    color: #fff;
    font-size: 20px;
}

.home-six {
    padding-bottom: 80px;
}

.home-six .h2-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
} 

.home-six .h2-container .button-red {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.home-six .h2-container .button-red img {
    margin-right: 14px;
}

.home-six .button-red:hover {
    background: #122345;
    border: 2px #122345 solid;
}

.swiper-container-two {
    height: 320px;
    width: 1920px;
    max-width: 100%;
    overflow: hidden;
}

.home-seven {
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.home-seven .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.home-seven-title {
    font-size: 50px;
    color: #fff;
    font-family: 'Gilroy Bold';
}

.home-seven-title span {
    background: url(img/free.png) no-repeat center center;
    background-size: contain;
    padding: 4px 30px 18px 30px;
    margin: 0 0 0 -30px;
}

.home-seven-form {
    max-width: 560px;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.home-seven-form .wpcf7-form div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
}

.wpcf7-form-control-wrap input {
    padding: 20px 36px;
    border-radius: 100px;
    font-size: 18px;
    font-family: 'Gilroy Bold';
    color: #000;
    border: 2px
    #fff solid;
    box-sizing: border-box;
    cursor: pointer;
    width: 94%;
    margin: 0 0 20px 20px;
}

.wpcf7-submit {
    padding: 20px 36px;
    border-radius: 100px;
    font-size: 18px;
    font-family: 'Gilroy Bold';
    color: #fff;
    border: 2px #fff solid;
    box-sizing: border-box;
    cursor: pointer;
    background: none;
}

.wpcf7-submit:hover {
    background: #fff;
    color: #000;
}

.map {
    overflow: hidden;
}

.map iframe {
    margin-left: -100%;
}

.address-block {
    background: #fff;
    padding: 40px 26px 28px 30px;
    box-sizing: border-box;
    color: #000;
    box-sizing: border-box;
    position: absolute;
    margin-top: -300px;
    margin-left: 44%;
    max-width: 300px;
    -webkit-box-shadow: 0px 0px 56px 18px rgba(0,0,0,0.22);
-moz-box-shadow: 0px 0px 56px 18px rgba(0,0,0,0.22);
box-shadow: 0px 0px 56px 18px rgba(0,0,0,0.22);
}

.address-block .header-phone-block {
    margin: 0 0 12px 0px;
}

.address-block .header-phone-block span {
    color: #000;
}

.address-block .phone-icon {
    border: 1px #000 solid;
}

.map-address-block span {
    font-size: 14px;
    font-family: 'Gilroy Regular';
}

.footer {
    background: #fff;
}

.footer .container {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer .container a {
    color: #000;
}

.footer .container .header-icon-block a img {
    max-width: 28px;
    max-height: 26px;
}

.home-two-img-mobile {
        display: none;
}

.page-one {
    height: 160px;
    background: #122344;
    margin-bottom: 30px;
}

.page-two {
    min-height: calc(90vh - 190px);
    border-bottom: #ccc 1px solid;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.overlay {
    display:none; 
    position:fixed; 
    z-index:999; 
    opacity:0.9; 
    filter:alpha(opacity=90); 
    top:0; 
    right:0; 
    left:0; 
    bottom:0; 
    background:#000;
    text-align: center;
}

.popup {
    display:none; 
    position:fixed; 
    overflow-y: auto;
    z-index:1000;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    top: 0;
    left: 0;
}

.popup-box {
    width: 100%;
    max-width: 400px;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 10px auto;
}

.close {
    display:block; 
    width:18px; 
    height: 18px;
    cursor:pointer;     
    position:absolute; 
    top:10px; 
    right:10px; 
}

.close2 {
    display:block; 
    width:18px; 
    height: 18px;
    cursor:pointer;     
    position:absolute; 
    top:450px; 
    right:20px; 
}

.popup-title {
    font-size: 30px;
    color: #fff;
    font-family: 'Gilroy Bold';
    padding-bottom: 20px;
    box-sizing: border-box;
}

.wpcf7-mail-sent-ok {
    font-size: 18px;
    font-family: 'Gilroy Bold';
    width: 100%;
    text-align: center;
    color: #fff;
}

.wpcf7-not-valid-tip, .wpcf7-response-output, .wpcf7-validation-errors {
    color: #fff;
    font-size: 18px;
}

.screen-reader-response {
    display: none;
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: auto !important;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #a81212;
}

.popup .wpcf7-form-control-wrap input {
    margin: 0 0 20px 0;
}

@media screen and (max-width: 2380px) {
    .address-block {
        margin-left: 48%;
    }
}

@media screen and (max-width: 2200px) {
    .address-block {
        margin-left: 51%;
    }
}

@media screen and (max-width: 2100px) {
    .address-block {
        margin-left: 60%;
    }
}

@media screen and (max-width: 1680px) {
    .swiper-container-two {
        height: 290px;
    }
}

@media screen and (max-width: 1680px) {
    .swiper-container-two {
        height: 260px;
    }
}

@media screen and (max-width: 1000px) {
    .home-one .container h1 {
        font-size: 60px;
    }
    h2 {
        font-size: 60px !important;
        line-height: 66px !important;
    }
    
    .home-four .container iframe {
        width: 100%;
        height: 380px;
        margin-bottom: 50px;
    }
    
    .home-five-box-img {
        height: 300px;
    }
    
    .home-five-box-text-block {
        padding-left: 40px;
    }
    
    .home-five .swiper-slide {
        padding: 0 50px;
    }
    
    .swiper-button-next, .swiper-button-prev {
        width: 26px;
        height: 90px;
        background-size: 26px 90px;
        margin-top: -63px;
    }
    
    .home-five-box-text-block h3 {
        font-size: 36px;
    }
    
    .home-five-box-text-block span {
        font-size: 18px;
    }
    
    .home-seven .container {
        flex-direction: column;
    }
    
    .home-seven-title br {
        display: none;
    }
    
    .home-seven-form {
        max-width: 100%;
        padding-right: 20px;
        padding-top: 30px;
        box-sizing: border-box;
    }
    
    .wpcf7-form {
        align-items: center;
    }
}

@media screen and (max-width: 520px) {
    .header-contact-block {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: flex-end;
    }
    
    .header-phone-block {
        margin: 0 0 15px 10px;
    }
    
    .home-one .container h1 {
        font-size: 50px;
        line-height: 54px;
    }
    
    h2 {
       font-size: 50px !important;
        line-height: 54px !important; 
    }
    
    .home-two {
        background: none !important;
        padding-bottom: 0px;
    }
    
    .home-two .container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .home-two-img-mobile {
        display: block;
        max-width: 100%;
    }
    
    .home-two-box {
        max-width: 100%;
    }
    
    .home-two-item:nth-child(2n) {
        padding-right: 0px;
    }
    
    .home-three .container {
        flex-direction: column;
    }
    
    .home-three-item {
        width: 100%;
        height: 260px;
    }
    
    .home-three-block {
        height: 240px;
    }
    
    .home-three-block:hover {
        height: 240px;
    }
    
    .home-three-item:first-child {
        padding: 0px;
    }
    
    .home-three-item:last-child {
        padding: 0px;
    }
    
    
    
    .home-four .container iframe {
        height: 210px;
    }
    
    .home-five .swiper-slide {
        flex-direction: column;
    }
    
    .home-five-box-img {
        width: 96%;
        height: 240px;
    }
    
    .home-six .h2-container h2 {
        margin-bottom: 20px;
    }
    
    .home-six .h2-container {
        flex-direction: column;
    }
    
    .home-seven-form {
        padding-right: 0px;
    }
    
    .home-seven-form .wpcf7-form div {
        flex-direction: column;
    }
    
    .home-five-box-text-block {
        padding-left: 0;
        max-width: 96%;
    }
    
    .home-five-box-text-block span {
        font-size: 16px;
    }
    
    .address-block {
        position: relative;
        margin: -5px 0 0 0;
        max-width: 100%;
        background: #f8f8f8;
    }
    
    .footer .container {
        flex-direction: column;
    }
    
    .footer .container .header-icon-block {
        margin: 10px 0;
    }
    
    .wpcf7-form-control-wrap input {
        margin: 0 0 20px 0;
    }
    
    .header-phone-block span {
        font-size: 20px;
    }
}

@media screen and (max-width: 330px) {
    .header-contact-block .phone-icon {
        display: none;
    }
    
    .home-one .container h1 {
        font-size: 40px;
        line-height: 44px;
    }
    
    h2 {
        font-size: 40px !important;
        line-height: 44px !important;
    }
    
    .home-two-item h3 {
        font-size: 18px;
    }
    
    .home-five-box-text-block h3 {
        font-size: 28px;
    }
    
    .home-seven-title {
        font-size: 40px;
        line-height: 44px;
    }
    
    .home-five-box-img {
        height: 180px;
    }
}