/*
Theme Name: SP Theme
Theme URI: https://cms3.ru/wordpress-pustaya-tema/
Author: Alex Kuimov
Author URI: https://cms3.ru
Description: The blank wordpress theme
Version: 1.0.0
Text Domain: sp-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*WordPress Core*/
@font-face {
 font-family: "Intro";
 src: url("./fonts/intro.woff") format("woff"),
        url("./fonts/intro.ttf") format("ttf");
font-display:swap;
}
@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Regular.woff2') format('woff2'),
        url('./fonts/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display:swap;
}
html{
      padding: 0;
    margin: 0;  
}
body{
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.rwr::-webkit-scrollbar,
.text_pravila::-webkit-scrollbar {
  width: 8px;
}

.rwr::-webkit-scrollbar-track,
.text_pravila::-webkit-scrollbar-track
 {
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}
 
.rwr::-webkit-scrollbar-thumb,
.text_pravila::-webkit-scrollbar-thumb
 {
  background-color: #FFA84E;
  outline: 1px solid slategrey;
}
.rwr{
    overflow-y: auto;
}
.no_over{
    overflow-y: hidden;
}
 
.rules span{
    cursor: pointer;
}
.rules p{margin-bottom: 0px;}
a:hover,
.rules span:hover{
    color: #335293;
}
.container,
.container2{
    width: 1200px;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    padding: 0px;
}
.container2 .strokes div{
    top: -100px;
}
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
p{
    font-size: 16px;
line-height: 26px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}
.header{
    position: relative;
    width: 100%;
    background-size: cover;
    height: 720px;
    padding-top: 40px;
    overflow: hidden;
}
.header:after{
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 99;
}
.header_slider{
    position: absolute!important;
    top: 0px;
    z-index: -1;
    max-height: 720px;
    overflow: hidden;
}   
.header .container{
    max-width: 1440px;
    width: 1440px;
    z-index: 99999;
}
.header .container2{
    z-index: 999;
}
#top_menu a{
    
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 2px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-left: 50px;
}
#top_menu li{
    display: flex;
    align-items: center;
}
.header .fixed_menu{transition: 1s all;}
.header .fixed_menu.fixed{
    position: fixed;
    top: 0px;
    background:#fff;
    height: 56px;
    max-width: 100%;
    width: 100%;
    z-index: 999999;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.159746);
}
.header .fixed_menu.fixed #top_menu a,
.header .fixed_menu.fixed .top_phone{
    color: #6D7985;
}
.top_phone:hover{
    color: #fff;
}

