div {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body {
	background: #000000;
	font-family: 'Oswald', sans-serif;
	width: 100%;
}

/* ===== SPACE ===== */

.space-atas,
.space-bawah {
	width: 100%;
	height: 60px;
}

/* ===== CONTAINER FIX HP ===== */

.container {
	width: 100%;
	max-width: 900px;
	margin: auto;
	padding: 0 8px;
}

/* ===== HEADER ===== */

.head {
	width: 100%;
	border: 1px solid #e31118;
	padding: 20px;
	background: #000000;
}

.logo {
	display: block;
	width: 100%;
	max-width: 822px;
	height: auto;
	aspect-ratio: 822 / 222;
	background: url("../css/paitohk.png") center no-repeat;
	background-size: contain;
	margin: auto;
}

/* ===== IMG ===== */

img {
	display: block;
	margin: auto;
	max-width: 100%;
	height: auto;
}

/* ===== FLOATING ===== */

.floating-top,
.floating-bottom {
	position: fixed;
	z-index: 9999;
	width: 35%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}

.floating-top {
	top: 0;
}

.floating-bottom {
	bottom: 0;
}

.floating-top img,
.floating-bottom img {
	width: 100%;
	height: auto;
	aspect-ratio: 378 / 31;
	display: block;
}

/* ===== HEADER BANNER ===== */

.headerbanner {
	text-align: center;
	background: #000;
	max-width: 728px;
	margin: 0 auto;
}

.headerbanner img {
	width: 100%;
	height: auto;
	aspect-ratio: 378 / 31;
	display: block;
}

/* ===== MENU ===== */

.menu {
	display: block;
	width: 100%;
	text-align: center;
	background: #e31118;
	border: 1px solid #e31118;
}

.menu a {
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	color: white;
	font-size: 18px;
}

.menu a:hover {
	color: white;
}

/* ===== CONTENT ===== */

.content {
	width: 100%;
	border: 1px solid #e31118;
	margin: auto;
	background: #000000;
	padding: 10px;
}

.content p {
	text-align: justify;
	font-size: 16px;
	line-height: 1.7;
	color: white;
	margin: 10px;
	word-spacing: 1px;
}

/* ===== TITLE ===== */

h1,
h2,
h3,
h4 {
	text-align: center;
	margin: 20px 0px;
}

h3 {
	font-family: 'Oswald', sans-serif;
	margin: 30px 0px;
	color: white;
	font-size: 26px;
}

h4 {
	font-family: 'Oswald', sans-serif;
	margin: 25px 0px;
	color: white;
	font-size: 20px;
}

.title-head {
	font-size: 24px;
	text-decoration: none;
	color: white;
}

.title-footer {
	font-size: 26px;
	text-decoration: none;
	color: white;
}

/* ===== LINK ===== */

.genericon,
a {
	color: white;
}

a:hover {
	color: white;
}

/* ================= SCREEN READER ================= */
.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;
  }
}
.contact-box {
  background-color: #fff;      
  color: #000;                 
  padding: 8px 12px;          
  border-radius: 8px;          
  max-width: 80%;            
  margin: 20px auto;           
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-align: center;          
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
}
.contact-box p {
  color: #000;          
}
/* ================= FOOTER DOFOLLOW LINKS ================= */
.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: #222;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #444;
}
.related-sites a:hover { color: #ffcc00; background: #333; text-decoration: underline; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }
  .floating-top img,
  .floating-bottom img,
  .headerbanner img { width: 100%; }

  .menu a { font-size: 16px; border: 1px solid black; }

  .lassres { width: 100%; margin: auto; }
  .lassres tableresult { width: 100%; border: 1px solid white; }
  .lassres img { width: 100%; height: auto; padding-top: 1px; }

  h3, .title-footer { font-size: 14px; }
}


.none {
  max-width: 100%;
  height: auto;
}
.paito-ref {
  margin: 15px auto;
  padding: 8px 12px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  text-align: center;
  background: #000;
  border-radius: 6px;
}

.paito-ref a {
  color: #0a6cff;
  text-decoration: none;
  font-weight: 500;
}

.paito-ref a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .paito-ref {
    font-size: 12px;
    padding: 6px 10px;
  }
}
#myTable {
	border-collapse: collapse;
	width: 100%;
	font-size: 18px;
  }
  
  #myTable th, #myTable td {
	text-align: center;
	padding: 3px 0px 3px 0px;
	border: 2px solid #444444;
	font-size:15px;
	color:black;
  }
  
  #myTable th {
	color:#000;
	background: linear-gradient(to bottom, #bf7301, #fff);
	font-size:15px;
        font-weight: bold;
  }
 section {
  margin-bottom: 40px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
html {
  scroll-behavior: smooth;
}
/* ===== POPUP ===== */

#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.7);
	z-index: 9999;

	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.popup-box {
	position: relative;
	width: 180px;
	max-width: 90%;
}

.popup-box img {
	width: 100%;
	height: auto;
	display: block;
}

.popup-close {
	position: absolute;
	top: -10px;
	right: -10px;
}

/* ===== RESPONSIVE HP ===== */

@media (max-width:768px) {

	body {
		font-size: 14px;
	}

	.container {
		width: 100%;
		padding: 0 5px;
	}

	.content {
		padding: 5px;
	}

	.content p {
		font-size: 14px;
		line-height: 1.6;
		margin: 6px;
	}

	.title-head {
		font-size: 20px;
	}

	.title-footer {
		font-size: 18px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 18px;
	}

	/* FLOATING FULL HP */

	.floating-top,
	.floating-bottom {
		width: 100%;
		left: 0;
		transform: none;
	}

	.floating-top img,
	.floating-bottom img {
		width: 100%;
		height: auto;
		aspect-ratio: 250 / 20;
	}

	/* HEADER BANNER */

	.headerbanner {
		max-width: 100%;
		background: #333;
	}

	.headerbanner img {
		width: 100%;
		height: auto;
	}

	.popup-box {
		width: 160px;
	}
}

/* ===== HP KECIL ===== */

@media (max-width:370px) {

	.content p {
		font-size: 13px;
	}
}