@font-face {
	font-family: CC;
	src: local(CC), url('../fonts/Cucho.otf');
}


*:active,*:focus {
	outline: none !important;
}

* {
	box-sizing: border-box;
}

html {
    display: block;
    height: 100%;
    position: relative;
}

BODY {
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	overflow-x: hidden;
    width: unset;
    height: 100%;
}

body:not('.glav') .wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page {
  flex: 1 0 auto;
}
.footer {
  flex: 0 0 auto;
}

.middle {
    /* padding-left: 15px; */
    /* padding-right: 15px; */
    margin: 0 auto;
    width: 1170px;
    position: relative;
}

.inliner > div {
	display: inline-block;
	vertical-align: top;
}

.clear {
	clear: both;
}

.top_block {
	background: url('../template/top_bg.jpg') no-repeat center top;
	height: 505px;
}

.top_logo {
    position: absolute;
    margin-left: -175px;
	margin-top: 15px;
}

.top_menu ul > li a {
    font-family: 'Marmelad', sans-serif;
    text-decoration: none;
    padding: 22px 26px 20px;
    display: block;
    font-size: 18px;
    color: #383838;
}

.top_menu ul > li.active a,.top_menu ul > li:hover a {
	color: #ff5609;
}

.top_menu {
    background: url(../template/menu_bg.png) no-repeat center top;
    width: 700px;
    position: absolute;
    height: 70px;
    margin-top: 150px;
    margin-left: 450px;

}

.top_menu ul > li {
	display: inline-block;
	vertical-align: top;
}

.top_menu ul {
    padding: 0;
    margin: 0;
}

.top_phone {
    position: absolute;
    margin-top: 65px;
    margin-left: 545px;
}

.top_phones {
	margin-left: 95px;
}

.top_phone > div {
	display: inline-block;
	vertical-align: bottom;
}

.top_phones > span {
	display: block;
}

.top_phones > span.phone a {
	font-size: 23px;
	text-decoration: none;
	color: #3d3d3d;
}


.top_address {
    margin-left: 30px;
    font-size: 23px;
    /* font-weight: 700; */
    color: #3d3d3d;
    text-shadow: 1px 1px 0px hsla(0, 0%, 100%, 0.37);
}

span.glav_phone a {
    text-decoration: none;
    color: #3d3d3d;
    font-size: 37px;
    margin-top: -40px;
    font-weight: bold;
    display: block;
    padding-bottom: 10px;
}

span.glav_phone a:before {
	content: url(../template/phone.png);
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: -48px;
    margin-top: 0px;
}

h1,h2,h3 {
	font-family: "CC",sans-serif;
}

h1 {
	font-size: 45px;
}

h2 {
	font-size: 27px;
}

h1,h2 {
	color: #ff5609;
	margin-top: 50px;
margin-bottom: 10px;
	text-shadow: #fff 1px 0px, #fff 1px 1px, #fff 0px 1px, #fff -1px 1px, #fff -1px 0px, #fff -1px -1px, #fff 0px -1px, #fff 1px -1px, #fff 0 0 3px, #fff 0 0 3px, #fff 0 0 3px, #fff 0 0 3px, #fff 0 0 3px, #fff 0 0 3px, #fff 0 0 3px, #fff 0 0 3px;
}

.page {
    margin-top: -210px;
}

.other_blocks {
	background: url(../template/other_bg.jpg) no-repeat center top;
    width: 100%;
    /*height: 2350px;*/
    height: 1750px;
    margin-top: 100px;
}


.tv1 {
    background: url(../template/tv1.png) no-repeat center top;
    padding: 20px;
    width: 560px;
    padding-top: 185px;
    padding-left: 55px;
	padding-bottom: 55px;
	margin-top: -80px;
}

.tv1 iframe {
    border-radius: 55px;
}


.tv2 {
    background: url(../template/tv2.png) no-repeat center top;
    padding: 20px;
    width: 560px;
    padding-top: 185px;
    padding-left: 55px;
	padding-bottom: 55px;
	margin-top: -80px;
}

.tv2 iframe {
    border-radius: 55px;
}

.what_blocks{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap:wrap;
    width: 100%;
    height: auto;
}

.what {
    /*margin-top: 60px;*/
    margin-top: 20px;
    display: block;
}

.what h2 {
	margin-bottom: 18px;
}

.w_b {
    /*margin-right: 15px;
	margin-bottom:15px;*/
}

