#import-map {
  display: flex;
}

#import-time-slider .imports-input:first-child {
  margin-right: 2rem;
}

#import-time-slider .bulky-text {
  margin-right: 0.5rem;
}

.imports__filter-title {
  font-size: 1.4rem;
  min-width: 170px;
  margin-bottom: 0;
  font-family: "breve_news_book", sans-serif;
}

.imports__filter-subtitle {
  font-size: 0.65rem;
  color: #949492;
}

.imports-input label {
  width: 50px;
  font-size: 0.8rem;
  color: black !important;
}
.imports-input input {
  width: 120px;
  text-align: center;
  font-size: 0.8rem;
  border: none;
}

@media (min-width: 1200px) {
  .imports-input label {
    width: 100%;
    margin: 0;
    text-align: left !important;
  }
}

@media (max-width: 992px) {
  .heading .imports__filter-title {
    margin-bottom: 0.875rem;
    margin-top: 0.875rem;
  }
}

.imports__filter-box {
  height: 120px;
}

.imports small {
  font-size: 0.54em;
}

.imports .time-period {
  font-size: 0.7rem;
  color: #262e3d;
  background-color: #f7f5f3;
  border-radius: 0;
  padding: 0.5rem 1rem;
  text-align: left;
  border: none;
  max-width: 120px;
  height: 35px;
}

.select2-container {
  font-size: 0.8rem;
}

.select2-selection {
  background-color: #f7f5f3 !important;
  border-radius: 0 !important;
  border: none !important;
}

.select2-container .select2-selection--single {
  height: 35px !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 13px !important;
}

.select2-results__group {
  display: flex !important;
  justify-content: space-between !important;

  text-transform: uppercase;
  color: #122c43;
  font-weight: 800;
  font-family: "Work Sans", sans-serif;
  font-size: 9px;
}

#time-options label {
  color: #9897a0;
}

#time-options input[type="radio"] {
  visibility: hidden;
}

#time-options input[type="radio"]:after {
  cursor: pointer;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: #f5f3f0;
  content: "";
  display: inline-block;
  visibility: visible;
}

#time-options input[type="radio"] + label {
  color: #9897a0;
  cursor: pointer;
}

#time-options input[type="radio"]:checked:after {
  cursor: pointer;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: #122c44;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 4px solid #f5f3f0;
}

#time-options input[type="radio"]:checked + label {
  color: #122c44;
  cursor: pointer;
}

#imports-map #legend {
  font-size: 0.75rem;
}

#imports-map #legend p {
  padding-top: 0.15em;
}

.leaflet-control-zoom {
  transform: scale(0.7);
  transform-origin: bottom right;
}

.date-input label small.bulky-text {
  color: #122c44;
}

.date-input label.disabled small.bulky-text {
  color: #b0b0b0;
}

div.b-grid {
  border: solid 0 #e9ecef;
}

div.b-grid.b-lg-l {
  border-width: 0 0 0 1px;
}

@media (max-width: 992px) {
  div.b-grid.b-lg-l {
    border-width: 0;
  }

  div.b-grid.b-trbl {
    border-width: 1px;
  }

  div.b-grid.b-trb {
    border-width: 1px 1px 1px 0;
  }

  div.b-grid.b-rbl {
    border-width: 0 1px 1px 1px;
  }

  div.b-grid.b-rb {
    border-width: 0 1px 1px 0;
  }

  .imports {
    font-size: 1.1em !important;
  }

  .imports__filter-container {
    width: 100%;
  }

  .imports__filter-container p {
    font-size: 1.4rem;
  }

  .imports__filter-box {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .imports .imports-input label {
    width: 50px;
  }

  .imports .imports-input input {
    width: 140px;
    text-align: center;
  }
}

/* Hide the pillboxes (selected tags) in the dropdown */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: none !important;
}

.custom-controls {
  pointer-events: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-placeholder {
  color: #999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  font-size: 0.8rem;
}

.custom-arrow {
  pointer-events: none;
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  cursor: pointer;
}

.flipped {
  transform: scaleY(-1);
}

.checkable-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.check-icon {
  width: 16px;
  height: 16px;
  margin-left: 10px;
}

.pills {
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pill {
  display: flex;
  align-items: center;
}

.pill span {
  background-color: #f7f5f3;
  padding: 0 5px;
  height: 20px;
}

.pill .close {
  cursor: pointer;
  width: 20px;
}

.pill .close svg {
  width: 100%;
  height: 100%;
}

.pill .label {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

#legend span.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

#quantity-modes {
  font-family: "breve_text_book", sans-serif;
  font-size: 1.5rem;
}

.quantity-mode {
  color: #b0b0b0;
  border-top: solid 3px transparent;
  padding: 0.5rem 0;
  cursor: pointer;
}

.quantity-mode:hover {
  color: #122c44;
}

.quantity-mode.active {
  color: #122c44;
  border-top: solid 3px #b8acd1;
}

#chart-modes {
  font-family: "Work Sans", sans-serif;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 615px;
  margin: auto;
}


.chart-mode {
  border: 1px solid #242e3e;
  border-radius: 20px;
  background-color: #fff;
  padding: 4px 0px;
  width: 200px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.chart-mode.active {
  background-color: #E5E2DD;
}

#chart-container {
  width: 85%;
  margin: auto;
}

@media screen and (max-width: 992px) {
  #chart-container {
    width: 100%;
    margin: 0;
  }

  #chart {
    min-height: 250px;
  }
}

.leaflet-popup {
  margin-bottom: 50px;
  font-family: "Work Sans", sans-serif;
}

.leaflet-popup-content-wrapper h3 {
  font-size: x-small;
  font-weight: bold;
  color: #8e8c96;
}

.leaflet-popup-content-wrapper .popup-row {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.25rem;
}

.leaflet-popup-content-wrapper span.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}