/*Documento CSS style_html5.css*/
*{
    margin: 0;
    padding: 0;
}

body{
    margin: 0 auto;
    padding: 1.4em;
    width: 70%;
    font: 0.875em Verdana, Geneva, sans-serif;
    background-color: #f5f5f5;
    color: #999;
}
header, nav, section, article, footer{
    display: block;
}

/*Pra dispositivos que tem uma largura mínima de 768 pixels. Tablets, por exemplo.*/
@media screen and (max-width: 720px) {
     #intro, nav, article header h1,  article header h2, section, p, article, footer{
	  width: 240px;
	 /*background-color: aqua;*/
  }
}

nav ul{
list-style: none;
}

nav ul li{
float: left;/*para que a lista fique com os links um ao lado do outro*/
}

nav ul li a{
    display: block;/**/
	background: #29293A;
    height: 30px;
    padding: 0 1.8em;/*espaço entre as palavras home...etc*/
    font-size: 1em;
    line-height: 2em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #999;
	box-shadow: 0.3em 0.3em 0.3em 0.3em #888888;
}
nav ul li a:hover{
    color: red;
}

nav ul li a.selecionado{
    background-color: #0099CC;
    margin-left: 0.5em;
    color: #FFF;
    height: 1.8em;
    line-height: 2em;
    margin-top: 5px;
    margin-left: 0;
}


#intro > h1{
    font-size: 1.6em;
    line-height: 1em;
    padding: 1.25em 0;
}
section#intro{
    height: 235px;
    width: 80%;
    background: url('/static/img/logotipo-html5.jpg') right center no-repeat #DDEEEE;
    margin-top: 60px;
    padding-left: 0.5em;
}
section#intro hgroup h1{
    font-size: 1.5em; /*24px;*/
    text-align: left;
    line-height: 4em; /*40px;*/
    color: #666;
}

section#intro h2{
    padding-top: 6%; /*35px;*/
    font-style: italic;
    font-weight: bold;
    font-size: 1em;
    width: 60%;/*600px;*/
    color: #0099CC;/*azul cor da Fonte h2*/
}

article header h1{
    font-size: 1.25em;
    text-align: left;
    line-height: 2.45em;
    margin-top: 10%;
    padding: 0px;
}
article p{
    text-align: justify;
	 font-size: 1.125em;/*texto*/
    margin-bottom: 2em;
    padding-right: 0.5em;
    width: 70%;
    color: #777;
}
article li{
    margin-left: 0.95em; /*movimenta as bolinhas */
     
}

article header p{
    font-size: 1em;/*postado em ....*/
    line-height: 1.8em;
    font-style: italic;
    margin-bottom: 0px;
}

pre{
border: 0.1em dotted #181818;
font-family: Arial, "lucinda grande", "lucinda sans", verdana, sans-serif;
font-size: 1em;
color: dimgrey;
padding: 0.3em;
margin-bottom: 0;
line-height: 1.4;/*espaço entre as linhas onde está numerado*/
}

pre{
width: 65%;
-webkit-box-shadow: inset 2.45em 0 0 #fbfbfc, inset 2.45em 0 0 #ececf0;
-moz-box-shadow: inset 2.45em 0 0 #fbfbfc, inset 2.45em 0 0 #ececf0;
box-shadow: inset 2.45em 0 0 #fbfbfc, inset 2.45em 0 0 #ececf0;
padding-left: 2.45em; /*movimenta as bolinhas */
background-color: #f7f7f9;
}

pre{
-moz-hyphens:auto;
-ms-hyphens:auto; 
-webkit-hyphens:auto;
hyphens:auto;
word-wrap:break-word;
}

li{
font-size: 1em;
}
em{
color: red;
}

footer{  
	width: 55%;  
	height:	36px;
	float: left;
	margin-left: 20%;
	margin-bottom: 15px;
	padding-bottom: 26px; /*afasta o texto da parte de baixo do box*/  
 } 

