@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Overpass:ital,wght@0,100..900;1,100..900&family=PT+Sans+Narrow:wght@400;700&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: "Roboto", sans-serif;
}

.hidden {
  display: none !important;
}

#contact-container {
  padding-top: calc(50px + var(--title-height));
  padding-bottom: 50px;
  padding-left: 100px;
  padding-right: 100px;
}

#methodology-container h1,
#contact-container h1 {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background-color: var(--secondary_blue);
  padding: 25px 50px;
  font-size: 36px;
  margin: 0;
  height: var(--title-height);
  display: flex;
  align-items: center;
}

/* Navigation */
.tab-container {
  height: var(--nav-height);
  background: linear-gradient(
    90deg,
    rgba(13, 18, 61, 1) 0%,
    rgba(30, 37, 98, 1) 100%
  );
}

.navbar-nav .btn {
  background-color: transparent !important;
  border: none !important;
  font-size: 16px;
  font-weight: 500;
  color: white;
  width: fit-content !important;
}

.navbar-nav .btn:hover {
  color: var(--secondary_blue);
}

.navbar-nav .btn.active {
  color: var(--secondary_blue);
  text-decoration: underline 2px;
  text-underline-offset: 8px;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
}

.navbar-nav {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  padding-right: 70px;
  flex-direction: row;
}

/* Responsive design for small desktop screen */
/* Mobile screen navigation */
/* Compatible with md breakpoint for mobile screen */
@media (max-width: 768px) {
  .navbar-collapse .navbar-nav,
  .navbar-collapse.collapse .navbar-nav {
    border: none;
    font-size: 16px;
    font-weight: 500;
    width: fit-content;
    flex-direction: column;
    padding-right: 0px;
        gap: 0px;
  }

  .navbar-collapse .nav-item:hover {
    color: var(--secondary_blue);
  }

  .navbar-collapse .navbar-nav .nav-item {
    background-color: var(--principal_blue);
    z-index: 1001;
  }

  .navbar-collapse .navbar-nav .nav-item .btn {
    font-size: 16px;
    font-weight: 500;
    border: none !important;
    float: right;
    padding: 10px 25px;
  }
}

#logo {
  background-image: url("../assets/images/logo.svg");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  left: 70px;
  top: 15px;
  position: absolute;
  padding: 0;
  width: 73px;
  height: 33px;
}

/* This targets the invisible wrapper of the notifications */
.mantine-Notifications-root {
  top: calc(var(--nav-height) + 12px);
  pointer-events: none;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  .mantine-Notifications-root {
    display: none;
    top: 12px;
    z-index: 1001;
    /* top: calc(var(--nav-height) + var(--mobile-settings-bar-height) + 12px); */
  }
}

/* This ensures you can still click 'X' or buttons inside the notification */
.mantine-Notifications-notification {
  pointer-events: all;
}

/* User Guide tab */
#user-guide-title {
  background-color: var(--secondary_blue);
  color: #1E2562;
  padding: 24px 72px;
}

#user-guide-content #user-guide-iframe {
  margin-top: 40px;
  width: 90vw;
  height: 70vh;
  margin: 3% 5%;
}

#user-guide-button {
  display: none;
  color: white;
  background-color: var(--principal_blue);
  border: none;
  border-radius: 30px;
  padding: 10px;
  text-decoration: none;
}

.pdf-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  #user-guide-content #user-guide-iframe {
    display: none;
  }

  #user-guide-button {
    display: unset;
  }
}
/* Landing page - Introduction */

#introduction {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  background-image: url("../assets/images/introduction.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#introduction-container {
  display: flex;
  flex-direction: column;
  width: 506px;
  border-radius: 30px;
  background-color: white;
}

.introduction-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.introduction-title h1 {
  font-size: 50px;
  font-weight: bold;
}

.introduction-title h2 {
  font-weight: 500;
  font-size: 20px;
}

.introduction-description {
  padding: 0px 30px;
}

.introduction-description p {
  padding: 0px 30px;
  font-weight: 700;
  font-size: 16px;
}

.introduction-button,
.introduction-button:hover,
.introduction-button:active {
  background-color: transparent !important;
  color: black !important;
  border: none;
  font-weight: 700;
  font-size: 16px;
}

.buttons-container {
  display: flex;
  align-items: center;
  gap: 0.1rem;

  height: 80px;
  background-color: var(--secondary_blue);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  width: 100%;
  justify-content: center;
}

.buttons-container .vertical-separator {
  border-left: 1px solid black;
  height: 80px;
}

