.sidepanel {
    width: 400px;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    border: 0;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    z-index: 3000;
    cursor: default;
  }
  .sidepanel.sidepanel-dark {
    background-color: #191a1d;
  }
  @media screen and (max-width: 450px) {
    .sidepanel {
      width: calc(100% - 50px);
    }
  }

  .sidepanel.sidepanel-left {
    left: 0;
    transform: translateX(-100%);
  }
  .sidepanel.sidepanel-left.opened {
    animation: slide-right 0.5s ease 0s 1 both;
  }
  .sidepanel.sidepanel-left.closed {
    animation: slide-left 0.5s ease 0s 1 both;
  }

  .sidepanel.sidepanel-right {
    right: 0;
    transform: translateX(100%);
  }
  .sidepanel.sidepanel-right.opened {
    -webkit-animation: slide-right-two 0.5s ease 0s 1 both;
    animation: slide-right-two 0.5s ease 0s 1 both;
  }
  .sidepanel.sidepanel-right.closed {
    -webkit-animation: slide-left-two 0.5s ease 0s 1 both;
    animation: slide-left-two 0.5s ease 0s 1 both;
  }

  .sidepanel-inner-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
  }
  .sidepanel.sidepanel-dark .sidepanel-inner-wrapper {
    background-color: #191a1d;
  }

  .sidepanel-content-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    color: #191a1d;
    overflow-y: hidden;
    overflow-x: hidden;
  }
  .sidepanel.sidepanel-dark .sidepanel-content-wrapper {
    color: #d4d4d4;
  }
  .sidepanel-content-wrapper .sidepanel-content {
    /*position: absolute;*/
    padding: 1rem 1rem;
  }
  .sidepanel-content-wrapper .sidepanel-content .sidepanel-tab-content {
    color: inherit;
    display: none;
  }
  .sidepanel-content-wrapper .sidepanel-content .sidepanel-tab-content.active {
    display: block;
    animation: fade-in 0.36s ease-out;
  }
  .sidepanel-content-wrapper::-webkit-scrollbar {
    width: 6px;
  }
  .sidepanel-content-wrapper::-webkit-scrollbar-track {
    background: transparent;
  }
  .sidepanel-content-wrapper::-webkit-scrollbar-thumb {
    background: #636363;
    border-radius: 0px;
  }
  .sidepanel-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #383838;
  }

  .sidepanel.tabs-top .sidepanel-content-wrapper,
  .sidepanel.tabs-bottom .sidepanel-content-wrapper {
    height: calc(100% - 48px);
  }

  .sidepanel.tabs-top .sidepanel-content-wrapper {
    top: 48px;
  }

  .sidepanel.tabs-right .sidepanel-content-wrapper,
  .sidepanel.tabs-bottom .sidepanel-content-wrapper,
  .sidepanel.tabs-left .sidepanel-content-wrapper {
    top: 0;
  }

  .sidepanel.tabs-right .sidepanel-content-wrapper {
    right: 48px;
  }

  .sidepanel.tabs-left .sidepanel-content-wrapper {
    left: 48px;
  }

  .sidepanel.tabs-right .sidepanel-content-wrapper,
  .sidepanel.tabs-left .sidepanel-content-wrapper {
    height: 100%;
    width: calc(100% - 48px);
  }

  .sidepanel-tabs-wrapper {
    position: absolute;
    height: 48px;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
  }
  .sidepanel.sidepanel-dark .sidepanel-tabs-wrapper {
    background-color: #191a1d;
  }
  .sidepanel-tabs-wrapper .sidepanel-tabs {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    width: 100%;
  }
  .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab {
    flex-grow: 1;
    flex-basis: 0;
    align-self: stretch;
  }
  @media screen and (max-width: 230px) {
    .sidepanel-tabs-wrapper .sidepanel-tabs {
      overflow: scroll;
    }
  }

  .sidepanel.tabs-left .sidepanel-tabs-wrapper,
  .sidepanel.tabs-right .sidepanel-tabs-wrapper {
    width: 48px;
    height: 100%;
  }
  .sidepanel.tabs-left .sidepanel-tabs,
  .sidepanel.tabs-right .sidepanel-tabs {
    flex-direction: column;
    width: 48px;
  }
  .sidepanel.tabs-left .sidepanel-tabs .sidepanel-tab,
  .sidepanel.tabs-right .sidepanel-tabs .sidepanel-tab {
    margin-bottom: 0;
  }

  .sidepanel.tabs-left .sidepanel-tabs-wrapper {
    left: 0;
  }

  .sidepanel.tabs-right .sidepanel-tabs-wrapper {
    right: 0;
  }

  .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #4b5057;
    height: 45px;
    line-height: 1.7;
    padding-left: 8px;
    padding-right: 8px;
    border: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.12s ease-out, color 0.12s ease-out;
  }
  .sidepanel.sidepanel-dark .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    color: #6d737c;
  }
  .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    color: #191a1d;
  }
  .sidepanel.sidepanel-dark .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    color: #e7ecf1;
  }
  .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    color: #d72323;
  }
  .sidepanel.sidepanel-dark .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.sidepanel-dark .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    color: #d72323;
  }

  .sidepanel.tabs-top .sidepanel-tabs-wrapper {
    top: 0;
    box-shadow: inset 0 -1px 0 #d4d4d4;
  }
  .sidepanel.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    border-bottom: 2px solid transparent;
  }
  .sidepanel.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-bottom-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-bottom-color: #d72323;
  }

  .sidepanel.sidepanel-dark.tabs-top .sidepanel-tabs-wrapper {
    box-shadow: inset 0 -1px 0 #202429;
  }
  .sidepanel.sidepanel-dark.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-bottom-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.sidepanel-dark.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.sidepanel-dark.tabs-top .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-bottom-color: #d72323;
  }

  .sidepanel.tabs-bottom .sidepanel-tabs-wrapper {
    top: auto;
    bottom: 0;
    box-shadow: inset 0 1px 0 #d4d4d4;
  }
  .sidepanel.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    border-top: 2px solid transparent;
    margin-top: 1px;
  }
  .sidepanel.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-top-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-top-color: #d72323;
  }

  .sidepanel.sidepanel-dark.tabs-bottom .sidepanel-tabs-wrapper {
    box-shadow: inset 0 1px 0 #202429;
  }
  .sidepanel.sidepanel-dark.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-top-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.sidepanel-dark.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.sidepanel-dark.tabs-bottom .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-top-color: #d72323;
  }

  .sidepanel.tabs-left .sidepanel-tabs-wrapper {
    left: 0;
    box-shadow: inset -1px 0 0 #d4d4d4;
  }
  .sidepanel.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    border-right: 2px solid transparent;
    margin-right: 1px;
  }
  .sidepanel.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-right-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-right-color: #d72323;
  }

  .sidepanel.sidepanel-dark.tabs-left .sidepanel-tabs-wrapper {
    box-shadow: inset -1px 0 0 #202429;
  }
  .sidepanel.sidepanel-dark.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-right-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.sidepanel-dark.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.sidepanel-dark.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-right-color: #d72323;
  }

  .sidepanel.tabs-right .sidepanel-tabs-wrapper {
    right: 0;
    box-shadow: inset 1px 0 0 #d4d4d4;
  }
  .sidepanel.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    border-left: 2px solid transparent;
    margin-left: 1px;
  }
  .sidepanel.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-left-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-left-color: #d72323;
  }

  .sidepanel.sidepanel-dark.tabs-right .sidepanel-tabs-wrapper {
    box-shadow: inset 1px 0 0 #202429;
  }
  .sidepanel.sidepanel-dark.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:hover {
    border-left-color: rgba(175, 184, 193, 0.2);
  }
  .sidepanel.sidepanel-dark.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link:active, .sidepanel.sidepanel-dark.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link.active {
    border-left-color: #d72323;
  }

  .sidepanel.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs,
  .sidepanel.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs {
    height: auto;
  }
  .sidepanel.tabs-left .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link,
  .sidepanel.tabs-right .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link img,
  .sidepanel-tabs-wrapper .sidepanel-tabs .sidepanel-tab .sidebar-tab-link svg {
    vertical-align: middle;
  }

  .sidepanel .sidepanel-toggle-container {
    display: block;
    position: absolute;
    top: calc(50% - 24px);
    left: 100%;
    right: 0;
    width: 24px;
    height: 48px;
    z-index: 500;
  }
  .sidepanel .sidepanel-toggle-container .sidepanel-toggle-button {
    position: absolute;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 48px;
    cursor: pointer;
    background-color: #ffffff;
    border: 0;
    border-left: 1px solid #d4d4d4;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
  }
  .sidepanel .sidepanel-toggle-container .sidepanel-toggle-button::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 48px;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234B5057%22%20class%3D%22bi%20bi-caret-right-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m12.14%208.753-5.482%204.796c-.646.566-1.658.106-1.658-.753V3.204a1%201%200%200%201%201.659-.753l5.48%204.796a1%201%200%200%201%200%201.506z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;
    opacity: 1;
  }
  .sidepanel .sidepanel-toggle-container .sidepanel-toggle-button:focus {
    outline: none;
  }

  .sidepanel.sidepanel-dark .sidepanel-toggle-container .sidepanel-toggle-button {
    background-color: #191a1d;
    border-left: 1px solid #202429;
  }
  .sidepanel.sidepanel-dark .sidepanel-toggle-container .sidepanel-toggle-button::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%236D737C%22%20class%3D%22bi%20bi-caret-right-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m12.14%208.753-5.482%204.796c-.646.566-1.658.106-1.658-.753V3.204a1%201%200%200%201%201.659-.753l5.48%204.796a1%201%200%200%201%200%201.506z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;
  }

  .sidepanel.sidepanel-right .sidepanel-toggle-container {
    left: -24px;
    right: 100%;
  }

  .sidepanel.opened .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-right .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-right.closed .sidepanel-toggle-container .sidepanel-toggle-button::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234B5057%22%20class%3D%22bi%20bi-caret-right-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m12.14%208.753-5.482%204.796c-.646.566-1.658.106-1.658-.753V3.204a1%201%200%200%201%201.659-.753l5.48%204.796a1%201%200%200%201%200%201.506z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;
    transform: rotate(180deg);
  }

  .sidepanel.sidepanel-dark.opened .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-dark.sidepanel-right .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-dark.sidepanel-right.closed .sidepanel-toggle-container .sidepanel-toggle-button::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%236D737C%22%20class%3D%22bi%20bi-caret-right-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m12.14%208.753-5.482%204.796c-.646.566-1.658.106-1.658-.753V3.204a1%201%200%200%201%201.659-.753l5.48%204.796a1%201%200%200%201%200%201.506z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;
  }

  .sidepanel .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.closed .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-right.opened .sidepanel-toggle-container .sidepanel-toggle-button::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234B5057%22%20class%3D%22bi%20bi-caret-right-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m12.14%208.753-5.482%204.796c-.646.566-1.658.106-1.658-.753V3.204a1%201%200%200%201%201.659-.753l5.48%204.796a1%201%200%200%201%200%201.506z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;
    transform: rotate(0deg);
  }

  .sidepanel.sidepanel-dark .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-dark.closed .sidepanel-toggle-container .sidepanel-toggle-button::before,
  .sidepanel.sidepanel-dark.sidepanel-right.opened .sidepanel-toggle-container .sidepanel-toggle-button::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%236D737C%22%20class%3D%22bi%20bi-caret-right-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m12.14%208.753-5.482%204.796c-.646.566-1.658.106-1.658-.753V3.204a1%201%200%200%201%201.659-.753l5.48%204.796a1%201%200%200%201%200%201.506z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;
  }

  .sidepanel.sidepanel-right .sidepanel-toggle-container .sidepanel-toggle-button {
    border-left: 0;
    border-right: 1px solid #d4d4d4;
    border-radius: 8px 0 0 8px;
  }

  .sidepanel.sidepanel-dark.sidepanel-right .sidepanel-toggle-container .sidepanel-toggle-button {
    border-right: 1px solid #202429;
  }

  .leaflet-anim-control-container.left-opened .leaflet-left {
    left: 400px;
    transition: left 0.5s ease;
  }
  @media screen and (max-width: 450px) {
    .leaflet-anim-control-container.left-opened .leaflet-left {
      left: calc(100% - 50px);
    }
  }
  .leaflet-anim-control-container.left-closed .leaflet-left {
    left: 0;
    transition: left 0.5s ease;
  }
  .leaflet-anim-control-container.right-opened .leaflet-right {
    right: 400px;
    transition: right 0.5s ease, right 0.5s ease;
  }
  @media screen and (max-width: 450px) {
    .leaflet-anim-control-container.right-opened .leaflet-right {
      right: calc(100% - 50px);
    }
  }
  .leaflet-anim-control-container.right-closed .leaflet-right {
    right: 0;
    transition: right 0.5s ease, right 0.5s ease;
  }

  @keyframes slide-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  @keyframes slide-right {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }
  @keyframes slide-left-two {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(100%);
    }
  }
  @keyframes slide-right-two {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(0);
    }
  }
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  /* Show sidebar only on desktop; show bottom sheet only on mobile (max-width: 1024px) */
  @media screen and (max-width: 1024px) {
    #mySidepanelLeft {
      display: none !important;
    }
  }
  @media screen and (min-width: 1025px) {
    #bottomSheet {
      display: none !important;
    }
  }

  /* Bottom sheet styles (used only on max-width: 1024px) */
  #bottomSheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999999 !important;
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  }
  #bottomSheet.closed {
    pointer-events: none;
  }
  #bottomSheet.opened {
    pointer-events: auto;
  }
  #bottomSheet .bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  #bottomSheet.opened .bottom-sheet-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  #bottomSheet .bottom-sheet-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh-65px);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
  }
  #bottomSheet.opened .bottom-sheet-content {
    transform: translateY(0);
  }
  #bottomSheet .bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: #d4d4d4;
    border-radius: 2px;
    margin: 8px auto;
    cursor: pointer;
  }
  #bottomSheet .bottom-sheet-tabs {
    display: flex;
    border-bottom: 1px solid #d4d4d4;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
  }
  #bottomSheet .bottom-sheet-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4b5057;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  #bottomSheet .bottom-sheet-tab:hover {
    color: #191a1d;
  }
  #bottomSheet .bottom-sheet-tab.active {
    color: #d72323;
    border-bottom-color: #d72323;
  }
  #bottomSheet .bottom-sheet-tab svg {
    width: 24px;
    height: 24px;
  }
  #bottomSheet .bottom-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 0;
    font-size: 1rem;
  }
  #bottomSheet .bottom-sheet-tab-content {
    display: none;
    animation: fade-in 0.3s ease-out;
  }
  #bottomSheet .bottom-sheet-tab-content.active {
    display: block;
  }
  #bottomSheet #info-pane-mobile img {
    max-width: 100%;
    height: auto;
  }

