.select2-container {
  z-index: 99999;
}
.leaflet-popup-content .table th, .leaflet-popup-content .table td {
  padding: 0;
}
#kt_wrapper > .content {
  padding: 0;
}
#kt_wrapper > #kt_content > .flex-column-fluid > .container-fluid {
  padding: 0;
  margin: 0;
}
.offcanvas { z-index: 10000 }
.leaflet-pane {
  z-index: 95;
}
.map_wrapper {
  width: 100%;
  height: 100%;
  /* position: relative; */
  display: flex;
  flex-direction: column;
  gap: 20px
}
.btn_link {
    cursor: pointer;
}
/* #map { position: absolute; top:0; bottom:0; left:0; width: 100%; } */
#map { width: 100% !important; height: 100% !important; border-radius: 1rem; overflow: clip; }
#map-sidebar {
    bottom: 0;
    margin-right: -475px;
    height: 100%;
    right: 0;
    width: 0;
    z-index: 100;
    /* top: 65px; */
    top: 75px;
    max-width: 100%;
    background-color: #ffffff;
    overflow: auto;
}
#map-sidebar #info_bencana {
    display: none;
}
#map-sidebar.open-info-bencana #info_bencana {
    display: block;
}
#map-sidebar.open-info-bencana #map_navigation {
    display: none;
}
.modal.modal-fs {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
.modal.modal-fs .modal-dialog {
  position: fixed;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}
@media (min-width: 576px) {
    .modal.modal-fs .modal-dialog {
        max-width: 100%;
        margin: 0 auto;
    }
    .map-container.sidebar-opened .modal.modal-fs {
        margin-right: 475px;
    }
}

#map-sidebar > .story > img{
  max-width: 100% !important;
}

.modal.modal-fs .modal-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 2px solid #3c7dcf;
  border-radius: 0;
  box-shadow: none;
}

.modal.modal-fs .modal-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50px;
  padding: 10px;
  background: #6598d9;
  border: 0;
}

.modal.modal-fs .modal-title {
  font-weight: 300;
  font-size: 2em;
  color: #fff;
  line-height: 30px;
}

.modal.modal-fs .modal-body {
  position: absolute;
  top: 50px;
  bottom: 60px;
  width: 100%;
  font-weight: 300;
  overflow: auto;
}

