/*
Description: Design style sheet for madeiraestates.com frontend.  
Author:	Jaime Teixeira <webinsert@gmail.com>    
*/

/*
=== Color Scheme === 
Brown: d87f3f
Creme: d6a983
Light Gray: f2f2f2
Dark Grey: 737373
Black: 0b0b0b
*/

/* ==================== GENERAL ==================== */

noscript {
	display: block;
	padding: 1em 0;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #0b0b0b;
	border-bottom: 1px solid #737373;
}

body {
	font-family: 'Raleway', sans-serif;	
	color: #0b0b0b;
	background-color: #fff;	
}

img {
	max-width: 100%;
	height: auto;
}

input,
select {	
	height: 2.5em;
	box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	-webkit-box-sizing: border-box;
  	color: #737373;  
}
input,
textarea {
	border: none;
	background: #f2f2f2;
}

a {
	text-decoration: none;
	color: #d6a983;
}
strong {font-weight: bold;}
small {
	font-size: 0.625em; 
	font-weight: bold;
}

.display-none {display: none !important;}

/* --- Footer --- */

footer h1 {
	margin-bottom: 0.625em;
	font-size: 1rem;
	font-weight: bold;
	color: #d87f3f;
}	
footer a.logo {
	text-align: center;
}
#box-footer-top {background-color: #f2f2f2;}
	#box-footer-top a {		
		font-size: 0.75em;
		font-weight: bold;
		line-height: 2em; 
		color: #737373;
	}

#box-footer-bottom {	
	font-family: helvetica, arial, sans-serif; 
	background-color: #737373;
	color: #f2f2f2;	
}
	#box-footer-bottom p {
		font-size: 0.75em;
		line-height: 1.84em;
	}
	#box-footer-bottom container {
		display: flex;				
	}
#comodo-logo {margin-left: auto;}
p#cimaal {font-size: 0.625em;}		

/* --- Main Menu --- */

.main-menu {
	font-size: 0.9375em;
	padding: 0 0.625em 0 5em;
}	
	.main-menu li a {
		display: inline-block;		
		padding: 0 1em;
		color: #252525;
		font-weight: bold;
		transition-duration: 0.3s;
	}
#box-main-nav .main-menu li.active a,
#box-main-nav .main-menu li a:hover {	
	color: #d87f3f;
}

/* --- Language Menu --- */

