* {
  margin: 0;
  padding: 0;
}
body, html {
  min-height: 100%;
  height: 100%;
}
body.no-scroll {
  overflow: hidden;
}
#page {
  position: relative;
}
#masthead {
  position: absolute;
  width: 100%;
  z-index: 2;
}
.entry-header {
  position: absolute;
  width: 100%;
  z-index: 2;
  top: 80px;
}
.byline {
  margin: 0;
}
.dateline {
  margin: 0 0 1.6rem 0;
}
.p_intro_choices {
  width: 100%;
  max-width: 500px;
  margin: 2em auto;
  text-align: center;
  background-color: rgba(255,255,255,0.8);
  border-radius: 4px;
  padding: 10px;
}
.p_intro_choices button {
  background: transparent;
  border: 1px solid #006194;
  color: #006194;
  padding: 0;
  min-height: 0;
  height: 1.5em;
  line-height: 1.3em;
  padding: 0 0.5em;
  cursor: pointer;
  position: relative;
  top: 0.1em;
  font-weight: 500;
}
.p_intro_choices button span {
  position: relative;
  top: -0.1em;
}
#map {
  border-top:1px solid rgba(0, 0, 0, .2);
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}
#map:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 15%;
  bottom: 0;
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

#map .leaflet-tile-pane .leaflet-layer:first-child {
  filter: grayscale(100%);
}
#map span.spn_year_timelapse {
    position: absolute;
    z-index: 9;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Flama', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    display: none;
}
.leaflet-container.over-feature {
  cursor: pointer;
}
.scroll__graphic aside {
  position: absolute;
  display: none;
  flex-direction: column;
  background: #ffffff;
  top: 0;
  padding: 10px 0;
}
.scroll__graphic aside.show_ui {
  display: flex;
  box-shadow: 0px 10px 10px -10px #cccccc;
  width: 100%;
}
aside .container {
    padding: 5px 15px;
}
aside hr {
  margin: 2rem 0;
  background-color: #dae2e7;
}
aside.right.show_ui,
aside.show_ui .search {
  display: none;
}
aside.right {
  right: 0;
}
aside input {
  border: 1px solid #cccccc;
}
aside label {
  font-size: 1.2rem;
  text-transform: uppercase;
}
aside label:not(:last-child) {
  margin-right: 0.5em;
}
aside input[type="text"] {
  width: 20em;
  text-transform: uppercase;
  font-size: 1.4rem;
  padding: 0 0.2em;
  height: 2em;
}
aside h4 {
  margin-top: 1em;
}
aside span.brand_like,
aside span.brand {
  font-size: 0.6em;
  font-family: sans-serif;
  font-weight: 600;
  padding: 0.2em 0.5em;
  margin: 0.3em;
  cursor: pointer;
  border: 0.7px solid #808080;
  border-radius: 5px;
}

aside #sld-year,
aside #sld-year div {
  padding: 0;
}

aside #sld-year {
  width: 200px;
  box-shadow: none;
  height: 5px;
  border-bottom: none;
  border: 0;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  left: 10px;
}
aside #sld-year:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #CCCCCC;
  top: 2px;
}

aside .brandbar {
  display: none;
}

aside .brandbar i {
  color: #006194;
}

