img {
    height: auto;
}

.image-magnify {
    display: inline-block;
    position: relative;
}

.ask-form p {
    margin: 0;
    padding: 0 20px;
}

.ask-form {
    padding: 0 0 40px 0;
}

#SCBbuttonMain {
    z-index: 10000 !important;
}

.s-cat .item.active a {
    color: #26c0d0;
    text-decoration: none;
}

.form_success {
    display: none;
}

.cards-skills a {
    color: #fff;
    text-decoration: underline;
}

.cards-skills a:hover {
    text-decoration: none;
}

.promo-block {
    margin: 62px 0 44px;
}

.promo-block--cards {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin: 0 -15px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.promo-block--card {
    width: 25%;
    padding: 0 15px;
    margin: 13px 0 25px;
}

.promo-block--card .wrap {
    height: 100%;
    padding: 30px 26px 22px;
    border: 4px solid #e8edf3;
    position: relative;
    display: block;
}

.promo-block--card .wrap > *:first-child {
    margin-top: 0 !important;
}

.promo-block--card .wrap > *:last-child {
    margin-bottom: 0 !important;
}

.promo-block--card .wrap:hover .img {
    -moz-filter: brightness(108%);
    -o-filter: brightness(108%);
    -webkit-filter: brightness(108%);
    -ms-filter: brightness(108%);
    filter: brightness(108%);
}

.promo-block--card .wrap:hover .title {
    text-decoration: underline;
}

.promo-block--card .title {
    margin: 20px 0 5px;
    color: #008a9b;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.35;
}

.promo-block--card .img {
    height: 180px;
    margin: 8px 0 5px;
    background-position: center;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-repeat: no-repeat;
}

td > :first-child,
th > :first-child {
    margin-top: 0;
}

td > :last-child,
th > :last-child {
    margin-bottom: 0;
}

.special-row {
    display: none;
}

.s-menu .title a {
    color: #fff;
    text-decoration: none;
}

.grecaptcha-badge {
    display: none;
}

.bn-ad-list iframe {
    width: 100%;
    border: 0;
    outline: none;
    overflow: hidden;
}

.slider-house--info .name h1 {
    font-size: 30px;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.bn-ad--item {
    -moz-background-size: auto 100%;
    -webkit-background-size: auto 100%;
    -o-background-size: auto 100%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-color: #0d223c;
}

.product-bn-info .img-text h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.img_float_right {
    float: right;
    margin: 10px 0 30px 30px;
}

.img_float_left {
    float: left;
    margin: 10px 30px 30px 0;
}

.icon-phone {
    width: auto;
    height: auto;
    background: none;
}

.icon-phone2 {
    width: 21px;
    height: 20px;
    background: url(../img/sprite.svg) -791px 0px no-repeat;
}

.main-slider {
    z-index: 10;
}

.mobile-menu {
    position: fixed;
    top: 60px;
    bottom: 0;
    z-index: -1;
}

.main-slider--desc {
    z-index: 1;
}

.bn-region--item .img {
    display: block;
}

.btn-trans__green:hover {
    border-color: #018a9b;
    background-color: #018a9b;
    color: #fff;
}

.btn-trans__green:hover {
    border-color: #018a9b;
    background-color: #018a9b;
    color: #fff;
}

.btn-trans__green2:hover {
    border-color: #018a9b;
    background: #018a9b;
    color: #fff;
}

.btn-trans__blue:hover {
    border-color: #7eaadc;
    background: #7eaadc;
    color: #fff;
}

@media (min-width: 50px) and (max-width: 479px) {
    #popup-mortgage, #popup-house, #popup-sendfav {
        width: 100%;
    }

    .promo-block--card {
        width: 100%;
        max-width: 380px;
        margin: 0 auto 10px;
        padding: 0;
        text-align: center;
    }

    .services-cards--img {
        height: 200px;
    }

    .services-cards .btn-bottom .btn {
        min-width: inherit;
    }

    .bn-ad--item {
        -moz-background-size: contain;
        -webkit-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
    }
}

@media (min-width: 750px) {
    .product-bn-info .flyer {
        min-height: 300px;
    }
}

@media (min-width: 50px) and (max-width: 749px), (max-height: 600px) {
    .slider-house-scroll.fixed, .slider-house-scroll {
        bottom: 15px;
        height: auto;
    }
}

@media (min-width: 50px) and (max-width: 749px) {

    #main {
        -padding-top: 49px;
    }

    table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        border-bottom: 0;
    }

    table p {
        font-size: 13px;
    }

    table tr:last-child {
        border: 1px solid #e8edf3;
    }

    .slider-house--info .name h1 {
        font-size: 26px;
    }

    div .popup {
        width: 100%;
    }

    .mobile-menu {
        top: 59px;
    }
}

