@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700,900');
html, body{
	font-size:1em;
	color: inherit;
	font-family: 'Roboto', sans-serif;
	line-height: 1;
	min-height: 100%;
	width: 100%;
}
#container {
    width: 100%;
	min-height:100%;
	position: relative;
	background-color: #333;
}
.center {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
	position:relative;
}
.center:after
{
	content: '';
    display: block;
    clear: both;
}
.clear:after
{
	content: '';
    display: block;
    clear: both;
}

.add{
	background-color:#64A4DD;
	font-size:.9em;
}
.add a{
	padding-left:60px;
	color:#fff;
}
.add a:after{
	content:'';
	background-image:url(/assets/img/design/plus.png);
	background-position:center;
	background-size:contain;
	background-size:30px;
	background-repeat:no-repeat;
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	width:45px;
	background-color:#0071BC;
}
.blue_btn:hover{
	background-color:#0071BC!important;
}
.blue_btn:active{
	background-color:#64A4DD!important;
}

.b_b_t:hover, .b_b_t.active{
	color:#64A4DD!important;
}
.realty_block{
	background-color:#fff;
	height:305px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}
.realty_block .img{
	overflow:hidden;
}
.realty_block .img img{
	width: 100%;
    height: 100%;
    object-fit: cover;
}
.realty_block .img span{
	color:#fff;
	font-weight:bold;
}
.realty_block .img span:nth-child(2){
	top:10px;
	left:10px;
	background-color:rgba(100, 164, 221, 0.95);
}
.realty_block .img span:nth-child(3){
	top:66px;
	left:10px;
	background-color:rgba(242, 103, 52, 0.95);
}
.realty_block .img span:nth-child(4){
	top:122px;
	left:10px;
	background-color:rgba(76, 175, 80, 0.95);
}
.realty_block .text h3{
	font-size:.9em;
	font-weight:600;
	line-height:1.1;
	height:30px;
	overflow:hidden;
}
.realty_block .text .city{
	font-size:.8em;
	padding:5px 0;
	margin-bottom:10px;
}
.realty_block .text .price{
	font-size:.9em;
	line-height:1.3;
}
.realty_block .text .price b{
	color:#64A4DD;
	font-weight:600;
	font-size:2em;
}
.realty_block .text .spec{
	text-align:right;
	font-size:.8em;
	line-height:1.45;
}
.realty_block .text p{
	width:100%;
	display:block;
	float:left;
	font-size:.8em;
	line-height:1.3;
	margin-top:15px;
	height:105px;
	margin-bottom:15px;
}
.realty_block .text a{
	float:right;
	color:#fff;
	background-color:#F26734;
	text-transform:uppercase;
	font-size:1.1em;
	padding:8px 20px;
	margin-top: 5px;
	font-weight: 700;
	border-radius: 4px;
	box-shadow: 0 4px 0 #bf4d24;
	transition: all 0.2s;
}
.realty_block .text a:hover{
	background-color:#ff7a4d;
	box-shadow: 0 4px 0 #d95629;
	color:#fff;
}
.realty_block .text a:active{
	transform: translateY(2px);
	box-shadow: 0 2px 0 #d95629;
}
.realty_block .date{
    bottom: 15px;
    right: 50px;
    font-size: .7em;
    color: #a0a0a0;
}
.modal_wrapper{
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(0, 0, 0, 0.8);
	z-index:9999;
	display:none;
}
.modal_wrapper .modal_body a.close{
	position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5em;
    color: #fff;
    background-color: #64A4DD;
    border-radius: 30px;
    padding: 5px 10px;
}
.modal_wrapper .modal_body{
	position:absolute;
	background-color:#fff;
	padding:15px;
	width:500px;
	height:400px;
	margin:auto;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.modal_wrapper .modal_body input, .modal_wrapper .modal_body textarea{
	width:100%;
	padding:10px 15px;
	border:1px solid #ddd;
	margin:5px 0;
}
.modal_wrapper .modal_body textarea{
	height:125px;
	resize:none;
	font-family: 'Roboto', sans-serif;
}
.modal_wrapper .modal_body h4{
	padding:15px;
	text-align:center;
	font-size:1.2em;
}
.modal_wrapper .modal_body .blue_btn{
    background-color: #64A4DD;
    border-radius: 15px;
    padding: 10px 35px;
    display: inline-block;
    text-transform: uppercase;
    font-size: .9em;
    font-weight: 700;
	cursor:pointer;
	color:#fff;
}