.arte-graphic {
  margin: 40px auto;
  /* max-width: 640px; */
}

.arte-graphic span {
  /* Corrige definição em 'estadao2016' */
  position: static;
}

.arte-graphic-small-multiples {
  display: flex;
  flex-wrap: wrap;
}

.arte-graphic .maptse {
  --maptse-background-color: transparent;
  --maptse-overlay-color: transparent;
}

.arte-graphic .maptse__overlay::after {
  border-radius: 0.4em;
  padding: 1em;
  background: rgba(255, 255, 255, 0.8);
  text-shadow: none;
}

.arte-graphic .maptse__tooltip__title {
  margin: 0 0 1em !important;
  color: inherit;
  font-size: 0.8em !important;
}

.arte-graphic .maptse__tooltip__list {
  background-color: rgba(255, 255, 255, 0.4);
}

.arte-graphic__header {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.arte-maptse__title {
  margin: 20px auto 10px !important;
  text-align: center;
}

.arte-placeholder {
  position: relative;
  overflow: hidden;
}

.arte-placeholder:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.arte-year-radio {
  border: 1px solid #9bb8c6;
  padding: 0.2em 0.5em;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  color: #9bb8c6;
}

.arte-year-radio:nth-child(1) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-left: 0.7em;
}

.arte-year-radio:nth-child(2) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-right: 0.7em;
}

.arte-year-radio.checked {
  color: #36515f;
  background: #dce6eb;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.arte-year-radio input {
  display: none;
}

.arte-maptse-container {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.arte-maptse {
  height: calc(100% - 48px);
}

.arte-maptse--hide {
  visibility: hidden;
}

.arte-maptse-small-multiple {
  /* pointer-events: none; */
}

.arte-graphic-diverging .arte-placeholder::before,
.arte-graphic-compare .arte-placeholder::before,
.arte-graphic-small-multiples .arte-placeholder::before {
  padding-top: 150%;
}

.arte-graphic-small-multiples .arte-placeholder {
  width: 100%;
}

.maptse__zoom {
  display: none;
}

.arte-graphic-diverging .arte-maptse-container:first-of-type .maptse__zoom,
.arte-graphic-compare .arte-maptse-container:first-of-type .maptse__zoom,
.arte-graphic-small-multiples .arte-placeholder:first-of-type .maptse__zoom {
  display: block;
}

@media (max-width: 719px) {
  .arte-graphic-diverging .arte-maptse-container .maptse__zoom,
  .arte-graphic-compare .arte-maptse-container .maptse__zoom {
    display: block;
  }
}

@media (min-width: 480px) {
  .arte-graphic-diverging .arte-placeholder::before,
  .arte-graphic-compare .arte-placeholder::before,
  .arte-graphic-small-multiples .arte-placeholder::before {
    padding-top: 100%;
  }
}

@media (min-width: 600px) {
  .arte-graphic-small-multiples .arte-placeholder {
    width: 50%;
  }

  .arte-graphic-small-multiples .arte-placeholder::before {
    padding-top: 150%;
  }
}

@media (min-width: 720px) {
  .arte-maptse--hide {
    visibility: visible;
  }

  .arte-graphic__header {
    display: none;
  }

  .arte-graphic-diverging .arte-placeholder::before,
  .arte-graphic-compare .arte-placeholder::before {
    padding-top: calc(100% * 2 / 3);
  }

  .arte-graphic-small-multiples .arte-placeholder::before {
    padding-top: 180%;
  }

  .arte-graphic-diverging .arte-maptse-container:first-child,
  .arte-graphic-compare .arte-maptse-container:first-child {
    right: 50%;
  }

  .arte-graphic-diverging .arte-maptse-container:last-child,
  .arte-graphic-compare .arte-maptse-container:last-child {
    left: 50%;
  }

  .arte-graphic-small-multiples .arte-placeholder {
    width: calc(100% / 3);
  }
}

@media (min-width: 1024px) {
  .arte-graphic-diverging .arte-placeholder::before,
  .arte-graphic-compare .arte-placeholder::before {
    padding-top: 60%;
  }

  .arte-graphic-small-multiples .arte-placeholder::before {
    padding-top: 150%;
  }
}

@media (min-width: 1200px) {
  .arte-graphic-diverging .arte-placeholder::before,
  .arte-graphic-compare .arte-placeholder::before {
    padding-top: 50%;
  }

  .arte-graphic-small-multiples .arte-placeholder::before {
    padding-top: 125%;
  }
}
