/*! 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;
    height: 100%;
}

/*
 * 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: #42afd1;
    text-shadow: none;
    color: #fff;
}

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

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 25px 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 { outline: 0; }
a:active { outline: none; } 
a:focus{ -moz-outline-style: none; }

/* ==========================================================================
   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';
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    color: #4d4d4f;
    overflow-y: scroll !important;
}

h3 {
  /*padding-top: 20px;*/
  margin-top:0;
  text-transform: uppercase;
}

#header {
    position:absolute; 
    /*background: rgba(255,255,255,0.9); */
    min-width: 970px;
    width: 100%; 
    height: 113px; 
    z-index: 10;
    /*-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);*/
}

#wrapper {
  min-height: 100%;
  height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
  height: 100%;
  margin: 0 auto; /* the bottom margin is the negative value of the footer's height */
  min-width: 970px;
  width: 100%;
  cursor: default;
}

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

#fader {
  clear: both;
  z-index: 200 !important;
}

#fader img {
  position:absolute;
  display:none;
}

#fader p {
  margin-top: 530px;
}

 #nav {
  width: 310px;
  text-align:right;
  z-index: 300 !important;
}

#nav ul {
  list-style-type: none;
}

#nav li {
  text-transform: uppercase;
  font-family: 'flamamedium';
  padding: 5px 10px;
  border: 2px solid #ccc;
  color: #ccc;
  font-size:13px;
  display:inline;
  margin-left:5px;
}

#nav li:hover {
  cursor: pointer;
  color: #42afd1;
}

#nav li.active {
  cursor: pointer;
  color: #42afd1;
  border-color: #42afd1;
}

.footer {
  display: block;
  clear: both;
  background: #eee;
  min-width:100%;
  z-index:100;
  text-align:left;
  min-width:970px;
  border-top: 5px solid #e0e0e0;
  height:34px;
}

.footer p{
    position: relative;
    left: 2.2em;
    font-size: 14px;
    width: 970px;
    left: 50%;
    margin-left: -485px;
    line-height:5px;
}
.push {
  padding:34px; /* .push must be the same height as .footer */
}

#title {
    position: absolute;
    top: 27px;
    left: 2.2em;
    font-size: 25px;
    text-transform: uppercase;
    font-family: 'flamamedium';
    width: 970px;
    left: 50%;
    margin-left: -485px;
    line-height:60px;
}

#title span {
    font-family: 'flamabook';
}

.content {
    width:970px;
    margin: 0 auto !important;
    position: relative;
    padding-top: 113px;
    margin-top: -113px;
}

.content.share {
    width:970px;
    margin: 0 auto;
    position: relative;
    top: 0px;
}

section {
  width: 970px;
  border-top: 1px solid #ccc;
  padding-top: 50px;
  margin-bottom: 50px;
  display:inline-block;
  clear: both;
}

.span1 {
  width:310px;
  margin-right: 20px;
}

.span2 {
  width:640px;
  margin-right: 20px;
}

#mata img.right {
  visibility:hidden;
  margin-top: 15px;
}

#mata .span1 p {
  margin-top: 25px;
  margin-right: 25px;
  margin-bottom: 0;
}

.last {
  margin-right: 0 !important;
}

.right {
  float: right;
}

.left {
  float: left;
}

.clear {
  clear: both;
}

.numbers {
  width:50%; 
  margin-bottom: 25px;
}
.numbers p {
  display: block; 
  margin: 0 20px 0 60px;
}

#mata {
    padding: 0;
}

#mata-img { 
  width:1024px; 
  margin-left:-12px;
}

#mata-diagrama {
  padding-top:20px;
  clear: both;
}

#destaqueTucano {
  position:absolute;
  top: 22px;
  left: 222px;
}

#mata-infos {
    position: absolute;
    top: 25px;
    left: 5px;
}

#mapa {
  float: left;
}
/*
a.link-reportagem {
  position:relative;
  color: #42afd1;
  top:10px;
  text-decoration: none;
  z-index: 200;
} */

a.link-reportagem {
  color: #42afd1;
  text-decoration: none;
}

a.link-reportagem:hover {
  text-decoration: underline;
}

.text-zoom {
  color: #ccc;
  text-align: right;
}

a.link-reportagem img, .text-zoom img{
  display: inline-block;
  width: 20px;
  height: auto;
  vertical-align: bottom;
  margin-right: 8px;
}

.text-zoom img{
  opacity:0.3;
}

.desc.mapa {
    padding: 30px;
    left: 30px;
    top: 18px;
    position: relative;
}


/* SVG */
#mata-svg {
  position:absolute;
  top: 258px;
  left: 88px;
}

#polinizacao {
  position: relative;
  top: -155px;
  left: 126px;
}

.caminho {
  stroke-dasharray: 10;
  stroke-dashoffset: 1000;
  -webkit-animation: dash 30s linear infinite;
  animation: dash 20s linear infinite;
}

.highlight {
  stroke-dasharray: 3;
  stroke-dashoffset: 600;
  -webkit-animation: dash 50s linear infinite;
  animation: dash 20s linear infinite;
}


@-webkit-keyframes dash {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dash {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Zoom */
#wrap-zoom {
  position: absolute;
  top: 220px;
  width: 970px;
}

.zoomTarget.item {
  position:absolute;
  background-color: rgba(66, 175, 209, 0.02);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  border: 2px solid rgba(66, 175, 209, 0.05);
}

.zoomTarget.item:hover {
  border: 2px solid rgba(66, 175, 209, 0.7);
  background-color: rgba(66, 175, 209, 0.2);
}

.zoomTarget.item p {
  font-size: 10px;
  line-height: 1.2;
}

#item1 {
  left: 20px;
  top: 20px;
  width: 300px;
  height: 160px;
}

#item1 p {
  position: relative;
  left: 178px;
  top: 27px;
  width:110px;
}

#item2 {
  top: 235px;
  left: 35px;
  width: 365px;
  height: 200px;
}

#item2 p#p1 {
position: relative;
left: 18px;
top: 119px;
width: 110px;
float:left;
}

#item2 p#p2 {
float:left;
position: relative;
left: 40px;
top: 119px;
width: 110px;
}

#item3 {
top: 62px;
left: 365px;
width: 255px;
height: 204px;
}

#item3 p {
  position: relative;
  top: 2px;
  left: 17px;
  width: 110px;
}

#item4 {
top: 0px;
right: 15px;
width: 255px;
height: 160px;
}

#item4 p {
position: relative;
left: 18px;
width: 160px;
}

#moldura {
  position: relative;
  float: right;
  top:260px;
  /* color: white; */
  background: rgba(255,255,255,0.6);
  padding: 15px;
  right:20px;
  width:15%;
  z-index: 1000;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

#moldura:hover {
  background: rgba(255,255,255,0.7);
  border: 2px solid rgba(66, 175, 209, 1);
}

.zoomTarget.item:hover {
  background-color: rgba(66, 175, 209, 0.1);
}

#moldura p {
  margin: 0 !important;
}



/* ==========================================================================
   Redes Sociais
   ========================================================================== */

#shareBar{
  position: absolute;
  float:right;
  /*width: 120px;*/
  height: 40px;
  top: 52px; 
  /*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: 36px;
}
#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.
   ========================================================================== */

/* Desktops and laptops ----------- */
@media only screen and (min-width : 970px) {
  body {
    overflow-x: hidden;
  }
}


@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;
    }
}
