.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #764abc;
  --bs-btn-border-color: #764abc;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #764abc;
  --bs-btn-hover-border-color: #764abc;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #764abc;
  --bs-btn-active-border-color: #764abc;
  --bs-btn-active-shadow: inset 0 3px 5pxrgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #764abc;
  --bs-btn-disabled-border-color: #764abc;
}
.navbar{
  height: 5rem !important;
}
#map{
	height: calc(100vh - 5rem);
	position:relative;
	background-color: rgb(144, 230, 251);
    border-radius: 3px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.navbar-brand strong {
  color: #764abc;
}
.map .ol-overviewmap {
    left: 0.5em;
    bottom: 4em !important;
}
.ol-overviewmap-box {
    border: 2px dotted black !important;
}

.geom-batal{
	border-right: 1px solid #eee;
}
.dot {
    height: 3rem;
    width: 3rem;
    background-color: #fff;
    border-radius: 50% !important;
    margin-right: 5px;
    color: #464343;
	cursor: pointer;
}
.dot:hover{
	color:#000;
	font-size:20px;
}
@media screen and (max-width:350px){
	.dot{
    	height: 2.2rem;
        width: 2.2rem;
	}
}
@media screen and (max-width:576px){
	.dot{
    	height: 2.2rem;
        width: 2.2rem;
    }
	.footer-text{
		font-size: 11px !important;
	}
}

.ol-scale-line-inner {
    margin-bottom: 2.1em;
}
.listlayer-panel {
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: white;
    z-index: 99;
    border-radius: 4px;
    transform: translateX(-100%);
    transition: transform ease-out 0.3s;
}
.h-100 {
    height: 100%!important;
}
.listlayer-layers{
   
    display: flex;
    box-sizing: border-box;
    position: relative;
    height: 100%;
    width: 100%;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden auto;
}
.panelx {
    max-height: 0px;
  padding: 0 18px;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.ac{
    overflow-y: auto;
    overflow-x: hidden; 
    position: absolute;
    max-height: calc(100vh - 150px);
    width: 100%;
}
@media (max-width: 575.98px) { 
    .ac {
        max-height: 500px;
    }
}
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #fdfdfd;
  color: #444;
  cursor: pointer;
  padding: 8px 0px 0px 10px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;

}
.acc-text {
    padding-left: 10px;
    /* font-weight: 500; */
    line-height: 1.2;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #fdfdfd;
}

/* Style the accordion panel. Note: hidden by default */
.panelx {
    max-height: 0px;
  padding: 0 18px;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion{
    color: #444 !important;
}
.accordion:before {
  content: '+'; /* Unicode character for "plus" sign (+) */
  font-size: 20px;
  color: #777;
  float: left;
  font-weight: 500;
    line-height: 1.1
}

.accordion.active:before {
  content: "-"; /* Unicode character for "minus" sign (-) */
  font-size: 24px;
  font-weight: 500;
    line-height: 1.1
}

.btn-primary {
    color: #fdfdfd;
    background-color: #764abc;
    border-color: #764abc;
}
.btn-reset{
    background-color: #f4f5f7;
    color: black !important;
    border-color: #c6c6c7;
}
.listlayer-layers{
   
    display: flex;
    box-sizing: border-box;
    position: relative;
    height: 100%;
    width: 100%;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden auto;
}

.listlayer-panel .card-body {
    color: #fdfdfd;
    background-color: #764abc;
    padding: 5px !important;
    border-radius: 2px;
    margin-bottom: 5px;
  }
  .card-title {
    margin-bottom: 0.1rem !important;
  }
  .panel-control {
    z-index: 999;
  }
  .panel-control button {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 1.14em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: 0.4em;
    background-color: rgba(0, 60, 136, 0.5);
    border: none;
    border-radius: 2px;
  }
  
  .yl-panel {
    top: 9.1em;
    left: 0.5em;
  }
  .listlayer-panel {
    position: absolute;
    left: 0px;
    top: 0px;
    /* max-height: 95%; 
    height: 100vh; */
    background-color: white;
    z-index: 99;
    border-radius: 4px;
      transform: translateX(-100%);
     transition: transform ease-out 0.3s;
  }
  
  .yl-panel-button {
    font-size: 1.4em;
  }
  
  
  .ol-zoom-in {
    font-size: 1.14em !important;
  }
  .ol-zoom-out {
    font-size: 1.14em !important;
  }
  .listlayer {
    min-width: 350px;
    margin: 0;
    background-color: white;
    border-radius: 4px;
  
    /* overflow-y: auto;
    overflow-x: hidden; 
    max-height: calc(100vh - 138px); */
  }
  .listlayer .card-body {
    color: #fdfdfd;
    background-color: #0097ba;
    padding: 5px !important;
    /* border-bottom: 1px solid #bd2130; */
    border-radius: 2px;
    margin-bottom: 5px;
  }
  .listlayer ul {
    list-style: none;
    padding: 0px;
    margin-bottom: 2px;
  }
  
  .listlayer ul li {
    padding-left: 10px;
    padding-top: 5px;
    padding-right: 10px;
  }
  /* .listlayer ul li:hover {
    background-color: #dcecf8;
  } */
  .lbl-layer {
    background-color: #fff !important;
  }
  label {
    margin-bottom: 0.1rem;
  }
  
  #myTabContent {
    max-height: 300px;
    overflow-y: auto;
  }
  .preview {
    border: 2px solid #6c757d;
    background-color: #eceff1;
    width: 100%;
    height: 150px;
  }
  
  .preview-desc {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 40%;
    top: 60px;
    font-size: 16px;
  }
  
  @media screen and (max-width:992px) {
      .listlayer-panel {
          width: 400px;
          /* left:5px; */
      }
  }
  @media screen and (max-width:576px){
      .listlayer-panel {
          width: 100%;
          /* left:5px; */
      }
  }
  @media screen and (max-width:400px){
      .listlayer-panel {
          width: 100%;
      }
  }
  
  /* Works on Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: rgb(133, 133, 135) rgb(245, 244, 242);
  }
  
  /* Works on Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 12px;
  }
  
  *::-webkit-scrollbar-track {
    background: rgb(245, 244, 242);
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: rgb(133, 133, 135);
    border-radius: 20px;
    border: 3px solid rgb(245, 244, 242);
  }
  
  .image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: -5px;
  }
  
  .image-gallery > li {
    /* height: 300px; */
    list-style: none;
    cursor: pointer;
    position: relative;
  }
  
  .image-gallery li img {
    object-fit: cover;
      width: 200px;
      height: 200px;
      vertical-align: middle;
      border-radius: 5px;
  }

  .modal-image {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding: 5px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    /* height: auto; */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  .modal-image-content{
    margin: auto;
      display: block;
      width: 80%;
      max-width: 700px;
  }
  
  .modal-image-content {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  @media only screen and (max-width: 700px){
    .modal-image-content {
      width: 100%;
    }
  }

  /* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}