.menu-language {font-size: 0.75em;} 
	.menu-language li:first-child {border-right: 1px solid #d87f3f;}
		.menu-language li a {
			padding: 0 5px;
			color: #d87f3f;
		}
		.menu-language li a:hover {color: #737373;}

/* --- Page Heading --- */
	
.page-heading {	
	border-top: 2px solid #D6A983;
	border-bottom: 1px solid #D6A983;
	background-color: #d87f3f;
	overflow: hidden;	
}
.page-heading h1,
.page-heading a {
	display: inline-block;
	padding-left: 0.625rem;
	font-size: 1.25em;		
	color: #fff;		
}
.page-heading h1 {text-transform: uppercase;}
.page-heading a {
	margin-right: 2.5em;
	padding-right: 2.5em;
	font-size: 1em;
	border-right: 1px dashed #e0e0e0;
}
.page-heading a:hover {
	text-decoration: underline;
}

/* --- Pagination --- */

.pagination {
	margin: 2.5em 0 0.625em 1.25em;
	margin: 2.5em auto 0.625em auto;
	padding-right: .625em;
	padding-left: 1.25em;
	text-align: center;	
}
	.pagination a,
	.pagination span {	
		display: inline-block;
		margin-bottom: 0.625em;		
		padding: 0.625em;
		font-family: arial, helvetica;
		white-space: nowrap;
		color: #D87F3F;
		border: 1px solid #e0e0e0;
		background-color: #fff;
	}
	.pagination span {
		color: #e0e0e0;
	}
	.pagination a:hover {
		color: #fff;
		background-color: #D87F3F;
	}
.page {	
	display: inline-block;
}

/* --- Generic --- */

.left {
	float: left;
}
.line {
	display: table;
	margin: 0 auto;
	text-align: center;
	width: 100%;
	height: 4px;
	background: #d87f3f;
	margin-bottom: 4%;
}
.line.line-small {width: 50px;}
.list {	
	margin-top: 5em;
	margin-left: 19.375em; 
	overflow: hidden;
}
	.list aside {			
		margin-left: 2.5em;
		margin-right: 0.625em;
		margin-bottom: 2.5em;
		text-align: center;
	}
	.list h1 {
		margin-bottom: 0.625em;
		font-size: 1.25em;
		font-weight: bold; 
	}
	.list .box-item {
		clear: both;		
		margin-left: 2.5em;
		margin-bottom: 1.25em;
		padding-bottom: 1.25em;
		border-bottom: 1px solid #f2f2f2;			
		overflow: hidden;
	}	 
	.list .box-img {
		display: flex;			
		justify-content: center;	
		align-items: center;	
	}
		.list .box-img img {
			vertical-align: middle;
		}

.heading-section {
	margin-bottom: 1.5em;
	font-size: 1.875em;
	text-align: center;	
	color: #484848; 
}

.box-search {
	float: left;
	width: 19.375em;	
	margin-top: 3.75em;
	margin-bottom: 5em; 
	margin-left: 0.625em;	
}
	.box-search p {
		margin-bottom: 1.25rem;
		font-size: 1.375em;
	} 
	.box-search form {				
		line-height: 1.875em; 
	} 
	.box-search label {
		font-size: 0.75em;
		font-weight: bold;		
		color: #D87F3F;
	}
	.box-search label,
	.box-search select {
		display: block;
	}
	.box-search select,
	.box-search input {
	 	width: 100%;
	 	height: 2.8125rem;
	 	margin-bottom: 1em;
	 	border: 1px solid #737373;
	 	background-color: #fff;
	 	font-size: 0.875em;	 		 		
	}
	.box-search .button {		
		margin-top: 1.25em;
		font-size: 0.875rem;
		border: 1px solid #d87f3f;
		background-color: #d87f3f;	
	}
.box-select {
	margin-bottom: 0.84em;
}
.buttons {
	display: table;	
	text-align: center;			
}
.box-buttons {
	display: table-cell;
	vertical-align: middle;	
}
button.button {	
	display: block;
	width: 100%;
	padding-left: 1.25rem;
	padding-right: 1.25rem;	
	border: 1px solid #e0e0e0;
	font-family: sans-serif;
	color: #fff;	
}	
.button {
	height: auto;
	padding: 0.625rem 1.875rem;	
	font-weight: bold;
	border: none;
	color: #fff;
	background-color: #D87F3F;	
	text-align: center;	
}
.button:hover {	
	background-color: #c06827;
	cursor: pointer;
}
.button.cta {
	background-color: #D87F3F;
}
.button.cta:hover {
	background-color: #c06827;
}
.button-nav {
	background-color: #d6a983; 
}
.button-nav:hover {background: #D87F3F;}
	
.box-property {	
	margin: 1.25em 0; 	 	
}		
	.box-property article {				
		font-size: 0.875em;	
	}
	.box-property article h2 {	
		margin: 0.625rem 0;	
		font-weight: bold;
	}	
	.box-property .details {
		margin: 0.7142em 0 0;	
	}

.local,
.area {
	font-size: 0.75rem;
}

p.mandatory {
	font-size: 0.75em;
	font-style: italic;
}

.g-recaptcha,
#recaptcha {
	margin-bottom: 1.25em;
}

p.privacy-policy-info {
	margin-bottom: 0.5em;
	font-style: italic;
	font-size: 0.75em;
}

/* ================== CONTENT ==================== */

/* --- Home Page --- */

#slide-images {
	position: relative;
	height: 380px;
}
	#slide-images .container {
		display: table;
		width: 100%;		
	}
#box-tagline h1 {
	line-height: 380px;
	font-size: 2em;	
	text-align: center;	
	color: #fff;	
	text-shadow: -1px 1px 0 #737373,
				1px 1px 0 #737373,
				1px -1px 0 #737373,
				-1px -1px 0 #737373;	
}
#intro {
	max-width: 63.75em;
	margin-top: 2.5em;
	margin-bottom: 3.75em; 
	line-height: 1.5em;	
}	
	
/* -- Quick search module -- */

#box-quick-search-container {
	background: #f2f2f2;		
}
#box-quick-search {
	padding: 0.625em;	
}
#quick-search-form {
	display: flex;	
	flex-grow: 1;
	flex-basis: auto;
	padding: 0.625em;		
}
#quick-search-form input,
#quick-search-form select {	
	height: 4.285714em;	
	padding: 0 4px;
	border: none;
	background-color: #fff;
	outline: none;
	outline-style: none;
	font-size: 0.875em;		
}
	#quick-search-form select option {background-color: #fff;}