@media (min-width: 50px) and (max-width: 479px) {
    .mobile-menu {
        top: 48px;
    }
}

@media (min-width: 50px) and (max-width: 1277px) {
    .bn-ad-list {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 749px) {
    .promo-block--card {
        width: 50%;
    }

    .services-cards--img {
        height: 300px;
    }
}

@media (min-width: 750px) and (max-width: 999px) {
    #popup-mortgage, #popup-house, #popup-sendfav {
        width: 580px;
    }

    .promo-block--card {
        width: 33%;
    }

    .slider-house--info .name h1 {
        font-size: 26px;
    }
}

@media (min-width: 1000px) {
    #popup-mortgage, #popup-house, #popup-sendfav {
        width: 580px;
    }

    .services-cards .row-flex--item {
        min-height: 300px;
    }
}

@media (min-width: 1278px) and (max-width: 1349px) {
    .bn-ad--item {
        height: 256px;
    }

    .bn-ad--item__big {
        height: 532px;
    }
}

@media (min-width: 1350px) {
    .product-bn-info .img-text h1 {
        font-size: 20px;
    }

    .bn-other__img {
        min-height: 488px;
    }
}

/* 404 */
.b-404 {
    text-align: center;
}

.b-404 .num {
    font-size: 158px;
    font-weight: bold;
    color: #1f508a;
    line-height: 1;
}

.b-404 h1 {
    margin: 10px 0 20px 0;
    font-size: 30px;
    line-height: 1.2;
    color: #252b33;
}

.b-404 .text {
    margin: 10px 0;
    font-size: 17px;
    line-height: 1.3;
    color: #252b33;
}

.b-404 .link-back {
    margin-top: 15px;
}

@media screen and (max-width: 750px) {
    .b-404 {
        margin-top: 55px;
    }

    .b-404 .num {
        font-size: 120px;
    }

    .b-404 h1 {
        font-size: 24px;
    }
}

/* END 404 */

/* Calc */

.grid.ipoteka {
    display: grid;
    grid-template-columns: 65% 35%;
    grid-gap: 20px;
    align-items: start;
}

@media screen and (max-width: 700px) {
    .grid.ipoteka {
        grid-template-columns: auto;
    }
}

.mortgage-calc {
    margin: 0;
    background: #f7f7f7;
    padding: 0 15px
}

.mortgage-calc .form-group {
    margin-bottom: 20px;
    position: relative;
}

.mortgage-calc .form-group label {
    margin-bottom: 10px;
    display: inline-block;
    font-size: 18px;
}

.mortgage-calc input {
    font-size: 18px;
    width: 100%;
    display: block;
    border: 1px solid #e8edf2;
    padding: 10px;
}

.mortgage-calc .deposit-percents-wrapper{
    position: relative;
}

.mortgage-calc .deposit-percents {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color:green;
    font-size: 16px;
}

.mortgage-calc .select-box .selected-caption {
    display: flex;
    align-items: center;
    border: 1px solid #e8edf2;
    background: #f8fafc;
    position: relative;
}

.mortgage-calc .select-box .selected-caption .lbl-name {
    margin-right: 20px;
}

