@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Cairo:wght@0,100;200;300;400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@200;300;400;500;600;700&display=swap');

html {
	scroll-behavior: smooth;
}

body {
	padding: 25px;
	background: #202020;
	font-family: 'Montserrat', 'Segoe UI', 'IBM Plex Sans Arabic', 'Al Bayan', 'Ebrima', sans-serif;
}

p {
	margin: 10px;
}

h2 {
	font-weight: 500;
	font-size: 2em;
	text-align: center;
	color: #fdfdfd;
}

h3 {
	font-size: 1.5em;
	font-weight: 500;
	text-align: center;
	border-bottom: solid black 3px;
	font-variant: small-caps;
	margin: 0px auto;
	max-width:600px;
}

.content {
	padding: 16px;
}

/* WARNA */

.latar- {
	background:#AAAAAA;
}

.latar-bn {
	background:#19196c;
}

.latar-bp {
	background:#c20000;
}

.latar-pn {
	background:#0057a4;
}

.latar-gt {
	background:#005e8c;
}

.latar-ps {
	background:#196c2a;
}

.latar-rs {
	background:#009cac;
}

.latar-bl {
	background:#6d6d6d;
}

.latar-pkr {
	background:#009cac;
}

.latar-md {
	background:#020202;
}

.parti- {
	background:#AAAAAA;
}

.parti-bn {
	background:#19196c;
}

.parti-bp {
	background:#c20000;
}

.parti-pn {
	background:#0057a4;
}

.parti-gt {
	background:#005e8c;
}

.parti-ps {
	background:#196c2a;
}

.parti-rs {
	background:#009cac;
}

.parti-wr {
	background:#5bc6f2;
}

.parti-bl {
	background:#6d6d6d;
}

.parti-pkr {
	background:#009cac;
}

.parti-md {
	background:#020202;
}

/* PEMFORMATAN */

.huruf-besar-kecil {
	font-variant: small-caps;
}

/* GAYA */

.badan {
}

.utama {
	margin: auto;
	padding: 15px;
	max-width: 1000px;
	background: #404040;
}

.tajuk {
	margin: auto;
	padding: 15px;
	max-width: 1000px;
	font-family: 'Montserrat', 'Segoe UI', 'IBM Plex Sans Arabic', 'Al Bayan', 'Ebrima', sans-serif;
	font-size: 2em;
	font-weight: 600;
	text-align: left;
	background: #303030;
	color: #FDFDFD;
}

.tajuk-isi {
	margin: 10px;
	line-height: 1;
	transition: 0.2s;
	display: flex;
	justify-content: center;
}

.tajuk-isi-jawi {
	font-family: 'Montserrat', 'Cairo', 'Segoe UI', 'IBM Plex Sans Arabic', 'Al Bayan', 'Ebrima', sans-serif;
	font-weight: 600;
}

.tajuk-sub {
	display:flex;
	align-content: center;
}

.tajuk-kotak {
	align-self: center;
}

.tajuk-tajuk {
	align-self: center;
	padding-left: 15px;
}

.tajuk-kecil {
	font-size: 0.45em;
	text-align: center;
	font-weight: 800;
}

.modul {
	margin: 10px auto;
	max-width: 600px;
}

.modul-bekas {
	margin: 10px auto;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	align-content: space-between;
	justify-content: center;
}

.modul-lebar {
	max-width: 600px;
}

.modul-nipis {
	width: 600px;
	display: flex;
	flex-direction: row;
	align-self: center;
	align-content: center;
	justify-content: space-around;
}
}

.negeri-bekas {
	
}

.negeri-anak {
	
}

button.negeri-anak {
	aspect-ratio: 1/1;
	border-radius: 50%;
	border: none;
	margin: 4px;
	padding: 4px;
	transition: transform .2s;
}

button.negeri-anak:hover {
	cursor: pointer;
	transform: scale(1.1);
}

.negeri-anak-buka {
	color: #FFF;
}

.negeri-anak-nyah {
}

.negeri-anak-gambar {
	width: 40px;
	margin: auto;
}

.jadual-tajuk {
	font-size: 1.75em;
	width: 100%;
}