.sad_eto {
    margin-top: 100px;
}

.e_c_img {
    height: 110px;
    position: relative;
}

.e_c {
    width: 270px;
    text-align: center;
    margin-right: 25px;
}

.e_c_img img {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
}

.e_c_title {
    margin-top: -5px;
    font-family: "CC",sans-serif;
    color: #3d3d3d;
    line-height: 20px;
    margin-bottom: 8px;
}

.bx-wrapper {
    border: 5px solid transparent !important;
    background: transparent !important;
    box-shadow: unset !important;
    border-radius: 25px !important;
}

.bx-viewport {
    border-radius: 25px;
}

.bx-wrapper .bx-prev {
	left: -40px !important;
}

.bx-wrapper .bx-next {
	right: -40px !important;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: block !important;
}

.fototur {
    margin-top: 195px;
}

.footer {
    background: url(../template/f_bg.jpg) no-repeat center top;
    height: 575px;
    margin-top: -470px;
    padding-top: 225px;
}

.f_address {
    margin-left: 30px;
    font-size: 20px;
    color: #3d3d3d;
	margin-top: 40px;
    text-shadow: 1px 1px 0px hsla(0, 0%, 100%, 0.37);
}

.f_phones {
    margin-left: 95px;
	margin-top: 70px;
}

.f_phones > span {
    display: block;
}

.f_phones span.glav_phone a {
    text-decoration: none;
    color: #3d3d3d;
    font-size: 30px;
    margin-top: -31px;
    font-weight: bold;
    display: block;
    padding-bottom: 10px;
}

.f_phones > span.phone a {
    font-size: 23px;
    text-decoration: none;
    color: #3d3d3d;
	margin-left: -40px;
}

.f_phones span.glav_phone a:before {
    content: url(../template/phone.png);
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: -48px;
    margin-top: -8px;
}

.proton {
    margin-top: 45px;
    margin-left: 65px;
}

.other .footer {
	margin-top: unset !important;
}

.wrapper {
    width: 100%;
}

.galleries {
    padding: 0 !important;
    margin: 0;
}

.galleries > li {
    display: inline-block;
    vertical-align: top;
    padding: 0px !important;
    border: 1px solid #b7b7b7;
    line-height: 0;
    font-size: 0;
    margin-bottom: 5px;
}

.page > .container a {
	text-decoration: none;
	color: #ff5609;
}

.page > .container h3 {
	margin-top: 40px;
	margin-bottom: 10px;
}

.bx-viewport {
	height: 385px !important;
}

.cloud_link {
    position: absolute;
    margin-top: 245px;
}

.cloud_link > a {
    padding: 30px 65px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #01a1e3;
}

.cloud_link > a:nth-child(1) {
	background: url(../template/cl1.png) no-repeat center top;
}

.cloud_link > a:nth-child(2) {
	background: url(../template/cl2.png) no-repeat center top;
}



:root{
    --content_width: 1170px;
    --top_logo_width: 600px;
    --menu_color: #53a2e3;
}

html,
BODY{
    height: auto;
}

.mobile_menu_button{
    position: relative;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: auto;
    height: auto;
    background: var(--menu_color);
    padding: 10px 25px;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
}
    .mobile_menu_button .icon{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        width: 20px;
        height: 14px;
        margin-right: 10px;
    }
        .mobile_menu_button .icon span{
            position: relative;
            display: block;
            width: 100%;
            height: 2px;
            content: '';
            background: #fff;
        }
     