.horizontal-separator {
  border-left: 1px solid gray;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  #introduction {
    min-height: calc(100dvh - var(--nav-height));
  }

  #introduction-container {
    width: 100dvw;
  }

  .introduction-title h1 {
    font-size: 40px;
   }

  .introduction-description p {
    padding: 0px 10px;
    font-size: 14px;
  }
}

/* Landing page - Seasonal and projection indicators */

#introduction-indicator-back-arrow {
  margin: 10px;
}

#introduction-indicator-back-arrow:hover {
  cursor: pointer;
}

.indicators-container {
  background-color: var(--tertiary_blue);
  width: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

#indicator-radioitems-container {
  padding: 13px 24px;
}

#indicator-radioitems-container h3 {
  font-weight: 700;
  font-size: 16px;

  line-height: 150%;
  letter-spacing: -1.1%;
  vertical-align: middle;
  color: #323FAC;
}

#indicator-radioitems-container hr {
  height: 0px;
  opacity: 0.6;
  margin: 10px -15px;
  border: 1px solid var(--secondary_blue)
}

.indicator-radioitems {
  padding: 0px 38px;
}

.indicator-radioitems input[type="radio"] {
  margin-right: 10px;
  accent-color: black;
}

.indicator-radioitems label {
  margin-bottom: 5px;
}

#vector-presence-checkbox {
  font-size: 12px;
  border-color: #4C57B6;
}

label[for="vector-presence-checkbox"] {
  color: #323FAC;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.vector-presence-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vector-presence-tooltip .tooltip-inner {
  color: var(--principal_blue);
  background-color: var(--secondary_blue);
  padding: 16px;

  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 12px;

  display: inline-block;
}

.vector-presence-tooltip .tooltip-inner a {
  padding-left: 0.25em;
}

.vector-presence-tooltip .tooltip-arrow::before {
  border-bottom-color:  var(--secondary_blue);
}


/* Map page - Map */

#indicator-graph, .leaflet-container {
  height: calc(100dvh - var(--nav-height));
  /* bottom: 0; */
}

.leaflet-control-attribution {
  display: none;
}

/* Allow colors to blend among panes */
.leaflet-pane-1-pane > svg path.leaflet-interactive {
  mix-blend-mode: overlay;
}

/* Disable interactivity in the Sociodemo pane */
.leaflet-VectorPresence-pane > svg path.leaflet-interactive {
  pointer-events: none !important;
  opacity: 0.7;
  mix-blend-mode: overlay;
}

.leaflet-Sociodemo-pane > svg path.leaflet-interactive {
  pointer-events: none !important;
}

/* Map page - Indicator information */

/* Mobile wrapper */
/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  #indicator-container-mobile {
    position: fixed;
    z-index: 1000;
    top: calc(var(--nav-height) + 15px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2vw;
    margin-right: 2vw;
    line-height: normal;
  }

  #open-indicator-drawer-button {
    background-color: var(--principal_blue);
    color: white;
    border-radius: 30px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: fit-content;
  }

  .mantine-Drawer-root {
    --mb-z-index: 1001 !important;
    border-radius: 30px;
  }
}

#indicator-container {
  position: fixed;
  z-index: 1000;
  left: 15px;
  top: calc(var(--nav-height) + 15px);
  background-color: white;
  border-radius: 30px;
  width: 320px;
}

#indicator-container-header {
  background-color: var(--principal_blue);
  color: white;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 20px 20px 10px 20px;
  width: 100%;
}

#indicator-container h1 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  margin-top: 10px;
}

#indicator-container h3 {
  font-size: 16px;
  margin: 0;
}

#indicator-container-header-flex {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

#indicator-container-header-flex p {
  margin: 0;
  font-size: 14px;
}

#indicator-container-content {
  padding: 0px 20px;
  max-height: calc(100% - var(--temporal-settings-height));
}

/* Thin scrollbar in the Chrome browser */
@supports selector(::-webkit-scrollbar) {
  #indicator-container-content {
    scrollbar-width: thin;
  }

  .sociodemographic-content {
    scrollbar-width: thin;
  }

  .about-content {
    scrollbar-width: thin;
  }

  #right-panel {
    scrollbar-width: thin;
  }
}

