/**
 * 100% height layout with header and footer
 * ----------------------------------------------
 * Feel free to copy/use/change/improve
 */
html,body {
	margin:0;
	padding:0;
	height:100%; /* needed for container min-height */
	background: #f4f4f4;
	
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	color:#262626;
}

p { 
	line-height:1.5; 
	margin:0 0 1em;
}

div#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:1024px;
	background:#FFFFFF;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
	-moz-box-shadow: 0px 0px 10px #cbcbcb;
	-webkit-box-shadow: 0px 0px 10px #cbcbcb;
	-moz-border-radius:6px 6px 6px 6px;
	-webkit-border-radius:6px 6px 6px 6px;
	border-radius: 6px 6px 6px 6px;
}

div#header {
	/*padding:1em;*/
	background:#FFFFFF;
	border-bottom:1px solid #CCC;
        height: 256px;
}
	div#header p {
		font-style:italic;
		font-size:1.1em;
		margin:0;
	}
/* Inicio de alteração ao template */
div#headerSines{
    height: 176px;
}
div#headerICT{
    position: absolute;
    top: 195px;
    width: 120px;
    left: 10px;
}
div#headerCiemar{
    position: absolute;
    top: 180px;
    left: 310px;
}
div#headerAlop{
    position: absolute;
    top: 190px;
    left: 310px;
    /*border: 1px solid green;*/
}
div#linkuv1{
    position: absolute;
    top: 180px;
    left: 600px;
}
div#linkuv2{
    position: absolute;
    top: 210px;
    left: 600px;
}
div#headerUE{
    position: absolute;
    top: 195px;
    left: 170px;
}
div#headerCGE{
    position: absolute;
    top: 195px;
    left: 300px;
}
div#mapaSines{
    position: absolute;
    top: 20px;
    left: 20px;
}
div#headerFCT{
    position: absolute;
    left: 220px;
    bottom: 140px;
}
div#headerCompete{
    position: absolute;
    left: 400px;
    bottom: 150px;
}
div#headerFCT1{
    position: absolute;
    left: 80px;
    bottom: 140px;
}
div#headerCompete1{
    position: absolute;
    left: 250px;
    bottom: 150px;
}
div#relogio{
    width:150px;
    position:absolute;
    right:10px;
    top:190px; 
    height: 60px;
    text-align: center;
}
.data{
    color: #3C7DBB;
}	
div#patrocinio{
    position: absolute;
    width: 1024px;
    text-align: center;
    top: 260px;
}	

/* Fim do alteração do template */ 
div#content {
	padding:1em 1em 5em; /* bottom padding for footer */
	padding-bottom: 100px;
        height: 721px;
}
	div#content p {
		text-align:justify;
		padding:0 1em;
	}
img {
	border: none;
}
div#footer {
	position:absolute;
	text-align: center;
	width:100%;
	padding-top: 15px;
	height: 55px;
	bottom: 0px; /* stick to bottom */
	background:#FFFFFF;
	border-top:1px solid #CCC;
}
	div#footer p {
		padding:1em;
		margin:0;
	}
          

div#legendaspacer{
	margin-top: 210px;
}
div#legendawrap {
	width: 45px;
	height: 290px;
	float: right;
	/*background: rgb(255, 0, 0) ; opacity: 0.2;*/
	border: 2px solid #2830C7;
	border-radius: 8px 8px 8px 8px; 
        -moz-border-radius: 8px 8px 8px 8px; 
        -webkit-border-radius: 8px 8px 8px 8px;
	/*border: 1px dashed olive;*/
}
div#legendacores {
	position: relative;
	/*border: 1px solid red;*/
	margin-left: 2px;
	margin-top: 2px;
	width: 41px;
	height: 243px;
}
div#legendalogo {
	position: relative;
	border: 1px solid #2830C7;
	background-color: #2830C7;
	margin-left: 1px;
	margin-top: 1px;
	width: 41px;
	height: 41px;
	border-radius: 8px 8px 8px 8px; 
        -moz-border-radius: 8px 8px 8px 8px; 
        -webkit-border-radius: 8px 8px 8px 8px;
}
div#uvlogo {
	position: relative;
	width: 41px;
	height: 21px;
	padding-top: 2px;
	text-align: center;
	color: #FFF;
}
div#uvsymbol{
	position: relative;
	top: -14px;
	left: 1px;
	width: 41px;
	height: 41px;
	font-size: 27px;
	font-family: verdana;
	color: #FFF;
}
/* painel de cores*/
div#painelcor{
	position: relative;
	padding-top: 2px;
	width: 41px;
	height: 20px;
	/*border: 1px solid green;*/
}
div#legendacor{
	position: relative;
	width: 20px;
	height: 20px;
	border-radius: 2px 2px 2px 2px; 
        -moz-border-radius: 2px 2px 2px 2px; 
        -webkit-border-radius: 2px 2px 2px 2px;
}
div#legendanumero{
	position: relative;
	top: -15px;
	left: 21px;
	width: 15px;
	height: 30px;
	text-align: right;
	font-size: 10px;
	font-weight: bold;
	font-family: verdana;
	color: #2830C7;
}