.mortgage-calc .select-box .selected-caption::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-top: 5px solid #000;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.mortgage-calc .select-box .lbl-bank {
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 10px;
    margin-left: 10px;
}

.mortgage-calc .select-box .lbl-percent {
    line-height: 50px;
}

.mortgage-calc .select-box .select-options {
    display: none;
}

.mortgage-calc .select-box.open .select-options {
    display: block;
    border: 2px solid #e8edf3;
}

.mortgage-calc .select-box.open .option {
    display: flex;
    padding: 0 10px;
    align-items: center;
    clear: both;
    border-top: 2px solid #e8edf3;
}

.mortgage-calc .select-box.open .option:hover {
    background: #f2f2f3;
}

.mortgage-calc .select-box.open .option .lbl-name {
    margin-right: 20px;
}

.mortgage-calc .result {
    font-size: 20px;
    font-weight: 700;
}

.slider-house-scroll #scb17 {
    margin-top: 15px;
}

#house-content .communications {
    margin-top: 22px;
}

.communications {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#house-content .communications {
    display: flex;
}

.communications .communication {
    flex: 1 0;
    width: auto !important;
    text-align: center;
}

.communications .communication span {
    display: block;
}

#house-content .communications .communication:nth-child(3),
#house-content .communications .communication:nth-child(4), .communications .communication:last-child {
    margin-right: 10px;
}

.main-slider--desc .item .btn a {
    background: #fff;
}
.main-slider--desc .item .btn a:hover {
    background: #44d6e4;
}

.sale_note {
    margin-top: 40px;
    padding: 20px;
    background: rgb(49 0 0 / 85%);
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
	animation: bg 3s ease-in-out infinite;
}
.sale_note_text {
    margin-bottom: 5px;
	color: yellow;
}
.header_sale {
    margin-left: -40px;
}
.header_sale .sale_note {
    margin-top: 0;
    font-size: 13px;
}
@keyframes bg {
    50% {background: rgba(0, 22, 49, 0.85);}
	100% {background: rgb(49 0 0 / 85%);}
}
.h_sale_text .text {
    color: yellow;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
    margin: 20px;
    font-size: 25px;
    text-align: center;
}
.h_sale_text {
    -display: flex;
    -justify-content: center;
    margin-bottom: -15px;
	display: none;
}
.h_sale_btn {
    display: none !important;
}
.h_form_wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.h_form_wrap .ozera-form__top {
    width: 40%;
}
.h_form_wrap .ozera-form__dop {
    font-size: 15px;
}
.h_form_wrap form {
    width: 60%;
    padding-top: 10px !important;
}
.h_form_wrap .ozera-form__row {
    width: 50%;
	padding-left: 55px;
}
.h_form_wrap .ozera-form__row>div {
    justify-content: end;
}
.h_form_field {
    justify-content: start !important;
}
.h_form_wrap .ozera-form__wrap.ozera-form__row {
    width: 100%;
    padding: 10px 0 0 55px;
}
.form_text_block .ozera-form__button {
    margin-left: 0;
    margin-top: 10px;
}
.form_agree {
    margin: 0 0 10px;
    padding: 0 !important;
    left: 0 !important;
}
.thanks_page_wrap {
    background-image: url(/workdir/banners/00/20200824-183724.webp);
    background-size: cover;
    background-repeat: no-repeat;
}
.thanks_page_wrap .post {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    margin: 0 !important;
    max-width: initial;
}
.thanks_page {
    margin: 15% auto 0;
    display: inline-block;
    padding: 20px 40px 40px;
    background: rgba(0, 22, 49, 0.85);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}