/* Responsive design for small desktop screen */
@media screen and (max-height: 870px) {
  #indicator-container-content {
    max-height: calc(70vh - var(--temporal-settings-height));
    margin: 0px 10px 10px 0px;
    overflow: auto;
  }
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  #indicator-container {
    position: unset;
    width: unset;
    height: 100%;
    border-radius: unset;
  }

  #indicator-container-header {
    border-radius: unset;
    padding-top: 1vh;
  }
  #indicator-container-content {
    max-height: unset;
  }

  .mantine-Drawer-header {
    background-color: var(--principal_blue);
    padding: 1vh;
    min-height: unset;
  }

  .mantine-Drawer-header button {
    color: white;
  }

  .mantine-Drawer-overlay {
    z-index: 1000;
  }
}

#vector-radioitems input[type="radio"] {
  margin-right: 10px;
  accent-color: black;
}

#vector-radioitems label {
  margin-bottom: 5px;
  font-style: italic;
}

.output-selected h3 {
  font-size: 16px;
  margin: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

#indicator-back-arrow:hover {
  cursor: pointer;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  #indicator-back-arrow {
    display: none;
  }

  #indicator-back-arrow-mobile {
    background-color: var(--principal_blue);
    color: white;
    border-radius: 30px;
  }

  #indicator-back-arrow-mobile {
    padding: 5px 10px;           /* increases the region */
  }
}

.indicator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.indicator-bar-left-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sociodemographic-content {
  max-height: 30vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0px 12px 12px 12px;
}

/* Responsive design for small desktop screen */
@media screen and (max-height: 870px) {
  .sociodemographic-content {
    max-height: fit-content;
  }
}

.sociodemographic-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.socio-switch .custom-control-input {
    width: 25;
    height: 14;
    top: 25px;
    left: 236px;
    border-radius: 100px;
    border-color: rgba(0, 0, 0, 0.25);
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
}

.socio-switch .custom-control-input:checked {
    background-color: #9CD8F7;
    border-color: #9CD8F7;
    border: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='white' stroke='black' stroke-width='1.0'/></svg>");
}

.sociodemographic-index {
  padding-right: 8px;
}

.sociodemographic-index h4 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #000000CC;
  font-weight: 700;
}

.index-mask {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 0px;
  text-transform: capitalize;
  padding-left: 5px;
}

.sociodemographic-index p.index-mask {
  margin-top: -5px;
  margin-bottom: 0px;
}

.index-colorbox {
  width: 13px;
  height: 13px;
  border:1px solid black;
  margin-left: 5px;
  margin-right: -2px;
}

.index-legend {
  display: inline-flex;
  align-items: center;
  padding-right: 5px;
}

.socio-slider {
  width: 280px;
  margin-left: -15px;
  margin-bottom: -15px;
}

.socio-slider .rc-slider-rail {
  background-color: #A2A4B0;
  height: 4px;
}

.socio-slider .rc-slider-track {
  background-color: #1E2562;
  height: 4px;
}

.socio-slider .rc-slider-mark {
  top: 13px;
}

.socio-slider .rc-slider-mark span {
  color: #0D123D;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 9px;
  line-height: 100%;
  letter-spacing: 0px;
}

.socio-slider .rc-slider-handle {
  background-color: #9CD8F7;
  border: none;
  height: 8px;
  width: 8px;
  margin-top: -2px;
}

.socio-slider .rc-slider-dot {
  display: none;
}

.socio-slider .rc-slider-disabled .rc-slider-track {
  background-color: #A2A4B0;
}

.socio-slider .rc-slider-disabled .rc-slider-handle {
  background-color: #A2A4B0;
}

.index-description, .index-description > a {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #979797;
  font-weight: 400;
  line-height: 150%;
}

.index-description > a {
  padding-left: 5px;
}

.about-content {
  padding: 0px 12px 12px 12px;
  margin-bottom: 20px;
  overflow-y: auto;
  max-height: 30vh;
}

/* Responsive design for small desktop screen */
@media screen and (max-height: 870px) {
  .about-content {
    max-height: fit-content;
  }
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  .about-content {
    max-height: 100%;
  }
}

#about-indicator-bar-content p, #about-indicator-bar-content a {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #878787;
  font-weight: 400;
  line-height: 150%;
}

.about-content > a {
  text-decoration: underline;
}


/* Map page - Info Card */
.info {
  box-shadow: none !important;
  margin-top: 10px;
}

