/* ================= RESET & GLOBAL ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #ff751f;
  font-family: 'Oswald', sans-serif;
}

a {
  color: white;
  text-decoration: none;
}
a:hover {
  color: white;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}
.space-atas {
  width: 100%;
  height: 10px;
}
.space-bottom {
  width: 100%;
  height: 10px;
}

/* ================= CONTAINER ================= */
.container {
  width: 70%;
  margin: auto;
}

.head {
  width: 100%; 
  max-width: 100%; 
  height: auto;   
  padding: 20px 0; 
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid #000;
  border-image: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.head .logo img {
  max-width: 100%; 
  height: auto;   
  display: block;
  object-fit: contain;
}

@media (max-width:600px) {
  .container,
  .head {
    width: 100%;  
  }

  .head {
    height: auto;
    padding: 30px 0;
  }

  .head .logo img {
    max-width: 90%;    
    height: auto;
  }
}



/* ================= MENU ================= */
.menu {
  width: 100%;
  text-align: center;
  background: #000;
}
.menu a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  color: #fff;
  border-bottom: 1px solid #000;
}

/* ================= CONTENT ================= */
.content {
  width: 100%;
  border: 1px solid #000;
}

.content p {
  font-size: 16px;
  color: black;
  margin: 5px;
}

/* ================= HEADINGS ================= */
h1 { text-align: center; margin: 20px 0; color: black; }
h2, h3 { text-align: center; margin: 30px 0; font-size: 26px; color: black; }
h4 { text-align: center; margin: 25px 0; font-size: 20px; color: black; }

.title-head { font-size: 24px; color: black; }
.title-footer { font-size: 26px; color: black; }

/* ================= FOOTER ================= */
.footer_container { width: 100%; display: block; }
.inside_footer_container { width: 100%; display: flex; text-align: center; }
.footer_button {
  width: 22%;
  display: inline-block;
  margin: 1% 0 0 0;
  padding: 10px 0;
  background-color: #d3d3d3;
  box-shadow: 0 0 10px 1px #141414;
  font-size: 15px;
  font-weight: bold;
  color: black;
  letter-spacing: 0.2px;
}

/* ================= BOTTOM BAR ================= */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 2px solid #ffcc00;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}
.bottom-bar a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  flex: 1;
  text-align: center;
  padding: 6px 0;
  transition: all 0.3s ease;
}
.bottom-bar a:hover { background: #222; color: #ffcc00; }
.bottom-bar a.active { color: #ffcc00; font-weight: bold; border-top: 2px solid #ffcc00; }


/* ================= ANIMASI ================= */
.kotak-berkedip {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  animation: blink 1s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.2; } 100% { opacity: 1; } }

.related-links {
  margin: 20px auto;
  width: 100%;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 16px;
  background: #111;
  border-radius: 10px;
}
.related-sites ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.related-sites li { margin: 0; }
.related-sites a {
  font-size: 14px;
  color: #f7f7f7;
  text-decoration: none;
  padding: 6px 12px;
  background: red;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #444;
}
.related-sites a:hover { color: #ffcc00; background: #333; text-decoration: underline; }
.floating-top {
    background: transfarant;
    top: 0;
    height: auto;
    left: 0;
    padding: 0px;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 1001;
  }

  .floating-bottom {
    background: transfarant;
    bottom: 0;
    height: auto;
    left: 0;
    padding: 0px;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 1001;
  }

  .floating-top img {
    display: inline-block;
    width: 33%;
    height: 70px;
    border: 1px solid #db641b;
    box-sizing: border-box;
  }

  .floating-bottom img {
    display: inline-block;
    width: 33%;
    height: 70px;
    border: 1px solid #db641b;
    box-sizing: border-box;
  }

.headerbanner {
    text-align: center;
  }

.headerbanner img {
    width:49.5%;
    padding-top: 5px;
}
.banner-top img {
    width: 728px;
    
}
.banner1 img {
    display: inline-block;
    width: 49.5%;
    height: auto;
    border: 1.5px solid #db641b;
    box-sizing: border-box;
}

/* ======== RESPONSIVE HP (FIX TOTAL) ======== */
@media (max-width: 768px) {

  .floating-top,
  .floating-bottom {
    width: 100%;       /* full layar */
    left: 0;
    transform: none;
  }

  .floating-top img,
  .floating-bottom img {
    width: 100%;
    height: auto;
    aspect-ratio: 378 / 30; /* tetap tipis & proporsional */
  }

  .tampil {
    border-width: 1px;
  }

  .banner1 {
    max-width: 100%;
    background: #333;
  }

  .banner1 img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .banner-float {
    bottom: 5px;
  }

  .space {
    height: 90px;
  }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }
  

  .menu a { font-size: 16px; border: 1px solid white; }


  .lassres { width: 100%; margin: auto; }
  .lassres tableresult { width: 100%; border: 1px solid white; }
  .lassres img { width: 100%; height: auto; padding-top: 1px; }
}

.contact-box {
  max-width: 420px;
  margin: 10px auto;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-left: 4px solid #c80000;
  text-align: center;
  color: #000;
}

.contact-box p {
  margin: 0;
  font-size: 14px;
  color: #000;
}

.contact-box a {
  color: #000;
  font-weight: 600;
}

.last-update {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #cc0000;
  padding: 10px 14px;
  margin: 12px 0 16px 0;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.5;
}

.faq-section {
  color: #111827;
  margin: 20px 0;
}

.faq-section h3 {
  color: #000000;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-section li {
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.6;
}

.faq-section li strong {
  color: #000000;
  font-weight: 700;
}
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  position: relative;
  background: #fff;
  padding: 2px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  max-width: 50%;
  width: 250px;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #FFD700; 
  color: #000; 
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  transition: transform 0.2s, background 0.2s;
}