#quick-search-form #property_business,
#quick-search-form #listConselhos {
	width: 25%;	
}
#quick-search-form #property_building {
	width: 15%;	
}
#pdesde,
#pate {
	width: 10%;	
} 
#quick-search-form #submit {	
	width: 15%;	
	font-weight: bold;	
	color: #fff;
	background-color: #d87f3f;	
	cursor: pointer;
	outline: none;
	outline-style: none;
}
#advanced-search {
	padding-bottom: 1.25rem;	
	font-size: 0.875em;
	font-weight: bold;
	text-align: center;	
}
	#advanced-search a:hover {text-decoration: underline;}

/* -- featured article -- */

#featured {
	margin-bottom: 3.75em;
	padding: 0 .625em;		
}		
#featured-container {	
	display: grid;
	grid-template-columns: repeat(auto-fill, 280px);
	grid-gap: 10px;
	justify-content: space-between;	
}
.box-featured-image {
	width: 280px;
	height: 210px;			
	overflow: hidden;
}
	.box-featured-image img {
		width: 280px;
		height: 210px;		
		object-fit: cover;
	}	
.box-featured-property-details {
	display: flex;
	flex-direction: column;
	height: 6.4285em;
	padding-left: 0.625rem;
	background-color: #f2f2f2;
	overflow: hidden;
}	
	.box-featured-property-details:hover {		
		background-color: #d6a983;	 
	}
	.box-featured-property-details a {
		color: #737373;
	}
	.box-featured-property-details a:hover {
		color: #fff;		
	}
	.box-featured-property-details p {
		margin: 0.7142em 0;		
	}
	.featured-property-details-top {
		display: flex;
		flex-grow: 1;
		flex-basis: auto;
		align-items: center;		
	}	
	.featured-property-details-top p.featured-price {
		flex: 1 1 30%;
		padding-right: 0.7142em;
		text-align: right;
	}

/* -- services section -- */

#services {
	margin-bottom: 5em;
	padding: 0 .625em;
}	
	#services ul {
		display: flex;
		margin-bottom: 1.875em;
		justify-content: space-between; 
 		text-align: center; 			
	}	
		#services li {background-color: #f2f2f2;}
			#services li div {			
				padding: 7px;			
			}
		#services h2 {			
			padding: 0.625em 0;			
		}
		#services ul p {
			margin-top: 0.625rem;
			font-size: 0.875em;
			text-align: right;
		}
	
/* --- Properties Page --- */

.box-search input[type="radio"] {
 	height: auto;
 	width: auto;
 	margin-left: 0.625em;	 		 
 }

.box-select #pdesde,
.box-select #pate,
.box-select #adesde,
.box-select #aate {
	float: left;
	width: 48%;	
}
.box-select #pdesde,
.box-select #adesde {
	margin-right: 4%;
}

/* -- properties list -- */	

#properties .list .box-img {
	height: 140px;
	width: 180px;	
}
.list .box-property-text {
	display: flex;
	justify-content: space-between;		
	overflow: hidden;
}
	.list .box-property-text .buttons {		
		height: 8.4375em;					
	}	
.list .box-property-data {	
	padding: 1.25em 1.875em;		
}
.buttons {
	display: table;	
	width: 30%;	
	text-align: center;			
}

.list .price {
	font-size: 1.125em;
	margin: 0.875em 0;	
}
.list .details {
	display: block;
	margin-top: 1.25em;
	color: #737373;
	background-color: #f2f2f2;				
}
.list .details:hover {
	color: #D87F3F;		
}
.list .buttons .button {
	font-size: 0.875em; 	
}

#search-result {
	margin-left: 2.857142em;
	margin-bottom: 2.142857em;
	font-size: 0.875em;
}	

/* --- Property Details Page --- */	

.box-thumb {
	display: inline-block;
	width: 108px;	
}		
.heading-details {
	clear: left;
	margin: 2.23em 0 1.12em;
	font-size: 1.125em;
	font-weight: bold;
}
.box-details {
	clear: left;
	margin-bottom: 1.25em;
	overflow: hidden;
}
	.box-details li {
		float: left;
		width: 18.75em;
		font-size: 0.875em;
		line-height: 1.2em;
	}
	.box-details span {
		font-weight: bold;
		color: #d87f3f;
	}