.info > p, .info > span {
  white-space: nowrap;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

.info.no-data {
  top: 133px !important;
}

.info.all-zero {
  top: 205px !important;
}

.info.data-available {
  top: 180px !important;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  .info > p, .info > span {
    font-size: small;
    white-space: normal;
    line-height: 1.3;
  }

  #seasonal-info.info {
    top: calc(var(--nav-height) + var(--mobile-settings-bar-height) + 18px) !important;
    width: fit-content;
    max-width: 260px;
  }

  .info.no-data {
    top: calc(var(--nav-height) + var(--mobile-settings-bar-height) + 18px + 35px) !important;
  }

  .info.all-zero {
    top: calc(var(--nav-height) + var(--mobile-settings-bar-height) + 18px + 100px) !important;
  }

  .info.data-available {
    top: calc(var(--nav-height) + var(--mobile-settings-bar-height) + 18px + 67px) !important;
  }

  @media (orientation: landscape) {
    .info, .info > p, .info > span {
      font-size: smaller;
      white-space: normal;
      line-height: 1.1;
    }

    #seasonal-info.info {
      top: calc(var(--nav-height) + 18px) !important;
      width: unset;
      max-width: unset;
    }

    .info.no-data {
      top: calc(var(--nav-height) + 18px + 30px) !important;
    }

    .info.all-zero {
      top: calc(var(--nav-height) + 18px + 65px) !important;
    }

    .info.data-available {
      top: calc(var(--nav-height) + 18px + 55px) !important;
    }
  }
}

/* Map page - Colorbar */

.leaflet-control-colorbar.leaflet-control {
  background-color: white;
  padding: 30px 30px 5px 25px;
  border-radius: 10px;
  position: fixed;
  right: 0px;
  z-index: 100;
}

.leaflet-control-colorbar.leaflet-control span {
  font-size: 12px;
}

#colorbar-info {
  position: fixed;
  right: 0px;
  z-index: 1000;
  width: 370px;
  margin: 15px 20px 0px 0px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#colorbar-title {
  width: fit-content;
  font-weight: 600;
  font-size: 15px;
}

#colorbar-tooltip-icon {
  margin-bottom: 16px;
}

#colorbar-tooltip .tooltip-inner {
  margin-top: 10px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 12px;
  letter-spacing: 0px;
  text-align: start;
  color: var(--principal_blue);
  background-color: var(--secondary_blue);
  padding: 16px;
}

.tooltip.show {
  opacity: 1;
}

#colorbar-tooltip .tooltip-arrow {
  margin-top: 10px;
 }

#colorbar-tooltip .tooltip-arrow::before {
  border-bottom-color:  var(--secondary_blue);
}

#colorbar-container {
  position: fixed;
  z-index: 1000;
  right: 0px;
  top: calc(var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#colorbar-button {
  font-size: 14px;
  margin: 16px 24px 0px 0px;
  background-image: url("../assets/images/editor.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
}

#colorbar-button:hover {
  cursor: pointer;
}

#colorbar-editor {
  right: 17px;
  top: 85px;
  margin: 45px 10px 0px 0px;
  background-color: white;
  border: 2px solid var(--secondary_blue);
  border-radius: 10px;
  padding: 10px 7px 5px 5px;
  font-size: 14px;
  z-index: 1100;
  position: static;
}

#colorbar-radioitems label {
  display: flex !important;
}

#colorbar-radioitems label input[type="radio"] {
  margin-right: 8px;
  accent-color: var(--principal_blue);
}

#colorbar-radioitems label input[type="radio"]:hover {
  cursor: pointer;
}

.colorbar-editor-colorscale {
  display: flex;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}

.colorbar-editor-colorscale:hover {
  cursor: pointer;
}

.colorbar-editor-colorscale-color {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin: 0px;
  padding: 0px;
}

#colorbar-close-button {
  float: right;
  position: absolute;
  background-color: var(--principal_blue);
  border-radius: 50%;
  border: 0px;
  top: 75px;
  right: 0px;
  height: 20px;
  width: 20px;
  line-height: 20px;
  padding: 0;
  margin: 0;
  font-weight: bold;
  color: white;
}

#colorbar-close-button:hover {
  color: var(--secondary_blue) !important;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  /* #indicator-graph {
    height: 100%;
  } */

  .colorbar-indicators, #colorbar-info, #colorbar-container {
    top: calc(var(--nav-height) + var(--mobile-settings-bar-height));
  }

  #colorbar-info {
    width: 300px;
  }

  #colorbar-title {
    font-size: small;
  }

  @media (orientation: landscape) {
    .colorbar-indicators, #colorbar-info, #colorbar-container {
      top: calc(var(--nav-height)) !important;
    }
  }

  .leaflet-control-zoom {
    display: none;
  }
}

/* Map page - Settings container */
/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  #open-time-drawer-button {
    position: fixed;
    z-index: 1000;
    left: 30vw;
    top: calc(var(--nav-height) + 15px);
    background-color: white;
    border-radius: 30px;
  }

  #open-download-drawer-button {
    position: fixed;
    z-index: 1000;
    left: 60vw;
    top: calc(var(--nav-height) + 15px);
    background-color: white;
    border-radius: 30px;
  }
}