aside .highlight_cards {
  position: fixed;
  width: 100%;
  bottom: 15px;
  padding: 0;
  z-index: 9999999;
}
aside .highlight_cards .card,
aside .highlight_cards_desk .card {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  margin: 0 5px 10px 5px;
  padding: 10px;
  max-width: 90vw;
}
aside .highlight_cards_desk .card {
  margin: 0 0 10px 0;
}
aside .highlight_cards .card h3,
aside .highlight_cards_desk .card h3 {
  padding-left: 2.2em;
  margin: 0.5em 0 1em 0;
  position: relative;
}
aside .highlight_cards .card h3:before,
aside .highlight_cards_desk .card h3:before {
  content: '';
  background-color: #000000;
  position: absolute;
  width: 2em;
  height: 2em;
  border-radius: 1em;
  left: -0.1em;
  top: -0.4em;
  background-image: url(../img/icon-car.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
aside .highlight_cards .card p,
aside .highlight_cards_desk .card p {
  font-size: 1.2rem;
  line-height: 1.2em;
}
aside .highlight_cards_desk {
  display: none;
}

.scroll__graphic aside h3.h3_cards {
  position: fixed;
  bottom: 140px;
  padding: 0 15px;
  text-align: center;
}

#sld-year .noUi-handle:after,
#sld-year .noUi-handle:before {
  content: none;
}
#sld-year .noUi-handle {
  border-radius: 50%;
  border-color: #CCCCCC;
  width: 15px;
  height: 15px;
  box-shadow: none;
  right: -7px;
  cursor: pointer;
}
#sld-year .noUi-connect {
    background: #006194;
}

.scroll__graphic p,
.scroll__graphic h3 {
  font-family: 'Flama', sans-serif;
  margin: 0;
}

.scroll__graphic aside h3 {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1.8rem;
  text-align: left;
  margin-bottom: 0.5rem;
}

.scroll__graphic aside .time_selectors h3 {
    margin-bottom: 0;
}

.scroll__graphic aside h3 span {
  font-weight: 400;
}

.scroll__graphic .results .h3_features {
  text-transform: none;
}
.scroll__graphic .results p {
  font-size: 1.5rem;
  line-height: 1.2em;
}

#scrollama {
  position: relative;
  padding-top: 300px;
}
#scrollama .scroll__text.disabled {
  z-index: -9;
}
#scrollama .scroll__graphic {
  position: absolute;
  top: 0;
  left: 0;
  bottom: auto;
  background-color: #fff;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  width: 100%;
  height: 100%;
}
#scrollama .scroll__graphic.is-fixed {
  position: fixed;
}
#scrollama .scroll__graphic.is-bottom {
  bottom: 0;
  top: auto;
}
#scrollama .scroll__text {
  position: relative;
}
#scrollama .step {
  position: relative;
  height: 500px;
}
#scrollama .step:not(.m_interactive) {
  margin: 300px 0;
}
#scrollama .step .text-box {
  padding: 10px 15px 15px 15px;
  background: rgba(255, 255, 255, 0.9);
}

.scroll__text {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.scroll__text .step h3 {
  font-family: 'Flama', sans-serif;
  text-align: left;
  font-size: 2rem;
  line-height: 1.2em;
  margin: 0.5em 0;
  color: #006194;
}
.scroll__text .step p {
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2em;
  font-weight: 400;
}
.scroll__text .step p.lead {
  font-size: 2rem;
}

.scroll__text .step figure.img-container {
  margin: 0;
  position: absolute;
  top: -10px;
  transform: translateY(-100%);
  opacity: 0.95;
}

.scroll__text .step ol.cars_ranking {
  counter-reset: cars_ranking;
  margin: 5rem 0 0 0;
}
.scroll__text .step ol.cars_ranking li {
  margin: 0 0 0.2em 0;
  padding: 0 0 0.2em 0;
  border-bottom: 1px solid #ccc;
  color: #b8b8b8;
  counter-increment: cars_ranking;
}
.scroll__text .step ol.cars_ranking li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.scroll__text .step ol.cars_ranking li:first-child {
  margin-top: 0.2em;
}
.scroll__text .step ol.cars_ranking li:before {
  content: counter(cars_ranking)"º";
  width: 1.5em;
  text-align: right;
  display: inline-block;
  margin-right: 0.5em;
}
.scroll__text .step ol.cars_ranking li.active {
  opacity: 1;
  font-weight: 500;
  color: #000000;
}
.scroll__text .step ol.cars_ranking li .count {
  float: right;
}
.scroll__text .step.ap_dono_mais_roubado span.location {
  color: #b8b8b8;
}
.scroll__text .step.ap_dono_mais_roubado span.location.active {
  color: #000000;
}

.scroll__text .step p.p_legend {
  line-height: 1.5em;
}
.scroll__text .step .legend {
  border-radius: 4px;
  padding: 0 0.2em 0.2em 0.2em;
  color: #ffffff;
  display: inline-block;
}
.scroll__text .step .legend.legend_centro {
  background-color: #006194;
}
.scroll__text .step .legend.legend_abcd {
  background-color: #da8d2f;
}
.scroll__text .step .legend.legend_outras {
  background-color: #2d9f2c;
}

.dontclickme {
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.dontclickme.fallback-overlay {
  background-color: rgba(255,255,255,0.7);
}

#map.interactivemap + .dontclickme {
  display: none;
}

#map .overlay {
  width: 100%;
  height: 100%;
  fill: rgba(255,255,255,0.8);
}

