@charset "UTF-8";
@font-face {
    font-family: 'Computador';
    src: url('../_fonts/computerfont.ttf');
    font-family: 'MinhaFonte';
    src: url('../_fonts/BubblegumSans-Regular.otf');
}

/* -- GLOBAIS -- */

article, footer, header, hgroup, nav, menu, section, figure {display: block;}
body {
    background: #dddddd;
    font: 100% "Arial";
}
p.texto {
    text-indent: 40px;
    text-align: justify;
}
a {
    text-decoration: none;
    color: #606060;
}
a:hover {
    text-decoration: underline;
    color: #000000;
}
figure {
    margin: 0;
    padding: 0;
}

/* -- INTERFACE -- */

#interface {
    width: 1000px;
    background: #ffffff;
    margin: -20px auto;
    padding: 10px 20px 10px 20px;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
    position: relative;
}

header#cabecalho {
    height: 150px;
    background: url('../_imagens/logo_.jpg') no-repeat 0 10px ;
    border-bottom: 1px #606060 solid;
}




footer#rodape {
    clear: both;
    border-top: 1px solid #606060;
    text-align: center;
    font-style: italic;
    color: #606060;
}

/* -- MENU -- */

nav#menu ul {
    list-style: none;
    position: absolute;
    top: -10px;
    left:385px;
}

nav#menu li {
    display: inline-block;
    padding: 10px 10px 10px 10px;
    background-color: #dddddd;
    transition: background-color 1s;   /* explicar -webkit -moz USAR prefixr.com */
}

nav#menu li:hover {
    background-color: #606060;
}

nav#menu a {
    color: #000000;
}

nav#menu a:hover {
    color: #ffffff;
}

nav#menu h1 {
    display: none;
    /* NÃO RECOMENDADO
    position: absolute;
    left: -2000px;   */
}


/* -- CONTEUDO -- */

section#corpo {
    text-align: justify;
    width: auto;
	height: auto;
    padding: 0 20px 10px 10px;
}

header#cabecalho-corpo h1 {
    font-family: 'MinhaFonte', sans-serif;
    font-size: 20pt;
    color: #606060;
    margin-bottom: 0px;
   }

header#cabecalho-corpo h2 {
    color: #cecece;
    margin: 0px 0 0 0px;
    font-size: 14px;
}

header#cabecalho-corpo p#caminho {
    text-indent: 0px;
    color: #cecece;
    font-size: 15px;
}
header#cabecalho-corpo p#data {
    color: #606060;
    text-align: right;
    font-style: italic;
    font-size: 10px;
}

article#texto-principal {
    padding: 10px;
}

article#texto-principal h2 {
    font-size: 20px;
    color: #606060;
    background-color: #dddddd;
    padding: 5px 0 5px 5px;
    margin: 10px 0 10px 0;
}



/* -- FOTO COM LEGENDA -- */
figure.foto-legenda {
    position: relative;
    border: 8px solid #ffffff;
    box-shadow: 1px 1px 4px rgba(0,0,0,.4);
}
figure.foto-legenda img {
    width: 100%;
    height: 100%;
}

figure.foto-legenda figcaption {
    opacity: 0; /* no lugar de display: none */
    position: absolute;
    top:0;
    background-color: rgba(0,0,0,.5);
    color: #ffffff;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box; /* tirar a sobra causada pelo padding acima */
    transition: opacity 1s;
}

figure.foto-legenda figcaption p {
    color: #FFFFFF;
}

figure.foto-legenda figcaption h3 {
    background-color: rgba(0,0,0,.6);
    margin: 0; padding: 10px;
}

figure.foto-legenda:hover figcaption {
    opacity: 1; /* no lugar de display: block */
}