div#legendatopo {
	position: relative;
	/*border: 1px solid green;*/
	text-align: center;
	float: right;
	width: 50px;
	height: 825px;
}
div#datainfo {
	position: relative;
	text-align: center;
	width: 100%;
	height: 10px;
}
div#horari {
	border: 1px solid black;
	text-align: center;
	width: 300px;
}

/* Inicio da legenda inferior a toda a largura */
div#legendaCoresWraper {/* controla o tamanho da caixa exterior da legenda -: Samuel :-*/
	margin-top: 5px;
	border: 2px solid #2830C7;
	width: 292px;
	height: 45px;
	border-radius: 8px 8px 8px 8px; 
        -moz-border-radius: 8px 8px 8px 8px; 
        -webkit-border-radius: 8px 8px 8px 8px;
}
div#logoWraper {/* controla o tamanho da caixa interior de cor de fundo azul da legenda onde irá residir Indice UV -: Samuel :-*/
	position: relative;
	top: 1px;
	left: 1px;
	width: 41px;
	height: 41px;
	background-color: #2830C7;
	border: 1px solid #2830C7;
	border-radius: 8px 8px 8px 8px; 
        -moz-border-radius: 8px 8px 8px 8px; 
        -webkit-border-radius: 8px 8px 8px 8px;
}
div#logoTitulo { /* Titulo Indice -: Samuel :- */
	position: relative;
	top: 3px;
	left: 0px;
	width: 37px;
	height: 15px;
	/*border: 1px solid #FFF;*/
	font-size: 12px;
	font-family: verdana;
	color: #FFF;
}
div#logoUV { /* Titulo UV -: Samuel :- */
	position: relative;
	top: -5px;
	left: 0px;
	/*border: 1px solid #FFF;*/
	width: 21px;
	height: 21px;
	font-size: 27px;
	font-family: verdana;
	color: #FFF;
}
div#legendaCorContainer {/* contentor para as cores -: Samuel :- */
	/*border: 1px solid green;*/
	position: relative;
	float: left;
	top: -42px;
	left: 46px;
	width: 892px;
	height: 40px;
}
.painelcor {/* container das 11 cores -: Samuel :- */
	position: relative;
	float: left;
	width: 22px;
	height: 40px;
	/*border: 1px solid red;*/
}
.legendaCor {/* retangulo com cor -: Samuel :- */
	position: relative;
	width: 20px;
	height: 20px;
	border-radius: 2px 2px 2px 2px; 
        -moz-border-radius: 2px 2px 2px 2px; 
        -webkit-border-radius: 2px 2px 2px 2px;
}
.legendaNumero {
	position: relative;
	/*border: 1px solid blue;*/
	top: 5px;
	width: 20px;
	font-size: 12px;
	font-family: verdana;
	font-weight: bold;
	text-align: center;
	height: 20px;
	color: #2830C7;
}
div#Centrado {
	position: relative;
	/*border: 1px solid magenta;*/
	left: 50%;
	margin-left: -145px;
	width: 100%;
	text-align: center;
}
.mainleft {
    /* controla o conteudo da pagina */
    position: absolute;
    left:10px;
    width:947px;
    text-align: center;
}
.mainright {
    /* controla a legenda da pagina */
position: absolute;
top:210px;
left: 958px;

width: 55px;
height: 730px;
}