.description {
	margin-bottom: 1.67em;
	font-size: 0.875em;
	line-height: 1.5em;	
}
.contact-type {
	display: inline;
	color: #d87f3f;
}	
.property-agency-details {	
	margin-top: 0.7142em;
	font-size: 0.875em; 
	line-height: 1.5em;
	overflow: hidden;
}
	.property-agency-details li {
		clear: left;
	}
	.property-agency-details li:first-child {
		line-height: 1.2em;
	}
	.property-agency-details span {		
		float: left;
		width: 15em;
	}
	.property-agency-details li span:first-child {
		width: 8em;
	}

#box-property {
	padding: 0 0.625em;
}
	#box-property div:first-child {
		margin-bottom: 2.5em;
		border-bottom: 1px solid #f2f2f2;
		overflow: hidden;
	}
	#box-property h1 {
		float: left;
		margin: 1.25rem 0;
		font-size: 1.75em;
		font-weight: bold;
		color: #D87F3F;		
	}
#not-found {margin-top: 2.5em;}
#main-image {
	clear: left;
	max-width: 42.5em;
	margin: 0 auto; 
	padding-top: 1.25em;	
	text-align: center;
	background-color: #f2f2f2;
}
#box-thumbs {
	text-align: center;
	background-color: #f2f2f2;		
}
#print {
	float: right;
	margin-top: 1.25rem;
	font-size: 0.75em;
	text-align: right;
}
	#print img {
		vertical-align: middle;
	}
#visit-request-form {
	margin-top: 2.5em;
	padding: 1.25em 2.5em;
	box-shadow: 0 0 5px #333;
	background-color: #fff;
}
	#visit-request-form label,
	#visit-request-form input {
		display: block;
		width: 50%;
		line-height: 1.5em;	 
	}	
	#visit-request-form input {			
		margin-bottom: 0.625em;		
	}
	#visit-request-form input[type=radio] {
		display: inline;
		width: auto;
		vertical-align: middle;
	}	
	#visit-request-form textarea {
		width: 100%;			
	}
	#visit-request-form p {
	 	margin: 1.25rem 0;
	 	font-size: 0.75em;
	 	font-style: italic;
	}
	#visit-request-form input.button {
	 	width: 20%;	 
	 	margin: 0 auto;	 		 		
	}

#agent-link {
	clear: left;	
	margin-top: 0.7142em;
	line-height: 1.5em;
	font-size: 0.875em;	
}
	#agent-link a:hover {
		text-decoration: underline;
	}
	 
/* --- Agents Page --- */

#agents .list {
	margin-top: 1.25em;
}
.list .box-agent-text h2 {
	margin-bottom: 1.25em;
	padding-right: 1.25em;	
	font-weight: bold;
}
#agents .list .box-img {
	height: 160px;
	width: 150px;	
}
.box-agent-text {						
	margin-left: 10em;	
	padding: 1.25em 0 1.25em 1.25em;		
	overflow: hidden;
}
.agent-localization {
	margin-bottom: 1rem;
	font-size: .875rem;
}	
.box-agent-data {	
	float: left;
	width: 60%;
	padding-top: 1.25em;	
}
	.box-agent-data a {
		color: #8f5b30;		
		vertical-align: middle;
	}
	.box-agent-data a:hover {
		text-decoration: underline;
	}
#agents-form {margin-top: 2.5em;}

/* --- Agent Details Page --- */

.group {
	margin: 1.25em 0;
	padding-right: 1.25em;
}
	.group p span:first-child {
		display: inline-block;
		width: 6.25em;	
	}

#agent-details h1 {	
	margin-bottom: 1.25rem;
	font-size: 1.75em;
	font-weight: bold;
	color: #D87F3F;	 
}
#agent-details p {
	line-height: 1.3em; 
}
#agent-details .button {
	display: inline-block;
	margin-top: 1.25em;
	margin-right: 1.4285em;
	font-size: 0.875em;
}	
#incomplete-data {
	margin: 2.1428em 0 5.714285em;
	padding-right: 2.8571em; 
	font-size: .875em;
}
#main {
	margin: 0 0.625em;
	padding: 2.5em;
	overflow: hidden;	
}
#visita {
	margin-top: 1.25em;
}
	#visita input,
	#visita label {
		display: block;
		line-height: 1.3em;
	}
	#visita input {
		width: 65%;		
		margin-bottom: 1.25em;
		border: none;
		background: #f2f2f2;	
	}
	#visita input.button {
		width: 30%;
		height: auto;		
		background: #d87f3f;				
	}
	#visita textarea {
		margin-bottom: 1.25em;		
	}

