body {
	/*overflow: hidden;*/
}


@media all and (max-width: 960px) {
	#layout_everything {
		overflow: hidden;
	}

	#pesquisa, #middle_content, #footer_content, #links_conteudo {
		padding-left: 10px;
		padding-right: 10px;
	}
}







/*MENU*/
@media all and (max-width: 460px) and (orientation: portrait) {
	#first_menu {
		height: 50px;
		text-align: right;
		background-image: none;
	}
	#first_menu li {
		background-color: #ecf0f1;
	}
	#first_menu li:hover {
		background-color: #eca100;
	}
	.orelha {
		display: block;
	}
}

@media all and (orientation: landscape) {
	
	.orelha {
		display: none;
	}
}



@media all and (max-width: 240px) {
	.orelha {
		width: 20%;
		display: block;
	}
	.fechado {
		left: 80%;
	}
	#first_menu li {
		width: 80%;
	}
}
@media all and (min-width: 320px) and (max-width: 360px) {
	.orelha {
		width: 15%;
		display: block;
	}
	.fechado {
		left: 85%;
	}
	#first_menu li {
		width: 85%;
	}
}
@media all and (min-width: 360px) and (max-width: 460px) {
	.orelha {
		width: 15%;
		display: block;
	}
	.fechado {
		left: 85%;
	}
	#first_menu li {
		width: 85%;
	}
}

@media all and (min-width: 460px) and (max-width: 480px) {
	.orelha {
		width: 10%;
		display: block;
	}
	.fechado {
		left: 90%;
	}
	#first_menu li {
		width: 90%;
	}
}




@media all and (max-width: 869px) {
	#first_menu {
		width: 100%;
	}
}


@media all and (min-width: 480px) and (max-width: 869px) and (orientation: landscape) {
	#first_menu li {
		width: 33%;
		text-align: center;
		text-transform: uppercase;
	}	

	#first_menu li:hover {
		background-color: #eca100;
	}
}


@media all and (min-width: 600px) and (max-width: 869px) and (orientation: portrait) {
	#first_menu li {
		width: 33%;
		text-align: center;
		text-transform: uppercase;
	}

	#first_menu li:hover {
		background-color: #eca100;
	}
}



@media all and (max-width: 869px) {
	#header_content {
		text-align: center;
	}
}

@media all and (min-width: 869px) {
	#header_content {
		text-align: right;
		overflow: auto;
	}

	#logo {
		float: left;
	}


	#first_menu {
		width: 565px;
		height: 101px;
		float: right;
	}

		#first_menu li:hover {
			background-image: url(../images/menu_background.png);
			background-repeat: repeat-x;
		}

			#first_menu li a {
				padding-top: 50px;
			}
	
}

/*MENU*/



/*HEADER*/

/*FIM DO HEADERS*/




/*SLIDER*/
@media all and (min-width : 240px) and (max-width : 320px)  {
	.slide .photo {
		width: 240px;
	}

	.slide div {
		display: none;
	}
}

@media all and (min-width : 320px) and (max-width : 360px)  {
	.slide .photo {
		width: 320px;
	}
	.slide div {
		width: 320px;
	}
}


@media all and (min-width : 320px) and (max-width : 360px)  {
	.slide div {
		opacity: 0;
		display: block;
		left: 0px;
		top: 0px;
		width: 320px;
		height: 100%;
		font-size: 20px;
		-webkit-transition: opacity 1s;
		-moz-transition: opacity 1s;
		-ms-transition: opacity 1s;
		transition: opacity 1s;
	}

	.slide:hover div {
		opacity: 1;
	}
}

@media all and (min-width: 460px) {
	.slide div {
		width: 255px;
		max-height: 190px;
		padding: 30px;
		left: 20px;
		top: auto;
		bottom: 20px;
		font-size: 30px;
		line-height: 35px;
	}
}

@media all and (min-width : 360px) and (max-width : 460px)  {
	.slide .photo {
		width: 360px;
	}
	.slide div {
		width: 360px;
	}
}

@media all and (min-width : 460px) and (max-width : 500px)  {
	.slide .photo {
		width: 460px;
	}
}

@media all and (min-width: 500px) and (max-width: 568px) {
	.slide .photo {
		width: 500px;
	}

	
}

@media all and (min-width: 568px) and (max-width: 603px) {
	.slide .photo {
		width: 568px;
	}

	
}

@media all and (min-width: 603px) and (max-width: 640px) {
	.slide .photo {
		width: 603px;
	}
	
}


@media all and (min-width: 640px) and (max-width: 768px) {
	.slide .photo {
		width: 640px;
	}
	
}


@media all and (min-width: 768px) and (max-width: 960px) {
	.slide .photo {
		width: 768px;
	}
	
}

/*FIM DO SLIDER*/



/*FOOTER*/

@media all and (min-width: 645px) {
	#footer_content {
		text-align: left;
	}

	.contato {
		float: right;
		margin-top: -60px;
		text-align: right;
	}

}
/*FIM DO FOOTER*/



/*IMOVEIS*/
@media all and (min-width: 360px) and (max-width: 460px) {
	.modulo {
		display: block;
		width: 80%;
	}
	#middle_content > h1, #middle_content > h2 {
		width: 80%;
	}
}

@media all and (min-width: 460px) {
	#middle_content > h1, #middle_content > h2 {
		width: 100%;
	}
}

@media all and (min-width: 460px) and (max-width: 640px) {
	.modulo {
		display: inline-block;
		width: 48%;
		margin-right: 4%;
	}
	.modulo:nth-child(2n+0) {
		margin-right: 0px;
	}
}


@media all and (min-width: 640px) and (max-width: 768px) {
	.modulo {
		display: inline-block;
		width: 45%;
		margin-right: 10%;
	}
	.modulo:nth-child(2n+0) {
		margin-right: 0%;
	}
}


@media all and (min-width: 768px) and (max-width: 960px) {
	.modulo {
		display: inline-block;
		width: 30%;
		margin-right: 4%;
	}
	.modulo:nth-child(2n+0) {
		margin-right: 4%;
	}
	.modulo:nth-child(3n+0) {
		margin-right: 0%;
	}
}





@media all and (min-width: 960px) {
		
	.modulo {
		width: 217px;
		margin-right: 30px;
		margin-bottom: 20px;
	}

	.modulo:nth-child(4n+0) {
		margin-right: 0px;
	}
}

/*FIM DO SIMOVEIS*/




/*INFORMAÇÕES DE CONTATO*/


@media all and (min-width: 891px) {
	.entre-em-contato {
		float: left;
		width: 311px;
		text-align: left;
	}


	.informacoes-de-contato {
		float: right;
	}
}


/*FIM DAS INFORMAÇÕES DE CONTATO*/




/**/











