body {
  overflow: auto;
}

header {
  top: 0;
  position: fixed;
  background-color: #ffffff;
  box-shadow: 1px 1px 10px 0px #d5d5d5;
}

.navbar .navbar-nav a.nav-link {
  color: #212529;
  font-size: 13px;
}

.navbar .navbar-nav .active>.nav-link {
  color: #28a745;
}

.navbar .navbar-nav .nav-link:hover {
  color: #28a745;
}

.page-head-more {
  padding-top: 120px !important;
  text-align: left;
}

.page-heading {
  padding: 210px 0px 80px 0px;
}

/* TABLE  */
.table-custom thead th {
  border-top: 0px;
}

.table-cus {
  border-collapse: collapse;
  border-radius: 1em;
  overflow: hidden;
}

.table-cus>thead>tr>th {
  background: #eee;
  border-bottom: 2px solid white;
}

.table-cus>thead>tr>th,
.table-cus>tbody>tr>td {
  border: 1px solid #ddd;
  color: #000;
}

.table-ispu-home td {
  border-top: 0px;
  padding: 5px;
}

/* END TABLE  */
/* SEARCH  */
.input-icons i {
  position: absolute;
}

.input-icons {
  width: 100%;
  margin-bottom: 6px;
  /* margin-top: 3px; */
}

.icon {
  padding: 10px;
  color: green;
  min-width: 39px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.input-field {
  width: 100%;
  padding: 5px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* END SEARCH  */

/* CARD ISPU GRAPH  */

.card-ispu-kota {
  position: fixed;
  bottom: 100px;
  margin-left: 10px;
  margin-right: 10px;
  z-index: 1030;
  max-width: 545px;
  width: 100%;
}

.card-bg-texture {
  background-image: repeating-linear-gradient(36deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 0px, transparent 2px) !important;
}

.card-ispu-header {
  /* max-width: 420px; */
  max-width: 500px;
}

.card-ispu-badge {
  padding: 5px;
  border-radius: 5px;
  background: rgb(255 255 255 / 29%);
  font-size: 11px;
}

.card-ispu-address {
  font-size: 10px;
}

/* END CARD  */
/* CARD SERACH  */
.card-search {
  width: 300px;
  float: right;
  right: 51px;
  top: -11px;
  position: relative;
}

/* CARD LEGEND  */

.card-ispu-bottom {
  position: fixed;
  bottom: 0px;
  clear: both;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  z-index: 999;
  max-width: 545px;
  width: 545px;
}

.w-20 {
  width: 20%;
}

.nama-kategori {
  text-align: center;
  color: #000;
  font-size: 9px;
  font-weight: 700;
  margin-top: 3px;
}

.jenis-kategori {
  width: 80px;
  height: 20px;
  border-radius: 10px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-size: 10px;
  vertical-align: top;
  font-weight: bold;
  line-height: 20px;
}

.jenis-kategori.hijau {
  background: #00cc00;
}

.jenis-kategori.biru {
  background: #0000cc;
}

.jenis-kategori.kuning {
  background: #cccc00;
}

.jenis-kategori.merah {
  background: #cc0000;
}

.jenis-kategori.hitam {
  background: #000;
}

/* END LEGEND  */

/* CARD KETERANGAN  */

.card-ispu-ket {
  position: fixed;
  bottom: 0px;
  clear: both;
  right: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  z-index: 999;
  max-width: 800px;
  width: 100%;
}

.card-ket-text {
  font-size: 12px;
}

.b-radius {
  border-radius: 10px !important;
}

/* END CARD KETERANGAN  */


/* VERTICAL GRAPH */
.verticalChart {
  width: 100%;
  height: 100%;
}

.verticalChart .chart-left,
.verticalChart .chart-right {
  float: left;
  height: 100%;
}

.verticalChart .chart-left {
  width: 35%;
}

.verticalChart .chart-right {
  width: 65%;
}

.verticalChart .categoryBar {
  height: 100%;
  margin-right: 5px;
}

.verticalChart .singleBar {
  width: calc(14.25% - 5px);
  float: left;
  margin-right: 5px;
  height: 100%;
}

.verticalChart .singleBar .bar,
.verticalChart .categoryBar .bar {
  position: relative;
  height: 206px;
  /* background: rgb(0 0 0 / 20%); */
  background: rgb(169 169 169 / 20%);
  overflow: hidden;
}

.verticalChart .singleBar .bar .value,
.verticalChart .categoryBar .bar .value {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #ddd;
  color: #ddd;
}

.verticalChart .singleBar .bar .value span,
.verticalChart .categoryBar .bar .value span {
  position: absolute;
  font-size: 12px;
  bottom: 0;
  width: 100%;
  height: 20px;
  color: #dddddd;
  text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, 1px -1px 0 #ffffff;
  display: none;
  text-align: center;
}

.verticalChart .singleBar .bar span.top-position {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  font-size: 1em;
  top: 0;
  width: 100%;
  height: 20%;
  color: #000000;
  font-weight: bold;
  text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, 1px -1px 0 #ffffff;
  border-bottom: 3px solid #FF0000;
  text-align: center;
  z-index: 999;
}

.verticalChart .singleBar .bar span.bm-position {
  position: absolute;
  font-size: 1em;
  top: 20%;
  width: 100%;
  color: #000000;
  text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, 1px -1px 0 #ffffff;
  text-align: center;
  z-index: 999;
}

.verticalChart .singleBar .title,
.verticalChart .categoryBar .title {
  margin-top: 5px;
  text-align: center;
  height: 30px;
}

.verticalChart .ispu-category {
  height: 20%;
  color: white;
  font-weight: bold;
  font-size: 0.9vw;
  position: relative;
}

.verticalChart .ispu-category span {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  text-align: center;
}

#stasiun-detail .verticalChart .ispu-category span {
  font-size: 1.5em !important;
}

.category-5 {
  background-color: #000000 !important;
  color: #fff !important;
}

.category-4 {
  background-color: #fc0f0f !important;
  color: #fff !important;
}

.category-3 {
  background-color: #cccc00 !important;
  color: #fff !important;
}

.category-2 {
  background-color: #0000cc !important;
  color: #FFFFFF !important;
}

.category-1 {
  background-color: #00cc00 !important;
  color: #fff !important;
}

.category-6 {
  background-color: #fff !important;
  color: #fff !important;
  display: none;
}

.category-invalid {
  background-color: transparent !important;
  color: #fff !important;
}

.title-category {
  padding: 3px 5px;
}

.stasiun-title {
  font-weight: bold;
  font-size: 1.1em;
}

.card-ispu-kota .btn-group-sm>.btn,
.btn-sm {
  font-size: 10px;
  border: 1px solid #ddd;
}

/* SCROLL */
::-webkit-scrollbar-thumb {
  background-color: rgba(194, 194, 194, 0.8);
  border: 4px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;

}

div::-webkit-scrollbar {
  width: 16px;

}


/* CARD ISPU HOME  */
.card-ispu-home {
  position: absolute;
  right: 11px;
  bottom: 90px;
  margin-left: 10px;
  margin-right: 10px;
  z-index: 1030;
  /* max-width: 360px;
  width: 360px; */
  max-width: 500px;
  width: 500px;
}

/* END */

/* CARD DOWNLOAD  */
.card-ispu-download {
  position: absolute;
  bottom: 80px;
  clear: both;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 10px;
  z-index: 999;
  max-width: 345px;
  width: 345px;
}

/* END  */

/* CARD ISPU TITLE  */
.card-ispu-title {
  position: fixed;
  bottom: 12%;
  clear: both;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  z-index: 999;
  max-width: 420px;
  width: 420px;
}

.bg-trans-black {
  background: rgb(18 18 18 / 74%) !important;
}

.bg-trans {
  background: transparent;
}

.bg-black {
  background: #000;
}

/* MAPS  */
.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
  /* filter: invert(100%) hue-rotate(180deg) brightness(201%) contrast(97%) */
}

