*, :after, :before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0;
  background: #121212;
}

.top_nav, .bottom_nav {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px;
}
.top_nav .slidenav, .bottom_nav .slidenav {
  display: block;
  border-radius: 50%;
  background: #999999;
  overflow: hidden;
  margin: 5px;
  width: 13px;
  height: 13px;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}
.top_nav .slidenav.active_item, .top_nav .slidenav:hover, .bottom_nav .slidenav.active_item, .bottom_nav .slidenav:hover {
  background: #ED1B31;
}
.top_nav .arrow_prev, .bottom_nav .arrow_prev {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 42px;
          flex: 0 0 42px;
  max-width: 42px;
  height: 42px;
  margin-right: 100px;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.top_nav .arrow_prev svg, .bottom_nav .arrow_prev svg {
  fill: #999999;
}
.top_nav .arrow_prev:hover svg, .bottom_nav .arrow_prev:hover svg {
  fill: #ffffff;
}
.top_nav .arrow_next, .bottom_nav .arrow_next {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 42px;
          flex: 0 0 42px;
  max-width: 42px;
  height: 42px;
  margin-left: 100px;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.top_nav .arrow_next svg, .bottom_nav .arrow_next svg {
  fill: #999999;
}
.top_nav .arrow_next:hover svg, .bottom_nav .arrow_next:hover svg {
  fill: #ffffff;
}
.top_nav .logo_intro, .bottom_nav .logo_intro {
  height: 50px;
  width: 148px;
  position: absolute;
  z-index: 99;
  left: 15px;
  top: 12px;
  background: url(/Datajournalism/i/jorgejesus/intro_titulo_m.png) no-repeat center scroll;
  background-size: contain;
  display: block;
}
.top_nav .img_jj, .bottom_nav .img_jj {
  height: 72px;
  width: 140px;
  position: absolute;
  z-index: 99;
  right: 15px;
  top: 0;
  background: url(/Datajournalism/i/jorgejesus/jj_mini.png) no-repeat center scroll;
  background-size: contain;
  display: block;
}

.top_nav {
  border-bottom: 2px solid #333333;
}

.bottom_nav {
  border-top: 2px solid #333333;
  display: none;
}

@-webkit-keyframes animateFotos {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes animateFotos {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
#jj_slides .jj_slides_txt {
  display: block;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  color: #f6f6f6;
  padding: 25px 10%;
  border-bottom: 2px solid #333333;
  font-family: "Roboto Condensed", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-animation-duration: 3s;
          animation-duration: 3s;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
#jj_slides .jj_slides_title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
  border: none;
  padding: 0;
  line-height: 1.2;
  color: #f6f6f6;
  font-family: "Roboto Condensed", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-animation-duration: 3s;
          animation-duration: 3s;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
#jj_slides .main_graph {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
#jj_slides .main_graph.mapa {
  max-width: none;
  padding: 15px;
}
#jj_slides .main_graph.fotos {
  max-width: none;
  padding: 15px;
  overflow: hidden;
  min-height: 780px;
}
#jj_slides .main_graph.fotos img {
  width: 100%;
  height: auto;
  -webkit-animation: animateFotos 40s linear infinite;
          animation: animateFotos 40s linear infinite;
}
#jj_slides .main_graph video {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 991px) {
  .hidden_mobile {
    display: none;
  }
  .hidden_desktop {
    display: block;
  }
  #jj_slides .timeline_desktop {
    display: block;
  }
  #jj_slides .timeline_mobile {
    display: none;
  }
  #jj_slides .selecoes_desktop {
    display: block;
  }
  #jj_slides .selecoes_mobile {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .hidden_mobile {
    display: block;
  }
  .hidden_desktop {
    display: none;
  }
  .top_nav, .bottom_nav {
    height: 68px;
  }
  .top_nav .slidenav, .bottom_nav .slidenav {
    display: none;
  }
  .top_nav .arrow_prev, .bottom_nav .arrow_prev {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 36px;
            flex: 0 0 36px;
    max-width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  .top_nav .arrow_next, .bottom_nav .arrow_next {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 36px;
            flex: 0 0 36px;
    max-width: 36px;
    height: 36px;
    margin-left: 10px;
  }
  .top_nav .logo_intro, .bottom_nav .logo_intro {
    height: 50px;
    width: 120px;
    left: 15px;
    top: 8px;
  }
  .top_nav .img_jj, .bottom_nav .img_jj {
    height: 66px;
    width: 122px;
    right: 0;
  }
  .top_nav .arrow_prev, .top_nav .arrow_next {
    display: none;
  }
  .bottom_nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 10px;
  }
  #jj_slides .jj_slides_txt {
    font-size: 18px;
    padding: 10px;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
  }
  #jj_slides .main_graph.mapa {
    padding: 10px;
  }
  #jj_slides .main_graph.fotos {
    padding: 10px;
    min-height: 400px;
  }
}