#agent-last-property {
	padding:0 0.625em;
}
	#agent-last-property h2.heading-section {		
		text-align: left;
	}	
#agent-last-property .box-featured-property-details {
	width: 270px;
} 

/* --- Agent Register Page --- */

.select-location {
	display: inline-block;
}
#register-text {padding-bottom: 2.5em;}
	#register-text p {
		line-height: 1.5em; 
	}
#registration-form {padding: 1.25em 0 2.5em;}
#registration-form a:hover {
	padding: 2.5em 0;	
	text-decoration: underline;
}
#registration-form input {
	width: 50%;
	margin-bottom: 1.25em;
	line-height: 1.3em;
}
#registration-form input#acept {	
	vertical-align: middle;
}
#registration-form input[type=checkbox],
#registration-form input[type=file] {	
	width: auto;
}
#registration-form input[type=checkbox] {
	margin-top: 1.25em;	
}
#registration-form input.button {
 	width: auto;
 	height: auto;	  	 			
}
#registration-form label {
	display: inline-block;
	width: 11.25em;
	text-align: right;
}
#registration-form label[for=acept] {
	width: auto;
	vertical-align: middle;	
}
#registration-form select {
	width: 9.375em;
}
#registration-form #county {
	margin-left: 180px;
	margin-bottom: 1.25em;
}
	
#cgu h1 {
	margin-bottom: 1.25rem;
	font-size: 1.25em;
	font-weight: bold;
}
#cgu p {
	line-height: 1.5em;
}

/* --- Partners Page --- */

#partners-heading {
	margin: 2.5em 0.625em;
}
.box-partner {	
	margin: 0 0.625em;	
	border-bottom: 1px solid #f2f2f2;			
	overflow: hidden;
}
.partner-item {	
	display: grid;
	grid-template-columns: 1fr 2fr;	
	align-items: center;	
}
	.partner-item h1 {
		font-weight: bold;
	}
.box-partner-img {	
	text-align: center;	
}	
	.box-partner-img a {
		display: block;
		padding: 1.25em 0 1.25em 1.25em;		
	}	
.box-partner-text {	
	line-height: 1.5em;
}
	.box-partner-text a {
		word-wrap: break-word;
	}
.gutter {
	padding: 1.25em;
}	

/* --- Contacts Page --- */

#contacts-text {
	padding: 2.5em;
}
	#contacts-text p {		
		line-height: 1.5em;
	}
#contact-form {
	padding: 0 2.5em;	
}
	#contact-form input {
		display: block;
		width: 65%;	 
		height: 2.5em;
		margin-bottom: 1.25em;
		line-height: 1.3em;
	}
	#contact-form input.button {
	 	width: auto;
	 	height: auto;	 			
 	}	
	#contact-form textarea {
		width: 65%;	 	
	}
	#contact-form p {
		margin: 1.25rem 0;
	}	
 
/* --- Crawler Page --- */

#crawler p {
	margin: 1.25em 0;
	line-height: 1.4em;
}
#crawler-box-img {
	float: right;
	padding-left: 2.5em;
	padding-bottom: 2.5em;
}	
	#crawler-box-img p {
		margin-bottom: 0.625em;
		font-size: 0.875em;
		font-weight: bold;
		text-align: center;
	}
#crawler-form {
	clear: right;
}
	#crawler-form input {
		width: 30%;
		margin-bottom: 1.25em;
		line-height: 1.3em;
	}
	#crawler-form input.button {
	 	width: auto;	
	 	height: auto;  	 			
 	}
	#crawler-form label {
		display: inline-block;
		width: 7.5em;
		text-align: right;
	}
 
/* --- Websites Page --- */

.carousel {
	margin-top: 3.75em;
	background-color: #333;
}
#websites-list li {	
	float: left;
	margin: 20px 5px;
	padding: 15px;
	background-color: #fff;
}
#websites-list p {
	padding: 0.3125em 0; 
}

/* --- Privacy Policy Page --- */

