/* Reset CSS */
html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

#map {
    width: 100%;
    height: 85%;
    padding: 0;
    margin: 0;
}

#mapdesa {
    width: 50%;
    height: 50%;
    padding: 5px;
    margin: 0;
}

html, body {
    background-color: #ffffff;
}

#map {
    background-color: #f5faff;
}

.ol-control button {
    background-color: #f8f8f8 !important;
    color: #000000 !important;
    border-radius: 0px !important;
}
.ol-zoom, .geolocate, .gcd-gl-control .ol-control {
    background-color: rgba(255,255,255,.4) !important;
    padding: 3px !important;
}
.ol-scale-line {
    background: none !important;
}
.ol-scale-line-inner {
    border: 2px solid #f8f8f8 !important;
    border-top: none !important;
    background: rgba(255, 255, 255, 0.5) !important;
    color: black !important;
}

/* Style untuk Header */
.header {
  background-color: #014e76; /* Warna latar belakang */
  color: #fff; /* Warna teks */
  padding: 7px; /* Padding untuk memberikan ruang di sekitar konten */
  text-align: center; /* Posisi teks di tengah */
}

.header h1 {
  margin: 0; /* Hapus margin bawaan */
}

/* Style untuk menu */
nav ul {
  list-style-type: none; /* Hapus tanda bullet dari daftar */
}

nav ul li {
  display: inline; /* Menampilkan menu secara horizontal */
  margin: 0 10px; /* Jarak antara setiap item menu */
}

nav ul li a {
  color: #fff; /* Warna teks menu */
  text-decoration: none; /* Hapus dekorasi tautan */
}

nav ul li a:hover {
  text-decoration: underline; /* Tambahkan garis bawah saat tautan dihover */
}

/* Style untuk konten */
.content {
  max-width: 800px; /* Lebar maksimum konten */
  margin: 20px auto; /* Pusatkan konten */
}

.content h2 {
  color: #333; /* Warna teks */
}

.content h3 {
  color: #555; /* Warna teks */
}

.content p {
  line-height: 1.6; /* Jarak baris */
}

.tooltip {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
}
.tooltip-measure {
  opacity: 1;
  font-weight: bold;
}
.tooltip-static {
  background-color: #ffcc33;
  color: black;
  border: 1px solid white;
}
.tooltip-measure:before,
.tooltip-static:before {
  border-top: 6px solid rgba(0, 0, 0, 0.5);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left: 50%;
}
.tooltip-static:before {
  border-top-color: #ffcc33;
}
.measure-control {
  top: 65px;
  left: .5em;
  display: flex;
}
.ol-touch .measure-control {
  top: 80px;
}
.measure-control label {
  padding: 1px;
  padding-right: 4px;
}

.search-layer {
  top: 100px;
  left: .5em;
}
.ol-touch .search-layer {
  top: 130px;
}

/* Style untuk Footer */
.footer {
  background-color: #014e76; /* Warna latar belakang */
  color: #fff; /* Warna teks */
  padding: 5px; /* Padding untuk memberikan ruang di sekitar konten */
  text-align: center; /* Posisi teks di tengah */

  left: 0; /* Letak dari kiri */
  bottom: 0; /* Letak dari bawah */
  width: 100%; /* Lebar footer */
}

.container 
{
    width: 80%;
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    margin-bottom: 90px;
}

h1 
{
    text-align: center;
}

.question 
{
    margin-bottom: 10px;
}

.answer 
{
    margin-bottom: 20px;
}
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
        }
        th {
            text-align: center;
        }        
        th:first-child,
        td:first-child {
            text-align: center; /* Membuat teks berpusat untuk kolom bagian kiri */
        }
        td:last-child {
            text-align: center; /* Membuat isi tabel di kolom paling kanan berada di tengah */
        }
        th {
            background-color: #f2f2f2;
        }