/**** ver isto http://cssbased.com/ *****/

/*Reset CSS*/
@import url(reset.css);
@import url(datas.css);

html, body {
	height: 100%;
}
body {
	background-image: url(../imagens/fundo.png), url(../imagens/fundog.png);
	background-position:50% 0%, top left;
	background-repeat:no-repeat, repeat;
	background-color:#666;
	font-family: Arial, Helvetica, sans-serif;line-height:150%;
}

/*---------------------------------- H's ----------------------------------*/
/*h1 {font-size:325%; text-align:center; font-family: Georgia, "Times New Roman", Times, serif;text-shadow: 1px 1px 1px #371b15;margin: 40px auto -12px} era o t?tulo antigo, se estiver bem com o novo (em baixo, posso apagar isto)*/
h1 {font-size:400%; text-align:center; font-family: Georgia, "Times New Roman", Times, serif;text-shadow: 1px 1px 1px #371b15;margin: 59px auto -31px}
h2 {font-size:170%; text-align:left;}
h3 {font-size:170%;text-align:center; font-variant:small-caps; margin-bottom:20px; font-family:Arial, sans-serif}
h4 {color:#666666; letter-spacing:3px;margin-bottom:24px;background:#DFDFDF; border-bottom:dotted 1px black; border-top:dotted 1px black;}
h5 {font-weight:bold}
/*--------------------------------- Text ----------------------------------*/
.textr {text-align:right}
.textj {text-align:justify}
.textl {text-align:left}
.textc {text-align:center}
.medium {font-size:85%}
.small{font-size:70%}
.vertal{margin-top:1em}
.vertal2{margin-top:0.5em}
/*Para as legendas das imagens*/
.capc{text-align:center;font-size:80%;font-style:italic;margin-bottom:1em}
.capl{text-align:left;font-size:80%;font-style:italic;margin-bottom:1em}
/* Para as blockquotes*/
blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  text-align:justify;
}
/*isto p?e uma aspa grande antes da cita??o*/
blockquote.asp:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
cite{font-size:0.8em;color:grey;margin-top:2em}
/*---------------------------------- Layout ----------------------------------*/
#smallheader {
	width:100%;
	background-color:rgba(0,0,0,0.85);
	height:30px;
}
#wrap {
	/**box-sizing: border-box;	/*** Para o padding nao ir para fora dos 960px, em vez disso, encolher o conteudo da caixa de 960 px
	-moz-box-sizing: border-box; **/
	width:940px;
	background: repeat scroll 0% 0% padding-box rgba(255,255,255,1);
	padding:20px 20px 0 20px;
	min-height: 90%;
	height: auto !important;
	height: 90%;
	border:8px solid transparent;
	box-shadow:0pt 0pt 8px rgba(0, 0, 0, 0.3);
	margin: 55px auto 30px; /* the bottom margin is the negative value of the footer's height */
	position:relative;
}
#hand{ 
    position:absolute; top:46px; right:-12px;
    width:88px; height:131px;
    background: url(../imagens/fundow.png) no-repeat;
}
/*para ficar alinhado no chrome...*/
@media screen and (-webkit-min-device-pixel-ratio:0) { 
 #hand{position:absolute; top:54px;} 
 }
#f1 {
	position:absolute; top:10px; left:-7px;
    width:84px; height:80px;
    background: url(../imagens/fundow2.png) no-repeat;
}
/*para ficar alinhado no chrome...*/
@media screen and (-webkit-min-device-pixel-ratio:0) { 
 #f1{position:absolute; top:18px;}
}
#footer, .push {
	height: 30px; /* .push must be the same height as .footer */
}
#footer {
	width:100%;
	background-color:rgba(0,0,0,0.85);
	text-align:center;
	color:white;}
