/** Real Estate
 **************************************************************** **/
/* slider caption */
.realestate-caption {
	background-color:rgba(255,255,255,0.9);
	padding:20px;
}
.realestate-caption h4 {
	color:#333 !important;
	margin:0 !important;
}
.realestate-caption p {
	background-color:transparent !important;
	padding:10px 0 0 0 !important;
	color:#888 !important;
}
.realestate-caption .price {
	display:block;
	color:#e6252d !important;
	font-size:28px;
	font-weight:bold;
	padding:10px 0 0 0 !important;
}
.realestate-caption .price-old {
	color:#999 !important;
	text-decoration:line-through;
	font-size:20px;
	font-weight:300;
}

/*
	@FILTER BOX
	- search -
*/
.re-filterbox {
	background-color:#fff;
	padding:30px 20px;
	display:block;
	margin-bottom:40px;
}
.re-filterbox.top {
    margin-top:30px;
    position:relative;
    z-index:150;
    border:#F3F4F6 10px solid;

    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
}
.re-filterbox.no-top {
	margin-top:-100px;
	position:relative;
	z-index:150;
	border:#F3F4F6 10px solid;

	-webkit-border-radius: 16px;
	   -moz-border-radius: 16px;
			border-radius: 16px;
}

.item-box h4 {
	font-size:18px;
	line-height:23px;
}
.item-box small {
	font-size:16px;
	font-weight:800;
}

/* custom form */ 
#re-filter .form-control {
	height:40px;
	line-height:40px;
	padding:6px;
}

#re-filter select {
	cursor:pointer;
}

/* icons */
.bed-ico {
	background:url('../images/icon/realestate/small/bed-ico.png') no-repeat;
	display:inline-block;
	width:16px; height:16px;
}
.furnished-ico {
	background:url('../images/icon/realestate/small/furnished-ico.png') no-repeat;
	display:inline-block;
	width:16px; height:16px;
}
.garage-ico {
	background:url('../images/icon/realestate/small/garage-ico.png') no-repeat;
	display:inline-block;
	width:16px; height:16px;
}
.home-ico {
	background:url('../images/icon/realestate/small/home-ico.png') no-repeat;
	display:inline-block;
	width:16px; height:16px;
}

figure.agent-figure.pull-left {
	margin-right:30px;
}
figure.agent-figure.pull-right {
	margin-left:30px;
}



/** Responsive
 **************************************************************** **/
@media only screen and (max-width: 768px) {

}

@media only screen and (max-width: 479px) {

}


/* Corner ribbon */
.ribbon-wrapper {
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1000;
}

.ribbon-wrapper-sold {
	width: 85px;
	height: 88px;
	overflow: hidden;
	position: absolute;
	top: 70px;
	right: 12px;
	z-index: 1000;
}

.ribbon {
    font: bold 15px Sans-Serif;
    color: #333;
    text-align: center;
    text-shadow: rgba(255,255,255,0.5) 0px 1px 2px;
    -webkit-transform: rotate(45deg);
    -moz-transform:    rotate(45deg);
    -ms-transform:     rotate(45deg);
    -o-transform:      rotate(45deg);
    position: relative;
    padding: 7px 0;
    left: -5px;
    top: 15px;
    width: 120px;
    background-color: #DC7A7A;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#DC7A7A), to(#BF4545));
    background-image: -webkit-linear-gradient(top, #DC7A7A, #BF4545);
    background-image:    -moz-linear-gradient(top, #DC7A7A, #BF4545);
    background-image:     -ms-linear-gradient(top, #DC7A7A, #BF4545);
    background-image:      -o-linear-gradient(top, #DC7A7A, #BF4545);
    color: #FFFFEC;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
    box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}

/*
.realestate-listing .ribbon-wrapper {
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1000;
}

.realestate-listing .ribbon {
    font: bold 24px Sans-Serif;
    color: #333;
    text-align: center;
    text-shadow: rgba(255,255,255,0.5) 0px 1px 2px;
    -webkit-transform: rotate(45deg);
    -moz-transform:    rotate(45deg);
    -ms-transform:     rotate(45deg);
    -o-transform:      rotate(45deg);
    position: relative;
    padding: 10px 0;
    left: -5px;
    top: 15px;
    width: 120px;
    background-color: #DC7A7A;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#DC7A7A), to(#BF4545));
    background-image: -webkit-linear-gradient(top, #DC7A7A, #BF4545);
    background-image:    -moz-linear-gradient(top, #DC7A7A, #BF4545);
    background-image:     -ms-linear-gradient(top, #DC7A7A, #BF4545);
    background-image:      -o-linear-gradient(top, #DC7A7A, #BF4545);
    color: #FFFFEC;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
    box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}
*/

.ribbon:before, .ribbon:after {
    content: "";
    border-top:   3px solid #890000;
    border-left:  3px solid transparent;
    border-right: 3px solid transparent;
    position:absolute;
    bottom: -3px;
}

.ribbon:before {
    left: 0;
}
.ribbon:after {
    right: 0;
}