.sub_mobule_menu{
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s;
    background: #fff;
    left: 0;
    top: 0;
    transform: translateY(-100vh);
    z-index: -1;
    opacity: 0;
    padding: 20px;
    overflow: scroll;
}
    .sub_mobule_menu.active{
        transform: translateY(0);
        opacity: 1;
        z-index: 999;
    }
    .sub_mobule_menu .close{
        position: relative;
        display: table;
        --width: 50px;
        width: var(--width);
        height: var(--width);
        border-radius: calc(var(--width) / 2);
        border: 3px solid var(--menu_color);
        margin-left: auto;
        margin-right: auto;
    }
        .sub_mobule_menu .close:before{
            position: absolute;
            display: block;
            width: calc(var(--width) - 20px);
            height: 3px;
            background: var(--menu_color);
            content: '';
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
        }
        .sub_mobule_menu .close:after{
            position: absolute;
            display: block;
            width: calc(var(--width) - 20px);
            height: 3px;
            background: var(--menu_color);
            content: '';
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
        }
    .sub_mobule_menu .logo{
        position: relative;
        display: table;
        width: auto;
        height: auto;
        margin: auto;
    }   
        .sub_mobule_menu .logo img{
            position: relative;
            display: block;
            width: 100%;
            height: auto;
            max-height: 180px;
            max-width: 100%;
        } 
    .sub_mobule_menu ul{
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        list-style-type: none;
        padding-left: 0;
    }
        .sub_mobule_menu ul li{
            position: relative;
            display: block;
            width: auto;
            height: auto;
            margin: 0;
        }
            .sub_mobule_menu ul li a{
                position: relative;
                display: table;
                margin: auto;
                width: 280px;
                height: auto;
                text-align: center;
                font-size: 20px;
                line-height: 24px;
                font-weight: bold;
                color: #01a1e3;
                background: url(../template/cl2.png) no-repeat center top;
                background-size: contain;
                padding: 30px 20px;
                margin-bottom: 10px;
            }
    .sub_mobule_menu .dop_link{
        position: relative;
        display: table;
        margin: auto;
        width: 280px;
        height: auto;
        text-align: center;
        font-size: 20px;
        line-height: 24px;
        font-weight: bold;
        color: #01a1e3;
        background: url(../template/cl2.png) no-repeat center top;
        background-size: contain;
        padding: 30px 20px;
        margin-bottom: 10px;
    }   

.what img{
    max-width: 100%;
}  

body.crop{
    overflow: hidden;
}       

@media all and (max-width: 1560px){
    .top_block{
        background-size: 120% auto;
        background-position: top center;
    }
}

@media all and (max-width: 1540px){
    .top_phone{
        width: 100%;
        max-width: var(--top_logo_width);
    }
    .top_logo{
        margin-left: 0;
    }
        .top_logo img{
            width: calc(var(--content_width) - var(--top_logo_width) - 20px);
        }
    .top_menu{
        margin-top: 220px;
    }    
}

@media all and (max-width: 1450px){
    .top_phones span.glav_phone a{
        text-shadow: 0 0 10px #fff;
    }
    .cloud_link > a{
        text-shadow: 0 0 10px #fff;
    }
}

@media all and (max-width: 1250px){
    .fototur .bx-wrapper{
        padding: 0 50px;
    }
        .fototur .bx-wrapper .bx-prev{
            left: 10px!important;
        }
        .fototur .bx-wrapper .bx-next{
            right: 10px!important;
        }
        .fototur h2{
            text-align: center;
        }
    .sad_eto h2{
        text-align: center;
        margin-bottom: 20px;
    }    
}

@media all and (max-width: 1250px){
    .footer_content{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding-left: 15px;
        padding-right: 15px;
    }
    .footer_content .f_logo{
        width: 50%;
        margin-bottom: 20px;
    }
        .footer_content .f_logo img{
            max-width: 100%;
        }
    .footer_content .f_address{
        width: 50%;
        margin-left: 0;
        margin-top: 0;
        text-align: right;
        margin-bottom: 20px;
    }
    .footer_content .f_phones{
        width: 50%;
        margin-top: 0;
        margin-left: 0;
    }
        .footer_content .f_phones .glav_phone a{
            padding-bottom: 0;
            padding-left: 45px;
            margin-top: 0;
        }
    .footer_content .proton{
        width: 50%;
        margin-top: 0;
        margin-left: 0;
        text-align: right;
    }
}