#settings-container {
  position: fixed;
  display: flex;
  z-index: 1000;
  left: 0;
  bottom: 0;
  margin: 15px;
  background-color: var(--principal_blue);
  border-radius: 30px;
  color: white;
  padding: 0px 20px;
}

#settings-container h3 {
  font-size: 8px;
  margin: 10px 10px 0px 10px;
}

#settings-container .vertical-separator {
  border-left: 2px solid gray;
}

#temporal-aggregation-container {
  width: 215px;
}

#temporal-selection-viewer h3, #temporal-selection-options h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 0px;
  color: white;
}

#temporal-selection-viewer div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0px 10px 10px 10px;
}

#temporal-selection-viewer p {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;
  margin: 0;
}

#temporal-selection-options hr {
  margin: 0px 10px;
  color: #262D66;
  background-color: #262D66;
  border: 1px solid #262D66
}

#temporal-selection-options {
  padding-right: 10px;
}

#temporal-selection-options .collapsible-cards {
  left: 15px;
  width: 235px;
  padding-bottom: 10px;
}

#temporal-aggregation-container .Select-control {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: white;
}

#temporal-aggregation-container .Select-arrow {
  border-color: var(--secondary_blue) transparent transparent;
}

#temporal-aggregation-container .Select-value-label {
  color: white;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}

#temporal-aggregation-container .Select-menu-outer {
  color: white;
  font-size: 12px;
  background-color: var(--principal_blue);
  -webkit-transform: translateY(-30px) translateY(-100%);
  transform: translateY(-30px) translateY(-100%);
  white-space: nowrap;
  min-width: 100%;
  border-radius: 10px 10px 0px 0px;
  border: 1px solid var(--principal_blue);
  filter: drop-shadow(0 0 0.2rem var(--secondary_blue));
}

#temporal-aggregation-container .btn {
  background: var(--secondary_blue);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  text-transform: uppercase;
  color: var(--principal_blue);
  border-radius: 0px;
  padding: 0px;
  margin: 21px 0px;
  width: 100%;
  height: 100%;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  #temporal-selection-options-card-body {
    padding: 10px 5px;
  }
}

#indicator-selector {
  gap: 20px;
  padding: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 1.68%;
}

#indicator-selector-content {
  color: var(--principal_blue);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 1.68%;
  background-color: var(--secondary_blue);
  white-space: nowrap;
  min-width: 100%;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 20px;
}

#indicator-selector-content input[type="radio"] {
  margin-right: 10px;
  accent-color: black;
}

#indicator-selector-content label {
  margin-bottom: 5px;
}

#slider-graph {
  width: 30vw;
  padding: 0px 15px !important;
}

#slider-graph .rc-slider-mark {
  display: none;
}

#slider-graph .rc-slider-handle {
  background-color: var(--secondary_blue);
  border: none;
  margin-top: -6px;
}

#slider-graph .rc-slider-dot:first-child {
  display: none;
}

#slider-graph .rc-slider-dot {
  background-color: #3c3f5b;
  height: 15px;
  width: 2px;
  border-radius: 0;
  bottom: -4px;
  border: none;
  margin-left: 0px;
}

#slider-graph .rc-slider-dot-active {
  background-color: white;
}

#slider-graph .rc-slider-rail {
  background-color: #3c3f5b;
  height: 2px;
}

#slider-graph .rc-slider-track {
  background-color: white;
  height: 2px;
}

#timeslider-container {
  display: flex;
  align-items: center;
  margin: 10px;
}

.dateline .date-tab {
  height: 32px;
  margin: 0px 10px;
  padding: 5px 3vw 0px 3vw;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  color: black;
  background-color: transparent;
}

.dateline .date-tab.year {
  margin: 0px;
  padding: 5px 5px;
}

.dateline .selected {
  background-color: #9CD8F7;
}

.dateline {
    position: fixed;
    bottom: 79px;
    width: 30vw;
    margin: 0px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.rc-slider-tooltip {
  display: none;
}

/* Responsive design for small desktop screen */
@media screen and (max-width: 1024px) {
  .dateline .date-tab.year {
    font-size: 0px;
  }

  .dateline .date-tab.year::first-letter {
    font-size: 12px;
  }
}

#btn-play {
  padding: 0;
  background: white;
  color: var(--principal_blue);
  padding: 9px 8px 8px 9px;
  border-radius: 50%;
  font-size: 10px;
  border: none;
  width: 25.75px;
  height: 27px;
}

