/* body {
  padding: 0;
  margin: 0;
}

html,
body,
#map {
  height: 100%;
  width: 100vw;
} */

#map {
  height: calc(100vh - 101px);
  z-index: 0;
}

/* Table FixHeader */

.fixTableHead {
  overflow-y: auto;
  height: 300px;
}

.fixTableHead thead th {
  position: sticky;
  top: 0;
}

table {
  border-collapse: collapse;
  /* width: 100%; */
}

/* th,
td {
  padding: 8px 15px;
  border: 2px solid #529432;
} */
/* th {
  background: #3c8dbc;
} */

/* End of Table FixHeader */

.sembunyikan {
  display: none;
}

.sampul {
  width: 70px;
}

.table>tbody>tr>* {
  vertical-align: middle;
}

.flex-container {
  display: flex;
}

.flex-container>div {
  background-color: #f1f1f1;
  width: 90px;
  margin-right: 5px;
  padding: 5px;
  color: rgb(19, 17, 17);
  text-align: center;
}

.infomap {
  padding: 6px 8px;
  font: 12px/14px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
}

.infomap h4 {
  margin: 0 0 5px;
  color: #777;
}

.legend,
.legendIRI,
.legendJb {
  line-height: 18px;
  color: #555;
}

/* .legend > div {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
} */

span.label-kondisi {
  font-size: inherit;
  /* margin-left: 10px; */
}

.image_area {
  position: relative;
}

.img-container,
.img-preview {
  background-color: #f7f7f7;
  text-align: center;
  width: 100%;
  height: auto;
}

.img-preview {
  max-height: 300px;
  min-height: 200px;
}

.img-container {
  max-height: 400px;
  min-height: 200px;
}

.img-input {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.img-group {
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  /* display: flex; */
  /* justify-content: center; */
  gap: 15px;
  overflow: hidden;
  overflow-y: scroll;
}

.img-container>img {
  max-width: 100%;
}

.img-container .img-group img {
  height: 100px;
  width: 100px;
  margin: 10px;
  float: left;
  max-width: 100%;
}

.img-preview {
  float: left;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
  overflow: hidden;
}

.img-preview>img {
  max-width: 100%;
}

.preview-lg {
  height: 9rem;
  width: 16rem;
}

.preview-md {
  height: 4.5rem;
  width: 8rem;
}

.preview-sm {
  height: 2.25rem;
  width: 4rem;
}

.preview-xs {
  height: 1.125rem;
  margin-right: 0;
  width: 2rem;
}

/* img {
  display: block;
  max-width: 100%;
} */

.preview_img {
  overflow: hidden;
  width: 200px;
  height: 200px;
  margin-left: 20px;
  border: 1px solid red;
  justify-content: right;
}

.preview-img-survei {
  overflow: hidden;
  width: 320px;
  height: 320px;
  margin: 10px;
  border: 1px solid red;
}

.user-img-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.user-div {
  width: 500px;
  height: 375px;
  margin-left: 10px;
  /* border: 1px solid green; */
}

#sample_image {
  max-width: 100%;
  height: 100%;
  object-fit: fill;
}

@media (max-width: 768px) {
  .user-img-container {
    padding: 20px;
    justify-content: center;
  }

  .user-div {
    margin-left: 0px;
    width: 100%;
    height: 100%;
  }

  #sample_image {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
  }

  .preview_img {
    display: none;
    margin-top: 20px;
    width: 200px;
    height: 200px;
    border: 0px;
  }
}

@media (max-width: 375px) {
  #lblWilayah {
    /* font-size: small; */
    display: none;
  }
}

/* .modal-lg {
  max-width: 1000px !important;
} */

.overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  height: 0;
  transition: 0.5s ease;
  width: 100%;
}

.image_area:hover .overlay {
  height: 50%;
  cursor: pointer;
}

.text {
  color: #333;
  font-size: 2.5vh;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.leaflet-tooltip.no-background {
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: bold;
  top: -22px;
  left: -15px;
  color: #000000;
  text-shadow: 0px 1px 3px #ffffff;
}

.img-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: 2s;
  /* margin-top: 10px; */
  margin-bottom: 10px;
}

.img-slides img {
  margin-top: 10px;
  width: 100%;
  height: 100%;
  /* border: #000000 1px solid; */
}

.img-slides img:hover {
  cursor: zoom-in;
}

.wrapper-slides {
  position: relative;
  /* width: 500px; */
  height: 100%;
  overflow: hidden;
  /* margin: auto; */
  /* border: #000000 1px solid; */
}

.img-g {
  width: 100%;
  min-height: 300px;
  max-height: 300px;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  overflow: hidden;
  overflow-y: scroll;
  /* background-color: blue; */
}

.img-g .imgobj {
  height: 100px;
  margin-bottom: 10px;
  float: left;
  position: relative;
}

.img-g .imgobj:nth-child(4n) {
  margin-right: 0;
}

.img-g .imgobj span {
  position: absolute;
  top: 2px;
  right: 8px;
  cursor: pointer;
  font-size: 16px;
  /* opacity: 0; */
  /* color: white; */
}

/* #imgmain {
  min-height: 180px;
  max-height: 180px;
} */