.header .fixed .mobile_menu{
    border: 1px solid #D8D8D8;
}
.header .fixed_menu.fixed .contact_us{
background:#F0F7FF;}
.contact_us:hover{color: #fff;}
.header .inner_fixed{
    margin:0 auto;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    max-width: 1440px;
    width: 1440px;
    height: 56px;
}
.top_phone{
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    line-height: 2px;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.contact_us{
    font-style: normal;
font-weight: 500;
font-size: 11px;
line-height: 16px;
/* identical to box height, or 145% */

letter-spacing: 2px;
text-transform: uppercase;

color: #3D3D3D;
width: 170px;
height: 40px;
background:#fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.title_main{
    position: absolute;
    top: 142px;
    left: 0px;
}
.title_main .btn{color: #3D3D3D;}
.title_top{
    font-family: 'Intro';
    font-style: normal;
    font-weight: normal;
    font-size: 32px;
    line-height: 56px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #FFBA72;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1631);
}
.first_title{
    color: #FFBA72;
}
.second_title{
    color: #fff;
}
.text_main{
    font-style: normal;
font-weight: normal;
font-size: 18px;
line-height: 32px;
margin-top: 40px;
margin-bottom: 80px;


color: #FFFFFF;
}
.btn{
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    /* identical to box height, or 133% */
    border-radius: 0!important;
    padding: 16px 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background:#FFBA72;
    color: #3D3D3D;
    outline: none;
    position: relative;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    outline: none;
}
.btn:hover{
    /*color: #fff;*/
}
.btn:hover:after{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.btn:after{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFA84E;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.btn:focus{
    background: #E1974A;
}

.white_btn{
    background-color: #fff;
    border:none;
}
.white_btn:after{
    background: #3761BB;
}
.fb_top{
    width: 40px;
    height: 40px;
    position: relative;
    display: block;
    padding: 0px;
    outline: none;
}
.fb_top:hover{
   
}
.fb_top:after{
     background: #3761BB;
     z-index: -1;
}
.fb_top:before{
    content: "";
     background: url('images/facebook.png') no-repeat center center #fff;
     z-index: 5;
     position: absolute;
     width: 40px;
     height: 40px;
     left: 0px;
     border:1px solid #D8D8D8;
}
.fb_top:hover:before{
     background: url('images/fb_hover.png') no-repeat center center;
     border:none;
}

.footer{
    background: #F0F7FF;
}
.footer .container{
    display: flex;
    align-items: center;  
    height: 160px;
    justify-content: flex-start;
}
.footer .footer_logo{
    width: 48px;
    height: 48px;
    margin-right: 56px;
    display: inline-block;
}
.footer .footer_text{
    width: 700px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #6D7985;
}
.razrab{
    width: 28%;
    text-align: right;
}

.strokes div{
    position: absolute;
    top: 0px;
    height: 1000px;
    width: 1px;
    background: #E7E7E7;
    opacity: 0.11;
    z-index: -1;
}
.f_stroke{left: 0px;}
.s_stroke{left: 207px;}
.t_stroke{left: 411px;}
.block2{overflow: hidden;}
.block2 .strokes div{opacity: 1;}
.block4 .strokes div{opacity: 1;}
.single_block .title{
    font-family: Intro;
    font-style: normal;
    font-weight: normal;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 6px;
    text-transform: uppercase;
    padding: 72px 0px;
    color: #3D3D3D;
    background: url(images/title.png) no-repeat left center;
    height: 88px;
    display: block;
    box-sizing: content-box;
    line-height: 88px;
    position: relative;
    
}
.single_block .sub_title{
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 17px;
    line-height: 32px;
    text-transform: none;
    color: #6D7985;
    letter-spacing: 0px;
    position: absolute;
    padding-top: 5px;
    bottom: 58px;
}
.prems{
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    margin-bottom: 90px;
}
.prem:nth-child(2){margin: 0px 32px;}
.prem{
   
    background: #F0F7FF;
    transform: 1s all;
    position: relative;
}
.prem:hover{
    background: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 8px rgba(255,186,114,1);
    -moz-box-shadow: inset 0px 0px 0px 8px rgba(255,186,114,1);
    box-shadow: inset 0px 0px 0px 8px rgba(255,186,114,1);
}
.prem .inner_prem{
     padding: 32px;
     cursor: pointer;
}
.prem .popup{
    display: none;
    position: fixed;
    width: 960px;
    height: 629px;
    top: 0px;
    z-index: 99999999;
    background: #fff;
    padding: 64px 80px;
    top: 50%;
    left: 50%;
    margin-left: -480px;
    margin-top: -315px;
    overflow: hidden;

}

.prem .close_popup{
    position: absolute;
    width: 48px;
    height: 48px;
    right: 0;
    top: 0px;
    background: url('images/ico-close.svg') no-repeat center center #3D3D3D;    
    cursor: pointer;

}
.prem .popup .icon{
    position: absolute;
    width: 40px;
    height: 40px;
    left: 750px;
    top: 10px;
}
.prem .popup .title{
    line-height: 110px;
    margin-bottom: 60px;
    background:transparent;
    padding: 0px;
}
.prem .popup .sub_title{
    padding-top: 10px;
    bottom: -25px;
}
.prem .popup .fon_title{
    font-family: Intro ;
    font-style: normal;
    font-weight: normal;
    font-size: 90px;
    line-height: 80px;
    letter-spacing: 20px;
    text-transform: uppercase;
    color: #3D3D3D;
    mix-blend-mode: normal;
    opacity: 0.07;
    position: absolute;
    top: 12px;
}
.fon{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #335293;
    mix-blend-mode: normal;
    opacity: 0.8;
    z-index: 9999999;
    display: none;
}
.p_title{
    font-family: Intro ;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
    /* identical to box height, or 200% */

    letter-spacing: 3px;
    margin-bottom: 115px;
    height: 56px;
    color: #3D3D3D;
    max-width: 100px;
}
.prem .icon,
.how .icon{
    position: absolute;
left: 81.25%;
right: 8.33%;
top: 36px;
right: 32px;
}
.prem .text{
    margin-bottom: 28px;
}
.prem .more{
font-family: Lato;
font-style: normal;
font-weight: bold;
font-size: 12px;
line-height: 24px;
/* identical to box height, or 200% */

letter-spacing: 2px;
text-transform: uppercase;

color: #335293;
cursor: pointer;
}
.block3{
    background:#335293;
}
.block3 .container{
    background:url('images/block3.png') no-repeat right top;
    padding: 72px 0px;
}
.block3 .title{
font-family: Intro;
    font-style: normal;
    font-weight: normal;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    background: url(images/title3.png) no-repeat left center;
    padding: 25px 0px 10px;
    width: 100%;
}
.block3 .title span{
    color: #FFBA72;

}
.block3 .sub_title{

    font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 17px;
line-height: 32px;
/* identical to box height, or 188% */


color: #FFFFFF;

mix-blend-mode: normal;
opacity: 0.7;
}
.working{
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    margin-top: 70px;
}
.working .how{
    background:#fff;
    padding: 32px;
    width: 378px;
    margin-bottom: 32px;
    position: relative;
}
.working .how:nth-child(2),
.working .how:nth-child(5){
    margin:0px 32px 32px 32px;
}
.how .number{
    background:#FFBA72;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
    align-items: center;
    text-align: center;
    margin-bottom: 125px;
    color: #3D3D3D;
}
.how .p_title{
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    height: auto;
}


.block4{
    background: #F0F7FF;
}
.block4 .container{
/*  width: 1392px;
    max-width: 1392px;*/
    /*overflow:hidden;*/
}
.single_block.block4 .title{
    background: url('images/block4.png') no-repeat left center;
}
.projects{
    width: 1392px!important;
}
.pr_group{
    width: 664px;
}
.project{
    width: 664px;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    margin-bottom: 96px;
    z-index: 999;
    position: relative;
}
.project:nth-child(2n){
    margin-left: 64px;
}
.numero{
    font-family: Intro ;
font-style: normal;
font-weight: normal;
font-size: 18px;
line-height: 32px;
padding-right: 39px;
background: #f0f7ff;
margin-left: 1px;
color: #BDC0C4;
}
.project .img{margin-right: 32px;}
.project .img img{width: 244px!important;height: 144px;}
.project .title_project{
font-family: Intro ;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 28px;
margin-bottom: 16px;

letter-spacing: 3px;

color: #3D3D3D;
}
.project .text_project{
    font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 24px;
margin-bottom: 26px;
max-width: 320px;
display: flex;
align-items: center;

color: #77828D;
}
.project .see_more{
font-family: Lato;
font-style: normal;
font-weight: bold;
font-size: 12px;
line-height: 24px;
/* identical to box height, or 200% */
cursor: pointer;
letter-spacing: 2px;
text-transform: uppercase;

color: #335293;
}
.popup_s{
    width: 960px!important;
    height: 829px;
    top: 0px;
    z-index: 99999999;
    background: #fff;
    margin: 0 auto;
    position: relative;
}
.popup-gallery{display: none;}
.mfp-bottom-bar{
    background: #fff;
    padding: 56px 72px;
}
.mfp-bottom-bar .mfp-title{
    font-family: Intro ;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 3px;
    color: #3D3D3D!important;
}
.mfp-bottom-bar .mfp-counter{
    right: 210px;
    top: 56px;
     font-size: 14px;
    line-height: 28px;
    letter-spacing: 3px;
    color: #3D3D3D!important;
    text-transform: uppercase;
    font-family: Intro;
}
.mfp-figure .mfp-close{
    width: 48px!important;
    height: 48px!important;
    background: #11121C;
    opacity: 1;
    text-align: center!important;
    right: 0!important;
    top: 0px!important;
    padding: 0px!important;
    cursor: pointer!important;
}
.mfp-nav{
    position: absolute;
    right:72px;
    bottom: 46px;
    display: flex;
    justify-content: flex-start;
}
.mfp-nav .mfp-arrow1{
    width: 48px;
    height: 48px;
    margin-right: 8px;
    border: 1px solid #D8D8D8;
box-sizing: border-box;

cursor: pointer;
    position: relative;
}
.mfp-nav .mfp-arrow-left{
    background:url('images/prev.png') no-repeat center center #fff!important;
}
.mfp-nav .mfp-arrow-right{
    background:url('images/next.png') no-repeat center center #fff!important;
}
.mfp-gallery .mfp-image-holder .mfp-figure{
    background: #fff;
    height: 500px;
}
.mfp-content {
    width:950px;
    min-height: 536px;
     -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;   
  background: transparent; 

 }
button.mfp-arrow{
    display: none!important;
}

.popup_s .owl-carousel .owl-nav{
        top: 540px;    left: 790px;
}
.popup_s .owl-carousel .owl-nav button{
border: 1px solid #D8D8D8!important;
}
.popup_s .img{
    max-height: 500px;
    overflow: hidden;
    width: auto!important;
}
.description .title_project,.pp_counter{
font-family: Intro;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 3px;
    color: #3D3D3D;
}
.popup_s .description{
    width: 785px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px;
    position: absolute;
    bottom: 50px;
    font-weight: bold;
}
.popup_s .popup-modal-dismiss{
    position: absolute;
    background:url('images/close_w.png') no-repeat center center #3D3D3D;
    top: 0px;
    right: 0px;
    width: 48px;
    height: 48px;
    z-index: 99;
}
.owl-carousel .owl-nav{
    position: absolute;
    left: 1080px;
    top: -110px;
}
.owl-carousel .owl-nav button{
    width: 48px;
    height: 48px;
    position: relative;
    margin-right: 8px;
    outline: none;
    text-indent: -9999px;
}
.owl-carousel .owl-next{
    background:url('images/next.png') no-repeat center center #fff!important;
}
.owl-carousel .owl-prev{
    background:url('images/prev.png') no-repeat center center #fff!important;
}
.owl-carousel .owl-next:hover{
    background:url('images/send.png') no-repeat center center!important;
}
.owl-carousel .owl-prev:hover{
    background:url('images/send2.png') no-repeat center center!important;
}
.owl-prev:hover:after{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    z-index: -1;
    
}
.owl-next:hover:after{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
z-index: -1;
}
.popup_s .popup-modal-dismiss:hover:after{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    
}
.popup_s .popup-modal-dismiss:hover{
    background:url('images/close_w.png') no-repeat center center #3761BB!important;
}

.owl-prev:after,
.owl-next:after,
.popup_s .popup-modal-dismiss:after{
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #3761BB;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}


.block6{
    border: 8px solid #FFBA72;
    position: relative;
}
.block6:after{
content: "";
    width: 800px;
    height: 400px;
    background: url(images/block6.png) no-repeat bottom right;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: -2;
}
.block6 .container{
    padding: 0px 0px 88px 0px;
}
.block6 .wpcf7{
    margin-top: 10px;
}
.block6 .strokes  div{
    opacity: 1;
}
.wpcf7-form{
    display: flex;
    flex-flow: column;
    max-width: 864px
}
.left_side_f{display: flex;

justify-content: space-between;}
.block6 .wpcf7-form input,
.block6 .wpcf7-form textarea{
    background:#F0F7FF;
    outline: none;
}
.block6 .wpcf7-form input:hover,
.block6 .wpcf7-form textarea:hover{
    background: #D7E2EE;
}
.block6 .wpcf7-form input:focus,
.block6 .wpcf7-form textarea:focus{
    background: #fff;
    border: 1px solid #FFBA72;
box-sizing: border-box;
}
.wpcf7-form input{
    margin-bottom: 40px;
    width: 384px;
    height: 56px;
    border:none;
    text-indent: 16px;
    line-height: 56px;
}
::placeholder{
    font-family: Lato;
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 16px;
/* identical to box height, or 133% */

letter-spacing: 2px;
text-transform: uppercase;

color: #6D7985;
}
.wpcf7-form .wpcf7-submit{
    background:url('images/send.png') no-repeat 90% center #3D3D3D;
    margin-right: 0px;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    /* identical to box height, or 133% */
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
        transition: 1s all;
    color: #FFFFFF;
    outline: none;
    text-align: left;
    width: 364px;
    max-width: 100%;
    
    height: 56px;
    border: none;
    text-indent: 12px;
    margin-bottom: 50px;
    position: relative;
}
.wpcf7-form .wpcf7-submit:before{
     content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
}

.wpcf7-form .wpcf7-submit:after{
     content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #3761BB;
        -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.wpcf7-form .wpcf7-submit:hover{
    background:url('images/send.png') no-repeat 90% center!important;
}
.wpcf7-form .wpcf7-submit:hover:after{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    background:#3761BB;
}
.wpcf7-form .wpcf7-submit:focus{
    border:none;
    background: url(images/send.png) no-repeat 90% center #29457F!important;
}


.block9 .wpcf7-form .wpcf7-submit:after{
     background: #FFA84E;
}
.block9  .wpcf7-form .wpcf7-submit:hover{
    background:url('images/ar2.png') no-repeat 334px center!important;
}
.block9 .wpcf7-form .wpcf7-submit{
    background:url('images/ar2.png') no-repeat 334px center #FFBA72;
    color: #3D3D3D;
}
.block9 .wpcf7-form .wpcf7-submit:hover:after{
    background: #FFA84E;
}
.block9 .wpcf7-form .wpcf7-submit:focus{
    background: url(images/ar2.png) no-repeat 334px center #E1974A!important;
}




.wpcf7-form textarea{
    margin-bottom: 40px;
    width: 384px;
    height: 152px;
    border:none;
    text-indent: 16px;
    padding:20px 16px 16px 0px; 
    margin-left: 96px;
}
.wpcf7-form .checkbox_f input{
    width: 24px;
    height: 24px;
    background: #6EA554;
    border: none;
    text-indent: 0px;
    line-height: 0px;
    margin-bottom: 0px;
    color: #fff;
    cursor: pointer;
    margin-right: 20px;

}
.wpcf7-form .checkbox_f input:after{
    content: "";
    width: 24px;
    height: 24px;
    background:url('images/checkbox.png') no-repeat center center #6EA554;
    color: #fff;
    position: absolute;
    opacity: 1;
}
.wpcf7-form .checkbox_f .unchecked:after{
    background:#6EA554;
}
.checkbox_f{
    display: flex;
    flex-flow: row;
    margin-top: 38px;
    justify-content: flex-start;
    width: 384px;
}
.checkbox_f br{
    display: none;
}
span.wpcf7-list-item{
    margin-left: 0px;
}
.block6 .wpcf7-form textarea{
    background:#F0F7FF;
}
.block6 .title{
    background: url('images/block6_title.png') no-repeat left center;
}
.block7 {background: #F0F7FF;padding-bottom: 80px;}
.block7 .title{
    background: url('images/block7.png') no-repeat left center;
}

.parnter{
    background: #fff;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.parnters img{
    width: auto!important;
}



.block8{
    padding-bottom: 84px;
    overflow: hidden;
    height: 720px;
    position: relative;
}
.block8 .strokes div{
    opacity: 1;
}
.block8 .title{
    background: url('images/block8.png') no-repeat left center;
}
.adr_block{width: 50%;color:#3D3D3D;}
.adr_block .adr{
    display: flex;
}
.adr_block .adr > div:first-child{
    width: 207px;
    color:#6D7985;
}
.adr_block .adr > div{
    width: 50%;
    text-align: left;
    margin-bottom: 64px;
    min-width: 150px;
}
.map{
    position: absolute;
    top: 0px;
    left: 52%;
    height: 100%;
    min-height: 720px;
    min-width: 300px;
    width: 100%;
}

.overlay{
    position: absolute;
    top: 0px;
    left: 52%;
    width: 100%;
    z-index: 1;
    height: 720px;
    background: transparent;

}
[class*="ymaps-2"][class*="-ground-pane"] {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
}
.pp .owl-wrapper {
  display: table !important;
}
.pp .owl-item {
  display: table-cell;
  float: none;
  vertical-align: middle;
}
.pp .owl-item > div {
  text-align: center;
}


.block9{position: relative;    overflow: hidden;}
.block9:after {
content: "";
    width: 2000px;
    height: 800px;
    background: url(images/block9_fon.png) no-repeat bottom right #335293;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: -2;
}
.block9 .title{
    background: url('images/block9_title.png') no-repeat left center;
    color: #fff;
}
.block9 .sub_title{
    color: #fff;
}
.block9 .checkbox_f{
    color: #fff;
}
.rules{
    display: flex;
    
    justify-content: flex-start;
    align-items: center;
    height: 51px;
    margin-top: -14px;
}
.rules span{text-decoration: underline;margin-left: 5px;}
.adr_warning{
    margin-top: 54px;
    color: #6D7985;
    font-size: 15px;
line-height: 25px;
}

span.wpcf7-not-valid-tip{
    position: absolute;
    top: 45px;
    width: 200px;
    color: #ffba72;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
    border: 2px solid #ffba72;
    margin-top: 0px;
    height: auto;
    position: absolute;
    right: 0px;
    width: 300px;
}
div.wpcf7-mail-sent-ok{
    margin-top: 0px;
    height: 100%;
}
.mobile_menu{
    display: none;
}
.block9 .rules span:hover{color: #fff;}







.pp-counter-p,
.pp-counter-p2,
.pp-counter-p3{
    display: none;
}
.rules_popup{
    padding: 64px 0px 64px 80px;
    overflow: hidden;
}
.rules_popup .title{
    padding-top: 0px;
    background: none;
    font-size: 18px;
    line-height: 2em;
    max-width: 550px;
    padding-bottom: 24px;
}
.rw1{position: relative;}
.text_pravila,
.rwr{
    overflow-y: scroll;
    width: 100%;
    height:600px;
    padding-right: 80px;
}
.rwr{
    margin-right: -80px;width: auto;
}
.header .owl-carousel,
    .header  .owl-stage-outer,
    .header .owl-stage,
    .header .owl-item,
    .header .item,
    .header .owl-item,
    .header .item img,
    .header .img-responsive{
        height: 720px;
        object-fit: cover;
    }
img.mfp-img{
        background: #fff!important;
    padding: 0px!important;
    width: auto;
    /* max-height: 100%!important; */
    /* position: absolute; */
    z-index: 1;
    
       max-height: 670px!important;
}
    .mfp-figure{
        display: flex;
        flex-flow: column;
        justify-content: flex-end;
    }
.mfp-content{height: 706px!important;}
.mfp-figure:after{
    background: transparent!important;
    box-shadow: none!important;
}
.mfp-gallery .mfp-image-holder .mfp-figure{
    background: transparent;
        height: 670px;
}
#callback .wpcf7-response-output{color: #fff;border: none;}
.wpcf7 form.sent .wpcf7-response-output,.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{border: none;}
.grecaptcha-badge{display: none;}
/*adapt*/
@media screen and (min-width: 1300px){
    .wpcf7-form .wpcf7-submit{
        width: 384px;
        margin-right: -20px;
    }
}
@media screen and (max-width: 1500px){

    .header .container,
    .header .inner_fixed{max-width: 90%;width: 90%;}
    #top_menu a{margin-left: 20px;}
}

@media screen and (max-width: 1300px){
        .block4 .container{
/*  width: 1392px;
    max-width: 1392px;*/
    overflow:hidden;
}
    .header .owl-carousel,
    .header  .owl-stage-outer,
    .header .owl-stage,
    .header .owl-item,
    .header .item,
    .header .owl-item,
    .header .item img,
    .header .img-responsive{
        height: 560px;
        object-fit: cover;
    }

    .header{
        height: 520px;
        box-sizing: content-box;
    }
    .title_main{top: 100px;}
    .title_top{line-height: 40px;font-size: 24px;}
    .text_main{font-size: 18px;
line-height: 32px;margin-top: 24px;margin-bottom: 48px;}
    .container, .container2{
        max-width: 736px;
        width: 736px;
    }
    .top-navigation-wrapper,
    .contact_us{display: none;opacity: 0;visibility: hidden;}
    .mobile_menu{
        width: 40px;
        height: 40px;
        background: url(images/mobile_menu.png) no-repeat center center #fff;
        display: block;
        z-index: 9999;
        position: absolute;
        right: 10px;
    }
    .fb_top{
        position: absolute;
        right: calc(0% + 56px);
    }
    .header .inner_fixed{justify-content: flex-start;}
    .site-branding{margin-right: 56px;}
    
    .crest{
        background: url(images/crest.png) no-repeat center center #fff;
    }
    .active_mm{
            display: flex;
            position: fixed;
            top: 0px;
            width: 100%;
            background: #335293;
            height: 500px;
            left: 0px;
            justify-content: center;
            align-items: center;
            z-index: 999;
            opacity: 1;
            visibility: visible;
    }
    #top_menu{
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
    }
    #top_menu li{
        margin-top: 32px;
        margin-bottom: 32px;
    }
    #top_menu li a{
    font-family: Intro ;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 24px;
/* identical to box height, or 171% */

letter-spacing: 3px;

color: #FFFFFF!important;
    }
    .prems{
        flex-flow: column;
        margin-bottom: 64px;
    }
    .prem,
    .prem:nth-child(2){
    margin: 0px 0px 32px 0px;
    background: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 8px rgba(255,186,114,1);
    -moz-box-shadow: inset 0px 0px 0px 8px rgba(255,186,114,1);
    box-shadow: inset 0px 0px 0px 8px rgba(255,186,114,1);
    }
    .p_title{
        margin-bottom: 24px;
        height: auto;
    }
    .prem .text{margin-bottom: 56px;}
    .working{    padding: 16px 0px;}
    .working .how{
        width: 336px;
        margin: 0px 0px 32px 0px!important;
    }
    .block3 .container{padding-bottom: 40px;}
    .project{
        width: 736px;
    }
    .project:nth-child(2n){
        margin-left: 0px;
    }
    .pr_group{width: 736px;}
    .project .text_project{max-width: 100%;}
    .owl-carousel .owl-nav{    left: 632px;
    width: 115px;}
    .parnter{width: 160px;height: 160px;}
    .block7 .owl-carousel .owl-nav{    left: 632px;
    width: 115px;}
    .parnters img{max-width: 66px;}
    .block8{height: auto;padding-bottom: 0px;}
    .block_bottom{display: flex;flex-flow: column;}
    .block_bottom > div{
        width: 100%;
      
    }

    .map{
        position: relative;
        left: 0;
        height: 512px;
        overflow: hidden;
    }
    .adr_block{
          display: flex;
    flex-flow: column-reverse;  

    }
    .adr_warning{margin-top: 0px;}
    .adr_block .adr{flex-flow: column;}
    .footer .container{flex-flow: column;}
    .footer .footer_logo{margin-right: 0px;margin-top: 24px;margin-bottom: 12px;}
    .footer .footer_text{text-align: center;margin-bottom: 24px;}
    .razrab{width: 100%;text-align: center;margin-bottom: 20px;}
    .footer .container{height: auto;}
    .b_b{display: flex; margin-top: 50px;}
    .wpcf7-form input{width: 272px;}
   /* .wpcf7-form .wpcf7-submit{width: calc(100% - 96px);}*/
    .left_side_f > div{width: 50%;}
    .wpcf7-form textarea{width: 288px;margin-left: 0px;}
    .rules{width: 200px;display: block;}
    .checkbox_f{margin-top: 0px;}
    .wpcf7-form .checkbox_f input{margin-top: 12.5px;}
    .prem .popup{width: 736px;height: 512px;margin-left: -368px;}
    .prem .close_popup{}
    .wpcf7-form .wpcf7-submit{width: 286px;}
    .overlay{top: 465px;left: 0px;}
    /*end*/
}

@media screen and (max-width: 767px){
    .mfp-figure .mfp-close{
            position: fixed;
    top: 55px!important;
    z-index: 9999;
    }
    .mfp-content{height: 406px!important;min-height: auto;}
    .mfp-figure:after{
        background: transparent!important;
        box-shadow: none!important;
    }
    .mfp-gallery .mfp-image-holder .mfp-figure{
        background: transparent;
            height: 370px;
    }
    .mfp-nav{
        justify-content: unset;
        flex-flow: row-reverse;
        position: relative;
        bottom: 0px;
      
    right: 0px;
    /* display: block; */
    width: auto;
    float: right;
    justify-content: center;
    flex-flow: row;
    }
    .mfp-bottom-bar{
        padding: 5px 8px;

    }
    .mfp-bottom-bar .mfp-title{padding-left: 0px;margin-bottom: 0px;}
    .mfp-bottom-bar .mfp-counter{position: relative;top: 10px;right: 0;text-align: center;float: left;}
    .block3 .container{
        background: none;
    }
    .container, .container2{
        max-width: 272px;
        width: 272px;
    }
    .left_side_f{display: block;width: 100%;}
    .adr_warning{margin-bottom: 24px;}
    .strokes{display: none;}
    .title_main .btn{width: 100%;}
    .title_main{top: 50px;font-size: 16px;line-height: 32px;letter-spacing: 4px;}
    .text_main{font-size: 16px;line-height: 24px;margin-bottom: 110px;margin-top: 25px;letter-spacing: 0px;}
    .header{height: 480px;padding-top: 16px;}
    .top_phone{display: none;}
    .title{font-size: 14px!important;line-height: 24px!important;letter-spacing: 3px!important;background: transparent!important;padding: 32px 0px 24px 0px!important;height: auto!important;}
    .single_block .sub_title{position: relative;bottom: 0px;}
    .p_title{font-size: 12px;}
    .prem .icon, .how .icon{left: 77%;top: 24px;}
    .block3 .container{padding-top: 0px;}
    .block3 .title{padding-top: 24px!important;padding-bottom: 8px!important;}
    .block3 .sub_title{font-size: 15px;line-height: 25px;}
    .working{margin-top: 18px;}
    .how .number{margin-bottom: 60px;}
    .how .text{font-size: 13px;line-height: 22px;max-height: 88px;overflow: hidden;width: 200px;}
    .wpcf7-form{display: flex;flex-flow: column;justify-content: center;align-items: center;}
    .wpcf7-form textarea{width: 100%;margin-left: 0px;margin-top: 32px;}
    .wpcf7-form .wpcf7-submit{width: 100%;margin-left: 0px;}
    .parnter{width: 128px;height: 128px;}
    .footer .footer_text{width: 100%;}
    .block7{overflow-x: hidden;padding-bottom: 24px;}
    .block7 .owl-carousel .owl-nav {left: 160px;top: 155px;}
    .owl-carousel .owl-nav button{margin-right: 0px;margin-left: 8px;}
    .b_b{margin-top: 0px;flex-flow: column;}
    .adr_block .adr > div{margin-bottom: 8px;width: 100%;}
    .adr_block .adr{margin-bottom: 24px;}
    .adr_warning{margin-bottom: 18px;}
    .fb_top{position: absolute;}
    .prem .popup{padding: 24px;width: 80%;
    margin-left: -40%;}
    .project{flex-flow: column;margin-bottom: 0px;width: 272px;}
    .numero{display: none;}
    .project .title_project{margin-top: 16px;margin-bottom: 16px;font-size: 12px;
line-height: 22px;}
    .single_block .sub_title{font-size: 15px;
line-height: 25px;}
.project .text_project{margin-bottom: 16px;}
    .owl-carousel .owl-nav{position: relative;left: 157px;top:10px;}
    .projects .owl-carousel .owl-nav{top: 0px;}
    .pp-counter-p,
    .pp-counter-p2,
    .pp-counter-p3{position: absolute;display: block;bottom: 35px;font-weight: bold;}
    .block7 .owl-carousel .owl-nav {
    left: 157px;
    top: 24px;
    }
    .pp-counter-p2 {
        bottom: 9px;
    }
    .adr_block{
        display: flex;
        flex-flow: column;  
    }
    .left_side_f{flex-flow: column;}
    .left_side_f > div{width: 100%;}
    .checkbox_f{margin-bottom: 24px;}
    .wpcf7-form textarea,
    .wpcf7-form input{margin:24px 0px 25px 0px;}
    .block6 .container{padding: 40px 0px;}
    .working .how{width: 272px;padding: 24px!important;margin-bottom: 20px!important;    height: 270px;}
    .working .owl-item img{width: auto!important;}
    .working .how .icon {left: 185px;top: 30px;}
    .block3 .container{padding-bottom: 0px;}
    .pp-counter-p3{color: #fff;bottom: 48px;}

    .how .p_title{margin-bottom: 0px;}
    header .owl-carousel .owl-item img{
        height: 500px;
        width: auto;
    }
    .popup_s{width: 90%!important;height: 400px;}
    .popup_s img{width: 279px;}
    .popup_s .owl-carousel .owl-nav {top: 34px;left: calc(100% - 125px);}
    .prem .popup{margin-top: -200px;height: 400px;}
    .map{min-width: 100%;}
    .rules{margin-top: 5px;}
    /*mob-pl*/

}