/* reset está no fonts.css */

/* ESTILOS GERAIS */
html{
    font-size:15px;
}
html, body {
    width: 100%;
    height: 100%;
    /*-webkit-font-smoothing: subpixel-antialiased;*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body{
    font-family: 'freightbook';
    color: #000;
    background: #fff;
}

a{ color: #333; }

a:hover, a:active{ color: #000; }

#content p{
    width: calc(100% - 4rem);
    max-width: 660px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem 2rem;
    font-size: 1.4rem;
    line-height: 1.5em;
    position: relative;
    font-family: 'freightbook';
    color: #333;
}

p.author{
    font-style: italic;
    text-align: center;
}

p strong {
    color: #a43e3e;
    font-family:'flamamedium';
}


h2,h3{
    width: calc(100% - 4rem);
    max-width: 660px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem 2rem;
    font-family: 'flamabook';
    font-size: 2rem;
}

h4 {
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 660px;
    width: calc(100% - 4rem);
    text-align: center;
    font-family: 'flamabook';
    text-transform: uppercase;
    font-size: 1.4rem;
    color: #a43e3e;
}

header{
    height: 60%;
    width: 100%;
    position: relative;
    background: #111;
    overflow: hidden;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.5);
    z-index:0;
    margin-bottom: 2rem;
}

section{
    z-index:1;
    position: relative;
}


/* ESTILOS POR ÁREA */

/* barra do topo */
#topBar{
    width: 100%;
    height: 55px;
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: fixed;
    text-align: center;
    z-index:100;
}
#logoSmall{
    display: block;
    position: fixed;
    font-size: 1.1rem; line-height: 42px;
    font-family: 'flamabook';
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 5px;
}
#logoSmall a{
    display: inline-block; 
    color: #a43e3e;
}
#logoSmall a#estadaoSmall{
    vertical-align: top;
    width: 40px; height: 40px;
    background: transparent url('../img/simbolo-estadao.svg') no-repeat center;
    background-size: auto 26px;
    opacity: 0.8;
}
#logoSmall a b{
    font-family: 'flamamedium';
}

#topBar ul{
    display: inline-block;
    vertical-align: bottom; 
    position: relative;
    white-space: nowrap;
    margin: 0 auto;
    line-height: 55px;
    overflow: hidden;
}
#topBar ul span{
    display:none;
}
#topBar ul li{
    display: inline-block;
    vertical-align: bottom;
    line-height: 1em;
}
#topBar ul li a{
    display: block;
    vertical-align: middle;
    padding: 0;
    margin: 0 10px;
    color: #686363;
    font-size: 0.9rem;
    font-family: 'flamamedium';
    text-transform: uppercase;

    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#topBar ul li a:hover{
    color: #999;
}
#topBar ul li a:after{
    content: '';
    display: block;
    width: 100%; height: 3px;
    clear: both;
    background: #686363;
    margin: 22px auto 0 auto;
    margin-bottom:-5px;

    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#topBar ul li a.selected, #topBar ul li a:active{
    color: #a43e3e;
}
#topBar ul li a:hover:after{
    width: 100%;
    margin-bottom:0;
    margin: 18px auto 0 auto;
    background: #686363;
}
#topBar ul li a.selected:after{
    width: 100%;
    margin-bottom:0;
    margin: 18px auto 0 auto;
    background: #a43e3e;
}
/* */


/* abertura do topo */

header::after{
    content: '';
    font-size: 0;
    display: block; position: relative;
    top:0;
    height: 100%;
    width: 100%;
    opacity: 0.2;
    z-index:-1;

    /*
    filter: blur(1px) brightness(1.2) grayscale(50%);
    -o-filter: blur(1px) brightness(1.2) grayscale(50%);
    -moz-filter: blur(1px) brightness(1.2) grayscale(50%);
    -webkit-filter: blur(1px) brightness(1.2) grayscale(50%);
    */
}

#header-mosquito::after {
    background: transparent url('../img/capas/mosquito.jpg') no-repeat center fixed;
    background-size: cover;
}

#header-doencas::after {
    background: transparent url('../img/capas/doencas.jpg') no-repeat center fixed;
    background-size: cover;
}

#header-microcefalia::after {
    background: transparent url('../img/capas/microcefalia.jpg') no-repeat center fixed;
    background-size: cover;
}

#header-combate::after {
    background: transparent url('../img/capas/combate.jpg') no-repeat center fixed;
    background-size: cover;
}

#header-servico::after {
    background: transparent url('../img/capas/servico.jpg') no-repeat center fixed;
    background-size: cover;
}

