/*
	Folha de estilo criada por Erick Sousa para o Sistema Mirante
	
	@autor Erick Sousa
*/

/* padrao */
*, ul, li, nav, a { list-style: none; margin: 0; padding: 0; }
html, body { height:100%; }

/* utils */
.fixed { position: fixed !important; }
.padding-20px { padding: 20px !important; }
.transition {
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	transition: all .2s linear;
}
.border-radius-4px {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/*  menu */
#menu {
	background-color: #fff;
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3), inset 0 0 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.3), inset 0 0 5px rgba(0,0,0,0.2);
	box-shadow: 0 0 10px rgba(0,0,0,0.3), inset 0 0 5px rgba(0,0,0,0.2);
	height: 30px;
	left: 50%;
	margin-left: -475px;
	max-width: 950px;
	padding: 10px 0;
	position: relative;
	top: 40px;
	width: 95%;
	z-index: 100;
}
	#menu #logo {
		float: left;
		height: 133px;
		position: relative;
		top: -40px;
	}
	#menu ul {
		height: 100%;
		margin: 0 auto;
		position: relative;
		width: 100%;
	}
		#menu ul li {
			float: left;
			height: 100%;
			margin-left: 10px;
		}
			#menu ul li a {
				color: #444;
				display: block;
				font-size: 17px;
				font-weight: 700;
				margin-top: 5px;
				text-decoration: none;
			}
	#menu #responsive-menu {
		background-color: #444;
		border: 1px solid #111;
		-webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
		-moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
		box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
		display: none;
		float: right;
		height: 100%;
		margin-right: 10px;
		visibility: hidden;
		width: 40px;
	}
		#menu #responsive-menu span {
			background-color: #e8e8e8;
			-webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
			-moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
			box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
			-webkit-border-radius: 1px;
			-moz-border-radius: 1px;
			border-radius: 1px;
			display: block;
			height: 3px;
			margin: 5px auto 0;
			width: 50%;
		}
		#menu #responsive-menu span:first-child {
			margin-top: 0;
		}
/* box */
.box-container {
	background-position: 50% 0;
	background-repeat: repeat;
	background-attachment: fixed;
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	clear: both;
	height: auto;
	margin: 0 auto;
	position: relative;
	width: 100%;
	z-index: 4;
}
	.box-container .box-inner {
		margin: 0 auto;
		max-width: 950px;
		overflow: hidden;
		padding: 120px 0 50px;
		position: relative;
		width: 95%;
	}
	.box-container .box-inner .box-content-left, .box-container .box-inner .box-content-right {
		height: 100%;
		position: relative;
		width: 50%;
		z-index: 10;
	}
	.box-container .box-inner .box-content-left {
		float: left;
	}
	.box-container .box-inner .box-content-right {
		float: right;
	}
	.box-container p {
		font-weight: 700;
		line-height: 24px;
		text-align: justify;
	}
	.box-container h1 {
		text-align: center;
	}
	.box-container img {
		position: relative;
	}
#sao-joao-do-maranhao {
	background-color: #fed329;
}
	#sao-joao-do-maranhao .box-right {
		background-color: #FED329;
		background-image: url("/saojoao2013/site/imagens/texture-01.jpg");
		background-attachment: fixed;
		background-position: 0% 0%;
		background-repeat: repeat;
		height: 100%;
		position: absolute;
		right: 0;
		top: 0;
		width: 50%;
		z-index: 5;
	}
	#sao-joao-do-maranhao .boi:hover {
		-webkit-animation: boi 1.5s linear infinite;
		-moz-animation: boi 1.5s linear infinite;
		animation: boi 1.5s linear infinite;
	}
	@-webkit-keyframes boi {
		0% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		25% {
			-webkit-transform: rotate(-25deg);
			-moz-transform: rotate(-25deg);
			transform: rotate(-25deg);
		}
		50% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		75% {
			-webkit-transform: rotate(25deg);
			-moz-transform: rotate(25deg);
			transform: rotate(25deg);
		}
		100% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
	}
	@-moz-keyframes boi {
		0% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		25% {
			-webkit-transform: rotate(-25deg);
			-moz-transform: rotate(-25deg);
			transform: rotate(-25deg);
		}
		50% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		75% {
			-webkit-transform: rotate(25deg);
			-moz-transform: rotate(25deg);
			transform: rotate(25deg);
		}
		100% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
	}
	@keyframes boi {
		0% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		25% {
			-webkit-transform: rotate(-25deg);
			-moz-transform: rotate(-25deg);
			transform: rotate(-25deg);
		}
		50% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		75% {
			-webkit-transform: rotate(25deg);
			-moz-transform: rotate(25deg);
			transform: rotate(25deg);
		}
		100% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			transform: rotate(0deg);
		}
	}