.popup-close:hover {
  transform: scale(1.1);
  background: #ffeb3b;
}
@media screen and (max-width: 700px) {
  .popup-box {
    width: 40%;
  }
}
.ld-sgp-box {
  background: #1b1f24 !important;
  border: 1px solid #2e343d !important;
  border-radius: 10px;
  padding: 16px;
  margin: 20px auto;
  max-width: 600px;
  box-sizing: border-box;
}

.ld-sgp-box .ld-sgp-title {
  text-align: center;
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ld-sgp-box .ld-sgp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ld-sgp-box .ld-sgp-grid a {
  flex: 1 1 calc(50% - 8px);
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  background: #262b33 !important;
  color: #f1f3f5 !important;
  border: 1px solid #383f4a !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ld-sgp-box .ld-sgp-grid a:hover {
  background: #e63946 !important;
  color: #ffffff !important;
  border-color: #e63946 !important;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .ld-sgp-box .ld-sgp-grid a {
    flex: 1 1 100%;
  }
}
.sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cb,
.asu {
  color: #000 !important;
}

table td[colspan] {
  color: #000 !important;
  font-weight: bold;
}

tr.headd {
  background-color: #fff;
  color: #000; 
  font-weight: bold;
  text-align: center;
}

.asu {
  font-weight: 100;
}

.e1,
.e2,
.e3,
.e4,
.e5,
.e6,
.e7,
.e8,
.e9,
.e0 {
  background-color: #ff4d4d;
  border-radius: 0;
  color: #000;
}

.k1,
.k2,
.k3,
.k4,
.k5,
.k6,
.k7,
.k8,
.k9,
.k0 {
  background-color: green;
  border-radius: 0;
  color: #fff;
}

.c1,
.c2,
.c3,
.c4,
.c5,
.c6,
.c7,
.c8,
.c9,
.c0 {
  background-color: blue;
  border-radius: 0;
  color: #fff;
}

.a1,
.a2,
.a3,
.a4,
.a5,
.a6,
.a7,
.a8,
.a9,
.a0 {
  background-color: orange;
  border-radius: 0;
  color: #000;
}

.highlight {
  padding: 1px 4px;
  margin: 0 -4px;
}

input.cari {
  width: 50px;
  text-align: center;
  color: #333;
  font-weight: 700;
  background: #f0f7f2;
}

#rb {
  background: #20a53a;
}

#myForm {
  padding: 5px;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: baseline;
}

.head th {
  background: #20a53a;
  color: #fff;
  border: 1px solid #ddd;
  font-weight: normal;
  height: 20px;
}

.entry-content th,
.entry-content td,
.comment-content th,
.comment-content td {
  padding: 0 !important;
}

textarea {
  width: 100%;
}

.asux {
  background: none repeat scroll 0 0 #fff;
  color: #d7d1d1;
  font-weight: 400;
}

tr:nth-last-child(5n+1) {
  background: none repeat scroll 0 0 #e8e4e7 !important;
}

.colormenu {
  background: #022142;
  width: 738px;
  height: 30px;
  center: unset;
  z-index: 99999;
  padding: 0;
  max-width: 100%;
  margin-bottom: 10px;
}

.colormenu.fixed {
  position: fixed;
  height: 30px;
  center: unset;
  width: 738px !important;
  top: 0;
  left: 0 !important;
  margin: auto;
  right: 0;
}

.intro td {
  background: none repeat scroll 0 0 #ffffff !important;
}

table {
  background: #fff none repeat scroll 0 0;
  margin: 1px;
  min-width: 500px;
}

#drawing-table thead td {
  background: #dd9933 !important;
  width: 100%;
  background: #0000f4 !important;
  margin: 0;
  margin-top: 10px;
}

#drawing-table td {
  border: 1px solid #d9d9d9;
  text-align: center;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 0 3px 0;
}

#color-selector .color {
  float: left;
  height: 25px;
  position: relative;
  width: 11%;
  cursor: pointer;
}

#color-selector .color.eraser {
  background: none repeat scroll 0 0 #fff;
}

#color-selector .color.Blue {
  background: #43a2ff;
}

#color-selector .color.Aqua {
  background: #00F5FF;
}

#color-selector .color.Teal {
  background: #43CD80;
}

#color-selector .color.Lime {
  background: #01FF70;
}

#color-selector .color.Yellow {
  background: #FFDC00;
}

#color-selector .color.Orange {
  background: #FF851B;
}

#color-selector .color.Red {
  background: #FF4136;
}

#color-selector .color.Pink {
  background: #F012BE;
}

#color-selector .color.Purple {
  background: #A23BEC;
}

#color-selector .color.Silver {
  background: #a9a9a9;
}

#color-selector .selected {
  box-shadow: inset 0 0 0 2px #000;
}

#btnSubmit {
  float: left;
  margin-top: 0;
  font-size: 9px;
  background: #333;
  color: #FFF;
  font-weight: 600;
  border: none;
  height: 25px;
  line-height: 25px;
  width: 10%;
  cursor: pointer;
  text-transform: uppercase;
}

#table-wrap {
  font-weight: 700;
  position: relative;
}

#table-wrap table {
  position: relative;
  z-index: 10;
}

#toggle-tracing-mode {
  display: none;
}

#html-wrap textarea {
  height: 50px;
  margin: 0 0 10px;
  overflow: auto;
  width: 100%;
}

@media (max-width:767px) {
  #drawing-table {
    min-width: 100%;
    margin-right: -10px;
    margin-left: -10px;
  }
}

@media (max-width:370px) {
  #drawing-table td {
    font-size: 10px;
  }
}