@import "story-iframe.css";
html {
  background-color: #FCFCFC;
}

#text_source p {
  text-align: left;
  font-size: 12px !important;
  padding-top: 12px;
}

div#react-entry-point .filter-container {
  display: flex;
  justify-content: space-between;
}
div#react-entry-point .filter-box-33p {
  width: calc(33.3333% - 10px); /* Adjusting for 10px gaps on both sides */
}
div#react-entry-point .filter-box-50p {
  width: calc(50% - 10px); /* Adjusting for 10px gaps on both sides */
}
div#react-entry-point .filter-box-25p {
  width: calc(25% - 10px); /* Adjusting for 10px gaps on both sides */
}
@media (max-width: 991px) {
  div#react-entry-point .filter-box-25p,
  div#react-entry-point .filter-box-33p,
  div#react-entry-point .filter-box-50p {
    width: 100%; /* Full width on smaller screens */
    margin-bottom: 10px; /* Space between stacked boxes */
    margin-right: 0; /* Remove right margin on mobile */
  }
  div#react-entry-point .filter-container {
    flex-direction: column; /* Stack boxes vertically on small screens */
  }
}

.Select-control,
.is-open > .Select-control {
  background: #f2f2f2 url(img/icons/arrow_down_gray.png) no-repeat right top;
  color: #555;
  width: 100%;
  min-height: 80px;
  height: auto;
  padding: 0 0 0 26px;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1;
  border: 0;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.Select-arrow-zone {
  height: 100%;
  width: 80px;
}

.Select-arrow {
  border: none !important;
}

.Select-multi-value-wrapper {
  width: 75%;
}

.Select-value,
.Select-control {
  display: flex;
  align-items: center;
}

.Select-clear-zone {
  margin-right: 20px;
}

.Select-clear {
  font-size: 14px;
}

.Select--single * {
  cursor: pointer;
}

.Select--single > .Select-control .Select-value,
.Select--multi > .Select-control {
  padding-left: 20px;
}

.Select-value-label,
.Select-placeholder {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 65px;
  font-weight: bold;
  color: #0052a4 !important;
  font-size: 14px;
}

.is-focused:not(.is-open) > .Select-control {
  box-shadow: none;
}

.Select-menu-outer {
  background-color: #f2f2f2;
  border: none;
  box-shadow: none;
  color: #0052a4;
  font-weight: bold;
  font-size: 14px !important;
}

.Select-placeholder {
  padding-left: 20px;
  top: 24px;
}

.Select--multi .Select-value {
  background-color: #0052a4;
  border: none;
  color: white !important;
  font-size: 14px;
  line-height: 1.4;
  padding-top: 4px;
  margin-top: 2px;
}
.Select--multi .Select-value .Select-value-label {
  color: white !important;
  padding: 4px 10px 2px 5px;
}

.filter-box-year {
  display: inline-block;
  width: calc(100% - 40px); /* 20px paddings */
  margin: 0;
  padding: 0 20px;
}
.filter-box-year label {
  display: inline-block;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1;
  margin: 24px 0 10px;
}
.filter-box-year #date_slider {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.rc-slider-handle {
  border: solid 2px #0052a4;
}

.rc-slider-track {
  background-color: #0052a4;
}

.rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
  border-color: #0052a4;
  box-shadow: 0 0 0 5px #0052a4;
}

.rc-slider-handle-click-focused:focus,
.rc-slider-handle:hover,
.rc-slider-dot-active {
  border-color: #0052a4;
}

.rc-slider-handle:active {
  border-color: #0052a4;
  box-shadow: 0 0 5px #0052a4;
}

/* ---- Datalab custom: filter grid ---- */
.filter-cell {
  min-width: 0;
}

/* ---- Datalab custom: footer row ---- */
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.dl-button-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  background: #f2f2f2;
  border: none;
  border-radius: 0;
  color: #0052a4;
  font-weight: 700;
  font-size: 15px;
  padding: 0 18px 0 0;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  height: 80px;
  line-height: 80px;
}

.dl-btn::before {
  content: '';
  display: inline-block;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-right: 18px;
  background: #ffd600 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='40' viewBox='0 0 26 40'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M1317.92,348.422c-0.8-.877-1.52-1.7-2.28-2.476-2.18-2.244-4.39-4.465-6.57-6.706-0.73-.748-0.75-1.545-0.05-2.068a1.289,1.289,0,0,1,1.87.3q2.535,2.593,5.09,5.181c0.19,0.2.41,0.382,0.76,0.71V315.681c0-1.232.38-1.7,1.31-1.683a1.1,1.1,0,0,1,1.18,1.06,8.024,8.024,0,0,1,.03.982v27.167c0.33-.3.54-0.469,0.74-0.663,1.7-1.724,3.39-3.456,5.09-5.178a1.329,1.329,0,0,1,1.72-.444,1.357,1.357,0,0,1,.22,2.2c-0.93.994-1.9,1.946-2.85,2.916C1322.16,344.106,1320.13,346.171,1317.92,348.422Zm0.09,3.01c2.64,0,8.79,0,11.42,0,1.02,0,1.58.461,1.57,1.26a1.4,1.4,0,0,1-1.58,1.3c-5.3,0-17.63.007-22.93,0a1.232,1.232,0,0,1-1.49-1.238,1.27,1.27,0,0,1,1.51-1.319C1309.17,351.427,1315.35,351.432,1318.01,351.432Z' transform='translate(-1305 -314)'/%3E%3C/svg%3E") no-repeat center center;
  background-size: 26px 40px;
}

.dl-btn:hover {
  background-color: #0052a4;
  color: #fff;
}

.dl-btn:hover::before {
  background-color: #0052a4;
}
