/*tombol-css-setting*/

.tombol{
	display: block;
	padding: 8px 20px;
	margin: 5px;
	text-align: center;
	text-decoration-line: none;
	/*border: 1px yellow solid;*/
	border-radius: 5px;
	box-shadow: 2px 2px 4px gray;
	cursor: pointer;
}
.tombol:active{
	background-color: rgba(129, 212, 250, 1.0);
	color: white;
	box-shadow: 2px 2px 4px gray inset, -2px -2px 4px gray inset;
}
.tblPrimer{background-color: var(--warna-primer);color: var(--warna-primer-x);}
.tblPrimerX{background-color: var(--warna-primer-x-1);color: var(--warna-primer);}
.tblMerah{background-color: red;color: whitesmoke;}
.tblKuning{background-color: yellow;color: blue;}
.tblHijau{background-color: green;color: whitesmoke;}
.tblBiru{background-color: blue;color: whitesmoke;}
.tblMerahM{background-color: salmon;color: rgb(56, 56, 56);}
.tblKuningM{background-color: lightyellow;color: rgb(56, 56, 56);}
.tblHijauM{background-color: lightgreen;color: rgb(56, 56, 56);}
.tblBiruM{background-color: lightblue;color: rgb(56, 56, 56);}
.tblGelap{background-color: rgb(56, 56, 56); color: white;}
.tblTerang{background-color: whitesmoke; color: black;}

