body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: 'flamabook', arial, sans-serif;
    color: #fff;
    overflow: hidden;
    -moz-osx-font-smoothing: grayscale;
}

.master {
    position: fixed;
    background-image: url('../img/bg.jpg');
    background-size:cover;
    width: 100%;
    height: 100vh; 
}

/* visualizações (sem bg) */

#section7, #section12, #section16 {
    /*
    background-image: url('../img/X.jpg');
    background-color: #000;
    */
    background-size:cover;
} 

/* fundo preto */

#section3, #section4 {
    background-color: #000;
    background-size:cover;
} 

/* fundo smoke */

#section1, #section2, #section8, #section9 #section18, #section19, #section20 {
    /*
    background-image: url('../img/X.jpg');
    background-color: #000;
    */
    background-size:cover;
}

/* fundo com imagem */

#section5 {
    background-image: url('../img/desmatamento.jpg');
    background-color: #000;
    background-size:cover;
}

#section6 {
/*    background-image: url('../img/inundacao.jpg');*/
    background-color: #000;
    background-size:cover;
}

#section8 {
    background-image: url('../img/solar.jpg');
    background-color: #000;
    background-size:cover;
}

#section9 {
    /*background-image: url('../img/gado.jpg');*/
    background-color: #000;
    background-size:cover;
}

#section11 {
    background-image: url('../img/eolica.jpg');
    /*background-image: url('../img/transito.jpg'); ********** mudas crescendo*/
    background-color: #000;
    background-size:cover;
}

#section12 {
    background-image: url('../img/amazonia.jpg'); /*********** tem que trocar tb */
    background-color: #000;
    background-size:cover;
}

#section14 {
    /*background-image: url('../img/reflorestamento.jpg');*/ /* ********** eolica */
    background-color: #000;
    background-size:cover;
}

#section15 {
    background-image: url('../img/seca.jpg');
    background-color: #000;
    background-size:cover;
}

#section16 {
    background-image: url('../img/inundacao.jpg');
    background-color: #000;
    background-size:cover;
}

#section17 {
    background-image: url('../img/urso-polar.jpg');
    background-color: #000;
    background-size:cover;
}

.box-shadow {
    -webkit-box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.75);
}

#video {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black;
    background-image: /* */
    background-position: center center;
    background-size: contain;
    object-fit: cover;
}

/*
::-webkit-media-controls {
  display:none !important;
}
*/

.logo-estadao {
    font-family: 'Marcas Estadão';
    position: fixed;
    top: 1rem;
    right: 1.4rem;
    font-size: 2rem;
    color: #fff;
}

.logo-estadao:before {
    content: "";
}

.aligner {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 
    /* --- */
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    /* --- */
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    /* --- */
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

h1 {
    text-transform: uppercase;
    text-align: center;
}


h1 #main-title {
    font-size: 10rem;
	font-family: 'flamathin';
    color: #fff;
    text-shadow: 0px 0px 20px rgba(204, 221, 255, 1);
    font-weight: normal;
}

h1 #sub-title {
    color: rgb(255,255,255);
    color: rgba(255,255,255,0.5);
    font-size: 1.6rem;
    /*letter-spacing: normal;*/
    text-indent: 0.6rem;
    display: block;
    font-family: 'flamabold';
    padding-top: 1rem;
    text-shadow: none;
    letter-spacing: 0.6rem;
    font-weight: normal;
}

#linha-fina {
    display:none;
    padding-top: 4rem;
}

/* animaçoes (h1) */

.first {
    -webkit-filter: blur(8px);
    opacity: 0;
    letter-spacing: 0.6rem;
    text-indent: 0.6rem;
}

.last {
    -webkit-filter: blur(0px);
    opacity: 1;
    letter-spacing: 0.2rem;
    text-indent: 0.2rem;
}

.transition-all-05 {
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.transition-all-1, #barra  {
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
}

.transition-all-2 {
    -webkit-transition: all 2s ease 0s;
    -moz-transition: all 2s ease 0s;
    -o-transition: all 2s ease 0s;
    transition: all 2s ease 0s;
}
/*
#barra {
    -webkit-transition: all .75s ease 0s;
    -moz-transition: all .75s ease 0s;
    -o-transition: all .75s ease 0s;
    transition: all .75s ease 0s;
}
*/