#privacy article {
	padding-top: 2.5em;
}
#privacy h2 {
	margin: 1.875em 0 0.625em;
	padding: 0 1.25em;	
	font-size: 1.25em;	
}
#privacy article p {
	padding: 0 1.25em;
	line-height: 1.5em;
}

/* ==================== MEDIA QUERIES ==================== */

@media screen and (max-width: 1100px) {
	#advanced-search {		
		margin-right: .625em;
	}
	.list aside {	
		margin-left: .625em;
	}	
}
@media screen and (max-width: 950px) {	
	#properties .list .box-img {
		display: block;	
		width: auto;
		padding-top: .625em;
		text-align: center;			
	}	
	#properties .list .left {
		float: none;
	}
	.list .box-property-text {								
		margin-left: 0;			
	}	
	.list .box-property-data {	
		padding-top: .625em;		
	}		
}
@media screen and (max-width: 900px) {
.list .box-agent-text h2 {	
	text-align: center;
}
	.box-agent-data {	
		float: none;
		width: auto;
		padding: 0 .625em .625em;		
		text-align: center;
	}
	.box-agent-text .buttons {
		float: none;		
		width: 100%;		
	}
	.box-agent-text .box-buttons {
		padding-right: 1.25em;
	}
	.box-agent-text .box-buttons .button {
		display: inline-block;			
	}
	.box-agent-text button.button {		
		width: auto;
	}
	.list .box-agent-text .details {
		display: inline-block;	
		margin-top: .625em;
		padding-top: .75em;
		padding-bottom: .75em;
	}	
}
@media screen and (max-width: 810px) {	
	#quick-search-form #property_business,
	#location {
		width: 28%;
	}
	#quick-search-form #property_building {
		width: 17%;
	}
	#pdesde,
	#pate {
		width: 12%;
	} 
	#submit {
		display: block;
		width: 25%;
		margin: 1.25em auto 0;		
	}
	#visit-request-form input.button {
		width: 50%;
	}	
	#visita input.button {
		width: auto;
	}
}
@media screen and (max-width: 770px) {
	.list .box-property-data {	
		float: none;
		width: auto;		
	}
	.list .box-property-text .buttons {		
		float: none;
		width: 100%;
		height: auto;
		margin-bottom: 1.25em;
			
	}		
	.box-property-text .box-buttons {
		padding-right: .625em;
		padding-left: .625em;
	}
	.box-property-text .box-buttons .button {
		display: inline-block;		
	}
	.box-property-text button.button {
		width: auto;					
	}
	.list .box-property-text .details {
		display: inline-block;	
		margin-top: .625em;
		padding-top: .75em;
		padding-bottom: .75em;
	}
	
	#cgu {
		padding-top: 0;	
		padding-bottom: 0;
	}	
	#registration-form .select-location {
		display: block;		
		margin-left: 180px;
		margin-bottom: 1.25em;	
	}	
	#registration-form select {
		width: 70%;
	}		
	#registration-form small {
		display: block;
		margin-top: -1.25em;
		margin-left: 180px;
	}
	#visita input {
		width: 100%;	 
	}
}
@media screen and (max-width: 680px) {
	.list .box-agent-text h2 {
		padding: 0 1.25em;
	}	
	#agents .list .box-img {
		display: block;	
		width: auto;
		height: auto;
		padding-top: .625em;
		text-align: center;			
	}	
	#agents .list .left {
		float: none;
	}
	.list .box-agent-text  {								
		margin-left: 0;			
	}
	.box-agent-text .box-buttons {
		padding-right: .625em;
		padding-left: .625em;
	}
	#contact-form input,
	#contact-form textarea {	
		width: 100%;
	}
	#agents .col-50 {
		float: none;
		width: 100%;
	}
	#agent-details {
		margin-bottom: 2.5em;
	}	
}
@media screen and (max-width: 650px) {
	#box-tagline h1 {
		font-size: 1.5em;
	}
	#quick-search-form #property_business {
		width: 40%;
	}
	#quick-search-form #property_building {
		width: 25%;
	}
	#pdesde,
	#pate {
		width: 16%;
		margin-top: .625em;
	} 
	#location {
		width: 40%;
		margin-top: .625em;
	}
	#submit {		
		display: inline-block;
		margin-top: .625em;
	}
	#intro h1 {
		margin-top: 1em;		
		font-size: 1.5em;
	}	
	#services {
		margin-bottom: 3.75em;
	}
	#menu-footer {	
		margin: 0.7142em 0.625em;
		padding-bottom: 0.7142em;
	}
		#menu-footer .main-menu {
			height: 2em;	
			padding: 0;
		}
			#menu-footer .main-menu li,
			#menu-footer .main-menu li a {	
				line-height: 2em;		
			}			 
		#menu-footer .top-menu a {			
			line-height: 2em;	
		}
	#registration-form input[type=checkbox] {
		margin-bottom: 0;
	}	
	#registration-form label[for=acept] {		
		margin-bottom: 1.25em;
		text-align: left;
	}	
}
@media screen and (max-width: 560px) {
	#registration-form label {
		display: block;
		padding-bottom: .25em;
		text-align: left;
	}
	#registration-form small {
		margin-left: 0;
		margin-bottom: 1.25em;
	}
	#registration-form input,
	#registration-form .select-location {
		width: 100%;		
	}	
	#registration-form .select-location {				
		margin-left: 0;			
	}
	#registration-form #district {
		margin-left: 0;
	}	
}
@media screen and (max-width: 540px) {
	#main-header .logo img {
		width: 239px;
		height: 80px;
	}
	.menu-language {
		line-height: 91px;
	}
	.box-search {
		float: none;
		width: 18.125em;	
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 2.5em;	
	}
	.list {			
		margin-left: auto;
		margin-right: auto; 		
	}
		.list .box-item {
			margin-left: .625em;
		}
	#crawler-box-img {
		float: none;
		padding-left: 0;
	}	
		#crawler-box-img p {
			text-align: left;
		}
	#crawler-form input {
		width: 50%;
	}
	.pagination {
		padding-left: .625em;
	}		
}
@media screen and (max-width: 510px) {
	#box-tagline h1 {
		font-size: 1.25em;
	}
	#quick-search-form #property_business,
	#quick-search-form #property_building,
	#pdesde,
	#pate,
	#location,
	#submit {
		width: 49%;
	}
	#intro,
	#featured {		
		margin-bottom: 2.5em; 
	}	
	.contact-type {
		display: block;
	}		
	#visit-request-form input {
		width: 100%;
	}
	#visit-request-form .contact-type input {		 
		height: 1.25em;				
	}					 
}
@media screen and (max-width: 480px) {	
	.menu-language {
		float: none;
		padding: 0.625em;
		line-height: 1em;
	}
	#box-main-nav .main-menu a {
		font-size: 0.875em;
		line-height: 3.57142em;
	}
	#box-tagline h1 {
		font-size: 1em;
	}
	#intro h1 {			
		font-size: 1.125em;
	}
	#intro p {
		font-size: 0.875em;
	}	
}

