/* Contain floats: h5bp.com/q */
body {
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	height: 100%; 
	max-height: 100%; 
	color: black;
	position: absolute;
	width: 100%;
}
#frame-superior {
	background-image: url(quadric.jpg);
	/*background-repeat: no-repeat;*/
	background-size: 70%; /*Se tiver repeat, colocar cover*/
	background-position: center center;
	font-size: 2em;
	position: relative; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 30%;
	z-index: 10;
}
#header {
	height: 85%;
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}
/*Imagem da home*/
#home-img {
	width: 100%;
	position: relative;
	margin-top: -25%;
}
#logo {
	height: 100%;
	position: relative;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
}
#menu {
	position: relative;
	text-align: center;
	background-color: white;
	display: block;
	height: 15%;
	width: 48%; /*Se for por o player de música*/
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px 5px 0px 0px;
}
#menu > ul:before, #menu > ul:after {
    content: "";
    display: table;
}

#menu > ul:after {
    clear: both;
}

#menu > ul {
    *zoom: 1;
	padding-left: 0;
	margin: 0px;
}

/* Level one */
#menu > ul > li {
    float:left;
    position: relative;
    overflow: visible;
    /*width:16.6666%;		Já que tem 6 botões. Removi e deixei os botões desiguais*/
    max-width:350px;	
	list-style-type: none;
	font-size: 45%;
	
}
#menu > ul > li > a{
    padding:.5em 1em;
}

/* Level 2*/
#menu > ul > li > ul {
    border-radius: 0px 0px 5px 5px;
    position:absolute;
    z-index: 2;
    padding: 0em;
    width: 100%; /*set to whatever you need*/
    display:none;
	list-style-type: none;
}
#menu > ul > li > ul > li > a {
	height: 1.5em;
	padding-top: 0.25em;
}

/* Hover level 1*/
#menu > ul > li:hover {
    background: #00A2E8;
    border-radius: 5px 5px 0 0;
    color:#fff;
}
/*Cor anterior: #9ad9ea*/
#menu > ul > li:hover > ul {
    display: block;
	position: absolute;
	z-index: 2;
	background-color: white;
}

#menu > ul > li:hover > a,
#menu > ul > li > ul a{
    color:#fff;
}
/*Hover level 2*/
#menu > ul > li > ul > li > a:hover {
	background-color: #00A2E8;
	color: white;
	border-radius: 0px 0px 5px 5px;
}

#menu > ul > li > ul > li > a {
	color: #00A2E8; /*Para IE*/
}
#menu a {
    text-decoration:none;
    display:block;
	color: #00A2E8; /*Para IE*/
	font-family: sans-serif;
	padding: 0;
	font-weight: bold;
}
#menu a:visited {
	color: #00A2E8;
}

.frame-inferior {
	position: absolute; 
	top: 30%; /*Colocar o mesmo valor da height do frame-superior*/
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

.container-inferior {
	position: relative;
	overflow: auto;
	width: 100%;
	height: 100%;
}/*Container inferior. Pra adicionar scroll*/
/*DIV text only*/
#cont-text-only {
	width: 70%;
	height: 100%;
	margin-left: 15%; /*Já que  ocupa 60% da largura*/
	font-size: 1em;
	position: absolute;
	z-index: 1;
}
#cont-text-only  h3 {
	text-align: center;
}
#cont-text-only p {
	text-align: justify;
}
#cont-text-only p:last-child {
	margin-bottom: 30px;
}
.img-text {
	float: left;
	height: 200px;
	margin-right: 15px;
	margin-bottom: 10px;
}
/*CSS pra galeria de fotos*/
.galeria {
	width:675px;
	margin:0 auto;
	text-align:left;
	}
.img-aqui { 
	/*background: #FFF url('img_galeria.jpg') top no-repeat;*/ 
	width:500px; 
	height:500px; 
	top:1px;
	float:right; 
	border:0px solid #fff;
	}
ul.fotos {
	position:relative;
	list-style:none;  
	width:168px;
	padding:1px;
	background:#FFF;
	margin:0; 
	padding:0;
}
.fotos:after {
	display: block;
	content: ".";
	height: 0;
	font-size:0; 
	visibility: hidden;
	clear: both;
	}
ul.fotos li {
	width:75px;
	height:55px;
	float:left; 
	border:2px solid #00A2E8;
	margin:1px; 
}
ul.fotos li img {
	border:none; 
	width:75px;
	height:55px;
}
ul.fotos li span img {
	border:none;
	width:505px;
	height:375px;
	height:auto;
}
ul.fotos a {
	display: block;
	} 
ul.fotos a span {
	display: none;
}
ul.fotos a:hover span.legenda {
	display: block;
	text-align:center; 
	width:500px;
	position:absolute;
	top:470px;
	left:-2px;
}
ul.fotos a:hover span {
	display: block;
    position: absolute; 
	top:-0px; 
	left: 350px; /*168px pra juntar a img grande com os thumbnails*/ 
	background: ;
	border:2px solid #D2771A;
   }
ul.fotos a:hover span.legenda {
	padding:35px 0;
	color:#333; 
}
/*
If lte IE 6

ul.fotos {
	width:170px;
	padding:  2px 0 1px 0;
	}
ul.fotos li {
	margin-top:0; 
}
Fixes for IE
Fix IE. Hide from IE Mac
ul.fotos li { float: left; height: 1%; }
ul.fotos li a { height: 1%; }
End
ul.fotos a:hover {
	text-decoration:none;
	background: none; 
	} 
ul.fotos li {width:35px;}
ul.fotos a:hover span.legenda {width:500px;}

CSS pra galeria de fotos finalizada.
*/