.download-container {
  display: flex;
  align-items: center;
}

#download-button {
  display: flex;
  align-items: center;
  padding: 0px 10px;
  margin: 15px 0px;
  gap: 0.5rem;
  background-color: transparent;
}

#download-button p {
  margin: 0;
  font-size: 13px;
}

.collapsible-cards {
  position : fixed;
  z-index : -1;
  bottom : 42px;
}

.card {
  background-color: #0D123D;
  border-radius: 20px 20px 0px 0px;
  border: none;
}

.download-menu {
  padding: 0px 0px 5px 0px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.download-container .download-menu>.download-section:first-child {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.download-container .download-menu>.download-section {
  background-color: #0D123D;
  padding: 5px 45px 5px 25px;
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #FFFFFF;
  line-height: 20px;
  border: 1.5px solid #0D123D !important;
  border-radius: 0px;
  text-decoration: none;
}

.download-container .download-menu>.download-section:hover {
  background-color: #1E2562;
  font-weight: 700;
}

.download-container .download-menu>.download-section:active {
  background-color: #1E2562;
  font-weight: 700;
}

.download-container .download-menu>.download-section.downloading {
  padding: 5px 5px 5px 25px;
}

.download-spinner {
  color: var(--secondary_blue);
  margin-left: 5px;
  width: 10px;
  height: 10px;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  #settings-container {
    height: 40px;
    /* width: fit-content; */
    padding: 0px 10px;
    right: 1%;
    left: 1%;
  }

  @media (orientation: landscape) {
    #settings-container {
      right: 10%;
      left: 10%;
    }
  }

  #temporal-selection-viewer {
    font-size: 0;        /* hide text */
    cursor: pointer;
    background-image: url("../assets/images/calendar.svg");
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    margin: 0px 5px;
  }

  #temporal-selection-viewer h3 {
    display: none;
  }

  #temporal-selection-viewer div {
    display: none;     /* hide the div content */
  }

  #temporal-aggregation-container {
    width: fit-content;
    align-content: center;
  }

  #temporal-aggregation-container .btn {
    margin: 0px;
    font-size: 10px;
    line-height: 12px;
  }

  #temporal-aggregation-container .Select-value {
    display: inline-block
  }

  #temporal-selection-options {
    width: 120px;
    display: flex;
    align-items: end;
  }

  #temporal-selection-options .collapsible-cards {
    width: 135px;
    left: unset;
    margin-left: -10px;
    bottom: 25px;
  }

  #dateline-container {
    display: none;
  }
  .dateline .date-tab.year::first-letter {
    font-size: small;
  }

  .dateline  {
    bottom: 45px;
  }

  #timeslider-container {
    display: flex;
    align-items: center;
    margin: 10px;
    width: 100%;

  }


  #slider-graph {
    width: 100%;
  }

  .rc-slider-mark {
    display: none;
  }

  .rc-slider-tooltip {
    display: unset;
  }

  .rc-slider-tooltip-inner {
    height: 32px;
    margin: 0px 10px;
    padding: 5px 3vw 0px 3vw;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    color: black;
    background-color: #9CD8F7;
  }

  #download-collapse.collapsing {
    font-size: 0px;
    color: transparent;
  }

  .download-container {
    align-items: end;
    flex-direction: column-reverse;
  }

  #download-collapse.collapsing, #download-collapse.collapsing {
    color: transparent;
  }

  .download-container .collapsible-cards  {
    right: unset;
    bottom: 39px;
    margin: unset;
    margin-right: -10px;
  }

  .download-container .collapsible-cards.row .col  {
    padding-right: 0;
  }

  .download-container{
    padding-bottom: 10px;
  }

  #download-button {
    margin: 0px;
    padding: 0px 5px 0px 5px;
  }

  #download-button img {
    margin-left: auto;
    margin-right: auto;
  }

  #download-button p {
    display: none;
  }
}

/* Map container - Right panel */

#right-panel {
  position: fixed;
  z-index: 1100;
  right: 0px;
  bottom: 0px;
  background-color: white;
  padding: 40px;
  border-left: 4px solid var(--secondary_blue);
  width: 540px;
  height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  overflow: auto;
}

#right-panel-close {
  margin-left: auto;
}

#right-panel-close:hover {
  cursor: pointer;
}

#right-panel .tab-container, #right-panel .tab-parent {
  background-color: white  !important;
  background: white;
}

