@charset "utf-8";
/* CSS Document */

html,body {
	padding:0;
	margin:0;
	height:100%;
	max-height:100%;
	font-size:100%;
	background:#851331;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#splash{
	position:absolute;
	width:100%;
	height: 100%;
	display:block;
	background: #231607 url("../img/splash-h.jpg") no-repeat center;
	background-size:contain;	
	-moz-background-size: contain;
	-webkit-background-size: contain;
	top:0;
	z-index:1000;
}
#header{
	position:relative;
	width:100%;
	height:110px;
	clear:both;
	overflow:hidden;
	box-shadow: 0 6px 10px 0 rgba(153,153,153,0.7);
	z-index:100;
	
	background: #241809; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */	
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyNiUiIHN0b3AtY29sb3I9IiMzNTI0MTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNTk0ODIxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
	
	background: -moz-linear-gradient(left,  #241809 40%, #594821 100%); /* FF3.6+ */	
	background: -webkit-gradient(linear, left top, right top, color-stop(40%,#241809), color-stop(100%,#594821)); /* Chrome,Safari4+ */	
	background: -webkit-linear-gradient(left,  #241809 40%,#594821 100%); /* Chrome10+,Safari5.1+ */	
	background: -o-linear-gradient(left,  #241809 40%,#594821 100%); /* Opera 11.10+ */	
	background: -ms-linear-gradient(left,  #241809 40%,#594821 100%); /* IE10+ */	
	background: linear-gradient(to right,  #241809 40%,#594821 100%); /* W3C */	
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#241809', endColorstr='#594821',GradientType=1 ); /* IE6-8 */
}

#logo{
	height:100%;
}

#logo img{
	padding:1em 1em;
	height:75%;
	width:auto;
}

#footer{
	position:fixed;
	width:100%;
	height:25px;
	clear:both;
	bottom:0;
	overflow:hidden;
	background:#851331;
	z-index:100;
	
}

#footer img{
	height: 100%;
}

#footer #patrocinio{
	float:right;
	text-align:right;
	height:100%;
}

#mainContainer{
	display:block;
	position:absolute;
	width:100%;
	height:100%;
	top:110px;
	background:#fff;
	/*margin:110px 0 25px 0;*/
	overflow:hidden;
}

#blocks{
	display: block;
	position:relative;
	background:#fff;
	/*margin:110px 0 25px 0;*/
	height:100%;
}

#mainContainer .homeContent {
	font-family:Georgia, "Times New Roman", Times, serif;
	overflow:hidden;
	margin: 0em 0.5em 0.5em 0;
	padding:1em;
	background-color:rgba(255,255,255,0.8);
	z-index:0;
}

.homeTitle, .homeBody{
	margin:0;
	padding:0;
}

.homeTitle{
	font-size:1.4em;
	display:block;
	font-weight:bold;
	padding-bottom:0.2em;
	margin:0.4em 0;
	font-style: italic;
	text-transform:uppercase;
	background: url("../img/title-bg.jpg") no-repeat bottom left;
}

.homeBlock{
	float:left;
	overflow:hidden;
	border-bottom:2px dotted #d6d6d6;
	border-right:2px dotted #d6d6d6;
	position:relative;
}

.homeBlock a{
	display:block;
	color: #333;
	height:100%;
	text-decoration:none;
}


#mainContainer .block1{
	/*width:50%;
	height:50%;
	background: url("../img/home-bg.jpg") repeat-x bottom;*/
	background: url("../img/ovos/ovo1.jpg") no-repeat bottom left;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	width:50%;
	height:60%;
	/*min-height:300px;*/
	margin-bottom:-2px;
	z-index:3;
}

#mainContainer .block2{
	width:50%;
	height:30%;
	/*min-height:150px;*/
	background: url("../img/ovos/ovo2.jpg") no-repeat bottom right;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	margin-right:-4px;
	margin-bottom:-2px;
	z-index:3;
}

#mainContainer .block3{
	width:50%;
	height:30%;
	/*min-height:150px;*/
	background: url("../img/ovos/ovo3.jpg") no-repeat bottom left;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	margin-right:-4px;
	z-index:2;
}

#mainContainer .block4{
	width:50%;
	height:40%;
	/*min-height:300px;*/
	background: url("../img/ovos/ovo4.jpg") no-repeat bottom right;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	z-index:2;
}

