.s-title-about{ margin-bottom: 0; margin-top: 30px; }
.about-box:first-of-type{ margin-top: 0px; }
.about-box:last-of-type{ margin-bottom: 50px; }
.about-box{ width: 100%; /*max-width: 1430px; margin: 0 auto;*/ padding: 50px calc((100% - 1430px) / 2); }
.about-box .info, .about-box .img{
	display: table-cell; width: 50%; padding: 0 0; 
	/*vertical-align: middle;*/ vertical-align: top;
}
.about-box > div:first-child{ padding-right: 50px; border-right: 1px solid #555c66; }
.about-box > div:last-child{ padding-left: 50px; }
.about-box .img img{ display: block; width: 100%; height: auto; }

.about-box:nth-of-type(2n+1){ background: #fff; }

.about-box .info h2:first-child{
	display: block; padding-left: 65px; margin-top: 0; margin-bottom: 30px;
	/*background: url(../images/bullet-rose.png) 0 center no-repeat;*/
	background: url(../images/bullet.png) 0 center no-repeat;
	background-size: auto 100%;
}
.about-box info *:last-child{ margin-bottom: 0; }

.location-box{ background: none!important; }
.location-box .map-box{  position: relative; min-height: 410px; min-width: 665px; }
.location-box .map-box iframe{ display: block; width: calc(100% - 60px); height: 100%; position: absolute; top: 0; left: 0; }
.location-box p.address{ font-family: 'Kurale', serif; color: #3a4049; font-size: 20px; text-align: left; }
.location-box p.address span{ font-family: 'Nunito', sans-serif; color: #555c66; font-size: 17px; }
.location-box .info .btn-view-more{ float: left; } 

.materials-wrapper{ width: 100%; background: #fff; padding: 20px calc((100% - 1460px) / 2); margin-bottom: 30px; }
.materials-wrapper .c-title{ display: block; width: 100%; text-align: center; }
.materials-wrapper .materials-items{ width: 100%; }
.materials-wrapper .materials-items .article{ display: block; width: calc((100% - 60px) / 3); float: left; margin-bottom: 30px; margin-left: 30px; text-align: center; }
.materials-wrapper .materials-items .article:nth-child(3n+1){ clear: both; margin-left: 0; }
.materials-wrapper .materials-items .article .img{ display: block; width: 100%; height: 0; padding-top: 45%; overflow: hidden; position: relative; }
.materials-wrapper .materials-items .article .img img{ 
	display: block; width: auto; height: auto; max-width: 80%; max-height: 80%; background: #fff;
	position: absolute; top: 50%; left: 50%;	
	transform: translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
	-moz-transform:translate(-50%,-50%);
}
.materials-wrapper .materials-items .article .title a{ color: inherit; }

.inside-gallery-wrapper{ width: 100%; background: #fff; padding: 20px calc((100% - 1460px) / 2); }
.inside-gallery-wrapper .article{ 
	display: block; float: left; width: 33.33%; padding: 30px; position: relative;  height: 360px; overflow: hidden; 
}
.inside-gallery-wrapper .article:nth-child(3n+1){ clear: both; }
.inside-gallery-wrapper .article .img{ display: block; width: 100%; position: relative; overflow: hidden; height: 0; padding-top: 60%; }
.inside-gallery-wrapper .article .img img{ 
	display: block; width: auto; height: auto; max-width: none; min-width: 100%; min-height: 100%;
	position: absolute; top: 50%; left: 50%;	
	transform: translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
	-moz-transform:translate(-50%,-50%);
}
.inside-gallery-wrapper .article .title{ 
	margin-top: 15px; height: 30px; overflow: hidden; display: block; width: 100%; text-align: center; 
	font-family: 'Kurale', serif; font-size: 1.2em;
}

.inside-gallery-wrapper .article:before{
	content: ''; display: block; width: 1px; height: calc(100% - 60px);
	position: absolute; left: 0; top: 30px;
	background: #555c66; z-index: 1;
}
.inside-gallery-wrapper .article:after{
	content: ''; display: block; height: 1px; width: calc(100% - 60px);
	position: absolute; top: 0; left: 30px;
	background: #555c66; z-index: 1;
}
.inside-gallery-wrapper .article:nth-of-type(1):after,
.inside-gallery-wrapper .article:nth-of-type(2):after,
.inside-gallery-wrapper .article:nth-of-type(3):after{ display: none; }
.inside-gallery-wrapper .article:nth-of-type(3n+1):before{ display: none; }
.inside-gallery-wrapper .article:nth-of-type(3n+1){ clear: both; }

.gallery-wrapper{ max-width: none; width: 100%;  background: #fff; padding: 50px 35px; }
.interior-gallery-wrapper{ background: #e6e6e6; }
.gallery-wrapper .img{ display: block; width: 100%; position: relative; overflow: hidden; height: 0; padding-top: 60%; }
.gallery-wrapper .img img{ 
	display: block; width: auto; height: auto; max-width: none; min-width: 100%; min-height: 100%;
	position: absolute; top: 50%; left: 50%;	
	transform: translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
	-moz-transform:translate(-50%,-50%);
}
.b-gallery-wrapper{ background: none; }
.owl-theme .owl-dots{ width: 100%; clear: both; text-align: center; }
.owl-theme .owl-dots .owl-dot span{
	display: inline-block; width: 30px; height: 5px;
	background: #555c66; overflow: hidden; text-indent: -9999px;
	opacity: 0.5; margin: 0 5px;
	border-radius: 2px;
}
.owl-theme .owl-dots .owl-dot.active span{ background: #299640; opacity: 1; }

.interior-gallery-wrapper .s-title{ margin-bottom: 10px; }
.interior-gallery-wrapper .s-title:before{ display: none; margin-bottom: 0; }

.main-footer{ background-color: #555c66; width: 100%; padding: 35px 0 0 0; color: #fff; }
.main-footer a{ color: #fff; }
.main-footer .column{
	display: block; width: 25%; padding: 15px 60px; float: left;
}

.main-footer .column h3:first-child{ margin-top: 0;  }
.main-footer .column .phone{ font-size: 20px; font-weight: 600; }

.main-footer .column:nth-child(4){ float: right; padding-left: 0; text-align: left; } 
.main-footer .column:nth-child(4) > img{ max-width: 180px; float: right;  }
.main-footer .column:nth-child(4) > svg{ height: 150px; width: 300px; float: right;  }
.main-footer .column:nth-child(4) > svg path{ fill: rgba(255,255,255,.5);; }
.main-footer .column:nth-child(4) > svg path.pbi-c{ fill: #fff; }
.main-footer .icons a{
	display: inline-block; width: 24px; height: 24px; margin: 0 15px 0 0;  
}
.main-footer .icons a svg, .main-header .icons a svg{ width: 100%; height: 100%; fill: #555c66; }
.main-footer .icons a svg{ fill: #fff; }

.main-footer .alt-menu a{
	font-family: 'Kurale', serif;
	color: #fff;
}

.main-footer .f-bottom{ 
	width: 100%; clear: both; float: left;  background: #3a4049; padding: 15px 50px;
	color: rgba(255,255,255,.3); margin-top: 35px; 
}
.main-footer .f-bottom p{ display: block; width: 50%; float: left; margin: 0; font-size: 15px; line-height: 30px; text-align: left; padding-right: 50px; text-align: right; }
.main-footer .f-bottom p.created{ text-align: left; border-left: 1px solid rgba(255,255,255,.3); padding-left: 50px; }
.main-footer .f-bottom p a{ display: inline-block; vertical-align: middle; margin-left: 15px; height: 30px; }
.main-footer .f-bottom p a svg{ height: 30px; width: 100px; }
.main-footer .f-bottom p a svg *{ fill: #fff; }
.main-footer .f-bottom p a svg path.artlogica-c{ fill: #EE313B; }

.list-buildings{ display: none; }

.detail-content .ap-status{ font-weight: 600; text-transform: uppercase; font-size: 1.2em; }
.detail-content .ap-available{ color: #2a9841; }
.detail-content .ap-sold{ color: #D10D1C; }
.detail-content .info .ap-price, .search-content .article .ap-price{ font-family: 'Kurale', serif; font-size: 1.8em; font-weight: 600; color: #3a4049; }

.table-params{ max-width: 280px; width: 100%; margin-top: 30px; }
.table-params > div{ display: block; width: 100%; position: relative; height: 50px; overflow: hidden; }
.table-params > div:after{ content: ''; display: block; width: 100%; height: 1px; background: rgba(85,92,102, .3); position: absolute; top: 50%; z-index: 0; }
.table-params > div span{ display: block; height: 50px; line-height: 50px; position: absolute; bottom: 0px; background: #fff; z-index: 1; }
.table-params > div span.r-name{ padding-right: 10px; left: 0; font-size: 16px; }
.table-params > div span.r-value{ padding-left: 10px; right: 0; color: #3a4049; }
.table-params > div span.r-value.r-area{ line-height: 40px; }


.contacts-box{ padding-top: 0; padding-bottom: 0; margin-bottom: 50px; margin-top: 20px; }
.contacts-box .img .map-inside{ background: url(../images/map-contacts.jpg) 0 0 no-repeat; padding-top: 665px; background-size: auto auto; }
.contacts-box .phone{ font-size: 20px; font-weight: 600; }
.contacts-box a{ color: #3a4049; }
.contacts-box:before{ height: 100%; bottom: 0; }
.contacts-box .info *:first-child{ margin-top: 0; }
.contacts-box .info h3{ font-family: inherit; }

.contacts-box .form{ margin-top: 25px;  min-height: 200px; }
.form .label{ display: block; width: 100%; padding-bottom: 20px; position: relative; margin-bottom: 5px; }
.form .label span{ display: block; width: 100%; line-height: 25px; font-size: 15px; }
.form .label input, .form .label textarea{
	display: block; width: 100%; padding: 0 15px; height: 30px;
	background: #fff;
	color: #3a4049; border: 1px solid rgba(85,92,102, .3); border-radius: 5px;
	font-family: 'Kurale', serif; font-size: 17px; line-height: normal;
}
.form .label textarea{ height: 90px; }
.form .checkbox-label{ position: relative; padding-left: 45px; margin-bottom: 20px; }
.form .checkbox-label input{ 
	width: 30px; height: 30px; 
	position: absolute; top: 0; left: 0;
}
.form .checkbox-label span{ display: block; line-height: 20px; padding: 5px 0; }

.form .label .error{
	line-height: 20px; width: 100%; display: block;
	background: #ac7976; color: #fff; padding: 0 5px; font-size: 0.9em;
	position: absolute; bottom: 0; left: 0; border-radius: 5px;
}
.form .message{
	display: block; width: 100%; background: #3a4049; color: #fff;
	padding: 15px; text-align: center; border-radius: 5px; margin-bottom: 15px;
}
.form .message-error{ background: #3a4049; }
.form .message-success{ background: #299940; }

.form span.button{ display: block; margin-top: 30px; }
.form .btn-submit{ 
	display: inline-block; font-family: 'Kurale', serif;
	padding: 0 15px; border: 0px solid; font-size: 17px;
	border-radius: 5px; background: #299940; color: #fff;
	height: 30px; cursor: pointer;
}
html body.form-body {
    min-width: 280px;
    max-width: 500px;
}
.main-content-simple {
    width: 100%; max-width: 500px; padding: 20px;
    margin: 0 auto;
}

.about-body .about-box{ padding: 0 calc((100% - 1430px) / 2); position: relative; clear: both; margin: 30px 0; }
.about-body .about-box > div:first-child{ border-right: 0px solid; }
.about-body .about-box:before{ 
	content: ''; display: block; width: 1px; height: 100%;
	position: absolute; top: 0; left: 50%;
	background: #555c66;
}
.about-body .about-box .info, .about-body .about-box .img{ display: block; width: 50%; float: left; }
.about-body .about-box{ padding-top: 0; padding-bottom: 0; border-top: 30px solid transparent; border-bottom: 30px solid transparent; margin-bottom: 0; margin-top: 0;  }
.about-body .about-box:nth-of-type(2n+1){ background: #fff; border-color: #fff; }
.about-body .about-box:nth-of-type(2n) .img{ float: left; padding-left: 0; padding-right: 50px; }
.about-body .about-box:nth-of-type(2n) .info{ float: right; padding-left: 50px; padding-right: 0; }
	
.blocation-body .about-box:nth-of-type(2n+1){ border-color: transparent; }

.location-box{  padding-top: 0!important; border-top: 0px solid!important; margin-top: 0!important;  }
.location-box .info, .location-box .img{ 
	display: table-cell!important; float: none!important; width: 715px!important;
}
.location-box:before{ display: none!important; }
.location-box .info{ border-left: 0px solid #555c66; }
.s-title-location{ margin-bottom: 30px; }

.inside-gallery-wrapper .article{ height: auto; }
.inside-gallery-wrapper .article .title{ height: 30px; overflow: hidden; }

.links{ display: none; }


.about-body .location-box > div:first-child{ border-right: 1px solid #555c66; }

@media screen and (max-width:1490px){
	.about-box{ padding: 0 30px; position: relative; clear: both; margin: 30px 0; }
	.about-box > div:first-child{ border-right: 0px solid; }
	.about-box:before{ 
		content: ''; display: block; width: 1px; height: 100%;
		position: absolute; top: 0; left: 50%;
		background: #555c66;
	}
	.about-box .info, .about-box .img{ display: block; width: 50%; float: left; }
	.s-title-about{ margin-top: 20px; }
	.location-box .map-box{ min-width: 300px; }
	.gallery-wrapper{ padding: 30px; }
	.s-title{ margin-bottom: 30px; }
	.main-footer{ padding-top: 30px; }
	.main-footer .column{ padding: 15px; }
	.main-footer .column:first-child{ padding-left: 30px; }
	.main-footer .column:last-child{ padding-right: 30px; }
	.main-footer .f-bottom{ padding: 15px 30px; }
	.main-footer .column.contacts-info{ text-align: left; }
	
	.about-body .about-box{ padding-left: 30px; padding-right: 30px; }
	.inside-gallery-wrapper{ padding-left: 0; padding-right: 0; }
	.materials-wrapper{ padding-left: 30px; padding-right: 30px; }
} 
@media screen and (max-width:1366px){
	html{ line-height: 26px; }
	.about-box{ padding: 0 20px; margin: 20px 0; }
	.s-title-about{ margin-top: 15px; }
	.about-box > div:first-child{ padding-right: 20px; }
	.about-box > div:last-child{ padding-left: 20px; }	
	.location-box .map-box iframe{ width: calc(100% - 20px); }
	.gallery-wrapper{ padding: 20px; }
	.s-title{ margin-bottom: 20px; }
	.main-footer{ padding-top: 20px; } 
	.main-footer .column{ padding: 10px; }
	.main-footer .column:first-child{ padding-left: 20px; }
	.main-footer .column:last-child{ padding-right: 20px; }
	.main-footer .f-bottom{ margin-top: 0; }
	.main-footer .f-bottom{ padding: 10px 20px; }
	.main-footer .f-bottom p{ padding-right: 10px; }
	.main-footer .f-bottom p.created{ padding-left: 10px; }
	.about-body .about-box{ border-top-width: 20px; border-bottom-width: 20px; }
	.about-body .about-box:nth-of-type(2n) .img{ float: left; padding-left: 0; padding-right: 20px; }
	.about-body .about-box:nth-of-type(2n) .info{ float: right; padding-left: 20px; padding-right: 0; }
	.about-body .about-box{ padding-left: 20px; padding-right: 20px; }
	.inside-gallery-wrapper{ padding-top: 0; padding-bottom: 0; }
	.inside-gallery-wrapper .article{ padding: 20px; }
	.inside-gallery-wrapper .article:before{ height: calc(100% - 40px); top: 20px; }
	.inside-gallery-wrapper .article:after{ width: calc(100% - 40px); left: 20px; }
	.materials-wrapper{ padding-left: 20px; padding-right: 20px; }
	.materials-wrapper .c-title{ margin: 0; font-size: 1.8em; }
	.materials-wrapper .materials-items .article{ margin-bottom: 20px; margin-left: 20px; width: calc((100% - 40px) / 3); }
}
@media screen and (max-width:1280px){	
	.about-box{ padding: 0 10px; }
	.gallery-wrapper{ padding: 20px 10px; }
	.main-footer .f-bottom{ padding: 7px 10px; }
	.main-footer .column:first-child{ padding-left: 10px; }
	.main-footer .column:last-child{ padding-right: 10px; }
	.main-footer .column:nth-child(4) > svg{ width: 100px; height: 100px; }
	.about-body .about-box{ padding-left: 10px; padding-right: 10px; }
	.materials-wrapper{ padding-left: 10px; padding-right: 10px; }
}
@media screen and (max-width:1024px){
	.main-footer .column.contacts-info{ width: 35%; }	
	.main-footer .column.contacts-icons{ width: 15%; }
	.main-content .contacts-box{ margin-top: 0; }
	.inside-gallery-wrapper .article .title{ font-size: 1em; }
	.inside-gallery-wrapper .article{ padding: 10px; }
	.inside-gallery-wrapper .article:before{ height: calc(100% - 20px); top: 10px; }
	.inside-gallery-wrapper .article:after{ width: calc(100% - 20px); left: 10px; }
}
@media screen and (max-width:840px){
	.about-box .info, .about-box .img{ display: block; width: 100%; }
	.about-box > div:first-child{ border-right: 0px solid;  margin-bottom: 20px; padding-right: 0; }	
	.location-box .map-box iframe{ width: 100%; }
	.about-box > div:last-child{ padding-left: 0; border-top: 1px solid #555c66; padding-top: 20px; }
	.btn-view-more{ float: none; width: 105px; margin: 15 auto 0 auto; }
	.about-box:before{ display: none; }
	.s-title{ font-size: 30px; }
	.s-title:before{ height: 30px; }
	.main-footer .column{ width: 50%; }
	.main-footer .column:nth-of-type(2n){ text-align: right; }
	.main-footer .column.contacts-info, .main-footer .column.contacts-icons{ margin-top: 20px; }	
	.main-footer .column.contacts-info{ width: calc(100% - 110px); position: relative; }	
	.main-footer .column.contacts-icons{ width: 100px; }
	.main-content .contacts-box .info, .main-content .contacts-box p.address{ text-align: center; }
	.contacts-box .form{ max-width: 400px; margin: 20px auto; }
	.main-content .contacts-box{ padding-bottom: 330px; position: relative; }
	.main-content .contacts-box .map-box{ position: absolute; bottom: 0; left: 0; min-height: 300px; height: 300px; margin: 0; }
	.main-content .contacts-box .info{ border-top: 0px solid; padding-top: 0; }
	.about-box .info h2:first-child{ font-size: 26px; line-height: 30px; margin-bottom: 20px; padding-left: 45px; }
	.about-body .about-box .info, .about-body .about-box .img{ width: 100%; }
	.about-body .about-box:before{ display: none; }
	.about-body .about-box:nth-of-type(2n) .img{ float: left; padding-left: 0; padding-right: 0; }
	.about-body .about-box:nth-of-type(2n) .info{ float: right; padding-left: 0; padding-right: 0; }
	.about-body .about-box > div:last-child{ padding-top: 0; border-top: 0px solid #555c66; }
	
	.location-box .info, .location-box .img{ 
		display: block!important; float: none!important; width: 100%!important;
	}
	.location-box .info{ padding-left: 10px; border-left: 0px solid; }
	
	.inside-gallery-wrapper .article{ width: 50%; }
	.inside-gallery-wrapper .article:nth-of-type(3n+1){ clear: none; }
	.inside-gallery-wrapper .article:nth-of-type(2n+1){ clear: both; }
	.inside-gallery-wrapper .article:nth-of-type(1):after,
	.inside-gallery-wrapper .article:nth-of-type(2):after,
	.inside-gallery-wrapper .article:nth-of-type(3):after{ display: block; }
	.inside-gallery-wrapper .article:nth-of-type(3n+1):before{ display: block; }
	.inside-gallery-wrapper .article:nth-of-type(1):after,
	.inside-gallery-wrapper .article:nth-of-type(2):after{ display: none; }
	.inside-gallery-wrapper .article:nth-of-type(2n+1):before{ display: none; }
	
	.materials-wrapper{ padding-left: 0; padding-right: 0; }
	.materials-wrapper .materials-items .article{ margin-left: 0; width: 50%; padding: 10px; }
	.materials-wrapper .materials-items .article:nth-child(3n+1){ clear: none; }
	.materials-wrapper .materials-items .article:nth-child(2n+1){ clear: both; }
	.about-body .location-box > div:first-child{ border-right: 0px solid #555c66; }
}
@media screen and (max-width:768px){
	.main-footer .f-bottom p, .main-footer .f-bottom p.created{ 
		border-left: 0; padding: 0 10px; margin: 7px 0; width: 100%; 
		text-align: center; font-size: 14; line-height: normal; 
	}
	.main-footer .f-bottom p.created:before{
		content: ''; display: block; width: 100%; margin: 0 auto 7px auto;
		border-top: 1px solid rgba(255,255,255,0.3); 
	}
	.main-footer .f-bottom p a, .main-footer .f-bottom p a svg{ width: 83px; height: 25px; }
}
@media screen and (max-width:640px){
	.links{ display: block; padding: 20px 10px; }
	.links > *{ display: block; text-align: center; padding: 7px 0; color: inherit; }
	.links > span{ font-weight: 600; font-family: 'Kurale', serif; font-size: 18px; }
	.links > a span{ font-size: 14px; }
}
@media screen and (max-width:450px){	
	.main-footer .column{ width: 100%!important; margin: 0 0 0 0; padding: 0 10px; text-align: center!important;  }	
	.main-footer .column:nth-child(4) > svg{ width: 100%; }
	.main-footer .column.contacts-icons{ margin-top: 0px; margin-bottom: 20px; }
	.main-footer .column.contacts-info:before{
		content: ''; display: block; width: calc(100% - 20px); margin: 0 auto 20px auto;
		border-top: 1px solid rgba(255,255,255,0.3); 
	}
	.inside-gallery-wrapper{ padding-bottom: 20px; }
	.inside-gallery-wrapper .article{ width: 100%; clear: both; }
	.inside-gallery-wrapper .article .title{ height: auto; }
	.inside-gallery-wrapper .article:nth-of-type(1):after{ display: none; }
	.inside-gallery-wrapper .article:nth-of-type(2):after{ display: block; }
	.inside-gallery-wrapper .article:nth-of-type(2n+1):before, .inside-gallery-wrapper .article:before{ display: none!important; }
	.materials-wrapper .materials-items .article{ width: 100%; clear: both; }
}