#right-panel .tab-container {
  background-color: white  !important;
  background: white;
  height: 44px;
  border-bottom: 2px solid #003581 !important;
}

#right-panel .tab {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #979797;
  background-color: #F2F2F2 !important;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-top: 1px solid #DBDBDB !important;
  border-left: 1px solid #DBDBDB !important;
  border-right: 1px solid #DBDBDB !important;
  padding: 6px 20px 1px 20px;
  width: fit-content;
}

#right-panel .tab--selected {
  color: #0D123D;
  background-color: white !important;
  border-left: 2px solid #003581 !important;
  border-right: 2px solid #003581 !important;
  border-top: 2px solid #003581 !important;
  box-shadow: 0px 5px 0px -1.5px white;
}

#right-panel p, #right-panel ul {
  margin: 0 0 10px 0;
  font-size: 16px;
}

#right-panel a {
  text-decoration: underline;
  color: #878787;
  font-size: 14px;
}

#right-panel-output {
  font-weight: 600;
  font-size: 20px;
  color: #0D123D;
  margin-top: .5rem;
}

#right-panel .download-button-right-panel {
  display: flex;
  align-items: center;
  height: 40px;
  width: fit-content;
  margin: 40px 0px 40px 0px;
  padding: 8px 25px;
  gap: 0.5rem;
  background-color: #0D123D;
  border-radius: 30px;
}

#right-panel .download-button-right-panel p:hover {
  color: var(--secondary_blue);
}

#right-panel .download-button-right-panel p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: white;
}

@media screen and (max-width: 768px) {
  #right-panel {
    width: 100%;
    padding: 20px;
  }

  #right-panel .tab-container {
    flex-direction: row;
    width: unset;
  }

  #right-panel .tab {
    font-size: large;
    padding: 6px 15px 1px 15px;
  }
}

/* Map container - Popups */

.leaflet-popup-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px;
}

#explore-popup {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#explore-button {
  background-color: var(--principal_blue);
  border: 0px;
  border-radius: 25px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  padding-left: 25px;
  padding-right: 25px;
  height: 50px;
}

#explore-button:hover {
  color: var(--secondary_blue);
}

.leaflet-container a.leaflet-popup-close-button {
  float: right !important;
  position: absolute !important;
  background-color: var(--principal_blue) !important;
  border-radius: 50% !important;
  border: 0px !important;
  top: -7px !important;
  right: -9px !important;
  height: 20px !important;
  width: 20px !important;
  line-height: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: bold !important;
  color: white !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: var(--secondary_blue) !important;
}

#popup-value {
  display: flex;
  background-color: red;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 25px;
  font-size: 20px;
  margin: 0;
  white-space: nowrap;
}

#popup-nuts-name {
  font-weight: 600;
}

#popup-details {
  font-size: 16px;
  line-height: 0.5;
  white-space: nowrap;
}

#popup-vector-presence {
  text-transform: capitalize
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  .leaflet-popup-content {
    width: fit-content !important;
  }

  #popup-value {
    width: fit-content;
    height: auto;
    padding: 5px;
  }

  #popup-details {
    line-height: 0.0;
  }

  #explore-button {
    font-size: 0;        /* hide text */
    cursor: pointer;
    background-image: url("../assets/images/explore-timeseries.svg");
    background-position: center;
    background-repeat: no-repeat;
    height: 35px;
    width: 40px;
    padding: 0px 30px;
  }
}

/* Methodology page */
.scrollable-content {
  height: 100%;
  top: 0;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  .scrollable-content {
    margin: 20px 5px;
  }

  .scrollable-content a {
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

.nav-bar {
  position: sticky;
  top: 0;
  float: left;
  padding-top: 10px;
  width: fit-content;
}

.nav-row {
  gap: 20px;
  display: flex;
  align-items: center;
}

.nav-row > p {
  padding-top: 14px;
  font-size: 14px;
  line-height: 20px;
}

#list-method > .list-group-item {
  font-size: 16px;
}

#list-method > .list-group-item.active {
  background-size: 10px;
  background-color: #e6ebf2;
  font-weight: bold;
  font-size: 14px;
  color: #1d192b;
}

#methodology-container {
  padding-top: calc(50px + var(--title-height));
  padding-bottom: 50px;
  padding-left: 100px;
  padding-right: 100px;
  width: 100%;
}

#methodology-container h2 {
  font-size: 24px;
  color: #282938;
  font-weight: 700;
  margin-bottom: 32px;
  margin-top: 32px;
}

#methodology-container hr {
  color: #d8d8d8;
  margin-bottom: 32px;
  margin-top: 32px;
}

