/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #ffcc99;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #ffcc99;
    color: #fff;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

a:focus, a:active, 
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    border: 0;
    outline : 0;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #4d4d4f;
    padding: 0.2em 0;
}


/* ==========================================================================
   Fontes
   ========================================================================== */

@font-face {
    font-family: 'flamabook';
    src: url('../fonts/flama-book-webfont.eot');
    src: url('../fonts/flama-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-book-webfont.woff') format('woff'),
         url('../fonts/flama-book-webfont.ttf') format('truetype'),
         url('../fonts/flama-book-webfont.svg#flamabook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'flamamedium';
    src: url('../fonts/flama-medium-webfont.eot');
    src: url('../fonts/flama-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-medium-webfont.woff') format('woff'),
         url('../fonts/flama-medium-webfont.ttf') format('truetype'),
         url('../fonts/flama-medium-webfont.svg#flamamedium') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
    font-family: 'flamabook';
    color: #4d4d4f;
    overflow-x: hidden;
}

#header {
    position: fixed;
    background: rgba(255,255,255,0.9); 
    min-width: 970px;
    width: 100%; 
    height: 72px; 
    z-index: 4000;
    top:0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

#rolar {
  position:relative;
  top:100px;
  text-align: center;
  z-index: 3500;
  color: #fff;
  text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.6); 
}

#rolar img {
  position:relative;
  margin-top: 5px;
}

#siteBar {
  background: #4d4d4f;
  width:100%;
  height:34px;
  left: 0px;
  position:absolute;
  top:0;
  z-index:101;te
  text-align:center;
  min-width:970px;
}

.wrap {
  width: 970px; 
  position:fixed; 
  margin: 0 auto;
  margin-left: -485px;
  left: 50%;
  height: 100%;
}

#wrapper-fixo {
  position:relative;
  width: 970px;
  height: 100%; 
  margin: 0 auto;
}

.descricao {
  display:none;
  position: fixed;
  width: 310px;
  top: 80px;
  margin-left: 2.2em;
  z-index: 2000;
  text-shadow: 0px 0px 2px 0 #FFF; 
}

.linha-fina {
  display:block;
  position: fixed;
  width: 310px;
  top: 80px;
  margin-left: 2.2em;
  z-index: 2000;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  background-color: rgba(255,255,255,0.8);
  padding: 20px;
}

#ano1 {
  position: absolute;
top: 8px;
left: 730px;
color: #4d4d4f;
font-size: 14px;
}

#title {
    position: absolute;
    top: 27px;
    left: 2.2em;
    font-size: 18px;
    text-transform: uppercase;
    font-family: 'flamamedium';
    float: left;
}
#title span {
    font-family: 'flamabook';
}

.bold {
    font-family: 'flamamedium';
}


/* ==========================================================================
   Horizontal Scroll 
   ========================================================================== */


.stopscroll {
    width:      100%;
    height:     100%;
    overflow:   hidden;
}

/**
  * important: keep position fixed, you can however use top:0 instead of bottom:0
  * if you want to make it stick to the top of the browser
  */
.scroll
{
  position: fixed;
  bottom: 0;
  left: 0;
}

/**
  * z-index ordering of the different layers, do this for your layers,
  * also assign absolute width (to prevent issues if the script gets executed before the images get loaded)
  */


.sky
{
  position:fixed;
  z-index: 1;
  height: 450px;
  min-width: 150%;
  top: 45px;
  left: 0 !important;
}

.sky img
{
  height: 450px;
   min-width: 150%;
}

.pyramids {
  top: 400px;
  z-index: 25;
  height: 450px;
  opacity: 0;
  -webkit-transition: top 2s ease, opacity 2s ease;
  -moz-transition: top 2s ease, opacity 2s ease;
  -o-transition: top 2s ease, opacity 2s ease;
  -ms-transition: top 2s ease, opacity 2s ease;
  width: 2409px;
}

.pyramids img {
  z-index: 25;
  height: 450px;
  width: 2409px;
}

.visivel {
  top: 134px;
  opacity: 1;
  -webkit-transition: top 1.5s ease, opacity 1.5s ease;
  -moz-transition: top 1.5s ease, opacity 1.5s ease;
  -o-transition: top 1.5s ease, opacity 1.5s ease;
  -ms-transition: top 1.5s ease, opacity 1.5s ease;
}

.horizon
{
  z-index: 50;
  height: 1277px;
  width: 5467px;
  top: 0px;
}

.horizon img
{
  height: 1277px;
  width: 5467px;
}

.middle
{
  z-index: 500;
  top: 620px;
  opacity: 0.8;
}

.middle img
{
  width: 7000px;
}

.front
{
  position: fixed;
  z-index: 5000;
  top: 320px;
  left: 50%;
  width: 970px;
  margin-left: -485px;
  text-align: center;
}