/*----------exitblock-----------*/
.exitblock {    
    display:none;    
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index:100000;
}    
.exitblock_fon {
    background: #000000;
    opacity:.8;
    position:fixed;
    width:100%;
    height:100%;
}
.exitblock_wrap {
    box-sizing: border-box;  
    padding:20px 40px;
    border: 2px solid #AEAEAE;
    background: #F6FCFF;
    position:fixed;
    top:80px;
    left:50%;
    margin-left:-10%;
    width:30%;
    box-shadow: 0 4px 10px 2px rgba(0,0,0,0.5);
}        
.closeblock {
    cursor:pointer;
    position: fixed;
    line-height:60px;
    font-size:52px;
    transform: rotate(45deg);
    text-align:center;
    top:20px;
    right:28%;
    color: #337AB7;    
}
.closeblock:hover {
    color: #000;    
}
/*----------exitblock-----------*/

@media (max-width: 1350px) {
    .header_sale {
        margin-left: 70px;
    }
}
@media (max-width: 1170px) {
    .header_sale {
        margin-left: 20px;
    }
	#header .h-left, #header .promotion, #header .h-menu {
        margin-right: 0;
    }
	#header .h-right .h-wrap {
        margin-right: 0;
    }
	.h_form_wrap .ozera-form__top {
        width: 100%;
    }
	.h_form_wrap form {
        width: 100%;
        padding-top: 25px !important;
    }
	.h_form_wrap .ozera-form__row>div {
        justify-content: space-between;
    }
	.h_form_wrap .ozera-form__row {
        padding-left: 0;
    }
	.h_form_wrap .ozera-form__wrap.ozera-form__row {
        padding: 5px 0 0 0;
    }
	.exitblock_wrap {
        margin-left: -20%;
        width: 40%;
    }
}
@media (max-width: 992px) {
    .h-left .sale_note {
        position: fixed;
    }
	#main {
        padding-top: 87px;
    }
	.h_sale_text {
        display: flex;
        justify-content: center;
    }
    .h_sale_btn {
       display: block !important;
    }
	.closeblock {
       right: 22%;
    }
	.exitblock_wrap {
        margin-left: -25%;
        width: 50%;
    }
}	
@media (max-width: 736px) {
    .sale_note {
        padding: 10px;
	}
	.h-left .sale_note {
        top: 50%;
		left: 3%;
    }
	#main {
        padding-top: 70px;
    }
	.h_form_wrap .ozera-form__row>div {
        padding: 0 15px;
    }
	.h_form_wrap form {
        flex-direction: row !important;
    }
	.form_text_block .ozera-form__button {
        width: 40%;
    }
	.h_form_wrap .ozera-form__input, .h_form_wrap .ps-fieldwrap {
		width: 90%;
	}	
}
@media (max-width: 667px) {
    .closeblock {
       right: 10%;
    }
	.exitblock_wrap {
        margin-left: -35%;
        width: 70%;
    }
}	
@media (max-width: 568px) {
    .header_sale {
        margin-left: 0;
        position: fixed;
        left: 0;
        -top: 50%;
		top: 59px;
    }
	.sale_note {
        border-radius: 0 0 2px 0;
    }
	#main {
        padding-top: 65px;
    }
}
@media (max-width: 480px) {
    .h_form_wrap .ozera-form__row {
       width: 100%;
    }
	.h_form_wrap .ozera-form__input, .h_form_wrap .ps-fieldwrap {
		width: 100%;
	}
    .form_text_block .ozera-form__button {
        width: 60%;
    }	
}	
@media (max-width: 414px) {
    .header_sale {
        top: 42px;
    }
	.h-left .sale_note {
        top: 28%;
    }
	#main {
        padding-top: 49px;
    }
	.ozera-form {
        padding: 20px 15px 0px 15px;
    }
	.h_form_wrap .ozera-form__title {
        font-size: 20px;
    }
	.h_form_wrap .ozera-form__dop {
        font-size: 13px;
    }
	.closeblock {
       right: 2%;
    }
	.exitblock_wrap {
        margin-left: -45%;
        width: 90%;
    }
}
@media (max-width: 360px) {
	.h_form_wrap .ozera-form__title {
        font-size: 19px;
    }
	.h_form_wrap .ozera-form__dop {
        font-size: 12px;
    }
}		