html,
body {
    margin: 0;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100%;
    color: #1f1412;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
 /*     align-items: center; */
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar {
    position: relative;
    z-index: 100000000;
}

.mh-account-links {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-left: 1rem;
}

.mh-account-link {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    color: #1f1412;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.mh-account-link:hover {
    color: #d72323;
    border-color: #d72323;
    background-color: #fff5f5;
}

.mh-account-text {
    display: none;
}

.mh-account-link-signed-in {
    width: auto;
    border-radius: 999px;
    gap: .45rem;
    padding: 0 .75rem;
}

.mh-account-link-signed-in .mh-account-text {
    display: inline;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .navbar-nav {
        align-items: flex-start;
    }
    .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }
    .mh-account-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        margin-left: 0;
        padding: 0;
    }
    .mh-account-link {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        gap: .5rem;
        justify-content: flex-start;
        padding: .5rem 0;
    }
    .mh-account-link:hover {
        background-color: transparent;
    }
    .mh-account-text {
        display: inline;
    }
}


#map {
    width: 100%;
    height: 100vh;
    border: 1px solid #d4d4d4;
}

#map {
    height: 100vh;
    width: 100vw;
}


@media all and (min-width: 1024px) {

    .leaflet-top, .leaflet-left {
        z-index: 99999999 !important;
        margin-left: 50px;
        margin-top: 20px;
    }

    #iframe-menu {
            width: 100%;
            height: 75vh;
    }

    #info-pane,
    .sidepanel-tab-content[data-tab-content="tab-2"],
    .favorite-list-panel {
            min-height: 75vh;
    }

    .leaflet-control-geocoder-form input {
        width: 290px;
    }
}