.tblPrimer:hover{background-color: var(--warna-primer-1);color: #fff;}
.tblPrimerX:hover{background-color: var(--warna-primer-x);color: var(--warna-primer);}

/*flexbox shortcut*/
.fl-row{display: flex; flex-direction: row;}
.fl-col{display: flex; flex-direction: column;}
.fl-row.cen, .fl-col.cen {
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.fl-row.st, .fl-col.st { justify-content: flex-start; }
.fl-row.en, .fl-col.en { justify-content: flex-end; }
.fl-row.sb, .fl-col.sb { justify-content: space-between; }
.fl-row.se, .fl-col.se { justify-content: space-evenly; }
.fl-row.wr, .fl-col.wr { flex-wrap: wrap; }
.fl-1{flex: 1} .fl-2{flex: 2} .fl-3{flex: 3} .fl-4{flex: 4}

/*general css*/

/*ikon dan ikon with pesan hover*/
i.ik{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	font-weight: 800;
	font-family: monospace;
	height: 16px;
	width: 16px;
	border: 2px solid black;
	border-radius: 50%;
	background-color: white;
	cursor: pointer;
}
i.ik.mer{color: red; border-color: red}
i.ik.hij{color: green; border-color: green}
i.ik.bir{color: blue; border-color: blue}
i.ik.kun{color: yellow; border-color: yellow}

i.ik:has(>.pesan-hover){
	position: relative;
}
i.ik>.pesan-hover{
	display: none;
	position: absolute;
	bottom: 10px; left: 10px;
	background-color: papayawhip;
	font-size: 10px;
	color: darkblue;
	padding: 5px;
	box-shadow: 5px 5px 8px rgba(0, 0, 0, .5);
	width: 150px;
}
i.ik:has(>.pesan-hover):hover>.pesan-hover{display: block;}

/*form css*/
.rapi-form{display: flex; flex-direction: column;}
.rapi-form label {margin: 10px 0 3px;}
.rapi-form button {margin: 10px 0 10px}

/*tabel css*/
table.rapi-tabel{
	width: 100%;
	background-color: floralwhite;
}
table.rapi-tabel, table.rapi-tabel th,
table.rapi-tabel tr, table.rapi-tabel td {border: 1px solid black;}
table.rapi-tabel th {background-color: lightblue;}
table.rapi-tabel th, table.rapi-tabel td {text-align: center;padding: 5px 0;}

table.rapi-tabel-2{
	width: 100%;
	background-color: lightyellow;
	border-collapse: separate;
}
table.rapi-tabel-2 thead{
	background-color: lightyellow;
	border-bottom: 1px solid black;
	position: sticky;
	top: 0;
}
table.rapi-tabel-2 th{ 
	border-bottom: 1px solid black;
	padding: 10px 5px;
}
table.rapi-tabel-2 tbody tr{
	border-bottom: 1px dotted black;
}
table.rapi-tabel-2 tbody td{
	border-bottom: 1px dotted black;
	padding: 10px 0;
	vertical-align: middle;
}
table.rapi-tabel-2 th, table.rapi-tabel-2 td {
	text-align: left;
}
table.rapi-tabel-2 th:last-child, table.rapi-tabel-2 td:last-child {
	text-align: right;
}

.penampung-tabel{
	max-height: 70vh;
	padding: 0;
	overflow-y: auto;
}

/*font-styling-class*/
.ctebal{font-weight: bold;}.cmiring{font-style: italic;}
.rtengah{text-align: center;} .rkanan{text-align: right;}

/*display-css-setting*/
.dib{ display: inline-block; }
.db{ display: block; }

/*elemen gambar*/
div.kontainer-gambar{
	background-color: rgba(255, 255, 255, .0);
	box-sizing: border-box;
	margin: 0;
	width: 100%;
}
img.gbr{
	width: 100%;
	height: 100%;
}
div.kontainer-gambar img.gbr{
	max-width: 100%;
	box-sizing: border-box;
}
div.kontainer-gambar div.bg-lingkaran {
	background-repeat: no-repeat;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	min-width: 100%;
	height: auto;
	padding-top: 100%;
}
div.kontainer-gambar img.img-lingkaran {
	object-fit: cover;
	object-position: center;
	aspect-ratio: 1/1;
	border-radius: 50%;
	box-sizing: border-box;
	max-width: 100%;
}
.k-ikon-teks{width: 18px;height: 18px;}
.k-ikon-teks img{
	object-fit: cover;
	object-position: center;
	aspect-ratio: 1/1;
	border-radius: 50%;
}

.k-ikon-menu{ max-width: 50px; }
.k-ikon-menu img{
	object-fit: contain;
	aspect-ratio: 1/1;
}

/*list-style*/
ul.daftar-t1, ol.daftar-t1{
	list-style-position: outside;
	line-height: 25px;
	text-align: justify;
}
ul.daftar-t1{ padding-left: 20px; }
ol.daftar-t1{ padding-left: 15px; }
ol.daftar-t1.num, ul.daftar-t1.num{ list-style-type: number; }
ol.daftar-t1.dis, ul.daftar-t1.dis{ list-style-type: disc; }
ol.daftar-t1.squ, ul.daftar-t1.squ{ list-style-type: square; }
ol.daftar-t1.cir, ul.daftar-t1.cir{ list-style-type: circle; }

/*general*/
section.utama{
	box-sizing: border-box;
	padding: 5px 0px 5px;
}

section.inner-sect{
	box-sizing: border-box;
	padding: 5px 0 5px;
	display: flex;
	flex-direction: column;
}

div.kontener{
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 5px 0;
}

div.kontener:has(> section.inner-sect){
	padding-left: 0;
	padding-right: 0;
}

section.inner-sect > div.kontener {
	padding-left: 0;
	padding-right: 0;
}

div.kontener > div.elemen{
	box-sizing: border-box;
	padding-bottom: 5px;
}

section.terbentang

section.kotak > div.kontener

span.not-angka{
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: red;
	color: white;
	font-size: 10px;
	text-align: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
}

/*fitur*/
/* Style tombol kolapsibel */
.kolapsibel {
  background-color: rgba(20, 255, 34, 1);
  color: #444;
  cursor: pointer;
  /*padding: 9px 18px;
  width: 100%;
  border: none;*/
  text-align: center;
  outline: none;
  font-size: 13px;
  margin-bottom: 10px;
}

/* warna bg tombol ketika hover dan kontennya tampil (add .tampilKolaps class with JS) */
.tampilKolaps, .kolapsibel:hover {background-color: #ccc;}

/* Style konten kolapsibel ketika tampil. Nb: default hidden */
.kontenKolaps {
  padding: 0 5px;
  display: none;
  overflow: hidden;
  flex-direction: column;
}

/*pop-up in barang/lihat-stok*/
/* Pembungkus semua elemen popup (background) */
.latar_pop {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  padding-bottom: 50px;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Kontainer konten popup */
.kontainer_konten_pop {
  background-color: #fefefe;
	/*background-color: transparent;*/
  margin: auto;
  padding: 0 0 0 0;
  border: 1px solid #888;
  width: var(--lebar-app);
}

/* The Close Button */
.tutup_pop {
  background-color: whitesmoke;
  width: 25px;
  height: 25px;
  text-align: center;
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: relative;
  right: 20px;
  top: 10px;
}

.tutup_pop:hover,
.tutup_pop:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.pop_window{background-color: rgba(196, 247, 225, 1.0);}
/*end popup*/

/*popup tipe 2*/
/*body:has(div.pop-up-window.aktif){ a }*/
div.pop-up-window{
	position: fixed;
	top: 0;
	background-color: rgba(0, 0, 0, .5);
	width: var(--lebar-app);
	height: 100vh;
	margin: auto;
	z-index: 999;
	display: none;
}
div.pop-up-window.aktif{ display: flex; }
div.pop-up-window div.isi-pop{
	position: relative;
	margin: auto;
	background-color: whitesmoke;
	width: calc(var(--lebar-app) - 25%);
	display: flex;
	flex-direction: column;
	padding: 15px 20px 10px;
	/*min-height: calc(100vh - 25%);*/
	max-height: 90%;
}
div.pop-up-window div.tutup{
	position: absolute;
	top: -10px; right: -10px;
	border: 2px solid white;
	background-color: red;
	color: white;
	font-size: 20;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
div.pop-up-window div.judul{
	border-bottom: 1px solid rgba(0, 0, 0, .2);
	padding-bottom: 10px;
	margin-bottom: 7px;
}
div.pop-up-window div.isi{
	overflow: auto;
}
/*end popup tipe 2*/

/*developing note*/
div.developing_note{
	padding: 10px;
	background-color: salmon;
	font-style: italic;
	color: white;
	font-size: 12px;
}

/*notifikasi aksi dan anim*/
.notif-sh.notif-hid{
	animation: shownotif 3s ease;
	display: block;
}
.notif-sh{
	display: none;
	filter: opacity(0);
	position: absolute;
	top: 0;
	right: 0;
	background-color: salmon;
	border: 1px solid black;
	border-radius: 8px;
	padding: 5px 15px;
}

@keyframes shownotif{
	0% { filter: opacity(0); }
	25% { filter: opacity(1); }
	75% { filter: opacity(1); }
	100% { filter: opacity(0); }
}

/*notifikasi push dan translate*/
.tampung_notpush{
	display: inline-flex;
	flex-direction: column;
	gap: 3px;
	position: absolute;
	top: 0;
	right: 0;
}
.notif-dorong{
	background-color: lightyellow;
	border: 2px solid black;
	border-radius: 10px;
	min-height: 30px;
	min-width: 50px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 3px 8px;
	font-weight: bold;
	opacity: 1;
	transition: opacity 3s, translate .5s;
	translate: 100%;
}
.notif-dorong.geserAndFade{
	opacity: .5;
	translate: 0;
}
	
/*media query*/
/* Extra small devices (portrait phones, less than 576px)*/
/*upcode*/

/*media query*/
/* Extra small devices (portrait phones, less than 576px)*/
@media (min-width: 576px) { ... }

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 768px) {
	section.inner-sect{
		flex-direction: row;
		gap: 10px;
	}

}