.leaflet-sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: auto;
  z-index: 2000;
}
.leaflet-sidebar.collapsed {
  width: 60px;
}
.leaflet-sidebar.collapsed.w-40 {
  width: 40px;
}
@media (min-width: 768px) {
  .leaflet-sidebar {
    top: 10px;
    bottom: 10px;
    transition: width 500ms;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .leaflet-sidebar {
    width: 305px;
    max-width: 305px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar {
    width: 360px; /* 390px */
    max-width: 360px;
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar {
    width: 360px; /* 460px */
    max-width: 360px;
  }
}
.leaflet-sidebar-left {
  left: 0;
}
@media (min-width: 768px) {
  .leaflet-sidebar-left {
    left: 10px;
  }
}
.leaflet-sidebar-right {
  right: 0;
}
@media (min-width: 768px) {
  .leaflet-sidebar-right {
    right: 10px;
  }
}
.leaflet-sidebar-tabs {
  top: 0;
  bottom: 0;
  height: 100%;
  background-color: #fff;
}
.leaflet-sidebar-left .leaflet-sidebar-tabs {
  left: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-tabs {
  right: 0;
}
.leaflet-sidebar-tabs, .leaflet-sidebar-tabs > ul {
  position: absolute;
  width: 60px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.w-40 > .leaflet-sidebar-tabs, .w-40 > .leaflet-sidebar-tabs > ul {
  width: 40px;
}
.leaflet-sidebar-tabs > li, .leaflet-sidebar-tabs > ul > li {
  width: 100%;
  height: 35px;
  color: #333;
  font-size: 12pt;
  overflow: hidden;
  transition: all 80ms;
}
.leaflet-sidebar-tabs > li:hover, .leaflet-sidebar-tabs > ul > li:hover {
  color: #000;
  background-color: #eee;
}
.leaflet-sidebar-tabs > li.active, .leaflet-sidebar-tabs > ul > li.active {
  color: #fff;
  background-color: #0074d9;
}
.leaflet-sidebar-tabs > li.disabled, .leaflet-sidebar-tabs > ul > li.disabled {
  color: rgba(51, 51, 51, 0.4);
}
.leaflet-sidebar-tabs > li.disabled:hover, .leaflet-sidebar-tabs > ul > li.disabled:hover {
  background: transparent;
}
.leaflet-sidebar-tabs > li.disabled > a, .leaflet-sidebar-tabs > ul > li.disabled > a {
  cursor: default;
}
.leaflet-sidebar-tabs > li > a, .leaflet-sidebar-tabs > ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 35px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.leaflet-sidebar-tabs > ul + ul {
  bottom: 0;
}
.leaflet-sidebar-content {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  overflow-x: hidden;
  overflow-y: auto;
}
.leaflet-sidebar-left .leaflet-sidebar-content {
  left: 60px;
  right: 0;
}
.leaflet-sidebar-left .w-40 .leaflet-sidebar-content {
  left: 40px;
}
.leaflet-sidebar-right .leaflet-sidebar-content {
  left: 0;
  right: 60px;
}
.w-40.leaflet-sidebar-right .leaflet-sidebar-content {
  right: 40px;
}
.leaflet-sidebar.collapsed > .leaflet-sidebar-content {
  overflow-y: hidden;
}
.collapsed > .leaflet-sidebar-content {
  overflow-y: hidden;
}
.leaflet-sidebar-pane {
  display: none;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 10px 20px;
}
.leaflet-sidebar-pane.active {
  display: block;
}
@media (min-width: 768px) and (max-width: 991px) {
  .leaflet-sidebar-pane {
    min-width: 265px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-pane {
    min-width: 320px; /* 350px */
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-pane {
    min-width: 320px; /* 420px */
  }
}
.leaflet-sidebar-header {
  margin: -10px -20px 0;
  height: 35px;
  padding: 0 20px;
  line-height: 35px;
  font-size: 14.4pt;
  color: #fff;
  background-color: #0074d9;
}
.leaflet-sidebar-right .leaflet-sidebar-header {
  padding-left: 60px;
}
.w-40.leaflet-sidebar-right .leaflet-sidebar-header {
  padding-left: 40px;
}
.leaflet-sidebar-close {
  position: absolute;
  top: 0;
  width: 60px;
  height: 35px;
  text-align: center;
  cursor: pointer;
}
.leaflet-sidebar-close .w-40 {
  width: 40px;
}
.leaflet-sidebar-left .leaflet-sidebar-close {
  right: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-close {
  left: 0;
}
.leaflet-sidebar {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}
@media (min-width: 768px) {
  .leaflet-sidebar {
    border-radius: 4px;
  }
  .leaflet-sidebar.leaflet-touch {
    border: 2px solid rgba(0, 0, 0, 0.2);
  }
}
.leaflet-sidebar-left.leaflet-touch {
  box-shadow: none;
  border-right: 2px solid rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    transition: left 500ms;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    left: 315px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    left: 370px; /* 400px */
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    left: 370px; /* 470px */
  }
}
.leaflet-sidebar-left.collapsed ~ .leaflet-control-container .leaflet-left {
  left: 70px;
}
.leaflet-sidebar-right.leaflet-touch {
  box-shadow: none;
  border-left: 2px solid rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    transition: right 500ms;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    right: 315px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    right: 370px; /* 400px */
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    right: 370px; /* 470px */
  }
}
.leaflet-sidebar-right.collapsed ~ .leaflet-control-container .leaflet-right {
  right: 70px;
}
.leaflet-sidebar-right.collapsed.w-40 ~ .leaflet-control-container .leaflet-right {
  right: 50px;
}
.leaflet-sidebar-right .fa {
  line-height: 35px;
}
.leaflet-right > .leaflet-control-attribution {
  right: 10px;
}
.leaflet-sidebar .leaflet-control-layers-expanded, .leaflet-sidebar .leaflet-control-layers {
  background: none;
  border: none;
  box-shadow: none;
  padding-left: 0px;
  float: none;
}
.leaflet-sidebar .leaflet-control-layers-group {
  border-bottom: 1px solid #ddd;
  padding-bottom: .5em;
}
.leaflet-sidebar .leaflet-control-search {
  margin-left: 0;
  background: none;
  border: none;
}
.leaflet-sidebar .leaflet-control-search .search-input {
  width: 240px;
  margin-left: 0px;
  padding: 8px;
  height: auto;
}
.leaflet-sidebar .search-tooltip {
  background: none;
  border: none;
  box-shadow: none;
  width: 280px;
  max-height: 1100px;
}
.leaflet-sidebar .search-cancel {
  top: 4px;
  right: 38px;
}
.leaflet-sidebar .search-button {
  margin: 5px 0 0 5px;
  background: url('../mapicons/search-icon.png') no-repeat 4px 4px;
}
.leaflet-sidebar .search-tip {
  padding: 4px;
}