#wiel-container .mbw-wiel-dots > rect {
  fill: var(--cbs-white);
  stroke: none;
}

#wiel-container .mbw-wiel-dots > circle {
  fill: var(--mbw-light-gray);
  stroke: none;
}

#wiel-container .mbw-wiel-title,
#wiel-container .mbw-wiel-slice .mbw-wiel-subtitle {
  font-family: var(--font-family-titles);
}

#wiel-container .mbw-wiel-title {
  font-size: 3rem;
}

#wiel-container .mbw-wiel-subtitle {
  font-size: 1.625rem;
}

.mbw-wiel-slice:hover .mbw-wiel-slice-part {
  opacity: 50%;
}

.mbw-wiel-slice.active .mbw-bar-outline,
.mbw-wiel-slice.active path.mbw-wiel-slice-part {
  stroke: var(--cbs-dark-gray);
}

#wiel-container .mbw-wiel-slice *:not(.mbw-wiel-subtitle) {
  font-size: var(--font-size-extra-small);
}

#wiel-container .mbw-wiel-cornertitle {
  fill: black !important;
}

.mbw-wiel-eu:not(.selected),
.mbw-wiel-trend:not(.selected),
.mbw-wiel-mutatie:not(.selected),
.wiel:not(.active) {
  display: none;
}

.radio-container {
  margin-top: 1rem;
}

#details-table {
  border-color: transparent;
  margin-bottom: 2rem;
}

#details-header,
.theme-row,
.indicator-row,
.indicator-row-container,
.indicator-row-container > .details-indicator,
.details-mutation,
.details-position {
  display: flex;
}

.details-theme-indicator {
  flex-grow: 2;
}

.indicator-row-container,
.indicator-row-container > .details-indicator {
  flex-grow: 2;
}

.details-theme {
  padding: 0.25rem 0.75rem;
  width: 216px;
  min-width: 216px;
  margin-bottom: 0.25rem;
}

.indicator-row-container > .details-indicator {
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.25rem;
  flex-grow: 3;
}

.details-mutation,
.details-position {
  width: 10rem;
}

#details-header {
  align-items: flex-end;
  border-bottom: 1px solid black;
}

.mobile-header {
  display: none;
}

#details-footer {
  margin-top: 1rem;
}

.details-cell-spacing {
  width: 5rem;
  padding: 0.25rem 0.75rem;
  text-align: center;
  display: table;
}

.details-cell-spacing > span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.details-trend,
.details-mutation,
.details-position {
  margin-bottom: 0.25rem;
  margin-left: 0.75rem;
}

.theme-row {
  margin-top: 1.5rem;
}

.theme-row img {
  margin: -0.75rem 0.5rem -0.75rem -0.75rem;
  height: 2rem;
}

.details-small-font {
  font-size: var(--font-size-extra-small);
  line-height: 1.5rem;
}

.details-indicator {
  background-color: #f5f5f5;
}

.details-indicator-green {
  background-color: var(--mbw-dark-green);
  color: white;
}

.details-indicator-red {
  background-color: var(--mbw-red);
  color: white;
}

.details-indicator-gray {
  background-color: var(--mbw-light-gray);
}

.details-indicator-white {
  background-image: url(../img/elementen/dots-pattern.svg);
}

#details-legend {
  display: flex;
  flex-wrap: wrap;
}

.details-legend-item {
  display: flex;
  align-items: center;
  width: 276px;
  margin-bottom: 1.5rem;
}

.details-legend-visual {
  text-align: center;
  width: 3.5rem;
  height: 2rem;
  padding: 0.25rem 0;
  margin-right: 0.75rem;
}

.mbw-wheel-info-container {
  display: flex;
  flex-flow: column wrap;
}

.mbw-wheel-info-container legend {
  font-family: var(--font-family-titles), sans-serif;
  font-size: var(--font-size-regular);
  font-weight: 500;
  margin-bottom: 1rem;
}

#wheel-info-container {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  background-color: white;
  padding: 5px;
  border: 2px solid var(--cbs-gray);
  border-radius: 5px;
  z-index: 9999;
  opacity: 0;
  transition: top 0.3s, left 0.3s, opacity 0.3s;
}

.wheel-info-text {
  display: none;
  font-size: 12px;
}
.wheel-info-text.visible {
  display: block;
}
#wheel-info-container.visible {
  opacity: 0.9;
}

.tooltip-title {
  font-size: 10.2px;
}

.legend-item {
  margin-bottom: 3rem;
}

.legend-item svg {
  max-width: 290px;
}

.legend-title {
  display: block;
  margin-bottom: 0.5rem;
}

.mbw-view-select {
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: space-between;
}

.mbw-view-select .view-item {
  font-size: var(--font-size-medium);
  color: var(--cbs-dark-aqua);
  font-weight: bold;
  cursor: pointer;
}

.mbw-view-select .view-item.active span {
  border-bottom: 2px solid var(--cbs-dark-aqua);
}

.mbw-view-select .view-item i {
  padding-right: 0.75rem;
}

#wiel-container .mbw-wiel-slice-part.mbw-fill-color-white {
  fill: url(#mbw-wiel-dots);
}

.mbw-wheel-figure {
  max-width: 665px;
  margin: auto;
}

.mbw-wheel-figure,
.mbw-wheel-info-container > div {
  padding: 1.5rem;
}

.details-trend {
  width: 8rem;
  min-width: 8rem;
}

@media only screen and (max-width: 992px) {
  .theme-row,
  .indicator-row {
    flex-flow: column wrap;
  }

  .indicator-row .details-theme {
    display: none;
  }

  .mbw-wheel-figure {
    padding: 0.75rem;
  }

  .mbw-wheel-info-container > div {
    padding: 0.75rem 0;
  }

  .mbw-wheel-legend {
    margin-bottom: 1rem;
  }

  .radio-container {
    margin-top: 0;
  }

  .mbw-wheel-info-container legend {
    margin-bottom: 0.5rem;
  }
}

@media only screen and (max-width: 850px) {
  .details-cell-spacing {
    width: 2.5rem;
    min-width: 2.5rem;
  }

  .details-position .details-cell-spacing:first-child {
    width: 4.25rem;
  }

  .details-position .details-cell-spacing:nth-child(2),
  .details-mutation .details-cell-spacing:nth-child(2) {
    width: 4rem;
  }

  .details-mutation,
  .details-position {
    width: auto;
  }

  #details-header .details-mutation {
    width: 6.5rem;
  }
  #details-header .details-position {
    width: 8.25rem;
  }

  #details-header .details-trend {
    width: auto;
  }
}

@media only screen and (max-width: 600px) {
  .details-position .details-cell-spacing:nth-child(2),
  .details-mutation .details-cell-spacing:nth-child(2),
  .wide-header {
    display: none;
  }

  .mbw-wiel-cornertitle {
    font-size: var(--font-size-medium);
  }

  #details-table {
    overflow-y: scroll;
    position: relative;
    width: 600px;
  }

  .details-cell-spacing {
    padding: 0.25rem 0.5rem;
    width: 2rem;
    min-width: 2rem;
  }

  .details-position .details-cell-spacing:first-child {
    width: 3.75rem;
  }

  .mobile-header {
    display: initial;
  }

  #details-header .details-mutation {
    width: auto;
  }
  #details-header .details-position {
    width: 3.75rem;
  }

  #details-header .details-trend {
    max-width: 80px;
    width: 80px;
    min-width: 80px;
  }

  .details-trend,
  .details-mutation,
  .details-position {
    margin-left: 0.25rem;
  }
}