.jadual-isi {
	font-size: 0.8em;
	width: 100%;
}

.sumber {
	margin-top: 10px;
	border-top:dashed 1px gray;
	padding-top:5px;
	font-size: 0.85em;
}

.senarai-menu {
	
}

.senarai-menu-jadual {
	text-align: center;
	color: white;
}

.senarai-menu-jadual-anak {
	width: 1%;
	text-align:center;
	transition: 0.2s;
}

.senarai-menu-jadual-anak:hover {
	opacity: 0.6;
	transition: 0.2s;
}

.senarai-menu-jadual-anak-isi {
	width: 100%;
	text-align:center;
	padding: 10px 0px;
}

.benaman-tulisan {
	height: 700px;
}

.padding-sifar {
	padding: 0px;
}

.pembawah {
	margin: auto;
	margin-bottom: -20px;
	padding-top: 5px;
	max-width: 1000px;
	background: #404040;
	color: #fdfdfd;
	text-align: center;
}

.pengaki {
	font-size: 1.25em;
	font-weight: 900;
	background: black;
	color:white;
	box-shadow: black 0px 0px 12px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 8px;
	text-align: center;
	transition: 0.5s;
}

.pengaki:hover {
	background: #EEE;
	color: black;
	transition: 0.34s;
}

/* CIRI-CIRI */

.lekat {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0px;
	padding: 10px;
	box-shadow: black 0px 0px 12px;
	background: #FFF;
	font-size: 0.5em;
	text-align: left;
}

