#header_content,
#middle_content, 
#footer_content, 
#links_content {
	max-width: 960px;
}

@media screen and (max-width: 959px) {
	#layout_middle, #layout_footer {
		padding-left: 5px;
		padding-right: 5px;
	}
}





/*GALERIA*/
@media screen and (width: 240px) {
	.standart-galery li {
		width: 100%;
	}
}
@media screen and (min-width: 320px) and (max-width: 459px) {
	.standart-galery li {
		width: 47.5%;
		margin-right: 5%;
	}
	.standart-galery li:nth-child(2n+0) {
		margin-right: 0px;
	}
}
@media screen and (min-width: 460px) and (max-width: 567px) {
	.standart-galery li {
		width: 30%;
		margin-right: 5%;
	}
	.standart-galery li:nth-child(3n+0) {
		margin-right: 0px;
	}
}
@media screen and (min-width: 568px) and (max-width: 959px) {
	.standart-galery li {
		width: 21.25%;
		margin-right: 5%;
	}
	.standart-galery li:nth-child(4n+0) {
		margin-right: 0px;
	}
}
@media screen and (min-width: 960px) {
	.standart-galery li {
		width: 16%;
		margin-right: 5%;
	}
	.standart-galery li:nth-child(5n+0) {
		margin-right: 0px;
	}
}
/*FIM DA GALERIA*/



/*MODULO*/
@media screen and (width: 320px) {
	.modulo {
		display: block;
		width: 80%;
	}
}
@media screen and (min-width: 360px) and (max-width: 567px) {
	.modulo {
		width: 48.5%;
		margin-right: 3%;
	}
	.modulo:nth-child(2n+0) {
		margin-right: 0px;
	}
}
@media screen and (min-width: 568px) {
	.modulo {
		width: 31.3%;
		margin-right: 3%;
	}
	.modulo:nth-child(3n+0) {
		margin-right: 0px;
	}
}
/*FIM DO SMODULOS*/


/*LINKS RODAPE*/
@media screen and (max-width: 599px) {
	#links a {
		width: 100%;
		text-align: center;
	}
}
@media screen and (min-width: 600px) {
	#links a {
		width: 50%;
	}
	#creditos {
		text-align: right;
	}
}


/*HEADER*/
@media screen and (width: 240px) {
	#tele_entrega {
		font-size: 12px;
	}
}

@media screen and (width: 320px) {
	#tele_entrega {
		font-size: 17px;
	}
}

@media screen and (max-width: 767px) {
	#logo {
		width: 100%;
		text-align: left;
	}
		#logo img {
			max-width: 100%;
		}
	#first_menu {
		text-align: center;
	}
	#tele_entrega {
		display: block;
	}
}


@media screen and (min-width: 768px) {
	#header_content {
		text-align: right;
	}
		#logo {
			float: left;
		}
			#first_menu {
				padding-top: 22px;
			}
}
@media screen and (width: 768px) {
	#header_content {
		background-size: 460px;
	}
		#first_menu {
			font-size: 15px;
		}

		#tele_entrega {
			width: 310px;
			font-size: 16px;
		}

		#logo {
			width: 340px;
		}
			#logo img {
				width: 460px;
			}
}
@media screen and (min-width: 960px) {
	#logo {
		width: 512px;
	}
		#logo img {
			width: 586px
		}
}


/*FIM DO HEADER*/


/*FOOTER*/

@media screen and (max-width: 320px) {
	#footer_content .column {
		width: 100%;
		text-align: center;
	}
}

@media screen and (min-width: 321px) and (max-width: 460px) {
	#footer_content .column {
		width: 50%;
	}
}

@media screen and (min-width: 461px) and (max-width: 602px) {
	#footer_content .column {
		width: 33.3%;
	}
}

@media screen and (min-width: 603px) {
	#footer_content .column {
		width: 25%;
	}
}
/*FIM DO FOOTER*/