.delay {
    -webkit-transition-delay: 0.4s; 
    -moz-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

.nome-jornalista {
    font-family: 'flamabook', arial, sans-serif;
    color: #fff;
    /*padding-top: 4rem;*/
    margin: 0 auto;
    display:inline-block;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    bottom: 3rem;
    width: 100%;
    left: 0;
    right: 0;
}

.nome-jornalista span {
    font-family: 'flamabold';
}

.desce {
    font-size: 2rem;
    color: #fff;
    opacity: 0.5;
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.desce:hover {
    cursor: pointer;
}

.aligner p {
    /*width: 100%;*/
    max-width: 500px;
    font-family: 'flamabook', arial, sans-serif;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6rem;
    padding: 1rem;
}

p.center {
    margin: 0 auto;
    text-align: center;
}

.aligner p a {
    color: rgba(255,255,255,1);
    font-family: 'flamabold', arial, sans-serif;
}

.aligner ul {
    max-width: 500px;
    font-family: 'flamabook', arial, sans-serif;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6rem;
}

.aligner ul li {
    padding: 1rem;
}

.data {
    font-family: 'flamabold';
    color: #fff;
    text-align: center;
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.data-bold {
     font-family: 'flamabold';
     font-size: 3rem;
     text-align: center;
     text-transform: uppercase;
}

#data-red {
    color: #ff3333
}

#data-yellow {
    color: #ffae00
}

#data-blue {
    color: #00a4df;
}

.fa-globe {
    text-align: center;
    padding-top: 30px;
    color: #fff;
}


#left {
    width: 56px;
    height: 2px;
    background-color: #fff;
    float: left;
    margin: 38px 10px 0px 0px;
    opacity: 0.5;
}

#right {
    width: 56px;
    height: 2px;
    background-color: #fff;
    float: right;
    margin: 38px 0px 0px 10px;
    opacity: 0.5;
}

/* barra lateral */

#barra-wrap {
    height: 100vh;
    position: fixed;
    width: 16px;
    top: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.25);
    display: none;
}

#barra {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 16px;
    height: 0;
}

#barra.red {
    height: 100vh;    
    background: rgba(255,51,51,1);
    background: -moz-linear-gradient(top, rgba(255,51,51,1) 0%, rgba(255,51,51,0.25) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,51,51,1)), color-stop(100%, rgba(255,51,51,0.25)));
    background: -webkit-linear-gradient(top, rgba(255,51,51,1) 0%, rgba(255,51,51,0.25) 100%);
    background: -o-linear-gradient(top, rgba(255,51,51,1) 0%, rgba(255,51,51,0.25) 100%);
    background: -ms-linear-gradient(top, rgba(255,51,51,1) 0%, rgba(255,51,51,0.25) 100%);
    background: linear-gradient(to bottom, rgba(255,51,51,1) 0%, rgba(255,51,51,0.25) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3333', endColorstr='#ff3333', GradientType=0 );
}

#barra.yellow {
    height: 47vh;
    background: rgba(255,174,0,1);
    background: -moz-linear-gradient(top, rgba(255,174,0,1) 0%, rgba(255,174,0,0.25) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,174,0,1)), color-stop(100%, rgba(255,174,0,0.25)));
    background: -webkit-linear-gradient(top, rgba(255,174,0,1) 0%, rgba(255,174,0,0.25) 100%);
    background: -o-linear-gradient(top, rgba(255,174,0,1) 0%, rgba(255,174,0,0.25) 100%);
    background: -ms-linear-gradient(top, rgba(255,174,0,1) 0%, rgba(255,174,0,0.25) 100%);
    background: linear-gradient(to bottom, rgba(255,174,0,1) 0%, rgba(255,174,0,0.25) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffae00', endColorstr='#ffae00', GradientType=0 );
}

#barra.blue {
    height: 22.45vh;
    background: rgba(0,164,223,1);
    background: -moz-linear-gradient(top, rgba(0,164,223,1) 0%, rgba(0,164,223,0.25) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,164,223,1)), color-stop(100%, rgba(0,164,223,0.25)));
    background: -webkit-linear-gradient(top, rgba(0,164,223,1) 0%, rgba(0,164,223,0.25) 100%);
    background: -o-linear-gradient(top, rgba(0,164,223,1) 0%, rgba(0,164,223,0.25) 100%);
    background: -ms-linear-gradient(top, rgba(0,164,223,1) 0%, rgba(0,164,223,0.25) 100%);
    background: linear-gradient(to bottom, rgba(0,164,223,1) 0%, rgba(0,164,223,0.25) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a4df', endColorstr='#00a4df', GradientType=0 );
}

#barra.inativo {
    height: 0;
}

#barra-info {
    position: absolute;
    left: 1.5rem;
    width: 50px;
    margin-top:0.5rem;
    font-family: 'flamabold', arial, sans-serif;
    color: #fff;
}

#barra-info span {
    display: inline-block;
    font-family: 'flamabook', arial, sans-serif;
}

#barra-info #fase {
    text-transform: uppercase;
    font-family: 'flamabold', arial, sans-serif;
}

#video-fallback {
    background-image: url('../img/bg.jpg');
    background-size:cover;
    display: none;
}

#center {
    /*padding: 30px;*/
}

