.stadium-browser__container {
  display: flex;
  margin-right: -15px;
  margin-left: -15px;
}

.stadium-browser__chart,
.stadium-browser__sidebar {
  padding: 0 15px;
  width: 100%;
}

.stadium-browser__chart {
  flex: 1 0 60%;
  max-width: 60%;
}

.stadium-browser__sidebar {
  flex: 1 0 40%;
  max-width: 40%;
}

.stadium-browser__sidebar h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-width) solid var(--border-color);
  padding-bottom: 6px;
}

.stadium-browser__sidebar h3 span:last-child {
  color: var(--secondary-text-color);
  font-size: var(--heading-5-font-size);
}

.stadium-browser__item {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.stadium-browser__item:hover {
  color: var(--link-color);
}

.stadium-browser__item::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 16px;
  margin-right: 8px;
}

.stadium-browser__item.general::before {
  background-color: #00385D;
}

.stadium-browser__item.gol3::before {
  background-color: #005982;
}

.stadium-browser__item.gol12::before {
  background-color: #007BB4;
}

.stadium-browser__item.baix::before {
  background-color: #02A8F3;
}

.stadium-browser__item.lat4::before {
  background-color: #A42736;
}

.stadium-browser__item.lateral::before {
  background-color: #DA3C69;
}

.stadium-browser__item.st8::before {
  background-color: #FACF00;
}

.stadium-browser__item.silver::before {
  background-color: #666;
}

.stadium-browser__item.vippanoramic::before {
  background-color: #e80;
}

.stadium-browser__item.silverlat::before {
  background-color: #444;
}

.stadium-browser__item.vipgold::before {
  background-color: #c50;
}

.stadium-browser__item.pmr::before {
  background-color: #ccc;
}

.stadium-browser__chart-png {
  display: none;
}

@media (max-width: 991px) {
  .stadium-browser__chart-svg {
    display: none;
  }

  .stadium-browser__chart-png {
    display: block;
    width: 100%;
    height: auto;
  }

  .stadium-browser__container {
    flex-wrap: wrap;
  }

  .stadium-browser__chart,
  .stadium-browser__sidebar {
    flex: 1 0 100%;
    max-width: 100%;
  }
}

/* Modal */
.stadium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  transition: all var(--duration) var(--timing-function);
}

.stadium-modal.is-active {
  visibility: visible;
}

.stadium-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  z-index: 1;
  transition: all var(--duration) var(--timing-function);
  opacity: 0;
}

.stadium-modal.is-active .stadium-modal__overlay {
  opacity: 1;
}

.stadium-modal__close {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
}

.stadium-modal__close::before,
.stadium-modal__close::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  background-color: var(--primary-bg-color);
}

.stadium-modal__close::before {
  transform: rotate(45deg);
}

.stadium-modal__close::after {
  transform: rotate(-45deg);
}

.stadium-modal__content {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 30px);
  height: auto;
  max-width: 800px;
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  background-color: var(--primary-bg-color);
  border-radius: var(--border-radius-base);
  z-index: 2;
  transition: all var(--duration) var(--timing-function);
  opacity: 0;
  visibility: hidden;
}

.stadium-modal__content.is-active {
  opacity: 1;
  visibility: visible;
}

.stadium-modal__header {
  display: block;
  padding: 15px;
  margin: 0;
  border-bottom: var(--border-width) solid var(--border-color);
}

.stadium-modal__header span {
  color: var(--secondary-text-color);
  font-size: var(--heading-5-font-size);
  margin-left: 16px;
}

.stadium-modal__body {
  padding: 15px;
  overflow: hidden;
}

.stadium-modal__body img {
  max-width: 100%;
}

.stadium-modal__body p:first-child {
  margin-top: 0;
}

.stadium-modal__body p:last-child {
  margin-bottom: 0;
}
