.preimushestva { text-align: center; background-color: #dfdfdf; }
.preimushestva .preim-block { display: inline-table; margin: 5px; }
.preimushestva .preim-block img { width: 300px; }
.building-sections .section-name { margin-left: 0px!important; margin-right: 40px; }
.legend-block .legend.legend-kolkomnat:before {  background-image: url('/local/templates/main2/images/num1.jpg');  border-color: #666; }
.center-blocks { text-align: center; }
.parking-img { display: inline-table; max-width: 450px; }
.parking-text { display: inline-table; max-width: 500px;  vertical-align: top; text-align:left; }

.bx-core-adm-dialog input{
    line-height: inherit;
}
.bread__crumbs li:last-child{
    color:#5a5d6e;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity= 50 )";
    filter: alpha(opacity = 50 );
    opacity: .5;
}
.pop__up .right__side .status__block .status.reserved:before{
	background: url("css/img/icons/flag-ico-orange.png");
}
.pop__up .right__side .status__block .status.reserved .status__directly{
	color: #ffad00;
}
.pop__up .right__side .status__block .status.sold:before{
	background: url("css/img/icons/flag-ico-blue.png");
}
.pop__up .right__side .status__block .status.sold .status__directly{
	color: #00acd6;
}
.offer__form{
	position: absolute;
	padding: 20px 10px 16px;
}


.contact__pop .close__pop
{
	z-index: 500;
}

.contact__pop .captcha .img__block{
	overflow: hidden;
	position:relative;
	width: 86px;
}
.contact__pop .img__block  .captchaImg{
    height: 39px;
    margin-left: -8px;
    margin-top: -1px;
    width: 156px;
}
.contact__pop.captcha input{}
.contact__pop .captcha  input.err{
	box-shadow: 0 0 2px 2px #ffaa00;
}
#bx-composite-banner{
    left: 150px;
    position: absolute;
    top: 18px;
}

/*--CAPTCHA--*/
.contact__pop .whiteBlock{
    background-color: #fff;
    border: 2px solid #d5edce;
    border-radius: 3px;
    display: none;
    height: 35px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 82px;
}
.contact__pop .loaderImg{margin-top:12px;}

.contact__pop .answer.desc{
	background: #FFF;
    margin-left: -15px;
    margin-top: -184px;
    padding: 40px 0 49px;
    position: absolute;
    text-align: center;
    width: 100%;
}
.apartment__unit .status__block{
	 padding: 10px;
}
.apartment__unit .status__block .status{
	white-space: nowrap;
}
.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img{
	display: block;
	height: auto;
	max-width: 100%;
}
.apartment__unit table td, .pop__up .right__side table td{
	vertical-align: bottom;
}
/***************** GREEN FANCYBOX ***************************/
.fancybox-image{
	padding: 20px;
	max-height: calc(100% - 40px);
	max-width: calc(100% - 40px);
}
.fancybox-skin.fancy-green{
    border: 3px solid #96c15f;
    box-shadow:none;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
}
.fancybox-skin.fancy-green h2{
    color:#96c15f;
}
.fancybox-skin .fancybox-close{
    top:7px;
    right:7px;
}
#order__pop.pop__up{
	position: static;
}
.pop__up .img__apartament img{
	max-height: none;
}
.pop__up .right__side .button {
    box-sizing: border-box;
    display: block;
    height: auto;
    line-height: 16px;
    padding: 11px 0;
    text-align: center;
    width: 100%;
}
.header .header__bottom-nav  > ul > li > a{
	padding: 0 14px !important;
}



@media (min-width:1025px) and (max-width:1280px){
    .header .header__bottom-nav > ul > li > a{
		padding: 0 18px !important;
	}
    .parking-img { max-width: 450px; }
}
@media (min-device-width:1025px) and (max-device-width:1280px){
    .header .header__bottom-nav  > ul > li > a{
		padding: 0 5px !important;
	}
}
@media (min-width:769px) and (max-width:1024px){
    .header .header__bottom-nav  > ul > li > a{
		padding: 0 5px !important;
	}
    .parking-img { max-width: 350px; }
}
@media (min-device-width:769px) and (max-device-width:1024px){
    .header .header__bottom-nav  > ul > li > a{
		padding: 0 5px !important;
	}
}

#popup-plan{
    height:90%!important;
}


.popup-plan #tabs div>.map {
    margin: 0 auto;
}


.socials
{
	float: left;
    	margin-left: 100px;
	
}

.soc
{
	font-size: 30px !important;
	cursor: pointer;
	padding-right: 5px;
	text-decoration: none !important;
}

.contacts--footer {
    padding-top: 0 !important;
    margin-left: 60px !important;
}


.kom-nedv table { width: 1140px; margin: 5px auto; border-collapse: collapse; }
.kom-nedv table th, .kom-nedv table td { border: 1px solid #000; text-align: center; }
.kom-nedv table th { height: 40px; color: #fff; font-size: 14px; text-transform: uppercase; font-family: Arial, sans-serif; background: rgb(47, 62, 70); }

.kom-nedv h2, .kom-nedv h3 {  text-align: center;  font-weight: bold; }
.kom-nedv h2 { font-size: 24px; margin: 20px 0px; }
.kom-nedv h3 { font-size: 20px; margin: 15px 0px;  color: #3566ac; }

.home29, .home27, .home41, .home5 {
    width: 100%;
    height: 345px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.home29 { background-image: url('/images/foto/home29.jpg'); }
.home29:hover { background-image: url('/images/foto/home29hover.jpg'); }

.home27 {  background-image: url('/images/foto/home27.jpg'); }
.home27:hover { background-image: url('/images/foto/home27hover.jpg'); }

.home41 {  background-image: url('/images/foto/home41.jpg'); }
.home41:hover { background-image: url('/images/foto/home41hover.jpg'); }

.home5 {  background-image: url('/images/foto/home5.jpg'); }
.home5:hover { background-image: url('/images/foto/home5hover.jpg'); }

.popup-form__submit{
	font-size:20px!important;
	margin-top:5px!important;
}