/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #56544f;
	font-size:14px;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

img {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	font-weight:300;
	line-height:1.3em;
}
strong {
	font-weight:500;
	color:#242018;
}
div {
	position:relative;
}
h1 {
	font-size:1.7em;
	line-height:1.4em;
	font-weight:400;
	color:#242018;
	margin:0;
	padding:0;
}
a:link {
	color:#ec9e2e;
	text-decoration:none;
}
a:visited {
	color:#ec9e2e;
	text-decoration:none;
}
a:hover {
	color:#dc8406;
	text-decoration:none;
}
a:active {
	color:#ec9e2e;
	text-decoration:none;
}
#wrapper {
	width:100%;
	min-width:1000px;
}
#header {
	width:940px;
	height:110px;
	margin:0 auto;
	background:#fff;
}
#header #logo {
	float:left;
	display:inline;
	width:180px;
	height:70px;
	margin:20px 0 0 40px;
	background:transparent url('../img/andaluz.png') top left no-repeat;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
	#header #logo {
		background-image: url('../img/andaluz@2x.png');
		background-size:180px 70px;
	}
}
#social {
	position:absolute;
	width:130px;
	height:14px;
	right:70px;
	top:0;
	background-color:#f7f6f6;
	border:solid 1px #ebe8e0;
	padding:4px 10px 6px 10px;
	font-size:0.8em;
}
#social img {
	float:left;
	margin-right:8px;
}
#social a:link {color:#56544f;}
#social a:visited {color:#56544f;}
#social a:hover {color:#56544f;}
#social a:active {color:#56544f;}
#language {
	position:absolute;
	width:62px;
	height:14px;
	right:0;
	top:0;
	background-color:#f7f6f6;
	border:solid 1px #ebe8e0;
	padding:1px 0px 9px 10px;
}
#language img {margin-right:9px;}
#menu {
	position:absolute;
	top:70px;
	right:0;
}
#menu a {
	margin-left:20px;
	font-size:1em;
}
#menu a:link {color:#56544f;}
#menu a:visited {color:#56544f;}
#menu a:hover {color:#242018;}
#menu a:active {color:#56544f;}
#main_container {
	width:100%;
	margin:0 auto;
	padding:30px 0;
	background:#fff url('../img/bg_main_container.jpg') top center no-repeat;
}
#hero_container {
	width:100%;
	margin:0;
	overflow-x:hidden;
	background:#fff url('../img/bg_main_container.jpg') top center no-repeat;
}
#main_content {
	width:940px;
	margin:0 auto;
}
#main_hero {
	max-width:1280px;
	height:470px;
	margin:30px auto;
	background-position:top center;
	background-repeat:no-repeat;
}
#main_hero #hero_message {
	float:right;
	display:inline;
	margin-top:250px;
}
#main_hero #hero_message p {
	margin:1px 0;
	line-height:56px;
	text-align:right;
}
#main_hero #hero_message p span {
	background:rgba(255, 255, 255, 0.95);
	font-size:37px;
	padding:6px 30px 10px 15px;
	font-weight:100;
}
#home_search_container {
	width:900px;
	margin:0px auto;
	padding:80px 20px;
}
#left_container {
	float:left;
	display:inline;
	width:300px;
	margin:0px 20px 0 0;
}
#search_container {
	width:260px;
	height:310px;
	background-color:#fff;
	padding:19px;
	border:solid 1px #ebe8e0;
	margin-bottom:30px;
}
#main {
	float:left;
	display:inline;
	width:580px;
	background-color:#fff;
	margin:0 auto;
	padding:19px;
	border:solid 1px #ebe8e0;
	overflow-x:hidden;
}
#gallery {
	margin:0 -19px;
	width:598px;
	height:508px;
	padding-left:19px;
	border-bottom:solid 1px #ebe8e0;
}
#property_details {
	padding:20px 0 0;
}
#property_description {
	float:left;
	display:inline;
	width:390px;
}
#property_data {
	float:left;
	display:inline;
	width:160px;
	margin:0.6em 0 0 30px;
}
#property_details h3{
	display: block;
