*{box-sizing: border-box;}

html, body{
    height: 100%;
}
html.popup_open {
    overflow: hidden;
    margin-right: 17px;
}

body{
    font-family: 'PT Sans', sans-serif;
    color: #333;
    font-size: 16px;
    background-color: #fff;
}
#wrapper{
    min-height: 100%;
}
.block{
    width: 100%;
    min-width: 1220px;
}
.inner{
    width: 1170px;
    margin: 0 auto;
    position: relative;
}
.clear{clear: both;}
.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
a, a:hover, a:visited, a:active, a:link{color: #006999; outline: none;}
a:hover{text-decoration: none;}
button{outline: none;}


.basket_title{
    display: none;
}

#header  .inner{
    height: 135px;
    color: #000;
    display: flex;
    justify-content: space-between;
}

.logo_block{
    width: 400px;
}

#pure_place img{
    padding-right: 30px;
    border-right: 1px solid #ccc;
}
#chestr img{
    margin-left: 30px;
}

#header{
    background-color: #FFFFFF;
}

#contacts{
    position: relative;
    width: 350px;
    text-align: right;
    align-self: center;
    color: #5c5c5c;
}

/*#contacts::before{
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    top: 5px;
    left: 20px;
    border-radius: 50%;
    background: #ce6330;
}*/

a.general_phone{
    text-decoration: none;
    font-size: 36px;
    color: #5c5c5c; 
}
#contacts p{
    margin: 0;
    text-align: center;
    font-size: 18px;
}
.fa-phone{
    position: absolute;
    font-size: 22px;
    color: #fff;
    top: 12px;
    left: 30px;
}

.order_btn {
    display: block;
    width: 240px;
    height: 45px;
    background: #CE6330;
    font-size: 20px;
    color: white;
    transition: all 0.2s ease;
    border: none;
    text-transform: uppercase;
    align-self: center;
    cursor: pointer;
    border-radius: 10px;
}

.red_banner{
    display: flex;
    width: 100%;
    height: 100px;
    background: #ce6330;
}
.red_banner .inner{
    align-self: center;
}
.title_block{
    display: flex;
    justify-content: center;
}
.red_banner h1{
    font-size: 40px;
    color: #fff;
    margin: 0;
    font-weight: 400;
}
#top_header{
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 14px;
}

#callback{
    position: absolute;
    right: 0;
    width: 170px;
    height: 30px;
    top: 70px;
    line-height: 30px;
    margin-top: 10px;
    cursor: pointer;
    padding-left: 0px;
    font-size: 15px;
}


#to_top{
    color: #979797;
    cursor: pointer;
    font-weight: bold;
    padding: 5px;
    left: 0;
    opacity: 0.5; 
    position: fixed;
    text-align: center;
    bottom: 340px;
    font-size: 48px;
    display: none;
    transition: opacity 0.3s ease;
    z-index: 20;
}
#to_top:hover{
    opacity: 1; 
}





/*главная*/

#main{
    position: relative;
    background: url(/2k/i/place.jpg) no-repeat 0 341px;
    background-size: 100%;
}
.bg_gray{
    position: absolute;
    background-color: rgba(255,255,255, 0.8);
    width: 100%;
    height: 910px;
    top: 210px;
    z-index: 0;
}