#map {
  height: 800px;
}

.btn-reset-zoom {
  position: absolute;
  right: -50px;
}

.container {
  max-width: 1300px;
}

.navbar .navbar-brand {
    margin-top: -22px;
}
.navbar .navbar-brand img {
    width:500px;
}

/* END  */
@media only screen and (max-width: 600px) {
  .img-logo {
    width: 300px;
    margin-top: -7px;
  }

  .card-ispu-bottom {
    max-width: 390px;
  }

  .card-ispu-ket {
    position: fixed;
    bottom: 96px;
    left: 10px;
    max-width: 390px;
    width: 100%;
  }

  .card-ispu-home {
    position: absolute;
    background: #000 !important;
    max-width: 94%;
    width: 100%;
    right: 0px;
    left: 0px;
    bottom: -535px;
  }

  .card-ispu-title {
    display: none;
  }

  .card-ispu-download {
    position: absolute;
    display: block;
    top: 100px;
    max-width: 293px;
    height: 80px;
  }

  #map {
    height: 800px;
  }

  #legand-wind {
    bottom: 9px;
    left: 10px;
    width: 94%;
    display: block;
    right: 10px;
  }

  #time-prediksi {
    top: 71%;
    left: 10px;
    width: 94%;
    display: block;
    right: 10px;
  }

  #leg-ispu {
    width: 94%;
    display: block;
    height: 82px;
    right: 14px;
    bottom: 84px;
  }

  .card-search {
    top: 291px;
  }

  .map-container {
    position: relative !important;
  }

  .card-ispu-kota {
    position: absolute;
    top: 670px;
    display: block;
    max-width: 100%;
    margin: 0px;
    height: 700px;
  }

  .card-ispu-ket {
    position: absolute;
    bottom: -351px;
    height: 0px;
    display: block;
    width: 94%;
    z-index: 1030;
  }

  .btn-reset-zoom {
    float: left;
    top: -51px;
    right: 10px;
  }

  body {
    overflow: auto;
  }
}