.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 {
			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: 600px) {

	.noticia:nth-child(2n+0) {
		padding-left: 0px;
	}

	.noticia:nth-child(2n+0) .photo {
		padding-left: 0px;
	}
	
	.noticia .photo, 
	.noticia:nth-child(2n+0) .photo {
		display: block;
		float: none;
		margin: 0px auto 10px auto;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 400px) {
	#formulario_de_contato address, 
	#formulario_de_contato form {
		width: 100%;
	}

	#formulario_de_contato address, 
	#formulario_de_contato address h3 {
		text-align: center;
	}
}