@media screen and (max-width: 420px) {
	#box-main-nav .main-menu {
		height: auto;
		padding: 0;
	}
		#box-main-nav .main-menu li {
			display: block;
			border-bottom: 1px solid #4b7f29;				
		}		
			#box-main-nav .main-menu li a {
				display: block;			
				font-size: 1em;						
			}
	#featured .heading-section {
		font-size: 1.25em;
	}
	#copyright p {
		padding: 0.84em;
		font-size: 0.625em; 
		text-align: center;
	}

	#registration #main {
		margin: 0 0.625em;
		padding: 0;		
	}
	#register-text,
	#cgu {
		padding-left: 1.25em;
		padding-right: 1.25em;
	}
	#registration-form {	
		padding: 1.25em 0;
	}
	.partner-item .box-partner-text a {		
		font-size: 0.875em;		
	}
	#contact-form {
		padding-left: .625em;
		padding-right: .625em;
	}
		#contact-form input.button {
			width: 100%;
		}
	#visit-request-form {
		padding-left: .625em;
		padding-right: .625em;
	}
	.contact-type {
		font-size: .75em; 
	}
	#properties .g-recaptcha {
		margin-left: -0.25em;
	}
	.property-agency-details li span:first-child {
		width: 5em;
	}
	.group p span:first-child {		
		width: 5em;	
	}
	#agents #main {
		overflow: visible;
	}
	#agents .g-recaptcha {		
		margin-left: -2.4em;		
	}	
	#visita input.button {
		width: 100%;
	}
	#crawler #main {
		padding-left: 0;
		padding-right: 0;
	}		
}