@media all and (max-width: 1190px){
    :root{
        --content_width: 100%;
    }

    .middle{
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .top_block{
        padding-top: 15px;
        height: 455px;
    }

    .top_block .middle{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .top_logo{
        position: relative;
        display: block;
        width: auto;
        height: auto;
        margin-top: 0;
    }
        .top_logo img{
            position: relative;
            display: block;
            width: 400px;
            height: auto;
        }
    .top_phone{
        position: relative;
        display: block;
        width: auto;
        height: auto;
        margin-left: 0;
        margin-top: 0;
        max-width: none;
    }  
    .top_menu{
        position: relative;
        display: block;
        width: auto;
        height: auto;
        margin-top: 0;
        margin-left: 0;
    }  
    .cloud_link{
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        width: auto;
        height: auto;
        margin-top: 0;
    }

    .other_blocks{
        margin-top: 0;
    }
    .sad_eto .eto_content{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }
        .sad_eto .eto_content .e_c{
            margin: 0 5px 20px;
        }
}

@media all and (max-width: 1150px){
    .cloud_link > a{
        padding: 20px 40px;
        background-size: contain!important;
    }

    .what_blocks{
        justify-content: space-around;
    }
        .what_blocks .w_b{
            width: auto;
            margin: 0 5px 10px;
        }

    .other_blocks{
        height: auto;
    }   
    .footer{
        margin-top: 0;
        padding-top: 0;
    } 
    .bx-viewport{
        height: auto !important;
    }
    .fototur{
        margin-top: 0;
    }
}

@media all and (max-width: 1070px){
    .top_menu{
        background-size: cover;
    }

    .top_menu ul > li a{
        padding: 16px 20px 20px;
    }
}

@media all and (max-width: 1030px){
    .top_phones{
        margin-left: 60px;
    }
    .top_address{
        margin-left: 0;
    }
}

@media all and (max-width: 980px){
    .top_menu, 
    .cloud_link{
        display: none;
    }

    .mobile_menu_button{
        display: flex;
    }

    .top_logo{
        width: 50%;
    }

    .top_phone{
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
    }

    .top_address{
        margin-bottom: 10px;
        font-size: 18px;
        line-height: 22px;
        text-shadow: 0 0 10px #fff;
    }

    .top_phones{
        margin-left: 0;
    }  
        .top_phones span.glav_phone a{
            margin-top: 0;
            padding-bottom: 0;
            font-size: 28px;
            line-height: 32px;
        }  
            .top_phones span.glav_phone a:before{
                content: '';
                background: url(../template/phone.png) no-repeat center;
                background-size: contain;
                width: 36px;
                height: 36px;
                margin-left: -40px;
            }
    .top_block{
        height: 370px;
    }   
    .other_blocks{
        background-position: center 50px;
    }     
}

@media all and (max-width: 790px){
    .what_blocks .w_b{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
        .what_blocks .w_b a{
            position: relative;
            display: table;
            margin-left: auto;
            margin-right: auto;
        }
}

@media all and (max-width: 680px){
    div.top_address{
        display: none;
    }
    .top_logo{
        width: 100%;
        margin-bottom: 20px;
    }
        .top_logo a{
            position: relative;
            display: table;
            width: auto;
            height: auto;
            margin: auto;
        }
            .top_logo a img{
                width: 300px;
            }
    .top_phone{
        order: 3;
    }
    .top_block {
        background-size: auto auto;
        background-position: top left;
    }
    h2{
        font-size: 22px;
        line-height: 28px;
    }
    .bx-wrapper .bx-controls-direction a{
        height: 40px!important;
        background-size: contain;
        margin-top: 0!important;
        transform: translateY(-50%);
    }
}

@media all and (max-width: 590px){
    .sad_eto .eto_content .e_c{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media all and (max-width: 550px){
    .f_phones span.glav_phone a{
        position: relative;
        font-size: 20px;
        line-height: 24px;
        padding-left: 30px;
    }
        .f_phones span.glav_phone a:before{
            width: 30px;
            height: 30px;
            margin-top: -2px;
            top: 50%;
            transform: translateY(-50%);
            content: '';
            background: url(../template/phone.png) no-repeat center;
            background-size: contain;
            margin-left: -30px;
        }
    .fototur .bx-wrapper .bx-prev{
        left: -20px !important;
    }    
    .fototur .bx-wrapper .bx-next{
        right: -20px !important;
    }
    .fototur .bx-wrapper{
        padding: 0 20px;
    }
}

@media all and (max-width: 430px){
    .top_phones span.glav_phone a{
        font-size: 20px;
        line-height: 24px;
    }
        .top_phones span.glav_phone a:before{
            display: none;
        }
    .bx-wrapper .bx-controls-direction a{
        height: 20px!important;
    }   
    .footer_content .f_logo{
        width: 100%;
    } 
    .footer_content .f_address{
        width: 100%;
        text-align: center;
        font-size: 16px;
        line-height: 20px;
    }
    .footer_content .f_phones{
        width: 100%;
        text-align: center;
        margin-bottom: 25px;
    }
    .footer_content .proton{
        width: 100%;
        text-align: center;
    }
}

@media all and (max-width: 340px){
    .top_phones span.glav_phone a{
        font-size: 18px;
        line-height: 22px;
    }
}