#map .leaflet-popup-content-wrapper {
  box-shadow: none;
  border-radius: 4px;
  padding: 5px;
}
#map .leaflet-popup-tip {
  display: none;
}
#map .leaflet-popup-content p {
  margin: 0;
  font-family: 'Flama', sans-serif;
}
#map .leaflet-popup-content {
  margin: 0;
}

.year_hud {
  position: fixed;
  z-index: 1;
  width: 100%;
  padding: 0;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.year_hud.hidden {
  display: none;
}

.year_hud li {
  display: block;
  float: left;
  width: 10%;
  text-align: center;
  border: 1px solid #006194;
  margin: 0;
  color: #006194;
  font-size: 1.2rem;
  line-height: 1.6em;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.8);
}
.year_hud li.on {
  background: rgba(0, 97, 148, 0.8);
  color: #ffffff;
  font-weight: 500;
}

.chart_container {
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.chart_container .c3-axis text {
  font-family: 'Flama', sans-serif;
  font-size: 1.2rem;
}
.c3-chart-line path {
  stroke-width: 3px;
  stroke-linecap: round;
}
.chart_rmsp {
  width: 100%;
  height: 100%;
}
.chart_rmsp.focus_centro .c3-chart-line:not(.c3-target-Centro) {
  opacity: 0.2 !important;
}
.chart_rmsp.focus_abcd .c3-chart-line:not(.c3-target-ABCD) {
  opacity: 0.2 !important;
}
.chart_rmsp.focus_rmsp .c3-chart-line:not(.c3-target-Outras) {
  opacity: 0.2 !important;
}

aside input,
aside button {
  outline: none;
}

button.btn_back,
button.btn_share {
  position: absolute;
  width: 2em;
  height: 2em;
  right: 15px;
  top: 15px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #006194;
  color: rgb(0, 97, 148);
  cursor: pointer;
}
button.btn_share {
  top: calc(2em + 20px);
}
button.btn_search {
  width: 2em;
  height: 2em;
  font-size: 1.4rem;
  background-color: #ffffff;
  border: 1px solid #006194;
  color: rgb(0, 97, 148);
  cursor: pointer;
  position: relative;
  top: 3px;
  border-radius: 0;
}
.btn_search .fa-search {
    position: relative;
    top: -0.3em;
}
button.btn_back:hover,
button.btn_share:hover,
button.btn_search:hover {
    background: #dee8ed;
}
button.btn_search:active {
  background: #b4b7b9;
}

button.btn_back .fa-angle-up {
    position: relative;
    top: -0.1em;
}

aside hr {
  display: none;
}


.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38,50,56,.75);
  z-index: 2;
  z-index: 1001;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: none;
  cursor: pointer;
}

