.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 {
			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: 550px) {
	#locacao_home .texto {
	    padding: 170px 20px 40px 20px;
	    text-align: center;
	    background-position: center 30px;
	}
}

/*-----------------------------------*/

@media screen and (max-width: 500px) {
	.video .overlay a:last-child {
		background-image: url(../images/play.png);
	}

	.video .overlay a:first-child {
		display: none;
	}
}