/* graficos */

.chart-title {
    font-family: 'flamabold', arial, sans-serif;;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 2.4rem;
    opacity: 0.5;
}

.chart-info {
    font-family: 'flamabold', arial, sans-serif;;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.5;
    padding: 1rem 0rem 0rem;
}

.chart-emissoes {
    padding-top: 2rem;
    width: 100%;
    /*max-width: 80vw;*/
}
/*
.chart-temperatura {
    padding-top: 2rem;
    width: 76%;
    margin-left: 12%;
    max-width: 1280px;
}
*/
.chart-temperatura {
    width: 100%;
    max-width: 80vw;
}

#separador {
    display:none;
    width: 146px;
    margin: 0 auto;
}

/* anima textos */

.aligner-content {
    margin-top: 6rem;
    opacity: 0;
}

.active .aligner-content {
    margin-top: 0;
    opacity: 1;
}

/* canvas */

canvas {
  background:#000;
  position:fixed;
  width: 100% !important;
  height: 100% !important;
}

/* botão videográfico */

a.btn {
    color: #000;
    background: rgba(255,255,255,1);
    display: inline-block;
    padding: 12px;
    margin: 2.2rem 1rem;
    text-transform: uppercase;
    text-transform: center;
    border-radius: 2px;
}

a.btn i{
    margin-right: 0.5rem;
}

a.btn:hover {
    background: rgba(255,255,255,1);
}

a.btn span {
    font-family: 'flamabold';
}

.botao {
    border: none;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    background-color: transparent;
    color: rgba( 255, 255, 255, .4 );
    font-family: 'flamabold', Flama, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    border-top-color: #fff;
    padding-top:0.5rem;
    color: #fff;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    margin: 1rem 1rem;
    opacity: 0.75;
    display: inline-block;
}

.botao span {
    font-family: 'flamabook', arial, sans-serif;
}

.botao:hover {
    opacity: 1;
    letter-spacing: 0.05rem;
    text-shadow: 0px 0px 8px rgba(204, 221, 255, 1);
}



strong {
    font-family: 'flamabold', arial, sans-serif !important;
}

p.italic, em {
    font-style: italic !important;
}

/* CONTROLE */

#control {
    font-size: 1.6rem;
    position: fixed;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    right: 0;
    color: #fff;
    text-align: center;
}

.circulo {    
    position: relative;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    width: 26px;
    height: 26px;
    margin: 1rem 0.2rem;
}

.circulo:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.go-up {
    display: none;
    position: absolute;
    left: 0.3rem;
    bottom: 0.1rem;
}

.go-down {
    display: block;
}

.go-up:hover {
    cursor: pointer;
    opacity: 0.6;
}

.go-down:hover {
    cursor: pointer;
    opacity: 0.6;
}


/* tooltip */

a.tooltip-text {
    position: relative;
    display: inline;
    text-shadow: 0px 0px 8px rgba(204, 221, 255, 1);
}

a.tooltip-text span {
    position: absolute;
    left: 50%;
    width: 400px;
    top: 190%;
    height: 26px;
    padding: 6px;
    margin-left: -206px;
    background: #fff;
    /*color: rgb(20,21,25);*/
    color: #000;
    text-align: center;
    visibility: hidden;
    border-radius: 2px;


    font-family: 'flamabold', Flama, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
   
} 

        
a.tooltip-text span:after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -12px;
    width: 0;
    height: 0;
    border-bottom: 12px solid white;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
}
        
a.tooltip-text span {
    visibility: visible;
    opacity: 1;
    bottom: 30px;
    z-index: 999;
}

a.tooltip-text:hover span {
    box-shadow: 0px 0px 8px rgba(204, 221, 255, 0.75);
}

a.tooltip-text#link-chart-temp span {
    width: 260px;
    margin-left: -136px;
}



p.credito-foto {
    color: #fff;
    position: absolute;
    bottom: 1rem;
    right: 1.2rem;
    font-family: 'flamabold';
    opacity: 0.33;
    font-size: 0.7rem;
}


/* vis mobile */
.vis-mobile {
    max-width: 500px;
    display: none;
}

.vis-mobile img {
    width: 100%;
}


/* vis */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

#data-vis {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    /* --- */
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    /* --- */
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    /* --- */
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    /*-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;*/
    width: 100%;
    height: 100vh;
}

#data-vis .aligner p {
    padding-top: 1rem !important;
    font-size: 1.1rem !important;
    line-height: 1.1 !important;
}

#vis {
    width: 100%;
/*    padding-top: 40px;*/
}

#vis svg {
    width: 100%;
    height: auto;
}

#toggle-vis {
    display: flex;
    height: 40px;
}

#toggle-vis button {
    display: none;
    border: none;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    width: 96px;
    background-color: transparent;
    color: rgba( 255, 255, 255, .4 );
    font-family: 'flamabold', Flama, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    transition: all .3s;
}

