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

body{
margin: 0 auto;
padding: 1.6em; padding: 25px;
width: 70%;
font: 0.875em Verdana, Geneva, sans-serif;
background-color: #f5f5f5;
color: #999;
}


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

header, nav, section, article, footer{
    display: block;
 }

/*--------------------------------------*/

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{
	/*border: 2px solid red;*/
    display: block;/**/
	background: #29293A;
    height: 30px;
    padding: 0 2em;
    font-size: 1em;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #999;
	box-shadow: 10px 10px 5px #888888;
}
nav ul li a:hover{
    color: red;
}

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

#container{
	width: 80%;
	margin: auto;
}
header h2{
    text-align: left;
    /*font-size: 30px;*/
    line-height: 40px;
    padding: 1.25em 0;
}


article header h1{
    font-size: 1.25em;
    margin-top: 30px;
    line-height: 40px;
}

article p{
    border-right: 2px solid #0099CC;
    text-align: justify;
    margin-bottom: 20px;
    padding-left: 0px;
    padding-right: 0.55em;
    background-color: #DDEEEE;
    width: 70%;
}

article header p{
    font-size: 1em;
    line-height: 30px;
    font-style: italic;
    margin-bottom: 0px;
}
section p{
    font-size: 1em;
	color:dimgray;
}

footer{ 
	border: 1px solid black;
	height:	36px;
	margin-left: 40%;
	margin-bottom: 15px;
	padding-bottom: 26px; /*afasta o texto da parte de baixo do box*/  
 } 