.lekat-sub {
	margin: auto;
	max-width: 378px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.nyahlekat-gambar {
	width: 300px;
}

.lekat-gambar {
	width: 70px;
}

.lekat-kotak {
	width: 70px;
}

.lekat-tajuk {
	width: calc(100% - 80px);
	padding-left: 8px;
}

.fleks {
	display: flex;
	justify-content: space-between;
}

.fleks-isi-50 {
	width: 50%;
	text-align: center;
	padding: 15px 10px;
}

.fleks-isi-100 {
	width: 100%;
	text-align: center;
	padding: 15px 10px;
}

.fleks-bergerakbalas-menu {
	display: flex;
	flex-direction: row;
	
}

.fleks-bergerakbalas-menu > * {
	flex: 1 1 0;
	margin-top:0px;
}

.fleks-bergerakbalas-menu-anak {
	width: 33.33%;
}

.menu-anak {
	min-height: 240px;
	width: 100%;
	padding-bottom:15px;
	font-size:1.5em;
	font-weight: regular;
	display: flex;
	align-items: end;
}

.menu-anak:hover {
	opacity: 0.8;
	transition: 0.2s;
}

.inti-menu {
	margin-left: 15px;
	line-height: 0.9em;
}

.keputusan-bekas {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	justify-content: center;
}

.keputusan {
	border-radius: 8px;
	color: white;
	width: 45%;
	text-align: center;
	padding: 10px 10px;
	margin: 0.5%;
	display: flex;
	flex-direction: column;
}

.keputusan-negeri {
	border-radius: 8px;
	width: 100%;
	font-weight: 500;
	font-size: 1.5em;
	text-align: center;
	color: #fdfdfd;
	line-height: 1;
	padding: 24px;
	background: #202020;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.keputusan-negeri-peletakganti {
	display: inherit;
}

.keputusan-anak-logo {
	display: flex;
	align-content: center;
	justify-content: center;
}
	
.keputusan-anak-logo-gambar {
	margin: none;
}

.keputusan-anak-nama-bekas {
	width: 100%;
}

.keputusan-anak-nama {
	font-size: 1.2em;
	text-align: center;
	direction: rtl;
}

.keputusan-anak-kerusi {
}

.keputusan-anak-kerusi-angka-bekas {
	vertical-align: middle;
	padding-bottom: 10px;
	padding-right:10px;
}

.keputusan-anak-kerusi-angka {
	font-size: 4em;
	font-weight: 800;
	margin-top: 10px;
	line-height: 1.1;
}

.keputusan-anak-kerusi-angka-undi {
	font-size: 3.5em;
	font-weight: 800;
	margin-top: 10px;
	line-height: 1.1;
}

.keputusan-anak-kerusi-tulis {
	font-weight:500;
	margin-top: -10px;
}

.keputusan-seluruh-bekas {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	justify-content: center;
}

button.keputusan-seluruh {
	border-radius: 8px;
	border: none;
	font: inherit;
	color: white;
	width: 49%;
	text-align: center;
	padding: 10px 10px;
	margin: 0.5%;
	display: flex;
	flex-direction: row;
}

.keputusan-seluruh-negeri {
	border-radius: 8px;
	width: 100%;
	font-weight: 500;
	font-size: 1.5em;
	text-align: center;
	color: #fdfdfd;
	line-height: 1;
	padding: 24px;
	background: #202020;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.keputusan-seluruh-negeri-peletakganti {
	display: inherit;
}

.keputusan-seluruh-anak-logo {
	display: flex;
	align-content: center;
	justify-content: center;
}
	
.keputusan-seluruh-anak-logo-gambar {
	margin: none;
}

.keputusan-seluruh-anak-nama-bekas {
	width: 100%;
}

.keputusan-seluruh-anak-nama {
	font-size: 1.2em;
	text-align: center;
	direction: rtl;
}

.keputusan-seluruh-anak-kerusi {
}

.keputusan-seluruh-anak-kerusi-angka-bekas {
	vertical-align: middle;
	padding-bottom: 10px;
	padding-right:10px;
}

.keputusan-seluruh-anak-kerusi-angka {
	font-size: 4em;
	font-weight: 800;
	margin-top: 10px;
	line-height: 1.1;
}

.keputusan-seluruh-anak-kerusi-angka-undi {
	font-size: 3.5em;
	font-weight: 800;
	margin-top: 10px;
	line-height: 1.1;
}

.keputusan-seluruh-anak-kerusi-tulis {
	font-weight:500;
	margin-top: -10px;
}

.senarai-anak {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-left:15px;
}

.senarai-anak-tulis {
	width: calc(100% - 80px);
	color: white;
	font-weight: 500;
	font-size: 1.1em;
}

.senarai-anak-lambang {
	padding-right: 5px;
	height: 75px;
}

.kebawah-butang {
    background-color: #25295D;
    color: white;
	font-weight: 500;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.kebawah {
    position: relative;
    display: inline-block;
}

.kebawah-kandungan {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	transition: 0.2s;
}

.kebawah-kandungan a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	transition: 0.2s;
}

.kebawah-kandungan a:hover {background-color: #f1f1f1}

.kebawah:hover .kebawah-kandungan {
    display: block;
	transition: 0.2s;
}

.kebawah:hover .kebawah-butang {
    background-color: #171939;
}

.halimunan-ketika-atasmeja {
	display:none;
}

.subtajuk-pemanjangan {
	padding-top: 307px;
}

.kotak-jelma {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	padding-bottom: 100px;
	left: 0;
	top: 0;
	width: 100%;
	max-height: 100vh;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	transition: 0.3s;
}

.kotak-menjelma {
	display: block !important;
	transition: 0.3s;
}

.kotak-jelma-isi {
	background-color: #fefefe;
	margin: auto;
	margin-bottom: 20px;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-height: calc(80vh - 192px);
	overflow: auto;
}

.kotak-jelma-pengepala {
	background-color: #171939;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	text-align: center;
	color: white;
  	font-family: 'Montserrat', 'Reem Kufi', 'Segoe UI', 'IBM Plex Sans Arabic', 'Al Bayan', 'Ebrima', sans-serif;
	font-size: 2em;
	font-weight: 600;
	line-height: 1;
}

.kotak-jelma-tutup {
	color: #FFF;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.kotak-jelma-tutup:hover,
.kotak-jelma-tutup:focus {
	color: #AAA;
	text-decoration: none;
	cursor: pointer;
	transform: rotate(180deg);
	transition: 0.5s;
}

@media screen and (max-width: 800px) {

	body {
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 0px;
	}
	
	.halimunan-ketika-atasmeja {
		display:block;
	}
	
	.halimunan-ketika-mudahalih {
		display:none;
	}

	.fleks-bergerakbalas-menu {
		flex-direction: column;
		margin-top:10px;
		border-left: solid black 15px;
		width: calc(100% - 15px);
	}
	
	.fleks-bergerakbalas-menu-anak {
		width: 100%;
	}
	
	.menu-anak {
		min-height: 100px;
		width: 100%;
		padding-top: 0px;
		padding-bottom: 0px;
		font-size: 1.8em;
		display: flex;
		align-items: center;
	}

	.inti-menu {
		margin-left:15px;
	}

	.modul-bekas {
		flex-direction: column;
	}

	.modul-nipis {
		flex-direction: row;
		justify-content: space-between;
		max-width: none;
		width: 100%;
		padding-bottom: 4px;
	}

	.negeri-anak-gambar {
		width: 32px;
	}
	
	.keputusan {
		width: 100%;
		margin: 1%;
		padding: 0px 0px;
		display: flex;
		flex-direction: row;
	}

	.keputusan-negeri-peletakganti {
		display: inherit;
	}
	
	.keputusan-anak-logo {
		align-self: center;
		display: flex;
	}
	
	.keputusan-anak-logo-gambar {
		width: 100px !important;
		margin: 0px 20px;
		align-self: center;
	}
	
	.keputusan-anak-nama {
		line-height: 1;
		font-size: 1em;
		font-weight: 500;
		direction: rtl;
		text-align: left;
		align-self: center;
	}
	
	.keputusan-anak-nama-bekas {
		display: flex;
	}
	
	.keputusan-anak-kerusi-angka-bekas {
		vertical-align: middle;
		padding:5px 15px 15px 15px;
		display: flex;
	}
	
	.keputusan-anak-kerusi-angka {
		line-height: 1.5;
		font-size: 3.5em;
		align-self: center;
	}
	
	.keputusan-anak-kerusi-angka-undi {
		line-height: 2.5;
		font-size: 2em;
		align-self: center;
	}
	
	.keputusan-anak-kerusi-tulis {
		display: none;
	}
	
	button.keputusan-seluruh {
		width: 48%;
		margin: 1%;
		padding: 8px 0px;
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}

	.keputusan-seluruh-negeri-peletakganti {
		display: inherit;
	}
	
	.keputusan-seluruh-anak-logo {
		align-self: center;
		display: flex;
	}
	
	.keputusan-seluruh-anak-logo-gambar {
		width: 75px !important;
		align-self: center;
	}
	
	.keputusan-seluruh-anak-nama {
		line-height: 1;
		font-size: 1em;
		font-weight: 500;
		direction: rtl;
		text-align: center;
		align-self: center;
		padding-bottom: 8px;
	}
	
	.keputusan-seluruh-anak-nama-bekas {
		width: 50%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}
	
	.keputusan-seluruh-anak-kerusi-angka-bekas {
		vertical-align: middle;
		padding:5px 15px 15px 15px;
		display: flex;
	}
	
	.keputusan-seluruh-anak-kerusi-angka {
		line-height: 1.5;
		font-size: 3.5em;
		align-self: center;
	}
	
	.keputusan-seluruh-anak-kerusi-angka-undi {
		line-height: 2.5;
		font-size: 2em;
		align-self: center;
	}
	
	.keputusan-seluruh-anak-kerusi-tulis {
		display: none;
	}
	
	.padding-tambah {
		padding-top: 74px;
	}
	
	.بطلtajuk-sub {
		flex-direction: column;
		text-align: center;
	}
	
	.بطلkepala-dalamtalian {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		margin: 0px;
		padding: 10px;
		box-shadow: black 0px 0px 12px;
		background: #FFF;
		font-size: 0.5em;
		text-align: left;
	}
	
	.بطلkepala-dalamtalian-sub {
		margin: auto;
		max-width: 381px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.بطلkepala-dalamtalian-gambar {
		width: 70px;
	}
	
	.بطلkepala-dalamtalian-kotak {
		width: 70px;
	}
	
	.بطلkepala-dalamtalian-tajuk {
		width: calc(100% - 80px);
		padding-left: 8px;
	}
	
	.gantung {
		display:none;
	}
	
	.benaman-tulisan {
		height:400px;
	}
	
	.subtajuk-pemanjangan {
		padding-top: 0px;
	}
	
	.kotak-jelma {
		padding-top: 20px;
	}
	
	.kotak-jelma-pengepala {
		font-size: 1.2em;
	}
	
	.بطلkotak-jelma-isi {
		max-height: calc(60vh - 192px);
	}
}

.anak-1 {
	background-image: url(./aset/butang-keputusan.jpg);
	background-size:cover;
	background-position: center;
}

.anak-2 {
	background-image: url(./aset/butang-senarai.jpg);
	background-size:cover;
	background-position: center;
}

.anak-3 {
	background-image: url(./aset/butang-maklumat.jpg);
	background-size:cover;
	background-position: center;
}

.jidar-tegak-tengah {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.gantung {
	position: fixed;
	top: 20px;
}

.butang-segarsemula {
	background: #FDFDFD;
	color: #202020;
	max-width: 270px;
	padding: 15px;
	margin: auto;
	border-radius: 8px;
	text-align:center;
}

.petua {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
}

.petua .petua-tulisan {
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;

	position: absolute;
	z-index: 1;
	top: 100%;
	left: 50%;
	margin-left: -60px;
}

.petua:hover .petua-tulisan {
	visibility: visible;
}

.lajur {
	column-count: 4;
}

.kembali-butang-sorok {
	width: 40px;
	height: 40px;
	background: #0675c4;
	position: fixed;
	bottom: 120px;
	right: -45px;
	border-radius: 50%;
	border: solid 1px #044b7a;
	transition: all .2s ease-in-out;
	box-shadow: 0 4px 5px 0 rgba(16,21,23,.14),0 1px 10px 0 rgba(16,21,23,.12),0 2px 4px -1px rgba(16,21,23,.2);
	cursor: pointer;
	text-align:center;
	color: white;
	font-size: 2.1em;
	font-weight: 900;
}

.kembali-butang {
	width: 40px;
	height: 40px;
	background: #0675c4;
	position: fixed;
	bottom: 120px;
	right: 20px;
	border-radius: 50%;
	border: solid 1px #044b7a;
	transition: all .2s ease-in-out;
	box-shadow: 0 4px 5px 0 rgba(16,21,23,.14),0 1px 10px 0 rgba(16,21,23,.12),0 2px 4px -1px rgba(16,21,23,.2);
	cursor: pointer;
	text-align:center;
	color: white;
	font-size: 2.1em;
	font-weight: 900;
}

.kembali-butang:hover {
	background:#0675c4;
	transform:scale(1.15)
}

.keterangan-butang {
	width: 40px;
	height: 40px;
	background: #0675c4;
	position: fixed;
	bottom: 60px;
	right: 20px;
	border-radius: 50%;
	border: solid 1px #044b7a;
	transition: all .2s ease-in-out;
	box-shadow: 0 4px 5px 0 rgba(16,21,23,.14),0 1px 10px 0 rgba(16,21,23,.12),0 2px 4px -1px rgba(16,21,23,.2);
	cursor: pointer;
	text-align:center;
	color: white;
	font-size: 2.1em;
	font-weight: 600;
}

.keterangan-butang:hover {
	background:#0675c4;
	transform:scale(1.15)
}

.apung-isi {
	max-width: 800px;
	margin: auto;
	display: flex;
	align-content: center;
}

.nyahapung {
	position: fixed;
	top: -100px;
	left: 0;
	background: rgba(48,48,48,0.9);
	padding:10px;
	width: 100%;
	transition: 0.3s;
	color: #fdfdfd;
}

.apung {
	position: fixed;
	top: -100px;
	left: 0;
	background: rgba(48,48,48,0.9);
	padding:10px;
	width: 100%;
	top: 0;
	transition: 0.3s;
	color: #fdfdfd;
}

.keputusan-menang {
	font-weight: bold;
}

.keputusan-menang::after {
	content: " - M/مـ";
}

.keputusan-kalah::after {
	font-weight: 600;
	content: " - K/ک";
}

.keputusan-hilangdeposit::after {
	font-weight: 600;
	content: " - HD/.ه‍.د";
}