.mobile-header,
.mobile-logo {
  display: none;
}

.hamburger-btn {
  background: transparent;
  border: none;
  padding: 0.25rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #4a3c1a;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 900;
}
.sidebar-overlay.is-visible {
  display: block;
}

/*Layer*/
.selectize-dropdown,
.selectize-input.dropdown-active {
  z-index: 5000 !important;
}

.leaflet-control,
.leaflet-control-container {
  z-index: 1 !important;
}

.datepicker,
.datepicker-dropdown,
.datepicker-dropdown.dropdown-menu {
  z-index: 5000 !important;
}
.leaflet-top,
.leaflet-bottom,
.leaflet-control {
  z-index: 1 !important;
} 

@media (max-width: 1100px) {
  /*Map + serch sidebar*/
  .map-container-wrapper.has-sidebar {
    display: flex;
    flex-direction: column;
  }
  .map-container-wrapper.has-sidebar .map-sidebar-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    order: -1;
  }
  .map-container-wrapper.has-sidebar .map-main-container {
    width: 100%;
    min-width: 0;
    order: 0;
  }
  .map-container-wrapper {
    min-height: 0 !important;
    height: auto !important;
  }
  .map-container-wrapper.has-sidebar {
    height: auto !important;
  }
  .map-sidebar-panel {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .map-sidebar-content {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .map-sidebar-table-container {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .map-sidebar-container,
  .map-sidebar-panel {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
}

@media (max-width: 900px) {
  .app-shell {
    flex-direction: column;
  }
  .app-main {
    width: 100%;
    flex: 0 0 auto;
    padding: 0.5rem;
  }
  .app-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px !important;
    max-width: 80%;
    background: #EFEBE1;
    z-index: 1000;
    flex: 0 0 auto !important;
    transform: translateX(-100%) !important;
    transition: transform 0.25s ease-out;
    z-index: 2000 !important;
  }
  .app-sidebar {
    position: fixed !important;
    z-index: 3000 !important;
  }
  .sidebar-overlay {
    z-index: 2500 !important;
  }
  .leaflet-control-container{
    position: static !important;
    z-index: 1 !important;
  }
  .app-sidebar.is-open {
    transform: translateX(0) !important;
  }
  .app-sidebar .app-title {
    display: none !important;
  }
  .mobile-header,
  .mobile-logo {
    display: block !important;
  }
  .mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
  }
  .mobile-logo {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .mobile-logo img {
    max-width: 240px;
    width: 80%;
    height: auto;
  }
  .page-header-bar .lang-dropdown {
    display: none !important;
  }
  .mobile-header .lang-dropdown {
    display: block !important;
  }

  /*Disclaimer*/
  .disclaimer-box {
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
  }
  .disclaimer-header {
    font-size: 1.25rem !important;
  }
  .disclaimer-body {
    font-size: 1.15rem !important;
  }
  .disclaimer-close {
    font-size: 1.8rem !important;
    top: 0;
    right: 8px;
  }
}

@media (max-width: 600px) {
  .mobile-logo h2 {
  font-size: 1.8rem;
  font-weight: 600;
  }
  h2.page-title {
    font-size: 1.8rem;
    font-weight: 600;
  }
  #feedback_module_id-fb_title {
  font-size: 2.3rem;
  }

  /*Infobox*/
  .info-chart-container {
  flex-direction: column !important;
  align-items: stretch !important;
  }
  #bearStatsText {
    width: 100% !important;
  }
  #bearChart {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
}