header h2{
    font-family: 'flamalight';
    font-size: 5rem;
    font-weight: normal;
    color: #a43e3e;
    display: inline-block; position: absolute;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 4px 6px rgba(0,0,0,0.5);
    top: 50%; left: 50%;

    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

header h2 span.subtitle{
    font-size: 1.8rem;
    display: block;
}

header h2 span:not(.subtitle){
    font-size: 1.4rem;
    color: #d3d3d3;
    display: block;
    margin-top: 1rem;
    text-transform: none;
}


/* texto corrido */
h3.subtitulo{
    font-family: 'flamamedium';
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    color: #a43e3e;
    line-height: 2rem;
}

h3.subtitulo:after{
    content:'';
    display: block;
    width: 70px; height: 2px;
    background: #686363;
    margin: 1em auto 0 auto;
}

/* page nav */
#pageNav{
    width: 100%;
    border-top: 1px solid #d3d3d3;
    text-align: center;
    font-size: 0;
    /* margin-top: 120px; */
}

#pageNav a{
    width: calc(50% - 1px); 
    height: 140px; line-height: 140px;
    display: inline-block;
    border-right: 1px solid #d3d3d3;
    font-size:2rem; color: #666;
    font-family: 'flamalight';
    text-transform: uppercase;

    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#pageNav a.full {
    width: calc(100% - 1px); 
}
#pageNav a:hover{
    background: #f3f3f3;
}
#pageNav a i{
    margin: 0 20px;
}


/*  share bar  */
#shareBar{
    max-width: 200px;
    position: fixed;
    top: 5px; right: 15px;
    font-size: 20px ;
    line-height: 45px;
    text-align: center;
}
#shareBar a{
    display: inline-block;
    vertical-align: middle;
    color: #666;
    margin: 0 4px;
    line-height: 45px;
    height: 45px;

    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#shareBar a i{
    margin:0; padding:0;
}
#shareBar a:hover{
    color: #999;
}


/* capa */
header{
    text-align: center;
}
header.cover{
    height: 100%;
    box-shadow: none;
    text-align: left;
    overflow: hidden;
    margin:0;
}
header.cover h2{
    max-width: 580px;
    font-size:4.2rem;
    text-align: left;
}
header.cover h2 b{
    font-family: 'flamamedium';
}
header.cover h2 span{
    line-height: 1.5;
}
header.cover::after{
    background: transparent url('../img/mosquito-bg.gif') no-repeat center fixed;
    background-size: cover;
    opacity: 0.2;
}
header.cover video{
    display: inline-block;
    height: 100%;
    width: auto;
    opacity: 0.15;
}

#homeInitBt{
    font-family: 'flamabook';
    font-size: 2rem;
    color: #a43e3e;
}
#homeInitBt i{
    margin-left:10px;
}

/* videos conteúdo */
.videoContainer{
    max-width: 940px;
    margin: 1rem auto;
}
.embed-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* videos agile */
.player-agile { position: relative; padding-bottom: calc(56.25% + 31px); height: 0; overflow: hidden; max-width: 100%; }
.player-agile iframe, .player-agile object, .player-agile embed { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }

/* timeline */
.timeline{
    position: relative; display: block;
    width: 100%;max-width: 660px;
    margin: 0 auto;
    /*padding: 2rem 2rem 2rem 2rem;*/
}

/* texto de como usar o infográfico */
#content p.tip {
    font-family: 'flamabook';
    font-size: 1rem;
    line-height: 1.4rem;
    opacity: .5;
    max-width: 660px;
    margin: 1rem auto 0;
    padding: 0 2rem;
    text-align: center;
}

#content p.tip span {
    display: block;
    visibility: hidden;
}

@media all and (max-width: 1366px) {
    #content p.tip span {
        visibility: visible;
    }
}

@media screen and (max-width:740px){
    html{
       font-size: 13px; 
    }
    header h2{
        font-size: 3rem;
    }
    header h2 span{
        font-size: 1.2rem;
    }
    #pageNav{
        margin-bottom: 50px;
    }
    #pageNav a{
        font-size:1.2rem;
    }
    

    #shareBar{
        width: 100%;
        max-width: 100%;
        position: fixed;
        top: auto; right: auto; bottom:0;
        background: #000;
    }
    #shareBar a{
        padding: 0 6px;
    }

    ul#menu{
        position: fixed;
        overflow: hidden;
        width: 65%; height: calc(100% - 110px);
        background: #333;
        padding: 70px 0 0 0;
        
        transition: all 0.3s;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;

        transform: translateX(100%);
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
    }

    ul#menu.open{
        transform: translateX(-23%);
        -moz-transform: translateX(-23%);
        -webkit-transform: translateX(-23%);
    }

    #menuBt{
        width: 36px; height: 36px;
        line-height: 36px;
        cursor: pointer;
        display:block;
        position: fixed; top: 7px; right: 7px;
        color: #666;
        font-size: 1.8rem;
        font-family: 'flamamedium';
        z-index: 10000;
    }
    #menuBt:hover{
        color: #999;
    }

    ul#menu li{
        display: block; 
        margin-bottom: 15px;
    }
    ul#menu li a{
        margin: 0 20px;
    }
    ul#menu li a:after{
        margin: 15px 0;
        height: 1px;
        background: #111;
    }
    ul#menu li a:hover:after, ul#menu li a.selected:after{
        margin: 15px 0;
    }
}

/* accordion */

#perguntas-respostas {
    width: 100%;
    background-color: #f5f5f5;
    padding: 2rem 0;
}