font-size: 1.0em;
line-height: 1.1em;
font-weight: 400;
color: #242018;
margin: 0 0 10px 0;
padding: 0;
}
#property_data .property_data_block {
	width:180px;
	margin-right:-20px;
	padding:4px 0;
	padding-right:10px;
	border-bottom:solid 1px #ebe8e0;
	font-size:0.9em;
}
#property_data .property_data_label {
	float:left;
	display:inline-block;
	padding-right:6px;
}
#property_data .property_data_block span {
	float:left;
	display:inline-block;
	font-weight:500;
}
#property_features {
	padding:15px 0 0 0;
}
#property_features .feature {
	font-size:0.9em;
	background:transparent url('../img/bg_property_feature.png') 1px 4px no-repeat;
	padding-left:16px;
}
#search_main {
	float:left;
	display:inline;
	width:620px;
	margin:0 auto;
}
.search_result_box {
	width:578px;
	padding:19px;
	margin-bottom:10px;
	background-color:#fff;
	border:solid 1px #ebe8e0;
	cursor:pointer;
}
.search_result_image {
	float:left;
	display:inline;
	margin-right:20px;
}
.search_result_box h2 {
	display:block;
	font-size:1.0em;
	line-height:1.1em;
	font-weight:400;
	color:#242018;
	margin:0 0 10px 0;
	padding:0;
}
.search_result_description {
	float:left;
	display:inline;
	width:280px;
}
.search_result_description p {
	font-size:0.9em;
	line-height:1.2em;
	margin:0;
	padding:0;
}
.search_result_data {
	float:left;
	display:inline;
	font-size:1em;
	width:148px;
	margin:-6px -20px 0 20px;
}
.search_result_data_block {
	width:147px;
	margin-right:-18px;
	padding:2px 0;
	padding-right:10px;
	border-bottom:solid 1px #ebe8e0;
	font-size:0.9em;
}
.search_result_data_label {
	float:left;
	display:inline-block;
	padding-right:6px;
}
.search_result_data_block span {
	float:left;
	display:inline-block;
	font-weight:500;
}
.search_result_link {
	font-size:0.9em;
	padding:2px 0 0;
}
#subcontent {
	width:940px;
	margin:0 auto;
	padding:30px 0;
}
#sub_container {
	width:100%;
	margin:0;
	overflow-x:hidden;
	background:#fff url('../img/bg_main_container.jpg') top center no-repeat;
}
#sub {
	width:940px;
	margin:0 auto;
	padding:30px 0;
}
.left_content {
	float:left;
	display:inline;
	width:300px;
	margin-right:20px;
}
.main_content {
	float:left;
	display:inline;
	width:620px;
}
.content_box {
	width:258px;
	padding:10px 20px 20px 20px;
	margin-bottom:20px;
	border:solid 1px #ebe8e0;
	font-size:0.9em;
}
.content_box .content_box_header {
	height:20px;
	display: block;
    position: absolute;
    white-space:nowrap;
    top:-10px;
    left:15px;
	padding:0 5px;
	font-weight:500;
	font-size:1.1em;
	color:#242018;
	background:#fff;
}
.content_box .content_box_header.fade {
	background: transparent url('../img/bg_content_box_header.jpg') top left repeat-x;
}
.content_box.blog {
	margin-top:27px;
}
.content_box .share img {
	margin:10px 10px 0 0;
}
.content_box .similar_property {
	padding:10px 20px 0 20px;
	width:258;
	margin:10px -20px;
	border-top:solid 1px #ebe8e0;
}
.content_box .similar_property.first {
	border-top:none;
	padding-top:0;
}
.content_box .similar_property .similar_property_title {
	font-size:1em;
	font-weight:400;
	padding:3px 0;
	margin-bottom:3px;
	border-bottom:solid 1px #ebe8e0;
}
.content_box .similar_property .similar_property_details {
	font-size:1em;
	font-weight:300;
}
.feature_box {
	width:258px;
	border:solid 1px #ebe8e0;
	padding:20px;
	float:left;
	display:inline;
	margin-right:20px;
	cursor:pointer;
}
.feature_box.last {
	margin-right:0;
}
.feature_box .feature_image {
	width:298px;
	height:170px;
	margin:-20px -20px 20px -20px;
}
.feature_box .feature_title {
	font-weight:500;
	font-size:1.1em;
	color:#242018;
	padding-bottom:5px;
	border-bottom:solid 1px #ebe8e0;
	margin-bottom:4px;
}
.feature_box .feature_details {
	font-weight:400;
	font-size:0.9em;
	padding-bottom:5px;
	border-bottom:solid 1px #ebe8e0;
	margin-bottom:21px;
}
.feature_box .feature_details span {
	font-weight:500;
	color:#242018;
	margin:0 13px 0 3px;
}
.feature_box .feature_description {
	font-size:0.9em;
}
.hover_box:hover {
	border-color:#d7d3c7;
	-webkit-box-shadow: 0px 0px 3px 1px rgba(235, 232, 224, 0.7);
	box-shadow: 0px 0px 3px 1px rgba(235, 232, 224, 0.7);
}
.hover_box:active {
	border-color:#fff;
	background-color:#f4f3ee;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#footer_container {
	width:100%;
	min-height:300px;
	margin:0;
	padding:30px 0;
	background:#fff url('../img/bg_footer_container.jpg') top center no-repeat;
}
#footer {
	width:940px;
	margin:0 auto;
}
.footer_box {
	width:898px;
	padding:15px 20px 0px 20px;
	margin-bottom:30px;
	border:solid 1px #ebe8e0;
	font-size:0.9em;
}
.footer_box .footer_box_header {
	height:20px;
	display: block;
    position: absolute;
    white-space:nowrap;
    top:-10px;
    left:15px;
	padding:0 5px;
	font-weight:500;
	font-size:1.1em;
	color:#242018;
	background:#fff;
}
.footer_box .footer_box_header.fade {
	background: transparent url('../img/bg_footer_box_header.jpg') top left repeat-x;
}
.footer_box .footer_box_phones {
	width:260px;
	float:left;
	display:inline;
	margin-right:60px;
	margin-top:20px;
}
.footer_box .footer_box_form {
	width:560px;
	float:left;
	display:inline;
	padding-bottom:20px;
}
.footer_box .footer_box_form .form_col1 {
	width:260px;
	float:left;
	display:inline;
	margin-right:40px;
}
.footer_box .footer_box_form .form_col1 input {
	width:250px;
	padding:4px;
	height:22px;
	margin-bottom:5px;
	border:solid 1px #e3e0d7;
	-webkit-appearance: none;
	border-radius: 0;
}
.footer_box .footer_box_form .form_col2 {
	width:260px;
	float:left;
	display:inline;
}
.footer_box .footer_box_form .form_col2 .textarea {
	width:250px;
	padding:4px;
	height:82px;
	margin-bottom:28px;
	border:solid 1px #e3e0d7;
	resize: none;
	-webkit-appearance: none;
	border-radius: 0;
}
.footer_box .footer_box_form .form_col2 input.submitbutton {
	padding:0;
	height:30px;
	width:260px;
	border:none;
	-webkit-appearance: none;
	border-radius: 0;
}
.footer_box .footer_box_form label {
	clear:both;
	display:block;
	margin-bottom:5px;
}
.contact_name {
	width:120px;
	padding:6px 0;
	padding-right:10px;
	float:left;
	display:inline;
	border-bottom:solid 1px #e3e0d7;
}
.contact_number {
	width:130px;
	padding:6px 0;
	text-align:right;
	font-weight:500;
	float:left;
	display:inline;
	border-bottom:solid 1px #e3e0d7;
}
#credits {
	width:940px;
	margin:10px auto;
	font-size:0.8em;
}