.ipoteka_title{
    position: absolute;
    top: 235px;
    left: 100px;
    z-index: 20;
    color: #006AB3;
    font-size: 20px;
    background: #e5e5e5;
    padding: 2px 11px;
}
.kind_block{
    display: flex;
    position: relative;
    margin-bottom: 30px;
}
.kind_block .inner{
    display: inherit;
}
.kind_item{
    flex-basis: 33.3%;
    min-height: 980px;
    background: #fff;
}
.with_rem{
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
    z-index: 5;
}
.with_rem .kind_title{
    height: 110px;
}
.kind_title{
    display: flex;
    color: #fff;
    font-size: 28px;
    text-align: center;
    background: rgb(42, 124, 181);;
    justify-content: center;
    align-items: center;
    height: 105px;
}
.kind_area{
    display: flex;
    height: 135px;
    background: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.kind_area span{
    display: block;
}
.price{
    color: #EB4300;
    font-size: 32px;
    line-height: 48px;
}
.area_square{
    color: #666;
    font-size: 28px;
    line-height: 32px;
}
.kind_pay_info {
    display: flex;
    background: #F4F4F4;
    padding: 30px;
    padding-top: 40px;
    font-size: 18px;
    flex-direction: column;
    text-align: center;
    line-height: 1.5em;
}
.kind_description{
    padding: 30px;
    flex-direction: column;
    line-height: 1.4em;
    font-size: 15px;
    min-height: 420px;
    color: #555;
}
.kind_description p{
    font-size: 16px;
}

.ipoteka_title2{
    position: absolute;
    top: 490px;
    left: 265px;
    z-index: 20;
    color: #006AB3;
    font-size: 20px;
    background: #e5e5e5;
    padding: 2px 11px;
}

.kind_description ul {
padding-left: 0;
    list-style: none;
}

.kind_description li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}
.kind_description li:before {


 color: #006AB3;
    font-size: 19px;
    content: "•";
    display: inline-block;
 /* padding-right: 7px; */
    position: absolute;
    left: 0;
}

.form_block{
    z-index: 5;
    background: linear-gradient(0deg, #e9e9e9, #f9f9f9);
}

.img_block {
    padding-bottom: 40px;
    padding-top: 30px;
    
}

.img_block h2, .about_flat h2, .video_flat h2, .img_flat h2{ 
    font-size: 30px;
    color: #555;
    text-align: center;
    font-weight: 400;
    margin-top: 0;
}




.img_gallery_block{
    display: flex; 
  flex-direction: column; 
  flex-wrap: wrap;
  width: 100%;
  overflow-x: auto;
  height: 220px;
  font-size: 0; 
}
.img_gallery_block::-webkit-scrollbar {width: 5px; height: 10px}
.img_gallery_block::-webkit-scrollbar-thumb {border-radius: 3px;background: #ccc;}
.img_gallery_block::-webkit-scrollbar-track {border-radius: 3px;}
.img_gallery_block:hover::-webkit-scrollbar-thumb {background: #6a7d9b;}

.img_gallery_block img{
    display: flex;
    align-content: center;
  width: 25%;
  height: 200px;
  transition: .3s all;
  cursor: pointer;
  margin-right: 10px;
}
.img_gallery_block:hover img {  filter: blur(4px); -webkit-filter: blur(5px); filter: blur(5px);filter: brightness(60%) ; }
.img_gallery_block:hover img:hover { -webkit-filter: grayscale(0%);  filter: grayscale(0%);filter: blur(0px); -webkit-filter: blur(0px);filter: brightness(100%) ;} 

.about_flat{
    background: #F8F8F8;
    padding:30px 0 40px;
    background: linear-gradient(0deg, #e9e9e9, #f9f9f9);
}

.about_flat p{
    width: 85%;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.4em;
    
}

.video_flat{
    padding: 30px 0 50px;
}
.video_block{
    display: flex;
    justify-content: center;
}
.video_block iframe{
    border: none;
}
.map{
    width: 100%;
    height: 500px;
    background: #F7F1D9;
     -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.5s all;
}
.map:hover{
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}



/*#ymaps1503651936924722060{
    -webkit-filter: grayscale(100%)!important;
    filter: grayscale(100%)!important;
}*/

/*footer*/


#footer{
    float: left;
    min-height: 400px;
    background: linear-gradient(0deg, #fff ,#ECECEC);
}

.wait_you{
    width: 60%;
    margin: 0 auto;
}

#footer .inner{
    line-height: 1.4;
    position: relative;
    padding-top: 40px;
}
.footer_info{
    width: 60%;
    margin: 0 auto;
    margin-top: 50px;
}
.footer_info p{
   color: #888;
}

.popup {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0;
    display: none;
    text-align: center;
    background-color: rgba(0,0,0,0.6);
    z-index: 100;
}

.popup_bg {
    position: absolute;
    z-index: 20;
    height: 100%;
    width: 100%;
}
.popup_img {
    position: relative;
    margin: 0 auto;
    z-index: 20;
    max-height: 70%;
    max-width: 70%;
    margin: 10% 0 0 0;
}





#all_form_bg {
    display: none;
    width: 100%;
    height: 100%;
    min-width: 400px;
    min-height: 500px;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
#all_form_thanks_bg {
    display: none;
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
}

#all_form_thanks {
    width: 400px;
    padding: 25px 0;
    border-radius: 2px;
    background: #f2f2f2;
    position: relative;
    margin-left: -187px;
    margin-top: -175px;
    left: 50%;
    top: 50%;
}

#all_form_thanks_exit {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    padding: 0 5px;
}
#all_form_thanks_title {
    color: #4d4d4d;
    font-size: 28px;
    text-align: center;
    padding-bottom: 10px;
}
#all_form_thanks_descr {
    font-size: 18px;
    text-align: center;
    padding-bottom: 10px;
}
#all_form_thanks_ok {
    font-size: 24px;
    height: 48px;
    line-height: 48px;
    border: 1px solid #ccc;
    text-transform: uppercase;
    display: block;
    width: 300px;
    padding: 0;
    margin: 10px auto 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    background-color: #E30016;
    color: #fff;
}