/*estes dois s?o para a imagem de baixo. o 1? ? para fazer um div e o 2? para o por a meio desse div*/	
#wrapperr {height: 50px; position:relative;}
#bottomDweller {position: absolute; bottom:0;left:25%;}
/*mas da maneira como est? em cima n?o fica background, isto ?, a imagem fica por cima mesmo, n?o pode ficar por baixo como acontece com o fundo de cima) A tentar de outra maneira...
/*
.exampleone {
	background-image: url(../imagens/22.png);
	background-position: center top;
	background-repeat:no-repeat;
}*/
/*---------------------------------- Nav ----------------------------------*/
.nav {
	background-color:#F8F8F8;
	border-radius: 2px;
	width:160px;
	padding:0px;
	height:150px;
	float:left;
	margin-right:10px;
	border:solid 1px #E8E8E8;
	box-shadow:2px 2px 5px rgba(0, 0, 0, 0.2);
}
.nav img {
	padding:0px;
	padding-bottom:0px;
}
.nav p {line-height:100%}


/*---------------------------------- Tabelas ----------------------------------*/
table, th, td, tr{
	border: 1px solid black;
	padding:5px;
	}
table.vertal-c, td {
	vertical-align:middle;
}
/*---------------------------------- BackgroundNav ----------------------------------*/
.center {margin-left:40px;}

.top {margin-top:10px;}

.voltar {
	float:left;
}
/*---------------------------------- Misc ----------------------------------*/
.beta {font-size:21px; vertical-align:super;}
p {
	margin-bottom:24px; 
	line-height:150%;
	text-align:justify;
}
#wrap p:first-child {
	margin-left: 50px;
}
#like {
	position:absolute;
	bottom:10px;
	left:10px;
}
#data {
float:right;
}
#fundob {
	min-height:200px;
	background:url(imagens/fundob.png) top center no-repeat;
}
img.centrar {
    display: block;
    margin-left: auto;
    margin-right: auto }

/*Imagem de Nadador salvador na p?gina "Sobre mim"*/	
img.NS{margin-left:10px; margin-top:15px;}

/*Legendas das imagens*/
.legenda { 
	background-color: #F9F9F9;
	border: 1px solid #CCCCCC;
	padding: 3px;
	font: 11px/1.4em Arial, sans-serif;
	text-align:center;
	}
.legenda img { 
	border: 1px solid #CCCCCC;
	vertical-align:middle;
	}
.legendaright { margin: 0.5em 0pt 0.5em 0.8em; float:right; }
.legendaleft { margin: 0.5em 0.8em 0.5em 0; float:left; }
/*---------------------------------- Floats e Clears ----------------------------------*/
.floatl {float:left}
.floatr {float:right}
.clearl { clear: left; }
.clearr { clear: right; }
.clearb { clear: both; }
.hid {visibility:hidden}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfooter {
height: 30px;
clear: both;
}

/*---------------------------------- Links ----------------------------------*/

a {font-weight:bold;}
a.nav {text-decoration:none;}
a:visited.nav {color: #333;}
a.nav:hover {border:1px solid #000;color:#000}
a:link {color: #333;}
a:visited {color: #333;}
a:hover {color:#780000;}
a:active {color: #CC3333;}

/* Este bocado em baixo ? para o bookmark dos cron?metros na Utilidades n?o aparecer como link */
a.note {font-weight:normal}
a:hover.note {color:#666666;}

/*customiza??o do bot?o voltar*/

.voltar:link, .voltar:visited {
	border: 1px solid #ddd;
	background-color: #F0F0F0;
	color: #333;
	text-decoration:none;
	padding: 3px 15px;
	-webkit-transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	-moz-transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	-o-transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
}
 
.voltar:hover {
	border-color: #aaa;
	background-color: #F5F5F5;
	color: #780000;
	-webkit-transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	-moz-transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	-o-transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	transition: color .25s linear, background-color .25s ease-in-out, border-color .25s ease-in-out;
	}
	
.voltar:active{color: #CC3333;background-color:#F5F5F5;}

/*link Andre Ferreira no index*/

a.index:visited {color: #CC3333;font-weight:normal}
a.index:link{color:#CC3333;font-weight:normal}

/*---------------------------------- Listas ----------------------------------*/
ul{margin:1em;text-align:justify;}
ul li {margin-bottom: 0.4em;list-style-type:square;margin-left:15px;margin-right:-1em}
ul li li {list-style-type:circle}
ul.links{list-style-type: square;}
ol{margin:1em;text-align:justify;}

/*---------------------------------- Preto e branco para cores ----------------------------------*/
div.fadehover {
	position: relative;
	height:105px;
}
img.a {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
}
img.b {
	position: absolute;
	left: 0;
	top: 0;
}