#adax img,  #gnu img, #burro img, #guepardo img, #gamopersa img {
  -webkit-transform: scale(1.5); 
  -ms-transform: scale(1.5);  
  transform: scale(1.5);  
}

#gazela img, #zebra img, #dromedario img, #antilope img, #leao img, #ibex img {
  -webkit-transform: scale(1.8); 
  -ms-transform: scale(1.8);  
  transform: scale(1.8);  
}

#hipopotamo img, #rinoceronte img {
  -webkit-transform: scale(2); 
  -ms-transform: scale(2);  
  transform: scale(2);  
}

#elefante img {
  -webkit-transform: scale(2.5); 
  -ms-transform: scale(2.5);  
  transform: scale(2.5);  
}

#girafa img {
  -webkit-transform: scale(3.5); 
  -ms-transform: scale(3.5);  
  transform: scale(3.5);  
}

#burro {
  margin-left: -2px;
}

#gazela {
  margin-left: -10px;
  margin-right: -5px;
}

#javali {
  margin-left: -7px;
}

#hipopotamo {
  margin-left: 22px;
}

#guepardo {
  margin-left: 25px;
}

#elefante {
  margin-left: 40px;
}

#gamopersa {
  clear: left;
}

#leao {
  margin-left: 30px;
}

#girafa {
  margin-left: -5px;
  margin-right: 25px;
}

#gnu {
  margin-left: 30px;
}

#zebra {
  margin-left: 10px;
}

#antilope {
  margin-left: -2px;
}

.primeiro-plano {
  position:fixed;
  top: 480px;
  height:288px;
  min-width: 100%;
  /*z-index: 1200;*/
  /*width: 10467px;*/
}

.primeiro-plano img {
  height:288px;
  width: 100%;
}
.front a {
  position:relative;
  width: 83px;
  height: 83px;
  display:inline-block;
  margin: 20px 7px;
  border-radius:100px;
  vertical-align: top;
  /*box-shadow: 0 5px 10px rgba(0,0,0,0.1);*/
  /*background-color: rgba(255,255,255,0.6);*/
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
}

.linha {
}

.front a {
  display:block;
  float:left;
}

.animal {
  position:relative;
  max-width: 65px;
  width: auto;
  max-height: 53px;
  height: auto;
  padding: 2px;
  top: 10px;
  display: inline-block;
  /*border-radius:1000px;*/
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  z-index: 5050;
}
/*
.escondido {
  width: 0 !important;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
}*/

.escondido, .escondido img {
  -webkit-transform: scale(0) !important; 
  -ms-transform: scale(0) !important;  
  transform: scale(0) !important;  
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  width: 0 !important;
}

.extinto {
  opacity:0.3;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
}

.extinto::after { 
    position:absolute;
    content: "Extinto";
    font-family: 'flamamedium';
    color: #000;
    z-index: 5100;
    text-align: center;
    line-height: 83px;
    -webkit-transform: translateX(-45px);
    -ms-transform: translateX(-45px);
    transform: translateX(-45px);
    text-decoration: none;
}

.front a:hover {
  background-color: #fff;
  top:-1px;
  cursor: pointer;
  text-decoration: none;
}

#timeline {
  z-index: 5500;
  position:fixed; 
  bottom: 30px; 
  width: 900px; 
  height: 18px; 
  background: #fff; 
  color: #4d4d4f;
  text-shadow: 0px 1px 2px #FFF; 
  margin-left: -450px;
  left: 50%;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
   -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    0px 2px 6px 0px rgba(0, 0, 0, 0.5);
  box-shadow:         0px 2px 6px 0px rgba(0, 0, 0, 0.5);
}

#timeline-bg {
    margin: 3px 0 0 3px;
    width: 893px;
    background: #ddd;
    height: 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
     border-radius: 6px;
}

.ponto {
    margin: -12px 0 0 3px;
    width: 12px;
    background: rgba(0,0,0, 0.1);
    height: 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    z-index: 5800;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
}

.ponto:hover {
  cursor: pointer;
  background: rgba(0,0,0, 0.5);
}

.negro {
  background: rgba(0,0,0, 0.3); 
}

.antes {
  color: #4d4d4f;
  position: absolute;
  text-indent: -40px;
  text-align: left;
  top:-16px;
}

.depois {
  color: #4d4d4f;
  position: relative;
  left: 44px;
  top: -18px;
  float: right;
}

/*#ano > div {
    position:relative;
    color: #4d4d4f;
    text-align: center;
    float: left;
    font-size: 10px;
}*/

#ano {
  position: absolute;
  bottom: 0px;
  top: -20px;
  height: 20px;
  text-align: justify;
  /*border: 10px solid black;*/
  font-size: 0.1px; /* IE 9 & 10 don't like font-size: 0; */
  min-width: 900px;
  vertical-align: bottom;
  z-index: 5700;
}