.transition, .resposta, ul li i:before, ul li i:after {
    transition: all .25s ease-in-out;
}

#accordion {
    min-height: 0;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    max-width: 660px;
    width: calc(100% - 4rem);
    padding: 30px;
}

@media (max-width: 550px) {
  #accordion {
    box-sizing: border-box;
    transform: translate(0, 0);
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    left: 0;
  }
}

.pergunta, .resposta {
    font-family: 'flamamedium';
    font-size: 1.2rem;
    color: #333;
    line-height: 2rem;
    margin-right: 2rem;
}

.resposta {
    font-family: 'flamabook';
    position: relative;
    overflow: hidden;
    max-height: 2000px;
    opacity: 1;
    transform: translate(0, 0);
    z-index: 2;
    padding-top: 1rem;
}

#accordion ul {
    list-style: none;
    perspective: 900;
    padding: 0;
    margin: 0;
}
#accordion ul li {
    position: relative;
    padding: 0;
    margin: 0;
    padding: 2rem 0;
    border-top: 1px dotted rgba(0, 0, 0, .3);
}

ul li:last-of-type {
    padding-bottom: 0;
}
ul li i {
    position: absolute;
    transform: translate(-6px, 0);
    margin-top: 16px;
    right: 0;
}
ul li i:before, ul li i:after {
    content: "";
    position: absolute;
    background-color: #a43e3e;
    width: 3px;
    height: 9px;
}
ul li i:before {
    transform: translate(-2px, 0) rotate(45deg);
}
ul li i:after {
    transform: translate(2px, 0) rotate(-45deg);
}
ul li input[type=checkbox] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    top: 0;
}
ul li input[type=checkbox]:checked ~ .resposta {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translate(0, 50%);
}
ul li input[type=checkbox]:checked ~ i:before {
    transform: translate(2px, 0) rotate(45deg);
}
ul li input[type=checkbox]:checked ~ i:after {
    transform: translate(-2px, 0) rotate(-45deg);
}

#perguntas-respostas p.fonte{
    font-family: 'flamabook';
    font-size: 1rem;
    line-height: 1.4rem;
    opacity: .5;
    margin-top: 3rem;
    max-width: 660px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* galerias */

.owl-carousel {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.owl-carousel img {
    max-width: 660px;
    width: 100%;
}

/* infográfico no meio do texto */

.resposta img {
    max-width: 660px;
    width: 100%;
    margin-top: 2rem;
}

figure, figure img {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
}

figure {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
    width: calc(100% - 4rem);
}

figcaption {
    margin-top: 1rem;
    border-top: 1px dotted #333;
    padding-top: .6rem;
    text-transform: uppercase;
    font-family: 'flamabook';
    text-align: right;
    opacity: .5;
    font-size: .8rem;
}

#content p.info {
    font-family: 'flamabook';
    font-size: 1.2rem;
}

/* info-grávidas */

#info-gravidas {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.info {
    margin: 0 auto;
    max-width: 660px;
    width: calc(100% - 4rem);
    padding: 0 2rem;
}

.info ul li {
    display: flex;
    display: -webkit-flex;
            align-items: center;
    -webkit-align-items: center;
}

.info img {
    max-width: 100px;
    padding: 2rem;
}

.info ul li div {
    padding: 2rem 0;
    border-bottom: 1px dotted #333;
    font-family: 'flamabook';
    font-size: 1.2rem;
    line-height: 2rem;
    width: 100%;
}

.info-desc { 
    font-family: 'flamamedium';
    font-size: 1.2rem;
    line-height: 2rem;
    max-width: 660px;
    margin: 0 auto;
    margin-top: 2rem;
    padding: 0 2rem;
}

.info ul li:last-child div {
    border-bottom: none;
}

#credito-info {
    width: calc(100% - 4rem);
    max-width: 660px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: .5rem;
    font-family: 'flamabook';
    color: #333;
    text-align: right;
    opacity: .5;
    text-transform: uppercase;
}

.vbox-title{
    font-family: 'flamabook';
    font-size: 0.6rem;
    top: auto; bottom:0;
}

a.creditos {
    position: absolute;
    bottom: .75rem;
    color: #fff;
    font-family: 'flamamedium';
    text-transform: uppercase;
    left: 1rem;
    font-size: .9rem;
    opacity: .5;
}

a.creditos:hover {
    opacity: 1;
}

@media screen and (max-width: 480px) {
    .info ul li {
                flex-direction: column;
        -webkit-flex-direction: column;
    }
    .info img {
        max-width: initial;
        padding: 0;
        height: 160px;
        margin-top: 2rem;
    }

    body#inicial header.cover {
        overflow-x: hidden;
        overflow-y: auto;
        padding-top: 180px;
        padding-bottom: 180px;
    }

    body#inicial video {
        display: none;
    }

    body#inicial header.cover::after{
        background: transparent url('../img/mosquito-bg.gif') no-repeat center fixed;
        background-size: cover;
        top: 56px;
        position: fixed;
        height: 100vh;
    }
}