@media all and (max-width: 1024px) {

    .leaflet-top, .leaflet-left {
        z-index: 99999999 !important;
        /*margin-left: 30px;*/
        margin-top: 20px;
    }

    #iframe-menu {
            width: 100%;
            height: 65dvh !important;
    }

    #info-pane-mobile,
    #info-pane-error-mobile,
    .favorite-list-panel {
            min-height: 65dvh;
    }

    #map {
      height: calc(100vh - 60px) !important;
    }

    /* Bottom sheet should not overlap the fixed header: set its max height */
    #bottomSheet .bottom-sheet-content {
      max-height: calc(100vh - 70px);
    }

}

@media screen and (max-width: 450px) {
    .leaflet-top, .leaflet_left {
        width: 100% !important;
    }
    .leaflet-control-geocoder-expanded  {
        width: 93% !important;
    }

}

.sidepanel-content {
    font-size: 1rem;
}

.sidepanel-content-wrapper {
    padding-top: 3rem;
}

.public-list-page .sidepanel-content-wrapper {
    padding-top: 5.75rem;
}

.sidepanel-content h4 {
    margin-top: 0;
    margin-bottom: 0;
}

.sidepanel-content a {
    text-decoration: none;
    font-size: 1rem;
    color: #d72323;
    transition: color 0.3s ease-in;
}

  .sidepanel-content a:hover {
    color: #116600;
    text-decoration: underline;
  }

  .external-menu-placeholder {
    min-height: 70dvh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #ececec;
  }

  .external-menu-placeholder a {
    align-self: center;
    padding: 14px 18px;
    border-radius: 8px;
    background: #d72323;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  .external-menu-placeholder a:hover,
  .external-menu-placeholder a:focus {
    color: #fff;
    background: #d72323;
    text-decoration: none;
  }

@media screen and (max-width: 450px) {
.auto-search-wrapper,
.public-list-banner{
  z-index: 2500 !important;
  width: calc(100% - 12px);
  position: fixed;
  margin: 0 auto;
  left: 0;
  right: 0;
  margin-top: 10px;
}
}

@media screen and (min-width: 450px) {
.auto-search-wrapper,
.public-list-banner{
  z-index: 2500 !important;
  width: 310px;
  position: fixed;
  margin: 0 auto;
  margin-left: 70px;
  margin-top: 10px;
}
}

.auto-search-wrapper {
    border-radius: 20px;
    z-index: 3500 !important;
    /* Explicitly ensure all corners are 20px when not in results-open state */
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.public-list-banner {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 35, 35, 0.14);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  color: #2a1f1d;
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 10px 14px;
}

.public-list-page .public-list-banner {
  z-index: 3500 !important;
}

.public-list-menu-panel {
  padding-bottom: 1rem;
}

.public-list-menu-heading {
  align-items: center;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  margin-bottom: .35rem;
}

.public-list-menu-panel h4 {
  margin-bottom: 0;
}

.public-list-edit-link {
  align-items: center;
  color: #4b5057 !important;
  display: inline-flex;
  font-size: .9rem !important;
  gap: .3rem;
  text-decoration: none !important;
}

.public-list-edit-link:hover {
  color: #d72323 !important;
}

.public-list-menu-items {
  border: 1px solid #ececec;
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
}

.public-list-menu-item {
  align-items: center;
  color: #1f1412 !important;
  display: flex;
  font-size: .98rem !important;
  justify-content: space-between;
  padding: .75rem .85rem;
  text-decoration: none !important;
}

.public-list-menu-item + .public-list-menu-item {
  border-top: 1px solid #ececec;
}

.public-list-menu-item:hover {
  background: #fff5f5;
  color: #d72323 !important;
  text-decoration: none !important;
}

.public-list-banner a {
  color: #d72323;
  font-weight: 600;
  text-decoration: none;
}

.public-list-banner a:hover {
  color: #9f1717;
  text-decoration: underline;
}

.loupe input {
  border-radius: 50px;
  padding: 10px 20px 10px 44px;
  border: none;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.loupe input::placeholder {
  color: #999;
}
.loupe input:focus {
  outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* When results are open, make input top-rounded and bottom-square */
.auto-search-wrapper.results-open input {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* When results are open, remove wrapper bottom radius so it visually connects to the list */
.auto-search-wrapper.results-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Suggestion items: add gap between any icon and text */
.auto-search-wrapper .autocomplete-suggestions,
.auto-search-wrapper .autocomplete-suggestion,
.auto-search-wrapper ul,
.auto-search-wrapper li {
    list-style: none;
}
.auto-search-wrapper li.loupe {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 5px;
}
.auto-search-wrapper li.loupe p {
    margin: 0;
}
.auto-search-wrapper .result-icon {
    width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d72323;
    flex-shrink: 0;
}
.auto-search-wrapper .result-icon .bi {
    font-size: 1.1rem;
    color: inherit;
}
/* Remove any library-added pseudo-element icons for suggestions */
.auto-search-wrapper .autocomplete-suggestion::before,
.auto-search-wrapper .autocomplete-suggestions::before,
.auto-search-wrapper li::before {
    content: none !important;
    display: none !important;
}

/* Round only bottom corners for active autocomplete results */
.auto-results-wrapper.auto-is-active {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
    z-index: 3500 !important;
}

.directions{
  background-color: #d72323;
  border: none;
  color: white;
  border-radius: 10px;
  padding: 19px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  width: 49%;
}
.share{
  background-color: #d72323;
  border: none;
  color: white;
  border-radius: 10px;
  padding: 19px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  width: 49%;
  margin-left: 1%;
}

.menu-action-row {
  display: flex;
  gap: 1%;
  /*margin-top: .5rem;*/
}

.menu-panel-header {
  align-items: center;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.menu-edit-button {
  align-items: center;
  border: 1px solid #e5ded9;
  border-radius: 8px;
  color: #1f1412 !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .9rem !important;
  gap: .35rem;
  padding: .45rem .65rem;
  text-decoration: none !important;
}

.menu-edit-button:hover {
  border-color: #d72323;
  color: #d72323 !important;
}

.menu-action-row .directions,
.menu-action-row .share {
  margin-left: 0;
  width: 33%;
}

.menu-action-row .share,
.sidepanel-content .menu-action-row .share,
#bottomSheet .menu-action-row .share {
  color: white;
  text-decoration: none;
}

.menu-action-row .share:hover,
.menu-action-row .share:focus,
.sidepanel-content .menu-action-row .share:hover,
.sidepanel-content .menu-action-row .share:focus,
#bottomSheet .menu-action-row .share:hover,
#bottomSheet .menu-action-row .share:focus {
  color: white;
  text-decoration: none;
}

.favorite-menu-button {
  background-color: #d72323;
  border: none;
  color: white;
  border-radius: 10px;
  padding: 19px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  width: 33%;
}

.favorite-menu-button:hover {
  background-color: #d72323;
  color: white;
}

.favorite-list-panel {
  padding-bottom: 1rem;
}

.favorite-list-header {
  align-items: center;
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
}

.favorite-back-button {
  align-items: center;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 50%;
  color: #1f1412;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.favorite-list-options {
  border: 1px solid #ececec;
  border-radius: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.favorite-list-option {
  align-items: center;
  display: flex;
  gap: .5rem;
  padding: .7rem .8rem;
}

.favorite-list-option + .favorite-list-option {
  border-top: 1px solid #ececec;
}

.favorite-save-button {
  background-color: #d72323;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  padding: .85rem 1rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.favorite-login-button {
  background-color: #d72323;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: inline-block;
  padding: .85rem 1rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.favorite-login-button:hover,
.favorite-login-button:focus,
.sidepanel-content .favorite-login-button,
.sidepanel-content .favorite-login-button:hover,
.sidepanel-content .favorite-login-button:focus,
#bottomSheet .favorite-login-button,
#bottomSheet .favorite-login-button:hover,
#bottomSheet .favorite-login-button:focus,
.favorite-save-button:hover,
.favorite-save-button:focus {
  background-color: #d72323;
  color: white;
  text-decoration: none;
}

  .floating-button {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background-color: #d72324;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10000;
  transition: background-color 0.2s ease;
  border: none;
}

.floating-button:hover {
  background-color: #c31f1f;
}

.floating-button svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
  fill: currentColor;
  margin: 0;
}

/* Style leaflet zoom buttons to match design and make them slightly smaller */
.leaflet-control-zoom a {
  background: #d72324 !important;
  color: #ffffff !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  text-align: center !important;
  font-size: 18px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  border: none !important;
}
.leaflet-control-zoom a:hover {
  background: #c31f1f !important;
  color: #ffffff !important;
}

/* Desktop: move zoom controls up to avoid overlap with locate button */
@media all and (min-width: 1024px) {
  .leaflet-control-zoom {
    transform: translate(-10px, -40px) !important;
    -webkit-transform: translate(-10px, -40px) !important;
  }
}

/* Remove border from leaflet touch controls */
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: none !important;
}

/* Hide zoom controls on mobile/tablet view */
@media screen and (max-width: 1024px) {
  .leaflet-control-zoom { display: none !important; }
  .floating-button { right: 12px; bottom: 12px; width: 40px; height: 40px; }
  .floating-button svg { width: 18px; height: 18px; margin-left: -3px; }
}
@media all and (min-width: 1024px) {
  .app-banner {
    display:none;
  }
}
@media all and (max-width: 1024px) {
  .app-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
    height: 80px;
    /*width: 100%;*/
    padding: 5px;
    background-color: #0d193c;
    border-radius: 10px;
    position: absolute;
    z-index: 999998;
    display:flex;
    align-items:center;
    box-shadow: rgba(0, 0, 0, 0.70) 0px 5px 15px;
  }
  .banner-image{
    width: 15%;
    display: inline-block;
    height: 100%;
    display:flex;
    align-items:center;
  }
  .banner-image img{
  max-width: 100%;
  max-height: 100%;
  }
  .banner-text{
    width: 69%;
    display: inline-block;
    padding-left: 10px;
    color:white;
    }
  .banner-button {
    width: 15%;
    display: inline-block;
    color:white;
  }
  .banner-button a {
    font-size: 16px;
    text-decoration: none;
  }

  #close{
    bottom: 65px;
    right: 10px;
    position: absolute;
    z-index: 999999;
    font-size: 14px;
    color: white;
  }

  .app-button{
    background-color: #eb3b33;
    border: none;
    color: white;
    padding: 19px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    width: 49%;
  }
}
/*
.custom-label{
    background-color: rgba(0,0,0,0) !important;
    border: 0 !important;
    border-style: none !important;
    box-shadow: none !important;
}*/

.mh-custom-cluster {
        background-color: #d72323;
        color: white;
        border-radius: 50%;
        text-align: center;
        font: 14px Arial, sans-serif;
        line-height: 20px;
        width: 20px;
        height: 20px;
    }
    .mh-custom-cluster span {
        display: block;
        line-height: 30px;
    }

@media all and (min-width: 1024px) {
  .public-list-page #iframe-menu {
    height: 70vh;
  }
}
