:root {
  --radius: 16px;
}
html, body{
  width: 100%;
  height: 100%;
}
body {
  background: #f4f6f9 !important;
  font-family: 'Manrope';
  font-size: 14px;
}
body::-webkit-scrollbar {
  display: none;
}
.cpointer {
  cursor: pointer;
}
#map {
  width: 100%;
  /* height: 100%; */
  height: 100vh;
  z-index: 1;
}
#map-addon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#map-addon > div:not([role~="region"]) {
  z-index: 3;
}
#map-addon > div.data-card {
  z-index: 4;
}
#basemap-btn {
  background: #343a40;
  position: fixed;
  top: 10px;
  right: 0px;
  min-width: 40px;
  text-align: center;
  z-index: 1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  width: auto;
  bottom: unset;
  padding: unset;
  /* padding: 7px 12px 8px 14px; */
  /* width: 100%; */
  /* padding-bottom: 8px; */
  /* padding-top: 8px; */
}
#basemap-btn .btn {
  padding: 6px;
}
.data-analytics .card {
  border: 0;
}
.data-borderline {
  top: 10px;
}
.data-tooltip {
  top: 50px;
  left: 10px;
  margin-top: 0;
  max-height: none;
}
.slider.slider-horizontal {
  width: 100%;
}
.bg-black {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255) !important;
}
.btn-xs, .btn-group-xs > .btn {
  padding: 3px 4px;
  font-size: 11px;
}
.btn-xxs, .btn-group-xxs > .btn {
  padding: 1px 4px;
  font-size: 11px;
}
.text-xxs {
  font-size: 0.65rem;
}
#toast-container .toast {
  width: auto !important;
  min-width: 200px;
  max-width: 80vw;
  display: table;
  background: #000 !important;
  border-radius: 16px;
  padding: 15px 30px !important;
  margin-bottom: 18px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 12px #00000063;
}
#toast-container .toast .toast-progress {
  background-color: #555;
}

.map-theme {
  /* padding: 7px 12px 0; */
  position: fixed;
  top: 15px;
  right: 55px;
  left: auto;
  z-index: 9999;
  min-width: 40px;
  max-width: 40px;
  max-height: 40px;
}
.map-theme #theme-switch {
  opacity: 0;
  position: fixed;
  width: 45px;
  height: 25px;
  z-index: 9999;
  cursor: pointer;
}

.map-theme .label {
  background-color: #e4e4e4;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  position: relative;
  height: 24px;
  width: 47px;
  margin: 0;
}
.map-theme .label .ball {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  height: 20px;
  width: 20px;
  transform: translateX(0px);
  transition: transform 0.2s linear;
}
.map-theme #theme-switch:checked + .label {
  background: #000;
}
.map-theme #theme-switch:checked + .label .ball {
  transform: translateX(24px);
}
.map-theme .fa-moon, .map-theme .fa-sun {
  color: #f1c40f;
}
/* data carbon */
.carbon-colorscale {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  width: 100%;
  height: 6px;
  border-radius: 1rem;
}
.carbon-tool {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.carbon-tool .carbon-card {
  background: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
  padding: 8px 16px;
  border-radius: 12px;
}
body.control-sidebar-slide-open .carbon-tool {
  transform: translateX(calc(-50% - 150px));
}