#methodology-container ul, p, li {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

#methodology-container .reference {
  margin-bottom: 20px;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 120%;
}

#methodology-container a {
  color: black;
}

#methodology-container h3 {
  font-size: 20px;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  margin-bottom: 32px;
  margin-top: 32px;
}

#methodology-container table, th, td {
  border:1px solid black;
  font-family: "Lato", sans-serif;
  padding: 15px;
}

#methodology-container th, td {
  width: 17%;
}

#methodology-container th {
  text-align: center;
  font-weight: bold;
  background-color: var(--secondary_blue);
}

/* About page */

.about-container-section {
  height: fit-content;
  width: 100%;
  padding: 70px;
  margin: 0px;
}

.about-container-section:nth-child(even) {
  background-color: "white";
}

.about-container-section:nth-child(odd) {
  background-color: var(--tertiary_blue);
}

#about-container h1 {
  width: 100%;
  background-color: var(--secondary_blue);
  padding: 25px 50px;
  font-size: 36px;
  margin: 0;
  height: var(--title-height);
  display: flex;
  align-items: center;
}

.about-container-section h2 {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 30px;
}

.about-container-section p {
  font-family: "Public Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 0px;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  .about-container-section {
    padding: 50px;
  }

  #about-container h1 {
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--secondary_blue);
    padding: 25px 50px;
    /* font-size: 36px; */
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Fluid sizing */
    margin: 0;
    height: var(--title-height);
    display: flex;
    align-items: center;
  }
}

#about-screenshot {
  border: 30px solid var(--tertiary_blue);
  background-color:  var(--tertiary_blue);
  max-width: 530px;
  max-height: 330px;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  #about-screenshot {
    border: 10px solid var(--tertiary_blue);
    max-width: 100%;
    max-height: none;
  }
}

.about-functionality-container {
  background-color: var(--secondary_blue);
  margin: 15px;
  padding: 32px;
  max-width: 286px;
  min-height: 360px;
}

.about-functionality-container h2 {
  width: 100%;
  margin: 0px;
}

.about-functionality-container p {
  line-height: 100%;
  letter-spacing: -2%;
}

.about-contact-container-section {
  height: 350px;
  width: 100%;
  padding: 70px;
  margin: 0px;
  background: linear-gradient(#355F92, var(--principal_blue));
}

.about-contact-container-section h2 {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: #FFFFFF;
}

.about-contact-container-section a {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--principal_blue);
  line-height: 20px;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;

  background-color: var(--secondary_blue);
  border: 0px;
  border-radius: 25px;
  white-space: nowrap;

  padding: 15px 50px;
  height: 50px;
  width: fit-content;

  text-decoration: none;
}

.about-contact-container-section a:hover {
  color: var(--principal_blue);
  background-color: var(--tertiary_blue);
}

.footer-section {
  height: fit-content;
  width: 100%;
  padding: 70px;
  margin: 0px;
  background-color: var(--principal_blue);
  color: #FFFFFF;
  font-family: "Roboto", sans-serif;
}

.footer-disclaimer img {
  margin-bottom: 25px;
}

.footer-disclaimer p, .footer-disclaimer a {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0px;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  .footer-rights {
    padding-top: 25px;
  }
}

.footer-rights p, .footer-rights a {
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0px;
}

/* Contact page */

#contact {
  min-height: calc(100vh - var(--nav-height));
  background-image: url("../assets/images/introduction.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#contact-container p {
  color: white;
}

#contact-form {
  background-color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 10px;
}

#contact-button {
  background-color: var(--principal_blue);
  border: none;
  border-radius: 30px;
  padding: 10px;
}

#contact-message {
  height: 200px;
}

#contact-info {
  border-radius: 10px;
  border: 1px solid white;
  padding: 10px;
}

#contact-info.error {
  border-radius: 10px;
  border: 1px solid red;
  padding: 10px;
}

#contact-area {
  max-width: 700px;
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px) {
  #contact-area {
    max-width: 700px;
    margin-top: 50px;
    margin-left: 10%;
    margin-right: 10%;
  }
}

/* Compatible with md breakpoint for mobile screen */
@media screen and (max-width: 768px){
  #methodology-container, #contact-container {
    padding-top: var(--title-height);
    padding-bottom: 50px;
    padding-left: 0px;
    padding-right: 0px;
  }

  #methodology-container h1,
  #contact-container h1 {
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--secondary_blue);
    padding: 25px 50px;
    font-size: 36px;
    margin: 0;
    height: var(--title-height);
    display: flex;
    align-items: center;
  }
}