#toggle-vis button:hover,
#toggle-vis button:focus {
    border-top-color: rgba( 255, 255, 255, .4 );
}

#toggle-vis #vis-2010.active {
    border-top-color: #bf2626;
    color: #bf2626;
}

#toggle-vis #vis-2030.active {
    border-top-color: #bf8201;
    color: #bf8201;
}

#toggle-vis #vis-ideal.active {
    border-top-color: #0078a3;
    color: #0078a3;
}

@media ( min-width: 960px ) {
    #vis {
        max-width: 800px;
    }
}

/*
@media ( min-width: 1200px ) {
    #vis {
        max-width: 800px;
    }
}
*/

@media ( min-width: 1600px ) {
    #vis {
        max-width: 1200px;
    }
}

/*@media ( min-width: 1920px ) {
    #vis {
        max-width: 1440px;
    }
}*/

@media ( min-width: 2560px ) {
    #vis {
        max-width: 1440px;
    }
}

.tooltip {
    position: absolute;
    top: 100px;
    left: 100px;
    z-index: 1000;
    width: 100% !important;
    max-width: 320px;
    color: rgba( 174, 186, 204, .6 );
    color: rgba( 255, 255, 255, .6 );
    font-family: 'flamabold', Flama, sans-serif;
    font-size: 12px;
    line-height: 1.44;
}

.tooltip-window {
/*    border: 1px solid rgba( 255, 255, 255, .4 );*/
    padding: 12px;
    -moz-border-radius: 5px;
         border-radius: 5px;
/*    max-width: 480px;*/
    background: rgba( 20, 21, 25, .85 );
}

.tooltip-window > span {
    display: block;
    margin-bottom: 6px;
}

.tooltip .tooltip-pais {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.1;
    text-transform: uppercase;
}

.tooltip-descricao {
    margin-top: 12px;
}

.tooltip .value {
    color: #fff;
}

.tooltip-2010 .tooltip-pais .value {
    color: #f33;
}

.tooltip-2030 .tooltip-pais .value {
    color: #ffae00;
}

a.display-on-mobile {
    display: none;
}

.display-on-mobile {
    display: none;
}

.hide-on-mobile {
    display: block;
}

.vis-wrap {
    padding: 4rem;
}

#section8 .aligner .data-bold {
    padding-top: 2rem
}

#section8 .aligner p {
    padding-bottom: 2rem
}

#section14 .aligner .data {
    padding-top: 2rem
}

#section14 .aligner ul li:last-child {
    padding-bottom: 2rem
}

/* creditos */

#section18 .aligner .data {
    padding: 2rem;
}

#section18 .aligner ul {
    max-width: 570px;
    padding: 1rem;
}

#section18 .aligner ul li {
    overflow: auto;
    clear: both;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
}

#section18 .aligner ul li strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    float: left;
    width: 50%;
}

#section18 .aligner ul li span {
    float: right;
    width: 50%;
}

#section18 .aligner ul li:last-child {
    border-bottom: none;
}

ul, menu, dir {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

/* share */

#section19 .shareBar {
    position: relative;
    margin: 0 auto;
    padding-top: 2rem;
    top: 0;
    right: 0;
}

#section1 .shareBar {
    position: relative;
    margin: 0 auto;
    padding-top: 2rem;
    padding-top: 1rem;
    top: 0;
    right: 0;
}

.show-graph .aligner-content {
    opacity: 1;
    margin-top: 0px;
}

.bg-fix {
    background-color: #000;
}

.chart-mobile {
    padding-top: 1rem;
}

.chart-mobile .data, .chart-mobile .chart-info, .chart-mobile .center {
    text-align: left;
    padding-left: 1rem;
}

#section6 .chart-mobile .data, #section6 .chart-mobile .chart-info, #section6 .chart-mobile .center {
    text-align: left;
    padding-left: 5.2rem;
}

#section6 .chart-mobile {
    padding-bottom: 2rem;
}

.chart-swipe .chart-temperatura {
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 970px;
    margin-left: 0
}

.chart-swipe .chart-emissoes {
    padding-top: 2rem;
    padding-left: 5.2rem;
    padding-right: 1rem;
    width: 420px;
    margin-left: 0;
}

.chart-swipe {
    overflow-x: scroll;
}

.chart-swipe img {
    vertical-align: top;
}

#small-text {
    font-size: 1rem;
}

#back-top-fix {
    opacity: .5;
}

#back-top:hover {
    opacity: 1;
    cursor: pointer;
    text-shadow: 0px 0px 8px rgba(204, 221, 255, 1);
    letter-spacing: 0.1rem;
}

#back-top-fix:hover {
    opacity: 1;
}










