@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');

/* RESET */

html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{font-family:'Open Sans',sans-serif;margin:0;padding:0;color:#6b6b6f;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
ul{list-style:none}
button,input,select,textarea{margin:0;}
html{box-sizing:border-box}
*,*:before,*:after{box-sizing:inherit}
img,embed,iframe,object,video{height:auto;max-width:100%}
audio{max-width:100%}
iframe{border:0;width: 100%;height: 450px;}
table{border-collapse:collapse;border-spacing:0}
td,th{padding:0;text-align:left}
.clearfix:after{content: ".";visibility: hidden;display: block;height: 0;clear: both;}

/* ESTRUTURA */

.max-width, .content-width {
    width: 100%;
    margin: 0 auto;
}

.max-width {
    max-width: 1200px;
}

.content-width {
    max-width: 800px;
}

input, select {
    height: 32px;
    width: 100%;
    padding: 5px 13px;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e0dfdf;
    border-radius: 4px;
}

input[type=submit], button {
    height: 32px;
    padding: 5px 13px;
    border: 0;
    border-radius: 3px;
    transition: background-color 150ms linear;
    cursor: pointer;
}

h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 25px 0 12px;
    color: #211915;
}

h2:first-child {
    margin: 0 0 12px;
}

@media only screen and (max-width: 1200px) {
    .max-width,
    .content-width {
        padding: 0 25px;
    }
}


/* HEADER */

header .logo {
    width: 160px;
    float: left;
}

.topo {
    height: 90px;
    padding: 24px 0;
}

.busca {
    width: 215px;
    float: right;
    position: relative;
    padding: 5px 0px;
}

.busca-campo {
    background: #f0efef;
    border: 1px solid #e0dfdf;
}

.busca-botao {
    width: 35px;
    font-size: 0;
    background: #188741 url(/explica/images/busca.png) no-repeat center center/15px;
    border-radius: 0 3px 3px 0;
    position: absolute;
    top: 5px;
    right: 0;
}

.busca-botao:hover {
    background-color: #0c652d;
}

