body
{
	margin: 0 auto 0 auto;
}

body *
{
	font-family: Roboto, Arial, Sans-Serif;
	font-size: 16px;
}

h1, h2 ,h3
{
	font-family: Oswald; font-weight: normal;
}

h1{ font-size: 32px; color: #002255; font-weight: bold}
h2{ font-size: 22px; color: #FE3B3B;}
h3{ font-size: 18px; color: #333}

a{ color: #012255; text-decoration: none; }
a:hover{ color: #D7251B; }

img{ border: 0 }

table
{
	width: 100%;
}

table, td
{
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	padding: 0;
	vertical-align: top;
}

#header, #content,  #header-blocks .container,
#center-blocks, #content-blocks,
#footer .container, #footer-blocks
{
	max-width: 1200px;
	margin: 0 auto 0 auto;
}

#header-container
{
	background: transparent url(images/bg2.png) repeat-x left top;
}

#header .logo
{
	width: 253px;
}

#header .logo a
{
	position: absolute;
	z-index: 9999;
}

#header .top-menu
{
	padding-left: 20px;
}

#header .top-menu .container
{
	display: table;
	width: 100%;
}

#header .top-menu ul
{
	display: table-row;
}

#header .top-menu ul li
{
	display: table-cell;
	text-align: center;
	list-style: none;
	padding: 10px 10px 10px 10px;
	vertical-align: middle;
}

#header .top-menu ul li.haschilds a
{
	background: transparent url(images/dmenu.png) no-repeat right center;
	padding-right: 15px;
}

#header .top-menu ul li a
{
	color: #00317C;
	padding: 10px;
	transition: all 0.3s;
	font-size: 17px;
	font-weight: bold;
}

#header .top-menu ul li a:hover,
#header .top-menu ul li a.active
{
	color: #fff;
	padding: 20px;
	border-radius: 7px;
}

#header .top-menu ul li a:hover
{
	background-color: #002255;
}

#header .top-menu ul li a.active
{
	background-color: #D7251B;
}

#header .top-menu ul li.first a
{
	font-size: 13px;
	background: #fff url(images/home.png) no-repeat center 20px;
	padding: 45px 20px 5px 20px;
	width: 29px;
	height: 24px;
	display: block;
	border: solid 2px #95bcc0;
	border-radius: 0px;
    text-align: center;
}

#header .top-menu ul li.first a.active, #header .top-menu ul li.first a:hover
{
    color: #00317C;
}

#header .top-menu ul ul
{
	min-width: 175px;
	display: block;
	margin: 0;
	padding: 0;
}

#header .top-menu ul ul li.first a
{
	background: none;
	display: block;
	font-size: 14px;
	width: auto;
	height: auto;
}

#header .top-menu ul ul,
#header .top-menu ul ul li,
#header .top-menu ul ul li a
{
	display: block;
	background-color: #CCDBE2;
	background-color: rgba(204, 219, 226, 0.8);
}

#header .top-menu ul ul li a
{
	padding: 10px;
	text-align: left;
	font-weight: normal;
	text-transform: none;
}

#header .top-menu ul li.haschilds ul a
{
	background: none;
	border: 0;
	font-size: 16px;
	margin: 0;
	padding: 10px;
}

#header .top-menu ul li.haschilds ul a:hover,
#header .top-menu ul li.haschilds ul a.active
{
	background-color: #002255;
	color: #fff;
}

#header-blocks
{
	background: transparent url(images/header-blocks.jpg) repeat-x left top;
	margin-bottom: 20px;
	background-size: contain;
}

#center-blocks
{
	margin-bottom: 15px;
}

#center-blocks .block
{
	display: inline-block;
	width: 49%;
	vertical-align: top;
	background: transparent url(images/block-title.png) no-repeat right top;
	border-bottom: solid 2px #002255;
}

#center-blocks .block .title
{
	color: #002255;
	font-size: 28px;
	padding: 7px;
	font-family: Roboto Condensed;
	font-size: 32px;
}

#center-blocks .block .content
{
	padding: 7px 0 0 7px;
	vertical-align: bottom;
}

#center-blocks .block .sub-content
{
	min-height: 180px;
}

#content
{
	margin-bottom: 15px;
}

#content h1
{
	padding-top: 0px;
	margin-top: 0px;
}

#content .left-blocks,
#content .right-blocks
{
	width: 250px;
}

#content .left-blocks .block,
#content .right-blocks .block
{
	margin-bottom: 9px;
}

#content .left-blocks .block .title,
#content .right-blocks .block .title
{
	padding: 9px;
	background-color: #002255;
	color: #fff;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

#content .left-blocks .block .content,
#content .right-blocks .block .content
{
	padding: 9px;
}

#content .left-blocks .block ul,
#content .right-blocks .block ul,
#content .left-blocks .block ul li,
#content .right-blocks .block ul li
{
	display: block;
	padding: 0;
	margin: 0;
	list-style: none;
}

#content .left-blocks .block ul li a,
#content .right-blocks .block ul li a
{
	color: #D7251B;
	display: block;
	padding: 7px;
	border-bottom: dotted 1px #CBD9E0;
}

#content .center
{
	padding: 0 10px 0 10px;
}

#footer
{
	background: transparent url(images/bg2.png) repeat left top;
}

#footer .container
{
	padding-top: 15px;
	padding-bottom: 15px;
}

#footer .left
{
	float: left;
}

#footer .right
{
	float: right;
}

#footer .copyright
{
	color: #002255;
	font-weight: bold;
	font-size: 13px;
	padding-bottom: 20px;
}

#footer .copyright a
{
	font-size: 13px;
	color: #D7251B;
}

#footer .section
{
	display: inline-block;
	vertical-align: top;
	margin-right: 35px;
}

#footer ul, #footer ul li
{
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul li a
{
	color: #D7251B;
	text-transform: uppercase;
	font-size: 13px;
}

#footer .social
{
	padding-bottom: 20px;
}

#footer .social a
{
	opacity: 0.8;
	transition: all 0.3s;
	font-weight: bold;
}

#footer .social a:hover
{
	opacity: 1;
}

#footer .developer
{
	color: #3B3B3C;
	font-size: 13px;
	text-align: center;
}

#footer .developer a
{
	color: #002255;
	font-weight: bold;
	font-size: 12px;
}

table.featured-listing-custom td
{
	padding: 0 0 15px 0px;
	text-align: left;
}

table.featured-listing-custom .capsule
{
	transition: all 0.5s;
	background-color: transparent;

}

table.featured-listing-custom .capsule:hover
{
	background-color: #000;
	background-color: rgba(0,0,0,0.5);
}

table.featured-listing-custom .location
{
	padding: 7px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	background-color: #D7251B;
	display: inline-block;
}


/* Forms */

.description { padding-top: 5px; }
.description span { font-size: 13px; color: #555; }

/* PROPERTIES SEARCH RESULTS */

.realty-listing-results thead td
{
	background-color: #F6F3B1;
	color: #BE990C;
	border: solid 1px #BE990C;
	padding: 6px 10px 6px 10px;
	text-align: center;
	vertical-align: middle;
	height: 45px;
	font-weight: bold;
	font-size: 14px;
}

.realty-listing-results td
{
	border-bottom: dotted 1px #BE990C;
	padding: 5px;
	font-size: 14px;
}

.realty-listing-results img
{
	border: solid 1px #ccc;
	padding: 3px;
}

.realty-listing-results img:hover
{
	background-color: #EAA734;
}

.blog-post-full .thumbnail img
{
	width: 60px;
	height: 80px;
}

#rsearch-title
{
	background: url('images/propiedades.jpg') no-repeat top left;
	padding: 50px 0 50px 0;
	text-align: center;
	margin-top: 0;
}

#rsearch-title h1
{
	margin-top: 0;
}

.blog-post-full .thumbnail img
{
	width: 100px;
	height: 100px;
}

#realty-listing
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#realty-listing .property-result
{
    margin-bottom: 15px;
    transition: all 0.3s;
    border: solid 1px transparent;
    padding: 3px;
}

#realty-listing .property-result:hover
{
    border: solid 1px #000;
}

#realty-listing .property-result .image a
{
    display: block;
    width: 380px;
    height: 275px;
    transition: all 0.3s;
}

#realty-listing .property-result .image a div
{
    display: none;
    width: 380px;
    height: 275px;
    padding-top: 20px;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease-in;
}

#realty-listing .property-result .image a:hover div
{
    display: block;

}

#realty-listing .property-result .image a div:hover
{
    background-color: rgba(1,34,85,0.7);
    padding-top: 60px;
}

#realty-listing .property-result .image
{
    transition: all 1s ease-in;
}

#realty-listing .property-result .location
{
    color: #333;
    font-size: 18px;
    max-width: 380px;
}

#realty-listing .property-result .cost
{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-top: solid 2px #d3d3d3;
    margin-top: 10px;
    background-color: #D7251B;
    color: #fff;
}


/* PROPIEDADES DESTACADAS */


.listing-block-container
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.listing-block-container .listing-block
{
    margin-bottom: 10px;
    transition: all 0.3s;
    border: solid 2px transparent;
    padding: 5px;
}

.listing-block-container .listing-block:hover
{
    border: solid 2px #0055A1;
}

.listing-block-container .list-image
{
    float: none;
}

.listing-block-container .list-title
{
    display: block;
    padding: 7px 0 7px 0;
}

.listing-block-container .list-title a
{
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

.listing-block-container .list-pueblo
{
    text-align: right;
    margin-top: -33px;
}

.listing-block-container .list-pueblo span
{
    color: #fff;
    text-transform: uppercase;
    background-color: #D7251B;
    padding: 7px;
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
}

.listing-block-container .property-details
{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 5px;
}

.listing-block-container .property-details > div
{
    padding-right: 10px;
}

.listing-block-container .property-details span
{

    color: #666666;
    font-size: 12px;
}

.listing-block-container .price-view
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-block-container .price-view .list-price
{
    padding: 2px 0px;
    font-size: 13px;
    color: #666666;
}

.listing-block-container .price-view .list-price span
{
    font-weight: bold;
    font-size: 18px;
    color: #012255;
}

.listing-block-container .price-view .list-view-more a
{
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    padding-left: 10px;
    font-size: 13px;
}

/*Tabs*/

.tabs li a
{
    display: block;
    padding: 5px;
    border: solid 1px #2A7FFE;
    margin: 0 3px 3px 0;
    color: #2A7FFE;
    font-size: 14px;
    background-color: #fff;
}

.tabs li a:hover
{
    border: solid 1px #146FC0;
    background-color: #146FC0;
    color: #fff;
}

.tabs li a.selected
{
    background-color: #000063;
    border: solid 1px #000063;
    color: #ffffff;
}

form.search select
{
    min-width: 150px;
}

.head-spacer
{
	height: 50px;
}

@media all and (max-width: 920px)
{
	.head-spacer
	{
		height: 0px;
	}
}
