:root {
  --primary: rgb(218, 102, 70);
  --bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: var(--bg);
  font-size: 12px;
}

.navigasi {
  display: flex;
}

.nav_kanan {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  z-index: 1000;
}

.dlogin {
  width: 250px;
  padding: 5px;
  font-size: 1.2rem;
}

.dlogin a {
  color: rgb(81, 62, 73);
  padding: 14px 10px;
  text-decoration: none;
  display: block;
  width: 150px;
  text-align: center;
}

.dlogin ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #ffffff;
}

.dlogin li a,
.dropbtn {
  display: inline-block;
  color: rgb(81, 62, 73);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dlogin .dropdown2-content a {
  color: rgb(81, 62, 73);
  padding: 14px 10px;
  margin: 0px;
  text-decoration: none;
  display: block;
  width: 220px;
  text-align: left;
}

.navbar3 .dlogin .dis {
  color: rgb(174, 171, 173);
  padding: 14px 10px;
  cursor: default;
}

.dlogin a:hover {
  background-color: rgb(212, 235, 237);
}

.navbar3 {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 0.5rem;
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(198, 205, 219);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.navbar3 .navbar3-kanan {
  display: flex;
  align-items: center;
}

.navbar3 .navbar3-logo {
  margin-right: 40px;
}

.navbar3 .navbar3-logo img {
  max-width: 250px;
}

.navbar3 .navbar3-nav a {
  color: lightslategrey;
  display: inline-block;
  font-size: 1.2rem;
  margin: 0 0.3rem;
}

.navbar3 .navbar3-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #ffffff;
}

.navbar3 .navbar3-nav li {
  float: left;
}

.navbar3 .navbar3-nav li a,
.dropbtn {
  display: inline-block;
  color: rgb(81, 62, 73);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar3 .navbar3-nav li a:hover,
.dropdown2:hover .dropbtn {
  background-color: rgb(212, 235, 237);
}

.navbar3 .navbar3-nav li.dropdown2 {
  display: inline-block;
}

.dropdown2-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.navbar3 .navbar3-nav .dropdown2-content a {
  color: rgb(81, 62, 73);
  padding: 14px 10px;
  margin: 0px;
  text-decoration: none;
  display: block;
  width: 220px;
  text-align: left;
}

.navbar3 .navbar3-nav .dropdown2-content .dis {
  color: rgb(174, 171, 173);
  padding: 14px 10px;
  cursor: default;
}

.dropdown2-content a:hover {
  background-color: #f1f1f1;
}

.dropdown2:hover .dropdown2-content {
  display: block;
}

a:link {
  color: blue;
}

.submobile a {
  color: blue !important;
}

a:visited {
  color: blue;
}

#xmenu {
  display: none;
}

.menumateri {
  padding-top: 7rem;
}

.menumateri .contentmenu {
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menumateri .row {
  margin-top: 5rem;
}

.menumateri .row .menu-card-img {
  text-align: center;
  width: 300px;
}

.menumateri .row .menu-card-title {
  text-align: center;
  color: #271c3b;
  padding-bottom: 2rem;
}

.menumateri .row .menu-card-img img {
  border-radius: 10px;
  width: 90%;
}

.content-wrap0 {
  margin: 4rem 2rem 0rem;
}

.content-wrap {
  margin: 7rem auto 2rem;
  max-width: 1000px;
}

.atas h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2.5rem;
  color: #979696;
  /* text-shadow: 1px 1px 3px rgba(111, 111, 119, 0.5); */
  /* text-decoration: underline solid rgb(235, 179, 59) 20%; */
  /* text-underline-offset: 6px; */
  line-height: 5.2rem;
  /* text-decoration: underline solid rgb(38, 72, 182) 20%; */
  text-decoration: none;
  position: relative;
  padding-top: 10px;
}

.bodyutama {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.main-content {
  flex: 1;
  margin-top: 60px;
  position: relative;
}

.copyright {
  background: #111;
  color: #fcfaf6;
  padding: 0;
  position: relative;
  z-index: 1;
  font-weight: bold;
  font-size: 12px;
  margin: auto;
  text-align: center;
}

.footerhome {
  background: #111;
  color: #fcfaf6;
  padding: 0;
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  position: fixed; /* Footer akan selalu di bagian bawah layar */
  bottom: 0;
  left: 0;
  right: 0;
}

.footer {
  background: #111;
  color: #fcfaf6;
  padding: 0;
  position: absolute; /* Posisi absolute untuk footer */
  bottom: 0; /* Membuat footer selalu di bagian bawah layar */
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 600;
  font-size: 12px;
  text-align: center;
}

.footer-menu ul li {
  display: inline-block;
  line-height: 12px;
  padding-left: 15px;
}

.footer-menu ul.nav li a {
  background: none;
  color: #111;
  padding: 0;
}

.footer-menu ul li a:hover {
  color: #fff;
}

.image-container {
  height: calc(
    100vh - 100px
  ); /* Lebih rendahkan tinggi gambar sesuai dengan tinggi menu */
  overflow: hidden;
  display: flex;
  justify-content: center; /* Mengatur gambar ditengah horizontal */
  align-items: center; /* Mengatur gambar ditengah vertikal */
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.onebanner {
  text-align: center;
  height: 100vh;
  overflow: hidden; /* Hindari tampilan di luar area container */

  /* Agar gambar selalu tertengah dan landscape */
  display: flex;
  justify-content: center;
  align-items: center;
}

.onebanner img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.banner {
  /* min-height: 100vh; */
  display: flex;
  align-items: flex-start;
  /* background-image: url(/gambar/banner1.jpg); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner .kiri {
  padding: 1.3rem;
  flex: 50%;
}

.banner .kiri p {
  font-family: "Rubik", sans-serif;
  margin-top: 0.6rem;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3rem;
  color: rgb(0, 0, 0);
}

.banner .kiri ol li {
  line-height: 1.5rem;
  margin-left: 15px;
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3rem;
}

.banner .kanan {
  margin-top: 1rem;
  padding: 1.3rem;
  flex: 50%;
}

.banner .kanan img {
  width: 100%;
}

.banner .kiri {
  order: 1;
}
.banner .kanan {
  order: 2;
}

.menumateri {
  padding-top: 7rem;
}
.menumateri .contentmenu {
  text-align: center;
}
.menumateri .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}
.menumateri .row .menu-card-img {
  text-align: center;
}
.menumateri .row .menu-card-title {
  text-align: center;
  color: #271c3b;
  padding-bottom: 2rem;
}
.menumateri .row .menu-card-img img {
  border-radius: 10px;
  width: 200px;
  margin: 10px;
}

.container {
  width: 80%;
  margin: auto;
  position: relative;
  top: 100px;
}
.container .judul {
  text-align: center;
  padding-bottom: 2rem;
}

.judulkiri {
  font-size: 15px;
  text-align: left;
  padding-bottom: 1rem;
  line-height: 25px;
  font-weight: 400;
}

.judul {
  font-size: 20px;
  text-align: center;
  padding-bottom: 1rem;
}

.subjudul {
  text-align: center;
  font-size: 16px;
  padding-bottom: 2rem;
}

.tabelinfo {
  line-height: 20px;
  font-size: 14px;
}

.dfilter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

.materi {
  padding-bottom: 30px;
}
.materi .gambar_materi img {
  min-width: 200px;
  max-width: 300px;
  width: 50%;
  float: left;
  padding-top: 5px;
  padding-right: 10px;
}
.materi .teks_materi p {
  text-indent: 3.5rem;
}
.materi iframe {
  min-width: 200px;
  max-width: 300px;
  width: 50%;
  height: 50%;
  float: left;
  padding-top: 5px;
  padding-right: 10px;
}

#xmateri {
  margin-bottom: 300px;
}

.clear {
  clear: left;
}

.text-right {
  text-align: right;
  padding-right: 25px;
}

.text-center {
  text-align: center !important;
}

#tabel thead tr th {
  text-align: center !important;
}

.combobox1 {
  width: 130px;
  height: 32px;
  line-height: 32px;
  padding: 5px;
}

.tb_utama {
  background: #ffffff;
  background-image: -webkit-linear-gradient(top, #ffffff, #b8b8b8);
  background-image: -moz-linear-gradient(top, #ffffff, #b8b8b8);
  background-image: -ms-linear-gradient(top, #ffffff, #b8b8b8);
  background-image: -o-linear-gradient(top, #ffffff, #b8b8b8);
  background-image: linear-gradient(to bottom, #ffffff, #b8b8b8);
  -webkit-border-radius: 7;
  -moz-border-radius: 7;
  border-radius: 7px;
  font-family: Arial;
  color: #000000;
  font-size: 16px;
  padding: 2px 10px 2px 10px;
  border: solid #2a2d30 1px;
  text-decoration: none;
}

.tb_utama:hover {
  background: #cfcfcf;
  text-decoration: none;
}

.Mobile {
  display: none;
}

.submobile {
  font-size: 16px !important;
  display: none;
  width: 220px;
  height: auto;
  border: 1px solid grey;
  background-color: white;
  position: fixed;
  padding-left: 0px;
  top: 50px;
  line-height: 25px;
  overflow: visible;
  right: 0px;
  background-color: white;
  z-index: 1000;
}

.submobile a {
  color: rgb(81, 62, 73);
  padding: 0px;
  margin: 0px;
  display: block;
  width: 215px;
  text-align: left;
  padding-left: 5px;
}

.submobile a:hover {
  background-color: rgb(212, 235, 237);
}

.my-custom-table {
  font-size: 14px;
  line-height: 23px;
}

table.dataTable thead tr,
th {
  border-top: 0.5px solid gray;
  border-bottom: 0.5px solid gray;
  border-collapse: collapse;
  text-align: center !important;
}

div.dataTables_filter,
div.dataTables_length {
  padding: 10px;
}

.kiri {
  text-align: left;
}

.chartbox {
  width: 300px;
  border: 0.5px solid grey;
  margin: 5px 20px;
  padding: 10px;
  overflow: visible;
  text-align: center;
}

.chartbox h5 {
  padding: 5px;
  font-size: 12px;
}

h6 {
  font-weight: normal;
  font-size: 12px;
}

#chart {
  max-width: 800%;
  margin: 10px auto;
}

.grafikchart {
  border: 0.5px solid grey;
  max-width: 800px;
  padding: 20px 5px 0px;
  margin: auto;
}

.grafikchart .subjudul {
  text-align: center;
  margin-bottom: 0 !important;
  color: #072033;
  padding-bottom: 0;
  font-size: 12px;
  font-weight: bold;
}

.toolbar {
  margin-left: 15px;
}

button {
  background: #fff;
  color: #222;
  border: 1px solid #e7e7e7;
  border-bottom: 2px solid #ddd;
  border-radius: 2px;
  padding: 4px 17px;
}

button.active {
  color: #fff;
  background: #008ffb;
  border: 1px solid blue;
  border-bottom: 2px solid blue;
}

button:focus {
  outline: 0;
}

.spaceblank {
  margin-top: 80px;
  margin-bottom: 20px;
}

.ui-autocomplete.ui-menu {
  width: 300px;
}

/* 
    targets the first result's <a> element, 
    remove the a at the end to target the li itself 
*/
.ui-autocomplete {
  position: absolute;
  z-index: 1000;
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 5px;
  cursor: default;
}

.ui-autocomplete li {
  list-style-type: none;
  padding: 5px;
  border-bottom: 1px solid #ccc;
  font-size: 13px;
}

.ui-autocomplete li:last-child {
  border-bottom: none;
}

.ui-autocomplete li:hover {
  background-color: #f0f0f0;
}

.single {
  width: 350px;
}

.dpropinsi {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
}

.form-container {
  max-width: 600px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: auto;
}

.form-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

.form-group label {
  width: 120px;
  font-weight: bold;
  margin-right: 10px;
}

.form-group input,
.form-group select {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  max-width: 350px;
}

.tengah input[type="submit"] {
  background-color: #4caf50;
  color: #ffffff;
  cursor: pointer;
  margin: auto;
  text-align: center;
  width: 100%;
  padding: 10px;
  justify-content: center;
  align-items: center;
}

.tengah input[type="submit"]:hover {
  background-color: #45a049;
}

.ctim {
  margin-top: 0px;
  margin-bottom: 2px;
}

.ctim2 {
  margin-top: 0px;
  margin-bottom: 10px;
}

.ctim3 {
  margin-top: 0px;
  margin-bottom: 2px;
}

.ctim3 input {
  width: 100%;
  max-width: 350px;
}

#isekolah {
  font-size: 12px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.hrtim {
  margin-left: 0px;
  max-width: 92%;
  border: 0.2px solid gray;
  margin-bottom: 10px;
}

.gbr1 {
  max-width: 900px;
  margin: auto;
}

.gbr1 img {
  width: 100%;
}

.btn_ijo {
  background: #5db029;
  background-image: -webkit-linear-gradient(top, #5db029, #348221);
  background-image: -moz-linear-gradient(top, #5db029, #348221);
  background-image: -ms-linear-gradient(top, #5db029, #348221);
  background-image: -o-linear-gradient(top, #5db029, #348221);
  background-image: linear-gradient(to bottom, #5db029, #348221);
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 7px 16px 7px 16px;
  text-decoration: none;
  border: 0.5px solid green;
}

.btn_ijo:hover {
  background: #1f7321;
  background-image: -webkit-linear-gradient(top, #1f7321, #105715);
  background-image: -moz-linear-gradient(top, #1f7321, #105715);
  background-image: -ms-linear-gradient(top, #1f7321, #105715);
  background-image: -o-linear-gradient(top, #1f7321, #105715);
  background-image: linear-gradient(to bottom, #1f7321, #105715);
  text-decoration: none;
}

.tooltip {
  padding: 0;
  margin: 0;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tbpromo {
  box-shadow: inset 0px 1px 0px 0px #ffffff;
  background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
  background-color: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  display: inline-block;
  cursor: pointer;
  color: #666666;
  font-family: Arial;
  font-size: 15px;
  font-weight: bold;
  padding: 15px 45px;
  margin: 5px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #ffffff;
}
.tbpromo:hover {
  background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
  background-color: #e9e9e9;
}
.tbpromo:active {
  position: relative;
  top: 1px;
}

.dafprogram {
  display: flex;
  justify-content: center;
}

.t20 {
  position: relative;
  margin-top: 50px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  width: 600px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#tabel thead th {
  text-align: center;
}

.listinfo0 {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.listinfo1 {
  font-size: 14px;
  margin-top: 0px;
  margin-left: 15px;
  margin-bottom: 0px;
}

.tableinfo {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 0.5px solid black;
  padding: 3px;
  margin: auto;
  background-color: #008ffb;
}

.tableinfo1 {
  margin: 20px;
  flex-basis: 40%;
}

.tableinfo2 {
  margin: 20px;
  flex-basis: 50%;
}

.tableinfo3 {
  margin: 20px;
  flex-basis: 60%;
}

.tableinfo1 tr th {
  background-color: #82bc83;
  border: 0.5px solid black !important;
  padding: 3px;
  vertical-align: top;
}

.tableinfo1 tr td {
  border: 0.5px solid black !important;
  padding: 3px;
}

.tableinfo2 tr th {
  background-color: #bc9582;
  border: 0.5px solid black !important;
  padding: 3px;
}

.tableinfo2 tr td {
  border: 0.5px solid black !important;
  padding: 3px;
  vertical-align: top;
}

.tableinfo3 tr th {
  background-color: #bc9582;
  border: 0.5px solid black !important;
  padding: 3px;
  vertical-align: top;
}

.tableinfo3 tr td {
  border: 0.5px solid black !important;
  padding: 3px;
  vertical-align: top;
}

/* /////////////////////////////////////////////////////////////// */
/* LAPTOP */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }

  #imenu {
    display: none;
  }
}

/* TABLET */
@media (max-width: 768px) {
  html {
    font-size: 75%;
  }

  #xmenu {
    display: inline-block;
  }

  .dlogin {
    display: none;
  }

  .navbar3 {
    justify-content: space-between;
  }

  .navbar3-nav {
    position: absolute;
    background-color: white;
    top: 100%;
    right: -100%;
    width: 3rem;
    height: 100vp;
    transition: 0.3s;
  }
  .navbar3-nav.active {
    right: 0;
  }
  .navbar3 .navbar32-nav a {
    display: block;
    margin: 1.5rem;
    font-size: 1.2rem;
  }

  .content-wrap0 {
    margin: 7rem 2rem 0rem;
  }

  .judul {
    font-size: 15px;
  }

  html {
    font-size: 75%;
  }
  .Desktop {
    display: none;
  }
  .Mobile {
    display: block;
  }

  .onebanner {
    height: auto;
    text-align: center;
  }

  .onebanner img {
    max-width: 100%;
    max-height: 100vh;
  }

  .banner {
    flex-wrap: wrap;
  }
  .banner .kiri {
    order: 2;
  }
  .banner .kanan {
    order: 1;
  }
}

/* MOBILE */
@media (max-width: 480px) {
  html {
    font-size: 75%;
  }
  .Desktop {
    display: none;
  }
  .Mobile {
    display: block;
  }

  .single {
    width: 250px;
  }

  .image-container {
    align-items: center; /* Mengatur gambar ditengah vertikal untuk tampilan mobile */
  }

  .footer {
    position: absolute; /* Mengatur footer berada di posisi absolut */
    bottom: 0; /* Footer akan tetap berada di bawah gambar */
    left: 0;
    right: 0;
  }
}