.titulo {
    clear: both;
    float: none;
    background: #1a84ad;
    min-height: 100px;
    padding: 21px 0 40px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.navegacao-uf {
    position: relative;
    height: 38px;
    top: -21px;
    text-align: center;
    border-color: #aba8a8;
    font-size: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

@media only screen and (max-width: 1200px) {
    .topo {
        padding: 24px 25px;
    }
}

@media only screen and (max-width: 620px) {
    .topo {
        height: 140px;
    }
    
    header .logo {
        width: 160px;
        float: none;
        margin: 0 auto;
        display: block;
    }
    
    .busca {
        width: 100%;
        float: none;
        margin-top: 15px;
    }
}


/* RESULTADOS EM DESTAQUE */

.resultados-destaque {
    background: #d8d9dd;
    margin-top: -38px;
    padding: 30px 0 16px;
    border-bottom: 1px solid #c3c3c8;
    position: relative;
}

.container-variaveis {
    display: none; 
    flex-direction: row;
    justify-content: center;
}

#dadoBrasil {
    display: flex; 
}

.resultados-destaque .variavel {
    width: 33.33%;
    text-align: center;
    border-left: 1px solid #c3c3c8;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resultados-destaque .variavel:first-child, 
#dadoMunicipio .variavel:last-child {
    border-left: none;
}

.variavel-titulo {
    color: #083f78;
    font-weight: 700;
    font-size: 14px;
}

.variavel-titulo small {
    display: block;
    color: #083f78;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}

.variavel-dado {
    font-size: 25px;
    font-weight: 700;
    color: #211915;
    margin: 0;
}

.variavel-periodo {
    font-size: 13px;
    margin: 4px 0 0;
    color: #6b6b6f;
}

.link-botao {
    display: block;
    border: 1px solid #0085b1;
    margin: 0 15px 0 0;
    padding: 10px 40px 10px 15px;
    text-decoration: none;
    color: #0085b1;
    border-radius: 5px;
    text-align: left;
    background: url(/explica/images/seta.png) no-repeat right 15px center/9px;
    transition: background-color 150ms linear;
}

.link-botao:hover {
    background-color: #e4e5e8;
}

@media only screen and (max-width: 620px) { 
    .container-variaveis {
        flex-direction: column;
    }

    .resultados-destaque {
        padding: 20px 0 10px;
    }

    .resultados-destaque .variavel {
        float: none;
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #c3c3c8;   
        padding: 20px 0     
    }
    
    .resultados-destaque .variavel:last-child {
        border-bottom: none;        
    }
}


/* CONTEUDO */

.conteudo {
    padding: 40px 0;
}

.conteudo a {
    color: #0085b1;
    transition: color 150ms linear; 
}

.conteudo a:hover {
    color: #046c8e;
}

.conteudo p {
    font-size: 17px;
    margin-bottom: 10px;
    color: #6b6b6f;
    line-height: 26px;
}

.conteudo ul {
    margin-bottom: 15px;
}

.conteudo li {
    list-style: disc inside;
    font-size: 17px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 1200px) {
    .conteudo {
        padding: 40px 25px;
    }
}

@media only screen and (max-width: 620px) { 
    .conteudo p,
    .conteudo a {
        font-size: 15px;
        line-height: 24px;
    }
}


/* TABELA */

table {
    width: 100%;
    border: 1px solid #57585a;
    font-size: 14px;
    margin: 20px auto 25px;
}

thead th {
    background: #57585a;
    padding: 8px 12px;
    color: #ffffff;
    text-align: center;
}

tbody th {
    background: #eaeaea;
    padding: 8px 12px;
    border: 1px solid #57585a;
}

tbody td {
    padding: 8px 12px;
    border: 1px solid #57585a;
}

.numero {    
    font-family: 'Roboto Mono', monospace;
    text-align: right;
}


/* FOOTER */

.footer-saiba-mais {
    background: #d8d9dd;
    padding: 39px 0;
}

.footer-saiba-mais h2 {
    border-bottom: 1px solid #aeadb0;
    padding-bottom: 20px;
    margin: 0;
}

.saiba-mais-link.grafico {
    background-image: url(/explica/images/grafico.png);
}

.saiba-mais-link.tabela {
    background-image: url(/explica/images/tabela.png);
}

.saiba-mais-link {
    border-bottom: 1px solid #CAC9CC;
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: 10px center;
    transition: background-color 150ms linear; 
}

.saiba-mais-link:hover {
    background-color: #d2d3d4;
}

.saiba-mais-link a {
    color: #211915;
    text-decoration: none;
    display: block;
    padding: 15px 35px 15px 60px;
    background: url(/explica/images/seta.png) no-repeat right 10px center/8px;
}

.footer-info {
    background: #4b4b4c;
    padding: 30px 0;
}

.footer-info .logo {
    width: 145px;
    float: left;
}

.footer-info .social-media {
    float: right;
}

.social-media ul {
    margin: 0;
    padding: 0;
}

.social-icon {
    width: 35px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    margin-right: 5px;
}

.social-icon .icon-bg {
    transition: fill 250ms ease-out;
}

.social-icon .icon-logo {
    transition: fill 150ms ease-out;
}

.social-icon.youtube:hover .icon-bg {
    fill: #d03b3b;
}

.social-icon.instagram:hover .icon-bg {
    fill: #c54173;
}

.social-icon.facebook:hover .icon-bg {
    fill: #5176c9;
}

.social-icon.twitter:hover .icon-bg {
    fill: #49b1dd;
}

.social-icon:hover .icon-logo {
    fill: #ffffff;
}

@media only screen and (max-width: 620px) { 
    .footer-info .logo {
        width: 145px;
        display: block;
        margin: 0 auto 25px;
        float: none;
    }

    .footer-info .social-media {
        float: none;
        width: 173px;
        display: block;
        margin: auto;
        float: none;
    }
}

/* LOADING */

.loading-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background: rgba(179, 179, 179, 0.9411764705882353);
    display: none;
}

.loading {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    margin-top: 48px;
}

.loading div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading div:nth-child(1) {
    left: 6px;
    animation: loading1 0.6s infinite;
}

.loading div:nth-child(2) {
    left: 6px;
    animation: loading2 0.6s infinite;
}

.loading div:nth-child(3) {
    left: 26px;
    animation: loading2 0.6s infinite;
}

.loading div:nth-child(4) {
    left: 45px;
    animation: loading3 0.6s infinite;
}

@keyframes loading1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes loading3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes loading2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(19px, 0);
    }
}
  
/* YOUTUBE*/

.col-cont {
    margin: 30px auto;
    max-width: 100%;
}

.home-youtube-container {
    cursor: pointer;
    position: relative;
}

.home-youtube-container img {
    max-height: 450px;
    max-width: 100%;
    width: 100%;
    border: none;
    display: block;
    opacity: 0.95;
    transition: opacity 150ms linear; 
}

.home-youtube-container img:hover {
    opacity: 1;
}

.home-youtube-container i {
    color: #fff;
    font-size: 72px;
    left: 50%;
    margin: -33px 0 0 -31px;
    position: absolute;
    text-shadow: 0 0 8px rgba(0, 0, 0, .5);
    top: 50%;
}

.embed-responsive {
    height: auto;
    background: #000000;
}

.embed-responsive iframe {
    border: 0;
    height: 450px;
    width: 100%;
}

@media only screen and (min-width: 481px) {
    .home-youtube-container img {
        max-height: 450px;
        max-width: 100%;
    }
}