﻿#layout header {background: #eff8f7;}
#main {background: url(/templates/default/images/top-bg.webp) no-repeat right #eff9f8; background-size: contain; position: relative; display: flex; flex-wrap: wrap; justify-content: center; height: calc(100vh - 200px); align-items: flex-start; align-content: flex-start;}
#main img{position: absolute; z-index:-1;}
.glav1{
    width: 100%;
}
#glav1 {
	display: flex;
    justify-content: space-between;
	align-items: flex-start;
    width: 100%;
    max-width: 1480px;
    margin: 0px auto;
}
.glav1 h1{
    display: block;
    max-width: 1480px;
	margin:0px auto;
    font-size: 2.7vw;
	font-weight: 500;
    font-family: 'Alegreya', serif;
	line-height: 66px;
	text-align: center;
	color: #000;
}
.glav2{
	text-align: center;
}
.glav1 h2{
    display: block;
    max-width: 1480px;
	margin:20px auto 90px auto;
    font-size: 1.2vw;
    font-family: 'Alegreya', serif;
	line-height: 26px;
	text-align: center;
}
.glav3{
	padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
}
.glav3 span{
    font-size: 24px;
    font-weight: 600;
    display: block;
	color: #ff6300;
	text-align: center;
	text-shadow: 0px 1px 1px #000;
}
.glav3 .button {
    display: block;
    padding: 8px 15px;
    margin-top: 10px;
}
#widget_wrapper_51 .widget_html_block {display: flex; flex-wrap: wrap; justify-content: space-between;}
#widget_wrapper_51 a {margin:3px;}
#widget_wrapper_52 p {display: flex; justify-content: space-between;}
#widget_wrapper_52 img {max-height: 280px;}
#widget_wrapper_53 .widget_html_block {display: flex; justify-content: center; height: 328px;}
#widget_wrapper_53 h3 {
    font-family: 'Alegreya', serif;
    color: #000;
    font-weight: 600;
    font-size: 40px;
	line-height: 56px;
}
#widget_wrapper_53 h3 span {
    font-family: 'Alegreya', serif;
    color: #000;
    font-weight: 600;
    font-size: 80px;
}
#widget_wrapper_54 ul {display:flex; text-align:center;}
#widget_wrapper_54 ul li {
    display: inline-block;
    vertical-align: top;
    max-width: 260px;
    margin: 0 10px;
    padding: 0px 20px 35px 20px;
    text-align: center;
}
#widget_wrapper_54 ul li>i {
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 46px;
    margin: auto auto 30px;
    display: block;
}
#widget_wrapper_54 p {
    line-height: 20px;
}
#widget_wrapper_54 ul li>.h3-title {
    font-size: 19px;
    font-family: 'MuseoBold',sans-serif;
    line-height: 1.4;
    max-width: 204px;
    padding-bottom: 15px;
    margin: auto;
	font-weight: 600;
}
@media screen and (max-width: 480px) {
.glav1 h1 {font-size: 7vw; line-height: 30px;}
.glav1 h2 {font-size: 5vw; font-weight: 400;}
.glav2 {position: relative; top: 0px; padding: 10px;}
.glav3 {position: relative; top: 0; right: 0; background: rgba(255, 255, 255, 1); border-radius: 0px;}
.rassrochka {display: block;}
.calc-img {float: left;}
	#preimuschestva ul li {max-width: 100%;}
	#widget_wrapper_53 h3 {height: auto; font-size: 20px; line-height: 32px;}
	#widget_wrapper_53 h3 span {font-size: 36px;}
	#widget_wrapper_51 a {width: 48%;}
	#widget_wrapper_51 img {width:100%; height:auto;}
	.widget h1 {line-height: 40px;}
#widget_wrapper_53 .widget_html_block, #widget_wrapper_54 ul {flex-wrap:wrap;}
#widget_wrapper_53 .widget_html_block {height: auto;}
#widget_wrapper_52 img {
    height: auto !important;
}
}