.imgPreview #btnEditImg {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.wrapper-slides #btnAddImg {
  position: absolute;
  top: 10px;
  right: 25px;
  cursor: pointer;
}

.img-g .imgobj img:hover {
  cursor: zoom-in;
  opacity: 0.8;
}

.img-g .imgobj span:hover {
  opacity: 0.8;
}

.img-g .imgobj .span-hidden {
  visibility: hidden;
}

.wrapper-slides .img-g .imgobj img {
  width: 100px;
  height: 100px;
  margin: 5px;
  float: left;
  /* border: #a7a3a3 1px solid; */
}

/* .wrapper-slides .img-g .imgobj img:hover {
  cursor: zoom-in;
} */

.nav-slides {
  width: 100%;
  /* background-color: red; */
}

.tombol-div {
  padding: 10px;
  /* display: flex; */
}

#FullImageView {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
  z-index: 0;
}

#FullImage {
  padding: 30px;
  /* margin: auto; */
  max-width: 100%;
  max-height: 100%;
}

.fullsize #FullImage {
  padding: 60px;
}

#CloseView {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.jalur1,
.jalur2,
.jalur3,
.jalur4 {
  font-size: small;
  font-weight: bold;
}

.jalur1 {
  background-color: #757171;
}

.jalur2 {
  background-color: #595959;
}

.jalur3 {
  background-color: #3a3838;
}

.jalur4 {
  background-color: #262626;
}

.avgIRIColor {
  font-size: small;
  /* font-weight: bold; */
  background-color: forestgreen;
}

.avgSDIColor {
  font-size: small;
  /* font-weight: bold; */
  background-color: forestgreen;
  /* background-color: #f7c190; */
}

.kondisi-baik-s {
  color: #ffffff;
  /* color: #00b050; */
  /* background-color: green; */
}

.kondisi-baik {
  color: #ffffff;
  /* color: #00b050; */
  background-color: green;
}

.kondisi-sedang {
  /* color: #ffff00; */
  background-color: rgb(221, 255, 29);
}

.kondisi-rusak-ringan {
  /* color: rgb(255, 164, 29); */
  background-color: rgb(255, 164, 29);
}

.kondisi-rusak-berat {
  color: #f53939;
  background-color: rgb(82, 0, 0);
}

.kelebaran {
  /* overflow: hidden; */
  max-width: 100%;
  overflow-x: auto;
}

.mytable {
  margin-bottom: 10px;
  border: #000000 2px solid;
}

.mytable tr {
  height: 10px;
}

.mytable tr td {
  border: #a5a5a5 1px solid;
}

.table-field {
  padding-left: 5px;
}

/* stripMap Color */
/* IRI dan SDI */
.strip-baik {
  color: #585858;
  /* color: #00b050; */
  background-color: #9ef83d;
}

.strip-sedang {
  /* color: #ffff00; */
  background-color: #ffff00;
}

.strip-rusak-ringan {
  /* color: rgb(255, 164, 29); */
  background-color: #ffc000;
}

.strip-rusak-berat {
  color: #fcadad;
  background-color: #ff0000;
}

/* PCI */
.strip-good {
  color: #e7e7e7;
  background-color: #007e13;
}

.strip-satisfactory {
  background-color: #00c925;
}

.strip-fair {
  background-color: #fefd32;
}

.strip-poor {
  background-color: #ff2b06;
}

.strip-verypoor {
  background-color: #aa1802;
}

.strip-serious {
  background-color: #6a0b01;
}

.strip-failed {
  background-color: #979797;
}

.tr-baik {
  color: #585858;
  background-color: #9ef83d;
}

.tr-sedang {
  /* color: #ffff00; */
  background-color: #ffff00;
}

.tr-rusak-ringan {
  /* color: rgb(255, 164, 29); */
  background-color: #ffc000;
}

.tr-rusak-berat {
  color: #fcadad;
  background-color: #ff0000;
}

.title-kab {
  text-align: center;
  font-size: 25px;
}

.title-chart {
  margin-top: -5px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.chartBox {
  width: 100%;
  height: 350px;
}

.circlechartBox {
  width: 100%;
  height: 350px;
}

/* .switchBtn {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
}

.switchBtn input {
  opacity: 0;
  width: 0;
  height: 0;
}

input:checked+.btnState {
  background-color: #2196F3;
}

input:focus+.btnState {
  box-shadow: 0 0 1px #2196F3;
}

.btnState {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.btnState:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  -webkit-transition: .4s;
  transition: .4s;
} */

@media (max-width:425px) {

  #map {
    height: calc(100vh - 140px);
  }

  .infomap {
    top: -20px;
  }
}

@media (max-height:425px) {
  #map {
    height: calc(100vh);
  }
}

@media (min-width: 850px) {

  #menuIconJln,
  #menuIconJb {
    display: none;
  }

  #menuChartJln,
  #menuChartJb {
    display: block;
    width: 120px;
  }
}

@media (max-width: 850px) {

  #menuIconJln,
  #menuIconJb {
    display: block;
  }

  #menuChartJln,
  #menuChartJb {
    display: none;
  }

  #menuChartJln,
  #menuChartJb {
    display: none;
  }

  #menuChartJln .form-group,
  #menuChartJb .form-group {
    margin-bottom: 2px;
  }
}