.modal.modal-fs .modal-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 60px;
  padding: 10px;
  background: #f1f3f5;
}
#app_loader {
    position: absolute;
    z-index: 2025;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-image: url(../images/map/map-loader.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
}
#app_loader.map_loader {
    background-color: transparent;
    background-image: url(../images/map/map-container-loader.gif);
    z-index: 2025;
}
@media only screen and (min-width: 768px) {
    .map_wrapper.sidebar-opened #map-sidebar {
        margin-right: 0px;
        width: 475px;
    }
    .map_wrapper.sidebar-opened #map, .map_wrapper.sidebar-opened #app_loader.map_loader {
        width: calc(100% - 475px);
    }
}
@media only screen and (max-width: 767px) {
    .map_wrapper.sidebar-opened #map-sidebar {
        margin-right: 0px;
        width: calc(100% - 30px);
    }
    .map_wrapper.sidebar-opened .layer_controls {
        left: 0;
    }
    .map_wrapper.sidebar-opened #map {
        margin-right: 0px;
    }
    .map_wrapper.sidebar-opened #app_loader.map_loader {
        margin-right: 0px;
    }
    .map_wrapper.sidebar-opened .modal.modal-fs {
        margin-right: 475px;
    }
}
.layer_controls { right: 0px; top:5rem; position: absolute; z-index: 2024 }
.layer_controls .box-layer-controls {
    width: 30px;
    height: 60px;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    background-color: #ffffff;
    margin-top: 20px;
}
.layer_controls .box-layer-controls .button-controls {
    height: 20px;
    width: 12px;
    background-image: url(../images/map/icon-expand-collapse.png);
    background-repeat: no-repeat;
    background-position: 0px -26px;
}
.map_wrapper.sidebar-opened .layer_controls .box-layer-controls .button-controls {
    background-position: 0px 0px;
}
.vakata-context { z-index: 9999}
#pagingInfoLayer { margin-top: 10px; font-size: 14px; }
#pagingSearchResult { font-size: 14px; float: right; }
.navSearchResult { margin-bottom: 10px;  }
.featureInfoArea {
    width: 300px;
    max-width: 100%;
    max-height: 380px;
    overflow: auto;
}
.tableInfoLayer td, .tableSearchLayer td {
    padding: 3px;
    font-size: 14px;
}
.tab-content > .tab-pane { padding-top: 0; }
.drawing_button, .measurement_button { padding: 6px; border: 1px solid #e4e7ea; display: inline-block; cursor: pointer; }
.drawing_button.active, .measurement_button.active {
    color: #fff;
    background-color: #DEDEDE;
    border-color: #4e555b;
}
.leaflet-legend-control {
    background: white;
    padding: 1em;
}

.leaflet-legend-control ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.leaflet-legend-control ul li img {
    display: inline-block;
    margin-right: 5px;
}

.leaflet-legend-control ul li span {
    vertical-align: top;
    line-height: 22px;
}

.leaflet-legend-control ul ul {
    margin-left: 15px;
}
.leaflet-routing-container, .leaflet-routing-error {
    width: 100%;
}
.tools_result ul > li > span {
    display: inline;
}
.tools_result ul > li > span.item_menu {
    margin-right: 5px;
}
.left-info {
    position: absolute;
    z-index: 96;
    left: 60px;
    top: 10px;
    background-color: #FFFFFF;
    font-size: 12px;
    padding: 3px 10px;
    border: 2px solid rgba(0,0,0,0.2);
    display: none;
}
.left-info.active {
    display: block;
}
.leaflet-control-zoomhome a {
    font: bold 18px "Lucida Console",Monaco,monospace;
}

a.leaflet-control-zoomhome-in,
a.leaflet-control-zoomhome-out {
  font-size: 1.5em;
  line-height: 26px;
}
@media (max-width: 767px ) {
  #map-sidebar {
    top: 55px;
  }
}
@media (max-width: 1024px) {
  .map_wrapper {
    height: 100%
  }
  #map-sidebar {
    top: 55px;
  }
}
@keyframes fade { 
  from { opacity: 0.2; } 
}
.blinking {
  animation: fade 0.5s infinite alternate;
}

#map-and-sidebar-wrapper {
  height: 100%;
  position: relative;
  display: flex;
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
}

#myTab > * > .nav-link {
  background-color: rgba(116, 68, 4, 0.1) !important;
  border-radius: 2rem;
  padding-left: 20px !important;
  padding-right: 20px !important;
  border: none;
  color: #5F7D95 !important;
  fill: #5F7D95 !important;
}

#myTab > * > .nav-link > i {
  color: #5F7D95 !important;
}

#myTab > * > .nav-link.active > i {
  color: white !important;
}


#myTab > * > .nav-link:hover > i {
  color: white !important;
}

#myTab > * > .nav-link:hover {
  background-color: rgba(116, 68, 4, 0.4) !important;
  border-radius: 2rem;
  padding-left: 20px !important;
  padding-right: 20px !important;
  border: none;
  color: white !important;
  fill: white !important;
}

#myTab > * > .nav-link.active {
  background-color: rgba(116, 68, 4, 0.4) !important;
  border-radius: 2rem;
  padding-left: 20px !important;
  padding-right: 20px !important;
  color: white !important;
  fill: white !important;
}

/* #myTab > * > .nav-link-tab {
  padding-left: 20px !important;
  padding-right: 20px !important;
  color: #5F7D95 !important;
  fill: #5F7D95 !important;
}

#myTab > * > .nav-link-tab.active {
  border-bottom: rgba(116, 68, 4, 0.4) !important;
  border-bottom: 4px solid rgba(116, 68, 4, 0.4) !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
} */