/*SEARCH BOX*/
#search_box {
	width:260px;
	height:310px;
	background-color:#ffb000;
	overflow:hidden;
}
.submitbutton {
	width:220px;
	height:30px;
	background:#242018 url('img/bg_submit.png') top left repeat-x;
	border:none;
	font-size:14px;
	font-weight:500;
	color:#fff;
	-webkit-appearance: none;
	border-radius: 0;
}
.search_shadow {
	-webkit-box-shadow:  0px 0px 30px 1px rgba(0, 0, 0, 0.2);
	box-shadow:  0px 0px 30px 1px rgba(0, 0, 0, 0.2);
}
ul.tabs {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	height: 32px;
	width: 100%;
}
ul.tabs li {
	float: left;
	display:inline-block;
	margin: 0;
	padding: 0;
	height: 40px;
	width:130px;
	line-height: 40px;
	overflow: hidden;
	background:#ffb000 url('../img/bg_tab.png') top left repeat-x;
}
ul.tabs li.active {
	background:#ffb000 url('../img/bg_tab_active.png') top left repeat-x;
}
ul.tabs li.active a {
	text-decoration: none;
	display: block;
	font-size: 1em;
	font-weight:500;
	color:#292824;
	text-align:center;
	padding: 0;
	outline: none;
}
ul.tabs li a {
	text-decoration: none;
	display: block;
	font-size: 0.9em;
	font-weight:400;
	color:#9e7100;
	text-align:center;
	padding: 0;
	outline: none;
}
.tab_container {
	position:relative;
	clear: both;
	float: left; 
	width: 260px;
}
.tablinks {
	position:absolute;
	width:280px;
	top:0px;
	left:0px;
	height: 40px;
	z-index:999;
}
.tab_content {
	width: 220px;
	height:250px;
	padding:47px 20px 10px 20px;
	font-size:0.8em;
	color:#292824;
}
#search-rentals {
	background:#ffb000;	
}
#search-sales {
	background:#ffb000;	
}
.input_header {
	height:16px;
	overflow:hidden;
}
#search_location {
	position:relative;
	float:left;
	display:inline-block;
	padding:0;
	width:220px;
	z-index:1;
}
.searchlocation {
	width:220px;
	height:26px;
	margin-top:3px;
	margin-bottom:7px;
	border:solid 1px #e3e0d7;
	font-size: 1.1em;
	border-radius: 0;
	background:#fff !important;
}
#search_rentaltype {
	float:left;
	display:inline-block;
	padding:0;
	width:70px;
	margin-right:5px;
}
#search_rentaltype.last {margin-right:0;}
.smallinput {
	width:70px;
	height:26px;
	margin-top:3px;
	margin-bottom:7px;
	border:solid 1px #e3e0d7;
	font-size: 1.1em;
	border-radius: 0;
	background:#fff !important;
}
#search_propertytype {
	float:left;
	display:inline-block;
	padding:0;
	width:70px;
	margin-right:5px;
}
#search_beds {
	float:left;
	display:inline-block;
	padding:0;
	width:70px;
}
#search_pricemin {
	float:left;
	display:inline-block;
	padding:0;
	width:70px;
	margin-right:5px;
}
#search_pricemax {
	float:left;
	display:inline-block;
	padding:0;
	width:70px;
	margin-right:5px;
}
#search_reference {
	clear:both;
	display:block;
	width:220px;
	height:50px;
	margin-bottom:10px;
}
.searchreference {
	height: 20px;
	width: 212px;
	padding:2px 4px 2px 4px;
	border:none;
	border-top:solid 1px #f2f2f3;
	font-size: 1.1em;
	margin-top:3px;
	-webkit-appearance: none;
	border-radius: 0;
}
#search_button {
	width:220px;
	height:30px;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 100%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow:none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}