.modal {
  position: relative;
  width: 28.8rem;
  -webkit-align-self: flex;
  -ms-flex-item-align: flex;
  -ms-grid-row-align: flex;
  align-self: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.modal .header{
  position:absolute;
  top:-4.8rem;
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:end;
  -webkit-justify-content:flex-end;
  -ms-flex-pack:end;
  justify-content:flex-end;
  -webkit-box-align:center;
  -webkit-align-items:center;
  -ms-flex-align:center;
  align-items:center;
  width:100%;
  height:4.8rem;
  padding:.8rem;
  pointer-events:none
}
.modal .header button{
  border-radius:1.6rem;
  pointer-events:all
}
.modal .social {
  background: #ffffff;
  border-bottom: 2px solid #eceff1;
}
.modal a[role=button]{
  width:100%;
  background:#fff;
  position: relative;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  border-bottom: 0;
  height: 4.8rem;
  cursor: pointer;
  outline: 0;
  -webkit-transition: background .3s,color .3s;
  transition: background .3s,color .3s;
  text-decoration: none;
}
.modal a[role=button]:hover{
  background-color: #eceff1;
}
.modal a[role=button] span i {
    width: 2em;
    text-align: center;
    margin-left: 0.5em;
}
.facebook{
  color:#3b5998;
}
.whatsapp{
  color:#25d366;
}
.twitter{
  color:#1da1f2;
}
.google-plus{
  color:#dd4b39;
}
.linkedin{
  color:#0077b5;
}
.mail{
  color:#666666;
}

.modal button,
.modal input[type=text] {
  outline: none;
}
.modal button.close {
  width: 1.5em;
  height: 1.5em;
  background: transparent;
  border: none;
  right: 0;
  cursor: pointer;
}
.modal button.close:hover {
  background: rgba(0,0,0,0.2);
}
.modal button.close span {
  pointer-events: none;
}
.modal button.close .fa-times {
  position: relative;
  top: -0.2em;
  color: #fff;
}

.modal .clipboard {
  background: #fff;
  padding: 15px;
  position: relative;
}

.modal .clipboard #clipboard-text {
  letter-spacing: .033em;
  color: #78909c;
  font-size: 1.2rem!important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 3.5rem;
  width: 100%;
  border: 0;
  padding: 0;
  font-family: Flama,sans-serif;
  -webkit-transition: color .3s;
  transition: color .3s;
}

.modal .clipboard button {
  width: auto;
  padding: 0 0.7em;
  background: #dee4e7;
  position: absolute;
  margin: 0;
  min-width: auto!important;
  border: none;
  cursor: pointer;
  top: 15px;
  right: 15px;
}
.modal .clipboard button:active {
  background: #b4b7b9;
}
.clipboard button::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: -10rem;
  bottom: 0;
  width: 10rem;
  background: -webkit-gradient(linear,left top,right top,from(rgba(255,255,255,0)),to(white));
  background: -webkit-linear-gradient(left,rgba(255,255,255,0),#fff);
  background: linear-gradient(to right,rgba(255,255,255,0),#fff);
  pointer-events: none;
}

.clipboard button span {
  letter-spacing: .033em;
  color: #78909c;
  font-size: 1.2rem!important;
  white-space: nowrap;
}

.clipboard label {
    font-size: 1.3rem;
}

.screen-reader {
  position: absolute!important;
  margin: -1px;
  border: 0;
  padding: 0!important;
  width: 1px!important;
  height: 1px!important;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

@media (min-width: 769px) {
  .modal a[role=button].whatsapp{
    display: none;
  }
}
@media (min-width: 991px) {

  aside hr {
    display: block;
  }

  #masthead {
    width: 100%;
    z-index: 9;
  }
  .entry-header {
    position: absolute;
    width: 100%;
    z-index: 2;
    top: 100px;
  }
  .scroll__text {
    max-width: 500px;
    margin-right: 10%;
  }
  .scroll__graphic aside.show_ui {
    width: auto;
    box-shadow: 10px 0 10px -10px #cccccc;
  }
  aside {
    width: 350px;
  }
  aside div.container {
    padding: 15px;
  }
  aside.right.show_ui {
    display: flex;
  }
  aside.show_ui .search {
    display: block;
  }
  aside .brandbar {
    display: block;
  }
  aside .highlight_cards {
    display: none;
  }
  aside .highlight_cards_desk {
    position: absolute;
    padding-top: 50px !important;
    bottom: 0;
    left: 0;
    max-width: none;
    width: 350px;
    background-color: #ffffff;
    border-top: 1px solid #cccccc;
    box-shadow: 0 -10px 30px -10px #cccccc;
  }
  aside .highlight_cards_desk.open {
    display: block;
    z-index: 8;
  }
  aside .highlight_cards_desk .simplebar-scroll-content {
    height: 400px;
  }
  .scroll__graphic aside h3.h3_cards {
    position: absolute;
    bottom: 400px;
    left: auto;
    text-align: left;
    z-index: 9;
  }
  .scroll__graphic aside.show_ui {
    left: 0;
    bottom: 0;
    width: 350px;
  }
  #map {
    width: 100%;
    height: 100%;
    transform: none;
  }
  #map.interactivemap {
    float: right;
    width: calc(100% - 350px);
  }
  #map:after {
    content: none;
  }
  .chart_container {
    max-width: 500px;
    height: 300px;
    position: absolute;
    top: auto;
    bottom: 10%;
    right: 10%;
    left: auto;
    transform: none;
    z-index: 9;
    background: transparent;
  }
  .scroll__text .step ol.cars_ranking li {
    margin: 0 0 1em 0;
    padding: 0 0 1em 0;
  }
  .scroll__text .step ol.cars_ranking li:first-child {
    margin-top: 1em;
  }

  #scrollama .step .text-box {
    border-radius: 4px;
  }

  .year_hud li {
    max-width: 8%;
  }

}