#mainContainer .block5{
	width:50%;
	height:40%;
	/*min-height:300px;*/
	background: url("../img/ovos/ovo5.jpg") no-repeat bottom right;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	margin-right:-4px;
}

.block1 .homeContent{
	width:42%;
	min-width:200px;
	float:right;
}

.block2 .homeContent{
	width:30%;
	min-width:200px;
	float:left;
}

.block3 .homeContent{
	width:52%;
	min-width:200px;
	float:right;
}

.block4 .homeContent{
	width:38%;
	min-width:200px;
	float:left;
}


.block5 .homeContent{
	width:45%;
	min-width:200px;
	float:left;
}

@media only screen and (max-height: 600px) {
#mainContainer{
	width:100%;
	height:auto;
	top:0;
}
#splash{
	background: #231607 url("../img/splash-v.jpg") no-repeat center;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
}
#blocks{
	margin:110px 0 25px 0;
}
#header{
	position:fixed;
	top:0px;
	height: 110px;
}

#footer{
	position:fixed;
	bottom:0px;
	height: 25px;
}
	
.homeTitle{
	font-size:1.2em;
}

.homeBlock{
	clear:both;
	overflow:hidden;
	width:100%;
	height:200px;
	border-right:none;
}

.homeContent{
	width:50%;
	height:100%;
	float:right;
	margin:0;
}

.homeBody{
	margin:0;
}

#mainContainer .block1, #mainContainer .block2, #mainContainer .block3, #mainContainer .block4, #mainContainer .block5{
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-position:bottom left;
	width:100%;
	min-height:180px;
	height:180px;
	margin-bottom:0;
}

.block1 .homeContent, .block2 .homeContent, .block3 .homeContent, .block4 .homeContent, .block5 .homeContent{
	float:right;
	width:50%;
}

}

@media only screen and (max-width: 800px) and (orientation: portrait) {
body{
	background:#fff;
}
#splash{
	background: #231607 url("../img/splash-v.jpg") no-repeat center;
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
}

#blocks{
	margin:110px 0 25px 0;
}
#header{
	top:0px;
	height: 110px;
}
#mainContainer{
	width:100%;
	height:auto;
	top:0;
	bottom:25px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#footer{
	height: 25px;
}
	
.homeTitle{
	font-size:1.2em;
}

.homeBlock{
	clear:both;
	overflow:hidden;
	width:100%;
	height:200px;
	border-right:none;
}
.homeBody{
	margin:0;
}

#mainContainer .block1, #mainContainer .block2, #mainContainer .block3, #mainContainer .block4, #mainContainer .block5{
	background-size:contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-position:bottom left;
	width:100%;
	min-height:180px;
	height:180px;
	margin-bottom:0;
}

.block1 .homeContent, .block2 .homeContent, .block3 .homeContent, .block4 .homeContent, .block5 .homeContent{
	float:right;
	width:50%;
}

}

@media only screen and (max-width: 450px) {
body{
	background:#fff;
	overflow: auto; /* or overflow: scroll, if that's your thing */
	-webkit-overflow-scrolling: touch;
}

#footer{
	height: 25px;
}

#blocks{
	margin:110px 0 25px 0;
}

#mainContainer .block1, #mainContainer .block2, #mainContainer .block3, #mainContainer .block4, #mainContainer .block5{
	background-size:auto;
	-moz-background-size: auto;
	-webkit-background-size: auto;
	background-position:bottom left;
	width:100%;
	min-height:100px;
	height:130px;
	margin-bottom:0;
}

#mainContainer .block1{
	background-image: url("../img/ovos/ovo1-mobile.jpg");
}

#mainContainer .block2{
	background-image: url("../img/ovos/ovo2-mobile.jpg");
}

#mainContainer .block3{
	background-image: url("../img/ovos/ovo3-mobile.jpg");
}

#mainContainer .block4{
	background-image: url("../img/ovos/ovo4-mobile.jpg");
}

#mainContainer .block5{
	background-image: url("../img/ovos/ovo5-mobile.jpg");
}

.block1 .homeContent, .block2 .homeContent, .block3 .homeContent, .block4 .homeContent, .block5 .homeContent{
	float:right;
	width:50%;
	min-width:160px;
}
.homeTitle{
	font-size:1em;
	text-align:right;
	background-position:bottom right;
}
.homeBody{
	display:none;
}
}