#all_form_bg{
    display: none;
    width: 100%;
    height: 100%;
    min-width: 400px;
    min-height: 500px;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
#all_form{
    background-color: #fff;
    width: 400px;
    padding: 10px 0 20px;
    left: 50%;
    top: 50%;
    position: absolute;
    margin-top: -175px;
    margin-left: -200px;
    background-color: #f2f2f2;
}

#all_form_exit{
    position: absolute;
    right: 10px;
    top: 10px;
    color:#4d4d4d;
    cursor: pointer;
    padding: 3px 5px 3px 5px;
    border-radius: 5px;
    transition : .3s all;
}
#all_form_exit:hover{
    color:#fff;
    background-color: #4d4d4d;

}
#all_form_title{
    color: #4d4d4d;
    font-size: 26px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;
    width: 300px;
    margin: 0 auto 7px;
    line-height: 115%;
}


#all_form input[type="text"]{
    display: block;
    width: 280px;
    margin: 0 auto;
    border: 2px solid #ccc;
    height: 40px;
    margin-bottom: 15px;
    padding: 0 10px 0 10px;
    font-size: 18px;
    border-radius: 0;
    background-color: #fff;
    outline: none;
}
#all_form textarea{
    height: 80px;
    padding-top: 7px;
}
#all_form input[type="submit"]{
    border: none;
    width: 280px;
    padding: 0;
    margin: 0 auto;
    display: block;
    height: 45px;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    border-radius: 0;
    background: #EB4300;
    box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

#all_form input[type="submit"]:hover{
    background: #bf0013;
}

.menu_header{
    background: #eee;
}
.menu_header ul{
    list-style: none;
    display: flex;
    margin: 0;
    padding: 10px 0;
    justify-content: space-around;
}
.menu_header ul a{
    text-decoration: none;
    font-size: 18px;
}
.menu_header ul li{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
}
.menu_header ul span{
    font-size: 14px;
    color:#888;
}
 
.video_flat .inner, .img_flat .inner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.img_flat{
    padding-top: 40px;
}
.img_flat .inner div{
     display: flex;
    justify-content: space-between;
}
.img_gallery_block2{
    flex-wrap: wrap;
}
.img_gallery_block2{
    flex-basis: 60%;
}
.img_description{
    display: flex;
    flex-basis: 38%;
    flex-direction: column;
    line-height: 1.4em;
    font-size: 18px;
}
.img_gallery_block2 img {
    display: flex;
    align-content: center;
    width: 48.7%;
    height: 200px;
    transition: .3s all;
    cursor: pointer;
}


/*.ymaps-2-1-53-map ymaps:after, .ymaps-2-1-53-map ymaps:before*/