#dancas {
	background-color: #869230;
}
	#dancas .box-left {
		background-color: #869230;
		background-image: url("/saojoao2013/site/imagens/texture-02.jpg");
		background-attachment: fixed;
		background-position: 0% 0%;
		background-repeat: repeat;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		width: 50%;
		z-index: 5;
	}
#o-auto-do-boi {
	background-color: #EE5313;
}
	#o-auto-do-boi .box-right {
		background-color: #EE5313;
		background-image: url("/saojoao2013/site/imagens/texture-03.jpg");
		background-attachment: fixed;
		background-position: 0% 0%;
		background-repeat: repeat;
		height: 100%;
		position: absolute;
		right: 0;
		top: 0;
		width: 50%;
		z-index: 5;
	}
#costumes {
	background-color: #DE1111;
}
	#costumes .box-left {
		background-color: #DE1111;
		background-image: url("/saojoao2013/site/imagens/texture-04.jpg");
		background-attachment: fixed;
		background-position: 0% 0%;
		background-repeat: repeat;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		width: 50%;
		z-index: 5;
	}
#receitas {
	background-color: #84517D;
}
	#receitas .box-right {
		background-color: #84517D;
		background-image: url("/saojoao2013/site/imagens/texture-05.jpg");
		background-attachment: fixed;
		background-position: 0% 0%;
		background-repeat: repeat;
		height: 100%;
		position: absolute;
		right: 0;
		top: 0;
		width: 50%;
		z-index: 5;
	}
#programacao {
	background-color: #00457B;
}
	#programacao .box-left {
		background-color: #00457B;
		background-image: url("/saojoao2013/site/imagens/texture-06.jpg");
		background-attachment: fixed;
		background-position: 0% 0%;
		background-repeat: repeat;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		width: 50%;
		z-index: 5;
	}

/* responsive */
@media (max-width: 950px) {
	#menu {
		margin-left: -47.5%;
		max-width: 95%;
	}
	.box-container img {
		height: 100%;
		width: 100%;
	}
}
@media (min-width: 900px) and (max-width: 949px) {
	#menu ul li a {
		font-size: 15px;
	}
}
@media (min-width: 775px) and (max-width: 800px) {
	#menu ul li a {
		font-size: 12px;
	}
}
@media (min-width: 768px) and (max-width: 775px) {
	#menu ul li {
		margin-left: 7px;
	}
		#menu ul li a {
			font-size: 12px;
		}
	.box-container p {
		font-size: 14px;
		line-height: 20px;
	}
}
@media (max-width: 767px) {
	#menu ul {
		clear: both;
	}
		#menu ul li {
			display: none;
			visibility: hidden;
		}
	#menu #responsive-menu {
		display: block;
		visibility: visible;
	}
}
@media (max-width: 640px) {
	.box-container h1 {
		font-size: 1.5em;
	}
}
@media (max-width: 480px) {
	.box-container h1 {
		font-size: 1.5em;
	}
	.box-container p {
		line-height: 20px;
	}
}
@media (max-width: 360px) and (orientation:portrait) {
	.box-container h1 {
		font-size: 1.2em;
	}
	.box-container p {
		font-size: 12px;
		line-height: 18px;
	}
}