@media (max-width: 599px) {
  h1 {
    font-size: 3rem;
    line-height: 3.8rem;
    margin-bottom: 0.3em;
  }
  .byline, .dateline {
    color: #333333;
    margin-bottom: 0;
    line-height: 1.5em;
    font-size: 1.5rem;
  }
  .hidden-xs {
    display: none;
  }
  input#ipt_brand {
    max-width: 75vw;
  }
}
@media (max-width: 320px) {
  aside label {
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    top: -0.2em;
  }
}


/*CSS ANIMATE*/
.animated {
  animation-duration: 3s;
  animation-fill-mode: both;
}
.animated.infinite {
  animation-iteration-count: infinite;
}

@keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.flash {
  animation-name: flash;
}

/* Créditos e metodologia */
.container.credit {
  position: absolute;
  bottom: 0;
  padding: 0.8rem;
  width: 100%;
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
  /* text-transform: uppercase; */
}

.container.credit a {
  color: #006194;
  text-decoration: none;
}

.container.credit a:hover,
.container.credit a:focus {
  text-decoration: underline;
}

.overlay-credit {
  /* display: flex; */
}

.overlay-credit .header {
    position: absolute;
    top: -4.8rem;
    right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 4.8rem;
    padding: 0.8rem;
    pointer-events: none;
}

.overlay-credit .close {
    width: 1.5em;
    height: 1.5em;
    background: transparent;
    border: none;
    right: 0;
    cursor: pointer;
    border-radius: 1.6rem;
    pointer-events: all;
    outline: none;
}

.overlay-credit .text-box {
  position: relative;
  padding: 10px 15px 15px 15px;
  background: rgba(255, 255, 255, 0.9);
  width: calc(100% - 2.4rem);
  max-width: 500px;
  height: calc(100vh - 9.6rem);
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
}

.overlay-credit h3 {
  font-family: 'Flama', sans-serif;
  text-align: left;
  font-size: 2rem;
  line-height: 1.2em;
  margin: 0.5em 0;
  color: #006194;
}
.overlay-credit dl,
.overlay-credit p {
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2em;
  font-weight: 400;
}

.overlay-credit dd,
.overlay-credit p {
  margin-bottom: 0.5em;
}

.overlay-credit dt {
  font-size: 1.2rem;
  font-weight: bold;
}

#map .credit {
  z-index: 9999;
  right: 0;
  bottom: 1.6rem;
  padding: 0 5px;
  width: auto;
  background-color: rgba(255, 255, 255, 0.7);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

#map .credit a {
  color: #0078a8;
}

@media (max-width: 768px) {
  #map:not(.interactivemap) .credit a {
    display: none;
  }
}