#ano div {
  font-size:15px;
  color: #4d4d4f;
  bottom: 0px;
  text-align: center !important;
  margin: 0 auto;
  font-size: 10px;
  width: 20px;
  display: inline-block;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  vertical-align: bottom;
  /*background: red;*/
}

#ano div span {
  position: absolute;
  width:150px;
  top: -25px;
  left: -75px;
  color: #fff;
  background: #4d4d4f;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 10px;
  opacity: 0;
  text-shadow: none;
  font-family: 'flamabook';
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
}

span.long {
  width:200px !important;
  left: -100px !important;
}

span.medium {
  width:160px !important;
  left: -80px !important;
}

#ano div.anoAtual {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
  transform: scale(1.5);
  font-family: 'flamamedium';
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
}

#ano:after {
  content: '';
  width: 100%; /* Ensures there are at least 2 lines of text, so justification works */
  display: inline-block;
}

.anoAtual {
  position: relative;
  display: inline;
}
.anoAtual span {
  opacity: 1 !important;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
}
.anoAtual span:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  margin-top: -1px;
  width: 0;
  height: 0;
  border-top: 6px solid #4d4d4f;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}
/*
.anoAtual:hover span {
  visibility: visible;
  opacity: 0.8;
  bottom: 30px;
  left: 50%;
  margin-left: -76px;
  z-index: 999;
}
*/

#cristo {
  height: 12px;
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  margin-left: 710px;
  margin-top: 5px;
}

#color-fill {
    background: #92c467; /* verde */
    height: 100%;
    min-width: 12px;
    max-width: 172px;
    width:12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin-top: -12px;
    z-index: 500;
}

#color-fill2 {
    background: #f2bd68; /* laranja */
    height: 100%;
    min-width: 12px;
    width:12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    z-index: 400;
}

#overlay {
  display:none;
  top: 72px;
  min-width: 100%;
  min-height: 100%;
  background-color: rgba(255, 211, 148, 0.9);
  z-index: 6000;
  left: 0 !important;
}

#close {
  opacity: 0.6;
  float: left;
  margin-top: -6px;
}

#close:hover {
  cursor: pointer;
  opacity: 1;
}


h2 {
  text-transform: uppercase;
  font-family: 'flamamedium';
  margin-bottom: 6px;
}

#overlay img {
  max-width: 400px;
  max-height: 400px;
  height: auto;
  vertical-align: middle;
}

.img-bg {
  background: #fff;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  width: 400px;
  height: 400px;
  display: inline-block;
  float: left;
  white-space: nowrap;
  text-align: center;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.wrap {
  width: 970px;
  left: 50%;
  margin-left: -485px;
  padding: 2.2em;
  height: auto;
}

.animal-descricao {
  width: 310px;
  margin: auto 50px;
  float: left;
}

a {
  color: #996633;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.section {
  text-decoration: none;
  font-family: 'flamamedium';
  color: #4d4d4f;

}

.section:hover {
  text-decoration: underline;
  cursor: pointer;
}

#setas {
  top: 50%;
  position: fixed;
  z-index: 7000;
  color: white;
  font-size: 50px;
}

#setas a {
  opacity: 0.5;
}

#setas a:hover {
  opacity: 1;
}

#goLeft {
  display:none;
  float: left;
  left: 0.55em;
  position: fixed;
}

#goRight {
  float: right;
  right: 0.55em;
  position: fixed;
}

.creditos {
  position: relative;
  font-size: 11px;
  float: left;
  bottom: 10px;
  color: #4d4d4f;
  opacity: 0.7;
}
/* ==========================================================================
   Redes Sociais
   ========================================================================== */

#shareBar{
  position: absolute;
  width: 120px; height: 40px;
  top: 38px; 
  right: 2.2em !important;
  margin-right: 2.2em !important;
}
#header #shareBar{
  right:0;
}
#shareBar a{
  display:block; float:left;
  text-decoration: none;
  width: 30px; height: 30px;
  margin-left: 10px;
  background: transparent url('https://infograficos.estadao.com.br/geral/img/social-icons-round.png') no-repeat center top;
}
#shareBar a span{
  display: block;
  text-decoration: none;
  text-align: center;
  color: #999;
  font-size: 11px;
  font-weight: bold;
  margin-top: 40px;
}
#shareBar a#btFbShare{ background-position: -40px 0; margin-left: 0; }
#shareBar a#btFbShare:hover{ background-position: -40px -40px; }
#shareBar a#btGPlusShare{ background-position: -80px 0; }
#shareBar a#btGPlusShare:hover{ background-position: -80px -40px; }
#shareBar a#btTwitterShare{ background-position: 0 0; }
#shareBar a#btTwitterShare:hover{ background-position: 0 -40px; }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
