/* Always set the map height explicitly to define the size of the div
  * element that contains the map. */
  #mapid {
    /* height: 100%; */
    height: 100%;
    width: 100%;
    left: 0;
    position: fixed;
    top: 0;  
  }
  
  /* Optional: Makes the sample page fill the window. */
  html,
  body {
      height: 100%;
      margin: 0;
      padding: 0;
  }
  body::-webkit-scrollbar{
    display: none!important;
  }
  .img-circle {
      border-radius: 50%;
  }
  img {
    max-width: 100%;
  }
  a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
  }
  span {
    font-weight: 400;
  }
  .c-abu{
      color:#CCC;
  }
  .list-rwy{
      font-size: 12px;
  }
  .floating-panel {
      position: absolute;
      /* top: 20px; */
      right: 50px;
      z-index: 1;
      /* background-color: #fff; */
      padding: 5px 0px;
      text-align: center;
      font-family: "Roboto", "sans-serif";
      opacity: 0.9;
      /* line-height: 30px; */
      /* padding-left: 10px; */
  }

  .menus {
      position: absolute;
      top: 100px;
      z-index: 1;
      background-color: #fff;
      padding: 5px;
      text-align: center;
      font-family: "Roboto", "sans-serif";
      opacity: 0.9;
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px;
      /* line-height: 30px; */
      /* padding-left: 10px; */
  }
  
  .icons {
      display: inline-flex!important;
      /* width: 60px;
      height: 60px; */
      text-align: center;
      border-radius: 50% !important;
      align-items: center;
      justify-content: center;
      font-size:30px!important;
  }
  
  .info-jarak{
      background: aliceblue;
      font-size: 12px;
      padding: 3px;
      border-radius: 2px;
      text-align: center
  }

  #list_cctv_korlantas,#list_cctv_dishub,#list_lokasi_polisi,#list_lokasi_rumah_sakit,#list_lokasi_damkar,#list_lokasi_dishub,#list_vip,#list_laka,#list_macet,#list_longsor,#list_banjir,#list_pohon_tumbang,#list_tindak_pidana,#list_mgmt_route{
    margin: 5px;
    padding: 5px;
    height: 300px;
    font-size: 12px;
    overflow: auto;
  }

  .list_data {
    margin: 5px;
    padding: 5px;
    height: 300px;
    font-size: 12px;
    overflow: auto;
  }

  /*******************************
  * MODAL AS LEFT/RIGHT SIDEBAR
  * Add "left" or "right" in modal parent div, after class="modal".
  * Get free snippets on bootpen.com
  *******************************/
  .modal-left.left .modal-dialog,
  .modal-left.right .modal-dialog {
      position: fixed;
      margin: auto;
      width: 320px;
      height: 100%;
      -webkit-transform: translate3d(0%, 0, 0);
      -ms-transform: translate3d(0%, 0, 0);
      -o-transform: translate3d(0%, 0, 0);
      transform: translate3d(0%, 0, 0);
  }
  
  .modal-left.left .modal-content,
  .modal-left.right .modal-content {
      height: 100%;
      overflow-y: auto;
  }
  
  .modal-left.left .modal-body,
  .modal-left.right .modal-body {
      padding: 15px 15px 80px;
  }
  
  /*Left*/
  .modal-left.left.fade .modal-dialog{
      left: -320px;
      -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
      -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
      -o-transition: opacity 0.3s linear, left 0.3s ease-out;
      transition: opacity 0.3s linear, left 0.3s ease-out;
  }
  
  .modal-left.left.fade.in .modal-dialog{
      left: 0;
  }
  
  /*Right*/
  .modal-left.right.fade .modal-dialog {
      right: -320px;
      -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
      -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
      -o-transition: opacity 0.3s linear, right 0.3s ease-out;
      transition: opacity 0.3s linear, right 0.3s ease-out;
  }
  
  .modal-left.right.fade.in .modal-dialog {
      right: 0;
  }
  
  /* ----- MODAL STYLE ----- */
  .modal-content {
      border-radius: 0;
      border: none;
  }
  
  .modal-header {
      border-bottom-color: #EEEEEE;
      background-color: #FAFAFA;
  }
  
  .btn-demo {
      margin: 15px;
      padding: 10px 15px;
      border-radius: 0;
      font-size: 16px;
      background-color: #FFFFFF;
  }
  
  .btn-demo:focus {
      outline: 0;
  }
  
  .demo-footer {
      position: fixed;
      bottom: 0;
      width: 100%;
      padding: 15px;
      background-color: #212121;
      text-align: center;
  }
  
  .demo-footer > a {
      text-decoration: none;
      font-weight: bold;
      font-size: 16px;
      color: #fff;
  }

  .txt-status{
      border: solid 1px #9e9e9e;
      padding: 2px 6px;
      border-radius: 3px;
      display: inline-flex;
      font-size: 10px;
      color: #9e9e9e;
      margin: 5px 0px;
  }

  .my-custom-class-for-label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 40px;
  }
  
  .iconss {
  display: inline-flex!important;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50% !important;
  align-items: center;
  justify-content: center;
  font-size:15px!important;
  }

  a:link {
    text-decoration:none!important;
  }

  iframe {
  height: 100%;
  min-height: 40px;
  }

  .popover {
    max-width: 400px;
  }

  .panel2 {
    position: absolute;
    top: 80px;
    right: 0;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    font-family: "Roboto", "sans-serif";
    height: auto;
    width: 380px;
    border-radius:10px ;
    /* line-height: 30px; */
    /* padding-left: 10px; */
  }

  .panel3 {
    position: absolute;
    top: 75px;
    right: -15px;
    /* z-index: 5; */
    font-family: "Roboto", "sans-serif";
  }

  .panel4 {
    position: absolute;
    top: 80px;
    right: 0;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    font-family: "Roboto", "sans-serif";
    height: auto;
    width: 180px;
    border-radius:10px ;
    /* line-height: 30px; */
    /* padding-left: 10px; */
  }

  .button_wrap{
      position: relative;
      /* width: 200px; */
      height:40px;
      /* overflow:hidden; */
      font-weight:bold;
      font-size:11px;
      margin:10px;
  }
  .button_aLeft{
      width:40px;
      height:40px;
      -moz-border-radius:20px;
    -webkit-border-radius:20px;
      background-color:#fff;
      color:black;
      top:0px;
      right:0px;
      position:absolute;
      line-height:36px;
      text-align:left;
  }
  .button_aLeft span{
      display:none;
      padding-left:20px;
  }
  .button_bLeft{
      width:40px;
      /* height:30px; */
      background-color:#fff;
      -moz-border-radius:20px;
    -webkit-border-radius:20px;
      color:#000;
      position:absolute;
      top:0px;
      right:0px;
      text-transform:uppercase;
      line-height:30px;
      text-align:center;
      cursor:pointer;
  }
  .button_bLeft span{
      color:#008ddd;
  }

  .btn-slider{
    position: absolute;
    top: 100px;
    left: 0px;
    height: 45px;
    width: 65px;
    text-align: center;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: left 0.4s ease;
    z-index: 1000;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    opacity:0.9;
  }
  .btn-slider.click{
    left: 698px;
    z-index: 1000;
  }
  .btn-slider i{
    color: black;
    font-size: 20px;
    line-height: 45px;
  }
  .btn-slider.click i:before{
    content: '\f100';
    z-index: 1000;
  }
  .sidebar{
    position: fixed;
    width: 700px;
    height: 550px;
    top:100px;
    left: -700px;
    background: #fff;
    transition: left 0.4s ease;
    z-index: 1000;
    opacity:0.9;
    /* overflow:auto; */
  }
  .sidebar.show{
    left: 0px;
    top: 100px;
    z-index:1000;
  }

  .side .nav-link {
    border-radius: 3px;
    background: #F1F1F1;
    color: #888888;
  }

  .konten-sider {
    /* margin: 5px;
    padding: 5px; */
    height: 380px;
    /* overflow-y: auto; */
  }

  .check {
    display: inline-block;
    transform: rotate(45deg);
    height: 12px;
    width: 6px;
    border-bottom: 3px solid #78b13f;
    border-right: 3px solid #78b13f;
    position: absolute;
    right: 5px;
  }
  .check-in-peta {
    display: inline-block;
    transform: rotate(45deg);
    height: 12px;
    width: 6px;
    border-bottom: 3px solid #78b13f;
    border-right: 3px solid #78b13f;
    position: absolute;
    /* position: relative; */
    /* right: 0px; */
    /* top: -10px; */
    margin: 2px 0px 0px -8px;
  }
  

  @keyframes fade { 
    from { opacity: 0.5; } 
  }

  .blinking {
    animation: fade 0.5s infinite alternate;
  }

  #markerLayer > div:nth-child(2) img:first-child {
    animation: pulse .5s infinite alternate;
    -webkit-animation: pulse .5s infinite alternate;
    transform-origin: center;
    -webkit-transform-origin: center;
  }

  /* Animaitons */
  @keyframes pulse{
    to { 
      transform: scale(0.7);
      -webkit-transform: scale(0.7);  
    }
  }

  @-webkit-keyframes pulse{
    to { 
      transform: scale(0.7);
      -webkit-transform: scale(0.7);  
    }
  }
  
  .position-marker-custom{
    margin-top: -10px;
    margin-left: -16px;
  }

  .jml_data_group {
    position: absolute;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 85%;
    top: 90px;
    left: 12px;
  }

  .jml_data {
    position: relative;
    width: auto;
    height: auto;
    z-index: 1;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
  }

  .jml_data_img {
    height: 30px;
    width: 30px;
  }

  .button-logout {
    position:absolute;
    z-index:1;
    background:#fff;
    padding:10px;
    border-radius:5px;
    right: 5px;
  }

  .filter_data{
    position: absolute;
    z-index: 1;
    /* top: 20px; */
    left: 10px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
  }

  .heat_data{
    position: absolute;
    z-index: 1;
    /* top: 20px; */
    left: 90px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
  }

  .heat_kecelakaan{
    position: absolute;
    z-index: 1;
    top: 13px;
    left:235px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
  }

  .content-filter{
    position: absolute;
    z-index: 1;
    top: 1px;
    /* top: 65px; */
    left:90px;
    /* background-color: white; */
    /* padding: 10px; */
    border-radius: 5px;
  }

  #panel-direction-vip {
    position: absolute;
    z-index: 1;
    width : 400px;
    height: 300px;
    bottom : 10px;
    left : 10px;
    background :white;
    border-radius: 5px;
    overflow-y: auto;
  }

  #panel-direction-vip {
    flex: 0 1 auto;
    padding: 0;
  }
  #panel-direction-vip > div {
    padding: 0.5rem;
  }
  
  .loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
  }


  .bg-purple {
    background-color:#503987!important;
  }

  .bg-purple-g{
    background: linear-gradient(116deg, #250473 2.33%, rgba(27, 0, 92, 0.53) 108.81%);
  }

  .text-purple {
      color:#503987;
  }
  
  .font-infw-card-1 {
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .font-infw-card-2 {
    font-size: 8.5px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .gm-style-iw-d::-webkit-scrollbar { 
    width: 0 !important;
    display: none; 
  }
  
  .gm-style .gm-style-iw{
    padding-right:8px!important;
    padding-bottom: 8px!important;
  }

  .custom-popover {
    background: linear-gradient(116deg, #250473 2.33%, rgba(27, 0, 92, 0.53) 108.81%);
  }
  

  /* custom select2 */
  /* Mengubah warna latar belakang select2 */
  .select2-container--default {
    width: 100%!important;
  }
  .custom-select-2 .select2-container--default .select2-selection--single {
    background-color: #503987!important;
    border-radius: 15px!important;
  }

  /* Mengubah warna teks di dalam select2 */
  .custom-select-2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff!important;
  }

  /* Mengubah warna panah drop-down select2 */
  .custom-select-2 .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent!important;
  }

  /* Mengubah warna latar belakang opsi dalam dropdown select2 */
  .custom-select-2 .select2-container--default .select2-results__option {
    background-color: #503987!important;
  }

  /* Mengubah warna teks opsi dalam dropdown select2 */
  .custom-select-2 .select2-container--default .select2-results__option {
    color: #fff!important;
  }

  .custom-select-2 .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #fff!important;
  }

  .custom-select-2 .select2-container--default .select2-selection--single .select2-selection__clear {
    color: #fff!important;
  }

  .dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
  }

  .tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
  }
  .tree ul {
      margin-left:1em;
      position:relative
  }
  .tree ul ul {
      margin-left:.5em
  }
  .tree ul:before {
      content:"";
      display:block;
      width:0;
      position:absolute;
      top:0;
      bottom:0;
      left:0;
      border-left:1px solid
  }
  .tree li {
      margin:0;
      padding:0 1em;
      line-height:2em;
      color:black;
      font-weight:700;
      position:relative
  }
  .tree ul li:before {
      content:"";
      display:block;
      width:10px;
      height:0;
      border-top:1px solid;
      margin-top:-1px;
      position:absolute;
      top:1em;
      left:0
  }
  .tree ul li:last-child:before {
      background:#fff;
      height:auto;
      top:1em;
      bottom:0
  }
  .indicator {
      margin-right:5px;
  }
  .tree li a {
      text-decoration: none;
      color:black;
  }
  .tree li button, .tree li button:active, .tree li button:focus {
      text-decoration: none;
      color:black;
      border:none;
      background:transparent;
      margin:0px 0px 0px 0px;
      padding:0px 0px 0px 0px;
      outline: 0;
  }

  .offcanvas-wrapper-cstm {
    position: relative;
  }

  .offcanvas-cstm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.3s ease;
    transform: translateY(-100%);
    z-index: 1;
    width: 100%;
    height: 130px;
    overflow-y: auto;
  }

  .offcanvas-cstm.show {
    transform: translateY(0);
    position:: fixed
  }

  .offcanvas-title-top {
    font-size: 16px;
    color: #FFFFFF;
    width: 200%;
    padding: 10px;
    background: rgba(0, 1, 16, 1);
    clip-path: polygon(17.5% 100%, 0% 0%, 100% 0%, 82.5% 100%);
  }

  .dropdown-toggle-cstm {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    outline: none;
    z-index: 1051;
  }

  .dropdown-toggle-cstm .dropdown-icon {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    /* line-height: 40px; */
    color:  rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
  }

  .dropdown-toggle-cstm.open .dropdown-icon {
    transform: rotateX(180deg);
  }
  


  .search-input {
      position: absolute;
      top: 0;
      left: 0; /* Awalnya di sebelah kiri tombol */
      opacity: 0;
      width: 0;
      z-index: 2;
      transition: width 0.3s ease, opacity 0.3s ease, left 0.3s ease; /* Tambahkan transisi untuk left */
  }

  .search-input.active {
      width: 200px; /* Lebar input saat aktif */
      opacity: 1;
      z-index: 2;
      left: -200px; /* Geser ke kiri sejauh lebar input */
  }


  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }