/* CLEARFIX */
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; clear: both; }
/* start commented backslash hack \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* close commented backslash hack */

.agent{
	display:inline-block;
	margin:10px 3% 10px 0;
	width:27%;
	vertical-align:top;
}

.agent_thumb{
	width:100%;
	/*height:380px;*/
}

.agent_details{
	background:#ccc;
	padding:5px;
}

.agent_details h3{
	font-size:16px;
	text-transform:uppercase;
	color:#001e43;
	margin-bottom:0px!important;
}

.agent_postition{
	display:block;
	margin-bottom:8px;
}

.agent_details_white_block{
	display:block;
	width:100%;
	background:#fff;
	padding:5px 6px;
	margin:0px 0px 4px 0px;
}

.agent_details_white_block.alignleft, .agent_details_white_block.alignright{
	float:none!important;
	margin:0px 0px 4px 0px;
}

.agent_details_white_halfblock{
	display:block;
	width:49%;
	background:#fff;
	padding:5px 6px;
	margin:0px 0px 4px 0px;
}

.agent_details button{
	display:block;
	width:100%;
	color:#fff;
	text-transform:uppercase;
	padding:5px 0;
	margin:2px 0;
	background:#009fe4;
	border:none;
	border-radius:0;
	transition:all 0.2s;
}

.agent_details button:hover{
	background:#001e43;
	cursor:pointer;
	transition:all 0.2s;
}

.agent_profile{
	display:inline-block;
	margin:10px 0;
	width:70%;
	vertical-align:top;
}

/* RESPONSIVE LAYOUT */

@media(max-width:550px){
	#profile_view_button, #listings_view_button, #solds_view_button{
		font-size:13px;
	}
}

@media(max-width:480px){
	.agent{
		width:100%;
		margin:10px 0;
		background:#cccccc;
	}
	.agent_thumb{
		float:left;
		width:40%;
	}
	.agent_details{
		float:right;
		width:60%;
	}

	.agent_profile{
		margin:10px 0;
		width:100%;
	}

	#profile_view_button, #listings_view_button, #solds_view_button{
		font-size:12px;
	}
}

button:focus{
	outline:0;
}

.listings_found{
	display:block;
	color:#fff;
	background:#001e43;
	font-size:18px;
	padding:10px 20px;
	text-transform:uppercase;
	margin-bottom:-2px;
}

.listing_feature{
	color:#009fe4;
	font-weight:bold;
	font-size:16px;
	margin-right:10px;
}

.listing_listing{
	margin-top:10px;
	margin-bottom:20px;
	padding-bottom:20px;
	border-bottom:solid 3px #000;
}

.listing_thumb{
	float:left;
	width:32%;
}

.listing_details{
	width:65%;
	float:right;
}

.listing_header h3{
	float:left;
	color:#009fe4;
	font-size:16px;
	margin:0;
	text-transform:uppercase;
}

.listing_number{
	float:right;
}

.listing_details hr{
	border-top:none;
	border-bottom:solid 1px #001e43;
}

.listing_openhomes{
	margin-bottom:10px;
}

.listing_details .bold_detail{
	font-size:15px;
	font-weight:bold;
	margin-bottom:0.5em!important;
}

.listing_price_and_link{
	float:left;
	color:#000;
}

.listing_feature_icons{
	float:right;
}

.fa-arrow-circle-right{
	color:#009fe4;
}

.no_listings_message{
	margin:30px 0 0 10px;
}

@media(max-width:460px){
	.listing_thumb{
		float:none;
		width:100%;
	}

	.listing_details{
		width:100%;
		float:none;
	}
	#profile_view_button, #listings_view_button, #solds_view_button{
		width:100%;
		margin:5px 0 0 0;
		font-size:16px;
	}
}

.solds_listing{
	position:relative;
	display:inline-block;
	margin:5px 0.5%!important;
	vertical-align:top;
}

.gallery_details{
	background:#ccc;
	padding:5px 10px 10px 10px;
}

.gallery_details_white_block{
	display:block;
	background:#fff;
	padding:5px 6px;
	margin:2px 0;
}

#soldsview{margin-bottom:20px;}

.sold_image{
	position:relative;
	display:block;
	width:100%;
	overflow:hidden;
}

.sold_address_container{
	position: absolute;
	top: 0;
	left: 0;
	display:flex;
	align-items: center;
	justify-content: center;
	text-align:center;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.5);
	opacity:0;
	transition:0.3s;
}

.sold_address{
	color:#fff;
	font-size:1.5em;
	line-height:1.2em;
	padding:10px;
}

.sold_image:hover .sold_address_container{
	opacity:1;
	transition:0.3s;
}

.sold_banner{
	position:absolute;
	background:#009fe4;
	color:#fff;
	font-size:1.5em;
	padding:6px 20px;
	transform:rotate(-30deg);
	left:5px;
	top:25px;
	font-family:Source Sans Pro, Arial, sans-serif;
	font-weight:bold;
	z-index:9999;
}

.sold_pagination_links{
	display:block;
	clear:both;
	text-align:center;
}

.sort_button{
    background:#001e43;
    color:#fff;
    border:none;
    padding:7px 15px;
    margin:0 15px;
    transition:all 0.2s;
}

.sort_button:hover{
    background:#009fe4;
    color:#000;
    cursor:pointer;
    transition:all 0.2s;
}

/* MAP */

#map .solds_listing{
	display:block;
	width:200px;
	margin:0;
}

#map .sold_image{
	height:150px;
}

/* SOLDS PAGINATION */
.solds_pagination_count {
    text-align: center;
    margin-bottom: 10px;
}

.solds_pagination_navigation {
    text-align: center;
}

.solds_pagination_navigation form {
    display: inline-block;
    margin: 0 10px;
}

.solds_pagination_navigation form button {
    background: #001e43;
    color: #ffffff;
    border: none;
    padding: 4px 15px 7px;
    line-height: 1em;
	transition:0.3s;
}

.solds_pagination_navigation form button:hover {
    background: #009fe4;
    color: #000000;
    cursor:pointer;
	transition:0.3s;
}