.max-width {
	max-width: 960px
}

@media screen and (max-width: 960px) {
	.max-width {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 960px) {

	#header {
		padding-bottom: 40px;
	}

		#menu, 
		#header address, 
		#header .resultados-home {
			display: none;
		}

		#header > .background {
			padding-bottom: 10px;
		}
		
		#menu_mobile, 
		#abrir_menu {
			display: block;
		}
		
		#logo {
			display: block;
			height: auto;
			float: none;
			margin: 0px auto 15px auto;
		}
}

/*-----------------------------------*/

@media screen and (max-width: 959px) {

	.slider-content { }
	
		.slider .slide .photo {
			text-align: center;
		}

		.slider .texto .conteudo {
			font-size: 16px;
			line-height: 1.3em;
		}
}

/*-----------------------------------*/

@media screen and (max-width: 800px) {
	.rich-text img[style*="float:left"], 
	.rich-text img[style*="float: left"], 
	.rich-text img[style*="float:right"], 
	.rich-text img[style*="float: right"] {
		display: block;
		max-width: 100%;
		float: none !important;
		margin: 0px auto 20px auto !important;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 640px) {
	.home-fotos .fotos {
	    height: calc((100vw - (2 * 20px)) / 3);
	}
    .home-fotos .photo {
        width: calc((100vw - (2 * 20px)) / 3);
        height: calc((100vw - (2 * 20px)) / 3);
    }
}

@media screen and (min-width: 641px) and (max-width: 800px) {
	.home-fotos .fotos {
	    height: calc((100vw - (3 * 20px)) / 4);
	}
    .home-fotos .photo {
        width: calc((100vw - (3 * 20px)) / 4);
        height: calc((100vw - (3 * 20px)) / 4);
    }
}

@media screen and (min-width: 801px) and (max-width: 960px) {
	.home-fotos .fotos {
	    height: calc((100vw - (4 * 20px)) / 5);
	}
    .home-fotos .photo {
        width: calc((100vw - (4 * 20px)) / 5);
        height: calc((100vw - (4 * 20px)) / 5);
    }
}

/*-----------------------------------*/

@media screen and (max-width: 850px) {
	#orcamento_home, 
	#resultados_home 
	{
		width: 100%;
		margin-right: 0px !important;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 650px) {
	#duvidas_home .duvidas {
		padding-left: 0px;
		background-image: none;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 450px) {
	.convenio .photo {
		display: block;
		float: none;
		margin-right: auto;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 800px) {
	.slider .texto .conteudo {
		font-size: 20px;
		line-height: 1.3em;
	}
}