/* .content-container { */
/* 	background: #CCCCCC; */
/* } */

/* -----------new content---------- */
.login-body {
	/* background:
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/BackgroundAwamTRG2.png.xhtml')
		no-repeat;
	background-size: cover; */
	background-size: 100% 100%;
	background-position: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-family: 'Quicksand';
	background-position: center;
}
.tab-container {
  text-align: center;
}

.tab {
  display: inline-block;
  position: relative;
  text-align: center;
  font-size: 14px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  background-color: rgba(50, 59, 64, 1);
  padding: 10px 20px;
  margin: 20px auto 0 auto;
  border-radius: 8px;
}

.tab a {
  text-decoration: none;
  color: #f3f4f3;
  padding: 10px 15px;
  display: inline-block;
  position: relative;
}

/* Underline effect only */
.tab a:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease, left 0.3s ease;
}

/* Animate underline on hover */
.tab a:hover:after,
.tab a:focus:after {
  width: 100%;
  left: 0;
}


*, *:after, *:before {
  box-sizing: border-box;
}

a:hover, a:focus {
  outline: none;
}

.header-content {
	color: #333333;
	font-size: 14px;
	font-weight: bold;
	font-family: 'Quicksand';
}

.content-info {
	padding-top: 10px;
	text-align: center;
	font-family: 'Quicksand';
	font-size: 14px;
	/* background: #D8F2F2; */
	color: #ffffff;
}

.bottom-wrapper-content-1 {
	width: 107%;
	/* margin: 0 0 0 30px; */
}

.wrapper-container {
	margin: 0 auto;
	width: 50%;
	padding: 144px 33px 55px 60px;
}

.wrapper-container-content {
	width: 49%;
	display: inline-table;
	text-align: left;
}

.wrapper-content-1 {
	background: #D8F2F2;
	width: 75%;
	padding: 8px 40px 58px 40px;
	/* padding: 18px 22px 56px 22px; */
}

.content-border {
	border: solid 1px #eee;
	padding: 17px 20px 25px 35px;
	margin-left: 55px;
}

.wrapper-content-2 {
	/* margin: 20px 38px 20px 38px; */
	
}

.container-content p {
	float: left;
	line-height: 14px;
	color: #333333;
	font-size: 17px;
	font-family: 'Quicksand';
}

.container-content img {
	/* width: 13%; */
	padding-left: 3px;
}

.wrapper-container-bottom img {
	width: 100%;
}

.wrapper-container-bottom {
	margin: 30px 0;
	display: inline-flex;
}

.content-bottom {
	margin: 3% 9%;
}

/* -------------end new content-------------------------- */
body {
	margin: 0;
	background: #fff;
}

html, body {
	height: 100%;
}

div#header {
	background: #fecc35;
	text-align: center;
}

div#header img {
	width: 65%;
}

/*CONTENT*/
div#content {
	/* 	background: #CCCCCC; */
	
}

.awam-login-middle-wrapper {
	margin: 0 auto;
	width: 409px;
	/* padding: 90px 0 50px 0;
	height: 286px; */
	padding: 115px 0 230px 0;
}

.awam-username-wrapper {
	background: #ffffff url('/etanah-awam/javax.faces.resource/img/awam-login-page/login.jpg.xhtml')
		no-repeat 0 0;
	width: 389px;
	padding-top: 111px;
	padding: 111px 10px 0 10px;
}

.username-panel, .password-panel {
	height: 40px;
	margin-bottom: 3px;
}

/* #username {
	border-radius: 10px;
	border: 2px solid #aba4a4;
	background: #6ACFCE
		url(/etanah-awam/javax.faces.resource/img/awam-login-page/username1.png.xhtml)
		no-repeat 0 0;
	background-position: left center;
	padding: 20px;
	text-indent: 15px;
	width: 100%;
	height: 15px;
} */

/* #password {
	border-radius: 10px;
	border: 2px solid #aba4a4;
	background: #6ACFCE
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/password1.png.xhtml') no-repeat 0 0;
	background-position: left center;
	text-indent: 17px;
	padding: 20px;
	width: 100%;
	height: 15px;
}
 */
.login-content {
	padding: 30px;
}

.username-panel label, .password-panel label {
	line-height: 40px;
}

.username-panel input {
	background: #ffffff
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/email-icon.png.xhtml') no-repeat 0 0;
}

.password-panel input {
	background: #ffffff
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/password-icon.png.xhtml') no-repeat 0 0;
}

.username-panel input, .password-panel input {
	padding: 0 0 0 35px;
	height: 35px;
	background-position: 4px 6px;
	width: 90%;
	border-radius: 0;
}

.log-masuk {
	
}

.log-masuk-panel input {
	border: none;
	height: 36px;
	width: 110px;
	margin-top: 10px;
	margin-left: 15%;
	background: url('/etanah-awam/javax.faces.resource/img/awam-login-page/AwamLogin1.png.xhtml') 10%
		0 no-repeat;
}

.log-masuk-panel input[type="reset"] {
	border: none;
	height: 36px;
	width: 110px;
	margin-top: 15px;
	margin-left: 5%;
	background: url('/etanah-awam/javax.faces.resource/img/awam-login-page/AwamReset1.png.xhtml') 10%
		0 no-repeat;
}

.reset-panel input {
	border: none;
	height: 58px;
	width: 110px;
	margin-top: 10px;
	margin-left: 15%;
	background: url('/etanah-awam/javax.faces.resource/img/awam-login-page/AwamReset1.png.xhtml') 10%
		no-repeat;
}

.log-masuk-panel-eng input {
	border: none;
	height: 36px;
	width: 110px;
	margin-top: 10px;
	margin-left: 15%;
	background:
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/AwamLoginEnglish.png.xhtml') 10% 0
		no-repeat;
}

.log-masuk-panel-eng input[type="reset"] {
	border: none;
	height: 36px;
	width: 110px;
	margin-top: 15px;
	margin-left: 5%;
	background: url('/etanah-awam/javax.faces.resource/img/awam-login-page/AwamResetEng.png.xhtml')
		10% 0 no-repeat;
}

.log-masuk-panel {
	/* padding: 0 10px 0 30px;
	position: relative; */
	/* height: 40px;
	left: 100px; */
	/* padding: 0 10px 0 8px; */
	/* 	background-position: 10px 30px; */
	
}

.terlupa-katalaluan-wrapper {
	padding-left: 60px;
	padding-top: 3px;
}

.display-table-row.awam-daftar-akaun-wrapper {
	background:
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/login-bottom-bg.png.xhtml')
		no-repeat 0 0;
	height: 50px;
}

.awam-login-manual-penguna ul {
	list-style-image:
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/login-bottom-bg.png.xhtml');
}

a.daftar-link.cas_login {
	color: #666666;
	padding: 15px 34px 40px 0;
	float: right;
}

a.daftar-link {
	padding-right: 40px;
	background-image:
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/double-tri.png.xhtml');
	background-repeat: no-repeat;
	background-position: 95px 14px;
}

/* NEW CONTENT */

/* .wrapper-container{
	background: #fff;
    margin: 0 auto;
    width: 650px;
    padding: 8px 120px 8px 22px;
    box-shadow: 0px 0px 9px #999999;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
} */

/* .wrapper-container-content{
    width: 49%;
    display: inline-table;
    text-align: left;
} */

/* .wrapper-content-1{
    border-right: 1px solid #dadada;
} */

/* .wrapper-content-2{
	 padding: 0 25px;
} */
.content-header p {
	float: left;
	line-height: 40px;
	color: #777777;
	font-size: 17px;
	font-family: 'Quicksand';
}

.content-header img {
	width: 23%;
	padding-left: 12px;
}

.display-table-row-awam-link {
	padding: 12px 0;
	text-align: center;
	font-size: 18px;
	font-family: 'Quicksand';
}

.content p {
	margin: 0 auto;
	color: #2ebbfc;
	font-weight: bold;
	font-size: 12px;
	font-family: 'Quicksand';
}

.content div {
	padding: 8px 0;
}

.content-button {
	display: inline-flex;
	margin: 0 33px;
}

.daftar-akaun-panel img {
	margin: 0 0 15px 0;
	width: 75%;
}

.info {
	/* font-style: italic; */
	font-weight: 100;
	font-size: 11px;
	font-family: 'Quicksand';
	text-align: center;
	margin: 0 22px;
}

/*FOOTER*/
/* #footer {
	width: 100%;
	height: 54px;
	clear: both;
	background-image:
		url('/etanah-awam/javax.faces.resource/img/awam-login-page/bg_footer.jpg.xhtml');
	position: absolute;
	bottom: 0;
	left: 0;
}

#footer footer div.awam-footer {
	width: 90%;
	line-height: normal;
	font-size: 12px;
	color: #fff;
	padding: 10px 0;
	margin: 0 auto
}

.awam-footer {
	background: #263646;
}

.awam-footer-container ul {
	margin: 0;
}

.awam-footer-container {
	color: #EAEAEA;
	text-decoration: none;
	padding-left: 71px;
}

div.awam-footer-container li {
	display: inline-table
}

div.awam-footer-container li#awam-footer-left {
	width: 33%;
	margin-left: 0.2%
}

div.awam-footer-container li#awam-footer-middle {
	width: 33%
}

div.awam-footer-container li#awam-footer-right {
	width: 33%
}

div.awam-footer-container {
	clear: both;
	text-align: center;
	border-top: 2px solid #666;
	padding-top: 5px;
	line-height: 3px;
}

.awam-footer-bottom {
    background: #333333;
    padding: 6px 0;
    color: #b5b5a9;
    text-align: center;
    height: 50px;
    font-family: 'Open Sans';
    font-size: 14px;
    line-height: 22px;
    padding: 10px 0 10px 0;
    padding: 22px 0 16px 0;
    margin: 0 auto;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.footer1 {
    font-weight: bold;
}

p#awam-footer-bottom-link a {
	color: rgb(35, 141, 180);
	padding-right: 3px;
	font-weight: bold;
	line-height: 11px
}

p#awam-footer-bottom-link {
	text-align: center;
	margin: 0 10%;
	padding-top: 23px;
}

p#awam-footer-bottom-link a:hover {
	color: #fff;
	cursor: pointer
}

 */
/* End Footer */
#h {
	font-family: "bebasNeue", Helvetica, Arial, sans-serif;
	font-size: 20px;
	border-bottom: 3px solid #666666;
	padding-left: 20px
}

p.f-h-kami {
	background:
		url('/etanah-awam/javax.faces.resource/theme/public/blue/img/add.png.xhtml')
		0 5px no-repeat
}

p.f-aduan {
	background:
		url('/etanah-awam/javax.faces.resource/theme/public/blue/img/aduan.png.xhtml')
		0 0 no-repeat
}

p.f-u-lazim {
	background:
		url('/etanah-awam/javax.faces.resource/theme/public/blue/img/fav.png.xhtml')
		0 0 no-repeat
}

p#p a {
	color: #ffffff;
}

#p {
	font-size: 11px;
	line-height: 20px;
	font-family: "bebasNeue", Helvetica, Arial, sans-serif;
}

/* New Footer */
.footer {
	/* 	padding: 26px 0 26px 0; */
	padding: 30px 0 96px 0;
	background-color: #eee;
	text-align: center;
	font-size: 11px;
	color: #ffffff;
	position: absolute;
	left: 0;
	/* bottom: 0;  */
	width: 100%;
}

.footer-division:nth-child(1) {
	margin-right: 5%;
}

.footer-division1:nth-child(1) {
	margin-right: 5%;
}

.footer-division1 {
	width: 30%;
	display: inline-table;
	text-align: left;
}

.table-class td {
	background: transparent !important;
}

.footer-division {
	width: 30%;
	display: inline-table;
	text-align: left;
}

.footer-div-header {
	font-size: 13px;
	/* font-weight: bold; */
	/* border-bottom: 1px solid #eee; */
	margin-bottom: 11px;
	font-family: Quicksand;
}

div#footer-container p {
	line-height: 20px;
}

div#footer-container p a {
	color: yellow;
	font-weight: bold;
}

div#footer-container1 {
	background: #191919;
	/* 	margin: -7px 0 0 0; */
	margin: -7px 0 1px 43px;
}

.footer {
	font-size: 12px;
	color: #fff;
	background: #151515;
}

div#footer-container p a {
	color: rgb(255, 102, 51);
}

.above-footer {
	padding: 10px 0;
	margin-top: -42px;
	background-color: #ffcc08;
	position: absolute;
	left: 0;
	width: 100%;
}

.above-footer p {
	font-size: 16px;
	color: #fff;
	margin: 0 auto !important;
	font-family: 'Quicksand';
}

.below-footer {
	/*     margin-top: -15px; */
	/*     padding: 10px 0; */
	padding: 8px 0 15px 0;
	background-color: #191919;
	position: absolute;
	left: -48px;
	right: 0;
	/*     width: 100%; */
}

.below-footer p {
	font-size: 12px;
	color: #fff;
	margin: 0 auto !important;
	font-family: 'Quicksand';
	text-align: left;
	padding-left: 19.5%;
}

.below-footer img {
	/*     width: 7%; */
	margin-left: 30%;
}

.bottom-content-footer img {
	/*     width: 25%; */
	/*     margin-left: 68%; */
	margin-left: 390%;
}

.footer-div-content {
	margin-left: 75%;
}

@media screen and (max-width: 1500px) {
	.below-footer img {
		/*     width: 7%; */
		margin-left: 20% !important;
	}
	.below-footer p {
		font-size: 12px;
		color: #fff;
		margin: 0 auto !important;
		font-family: 'Quicksand';
		text-align: left;
		padding-left: 17% !important;
	}
}

.wrapper-container-content {
	width: 49%;
	display: inline-table;
	text-align: left;
	width: 80%;
	height: 50%;
	/* position: absolute; */
	margin-bottom: 0;
	border-radius: 12px;
	bottom: 0;
	text-align: center;
	background-color: #ffffff;
	box-shadow: 0px 0px 9px #999999;
}

/* .login-body .login-panel {
	left: 25%;
	padding: 12px;
	width: 60%;
	height: 380px;
	position: absolute;
	margin-bottom: 50px;
	border-radius: 0;
	bottom: 0;
	text-align: center;
	background-color: #ffffff;
	border-radius: 20px;
	width: 60%;
} */
.login-body .login-panel {
	left: 30%;
	padding: 20px;
	height: 309px;
	position: absolute;
	border-radius: 0;
	/* bottom: 0; */
	text-align: center;
	background-color: #ffffff00;
	border-radius: 20px;
	width: 40%;
	margin-bottom: 5%;
	/* box-shadow: 0px 0px 9px #999999;*/
}

.square {
	position: relative;
	height: 100vh;
	overflow: hidden;
	font-family: "Montserrat", sans-serif;
}

.square__title {
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 50px;
	z-index: 1;
}

.cube {
	position: absolute;
	top: 80vh;
	left: 45vw;
	width: 10px;
	height: 10px;
	border: solid 1px #003298;
	transform-origin: top left;
	transform: scale(0) rotate(0deg) translate(-50%, -50%);
	-webkit-animation: cube 12s ease-in forwards infinite;
	animation: cube 12s ease-in forwards infinite;
}

.cube:nth-child(2n) {
	border-color: #0051f4;
}

.cube:nth-child(2) {
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
	left: 25vw;
	top: 40vh;
}

.cube:nth-child(3) {
	-webkit-animation-delay: 4s;
	animation-delay: 4s;
	left: 75vw;
	top: 50vh;
}

.cube:nth-child(4) {
	-webkit-animation-delay: 6s;
	animation-delay: 6s;
	left: 90vw;
	top: 10vh;
}

.cube:nth-child(5) {
	-webkit-animation-delay: 8s;
	animation-delay: 8s;
	left: 10vw;
	top: 85vh;
}

.cube:nth-child(6) {
	-webkit-animation-delay: 10s;
	animation-delay: 10s;
	left: 50vw;
	top: 10vh;
}

body .ui-inputfield {
	background: transparent !important;
	border: none !important;
	color: #000000;
	font-size: 16px;
}

input#btnLogMasuk, input#btnReset {
	color: #ffffff;
	font-weight: bold;
	padding: 10px 12px;
	background: transparent;
	border: none;
	text-align: center;
	cursor: pointer; 
    height: 40px;
    width: 170px;
}

@media ( max-width : 1025px) {
	.login-body .login-panel {
		width: 67%;
	}
}

.layout-footer {
	display: block !important;
	text-align: center;
	position: fixed;
	left: 0 !important;
	bottom: 0;
	width: 100% !important;
	margin-left: 0 !important;
	color: #000000;
	font-weight: bold;
	font-size: 11px;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-y: hidden;
}

.bgOverlay {
	width: 100%;
	height: 100%;
	opacity: 1;
	object-fit: cover;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: -1;
}

.flexbox-container {
	display: grid;
	gap: 10px;
	padding: 5px;
	height: 85vh;
	justify-items: center;
	box-sizing: border-box;
	border: 5px solid white;
	border-radius: 20px;
	margin: 0 50px 50px 50px;
}

.flexbox-item {
	margin: 0px;
}

/* Right overlay section */
/* Bottom div for portal overlay */
.flexbox-item-3 {
    height: 37vh;
    width: 100%;
    display: flex;
     justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
    margin-top: 15px;
}

.portalOverlay {
    width: 100%;
    height: 100%;
    position: relative; /* stays inside container */
    border-radius: 10px;
	margin-left: 50px;
	padding-bottom: 2px;
}

.divJawi img {
	margin-top: 10px;
	max-width: 100%;
	height: 100%;
}

.container {
  display: flex;
  height: 60vh; /* Same height for both child divs */
  width: 100%;
  gap: 20px; /* Optional spacing between divs */
  box-sizing: border-box;
  padding: 10px;
}

.flexbox-item-2 {
  display: flex;
  width: 100%;
  min-height: 300px; 
  height: auto;  
  box-sizing: border-box;
  position: relative;

}

/* LEFT: Logo section */
.divLogo {
  flex: 1; /* 1 portion of space */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 10px;
  position: relative;
  object-fit: cover;
  
  
}

.divLogo img {
    height: 90px;
    max-width: 100%;
    object-fit: contain;
}

/* RIGHT: Slideshow section */
.slide-img {
  flex: 8; /* 3 portions of space */
  height: 100%;
}

.slideshow-container {
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}

.slide {
  display: none;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slide.active {
  display: block;
}

.dots-container {
  display: flex;
  justify-content: center; /* center the dots horizontally */
  margin-top: 10px;
  position: relative;
}

.dots {
  display: flex;              /* Lay out the dots in a row */
  justify-content: center;    /* Center the dots horizontally */
  align-items: center;
  gap: 10px;                  /* Space between dots */
  padding: 0;
  margin: 0;
  list-style: none;
}

.dots li {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 20px;
  transition: width 4s ease;
  cursor: pointer;
   margin: 0;
}

.dots li.active-dots {
  width: 30px;
}

.form-box {
    position: fixed;
    background: #b4d7df;
 width: 440px;      /* fixed = consistent look */
    min-height: 250px; 
    /* display: flex
; */
    display: inline-grid;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    padding: 10px;
    border-radius: 20px;
    right: 6%;
    padding-bottom: 2px;
}

form .txt_field {
	/* position: relative; */
	border-bottom: 2px solid #adadad;
	/* margin: 30px 0; */
}
/* .txt_field input {
                width: 100%;
                padding: 0 5px;
                height: 40px;
                font-size: 16px;
                color: white;
                border: none;
                background: none;
                outline: none;
            } */
.txt_field label {
	position: absolute;
	top: 50%;
	left: 5px;
	color: white;
	transform: translateY(-50%);
	transition: 0.5s;
	font-size: 16px;
	pointer-events: none;
}

.txt_field span::before {
	content: '';
	position: absolute;
	top: 40px;
	left: 0;
	width: 0%;
	height: 2px;
	background: #281414;
	transition: .5s;
}

.txt_field input:focus ~label, .txt_field input:valid ~label {
	top: -5px;
	color: #281414;
}

.txt_field input:focus ~span::before, .txt_field input:valid ~span::before
	{
	width: 100%;
}

.txt_field2 {
	margin: 0;
	color: #281414;
	cursor: pointer;
	font-weight: bold;
	position: absolute;
	bottom: 30%;
    padding-bottom: 5px;
    right: 30%;;
}

.buttonLogin {
	height: 40px;
	width: 170px;
	border: 1px solid #281414;
	background-color: #281414;
	border-radius: 25px;
	font-size: 15px;
	color: #e9f4fb;
	font-weight: 700;
	cursor: pointer;
	outline: none;
	transition: background-color 1.0s, color 1.0s;
	text-align: center;
}

.button-container {
	display: flex;
	justify-content: space-between;
	/* margin-bottom: 6px; */
}

.buttonLogin:first-child {
	margin-right: 10px;
}

.buttonLogin:hover {
  background-color: #281414;
  color: rgba(50, 59, 64, 1); /* text color contrast */
}

.signup {
	margin: 30px 0;
	text-align: center;
	font-size: 16px;
	color: #D3D3D3;
}

.signup a {
	color: #2691d9;
	text-decoration: none;
}

.signup a:hover {
	text-decoration: underline;
}

.footer {
	position: fixed;
	bottom: 0;
	left: 250px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	color: #D3D3D3;
	font-size: 14px;
}

.animate h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 60px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: 2px;
	word-wrap: break-word;
	margin: 0px;
	max-width: 100%;
	color: white;
	/* margin-top: 10px; */
}

.animate p {
	font-family: 'Montserrat', sans-serif;
	font-size: 55px;
	font-weight: 500;
	font-style: italic;
	letter-spacing: 2px;
	word-wrap: break-word;
	margin: 0px;
	max-width: 100%;
	color: white;
	margin-top: -30px;
}

.animate span {
	display: inline-block;
}

/*Animation Text*/
.animate span:nth-of-type(2) {
	animation-delay: .1s;
}

.animate span:nth-of-type(3) {
	animation-delay: .15s;
}

.animate span:nth-of-type(4) {
	animation-delay: .2s;
}

.animate span:nth-of-type(5) {
	animation-delay: .25s;
}

.animate span:nth-of-type(6) {
	animation-delay: .3s;
}

.animate span:nth-of-type(7) {
	animation-delay: .35s;
}

.animate span:nth-of-type(8) {
	animation-delay: .4s;
}

.animate span:nth-of-type(9) {
	animation-delay: .45s;
}

.animate span:nth-of-type(10) {
	animation-delay: .5s;
}

.animate span:nth-of-type(11) {
	animation-delay: .55s;
}

.animate span:nth-of-type(12) {
	animation-delay: .6s;
}

.animate span:nth-of-type(13) {
	animation-delay: .65s;
}

.animate span:nth-of-type(14) {
	animation-delay: .7s;
}

.animate span:nth-of-type(15) {
	animation-delay: .75s;
}

.animate span:nth-of-type(16) {
	animation-delay: .8s;
}

.animate span:nth-of-type(17) {
	animation-delay: .85s;
}

.animate span:nth-of-type(18) {
	animation-delay: .9s;
}

.animate span:nth-of-type(19) {
	animation-delay: .95s;
}

.animate span:nth-of-type(20) {
	animation-delay: 1.0s;
}

/*Flex container 2*/

/* Animation */
.one span {
	color: white;
	opacity: 0;
	transform: translate(-150px, -50px) rotate(-180deg) scale(3);
	animation: revolveScale .4s forwards;
}

@keyframes revolveScale {
            60% {
                transform: translate(20px, 20px) rotate(30deg) scale(.3);
            }
    
            100% {
            transform: translate(0) rotate(0) scale(1);
            opacity: 1;
            }
}


.swiper {
	top: 0px;
	width: 80%;
	height: 100%;
	justify-content: center;
}

.swiper-slide {
	width: 90%;
	left: 20px;
	text-align: center;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	background: #fff;
	border: 2px solid white;
	border-radius: 5px;
	display: flex;
	border-radius: 30px;
	box-shadow: 1px 1px 20px #4deeea;
	box-shadow-radius: 30px;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	object-fit: cover;
	border-radius: 30px;
}

@media screen and (min-width: 1800px) {
	.login-body .login-panel {
		margin: 0 0 250px 0;
	}
	.tab {
		font-size: 18px;
	}
	.layout-footer {
		font-size: 15px !important;
	}
	.animate h1 {
		font-size: 86px;
	}
	.swiper {
		display: none !important;
	}
}

@media screen and (min-width: 1600px) and (max-width: 1700px) {
	.login-body .login-panel {
		margin: 0 0 200px 0;
	}
	
}

@media screen and (max-width: 1000px) {
	.login-body {
		padding: 0 30px 0 60px;
	}
	.swiper {
		display: none !important;
	}
	.animate h1 {
		font-size: 50px !important;
		margin-top: 14px !important;
	}
	.animate p {
		font-size: 30px !important;
		margin-top: 14px !important;
		max-width: none !important;
		width: 100% !important;
	}
	.form-box {
		width: 100% !important;
	}
}
.ql-size-small {
	font-size: .75em;
}

.ql-size-large {
	font-size: 1.5em;
}

.ql-size-huge {
	font-size: 2.5em;
}

.ql-align-right {
	text-align: right;
}

.ql-align-center {
	text-align: center;
}

.ql-align-left {
	text-align: left;
}

.ql-direction-rtl {
	display: flex;
	flex-direction: row-reverse;
}

.ql-indent-1 {
	text-indent: 10%;
}

.ql-indent-2 {
	text-indent: 15%;
}

.ql-indent-3 {
	text-indent: 20%;
}

.ql-indent-4 {
	text-indent: 25%;
}

.ql-indent-5 {
	text-indent: 30%;
}

.ql-indent-6 {
	text-indent: 35%;
}

.ql-indent-7 {
	text-indent: 40%;
}

.ql-indent-8 {
	text-indent: 50%;
}

.ql-font-monospace {
	font-family: 'monospace';
}

.ql-font-arial {
	font-family: 'Arial';
}

.ql-font-times-new-roman {
	font-family: 'Times New Roman';
}

.ql-font-serif {
	font-family: 'serif';
}

.ql-font-sans-serif {
	font-family: 'sans-serif';
}

ol li {
	list-style-type: number;
	padding: 5px;
	margin-left: 35px;
}

ul li {
	list-style-type: disc;
	padding: 5px;
	margin-left: 35px;
}
li::marker {
  color: transparent;
}

/* =====================================================
   BURGER BUTTON + SLIDE DRAWER (global — JS-controlled)
   ===================================================== */

/* Burger wrapper: hidden by default, shown via media query */
.burger-wrapper {
    display: none;
    position: fixed;
    top: 12px;
    left: 14px;
    z-index: 3000;
}

.burger-btn {
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #281414;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

/* 3 bars → X animation */
.burger-btn.open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}
.burger-btn.open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Dark overlay behind drawer */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Drawer — slides in from the left */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #281414;
    border-bottom: 3px solid #b4d7df;
}

.drawer-title {
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.drawer-close-btn:hover {
    color: #b4d7df;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.drawer-link {
    display: block;
    padding: 15px 24px;
    color: #281414;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(180, 215, 223, 0.5);
    transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
}

.drawer-link:hover,
.drawer-link:focus {
    background: rgba(180, 215, 223, 0.35);
    padding-left: 32px;
    color: #281414;
    outline: none;
}

/* =====================================================
   MOBILE RESPONSIVE — ≤ 768px (tablet / phone)
   ===================================================== */
@media screen and (max-width: 768px) {

    /* Allow vertical scrolling */
    html, body {
        overflow-y: auto !important;
        height: auto !important;
    }

    /* Fix background image — use fixed + explicit viewport units so it always
       covers the full screen regardless of parent size or browser chrome */
    /*.bgOverlay {*/
    /*    position: fixed;*/
    /*    top: 0;*/
    /*    left: 0;*/
    /*    width: 100vw;*/
    /*    height: 100vh;*/
    /*}*/

    /* Show burger, hide desktop tab nav */
    .burger-wrapper {
        display: flex;
    }

    .tab-container {
        display: none !important;
    }

    /* Main container — edge-to-edge, no border, auto height */
    .flexbox-container {
        display: flex !important;
        flex-direction: column;
        height: auto !important;
        min-height: calc(100vh - 60px);
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 10px 10px 80px 10px;
        gap: 8px;
        box-sizing: border-box;
    }

    /* Top section: logo + slideshow stack vertically */
    .flexbox-item-2 {
        flex-direction: column;
        min-height: auto !important;
        height: auto !important;
        width: 100%;
    }

    /* Logos — horizontal row, smaller */
    .divLogo {
        flex-direction: row !important;
        justify-content: center;
        gap: 14px;
        padding: 30px 0;
    }

    .divLogo img {
        height: 52px !important;
        width: auto;
    }

    /* Slideshow — compact height */
    .slide-img {
        flex: none !important;
        width: 100%;
        height: 200px;
    }

    .slideshow-container {
        height: 200px;
        border-radius: 12px;
    }

    /* Bottom section: portal image + form stacked */
    .flexbox-item-3 {
        height: auto !important;
        flex-direction: column;
        align-items: center;
        margin-top: 45px;
        width: 100%;
    }

    /* Portal image — fluid, centred above form */
    .portalOverlay {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto 8px auto !important;
        display: block;
    }

    /* Form box — full width, in-flow (no longer fixed) */
    .form-box {
        position: relative !important;
        width: 100% !important;
        right: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 20px 16px 14px 16px;
        border-radius: 14px;
        box-sizing: border-box;
    }

    /* "Terlupa Kata Laluan / Daftar Akaun" — flow naturally */
    .txt_field2 {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        text-align: center;
        padding: 10px 0 4px 0;
        width: 100%;
    }

    /* Buttons */
    .button-container {
        justify-content: center;
        gap: 10px;
    }

    .buttonLogin {
        width: 140px;
        font-size: 13px;
		margin-top:20px
    }

    /* Inputs — stretch to container */
    .txt_field,
    .txt_field .ui-outputpanel {
        width: 100%;
    }

    body .ui-inputfield {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Footer — give it a background so it's always readable on mobile */
    .layout-footer {
        font-size: 9px;
        padding: 6px 8px;
        background: rgb(205, 248, 245);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 900;
        color: #1a1a1a;
    }
}

/* =====================================================
   EXTRA-SMALL PHONES — ≤ 480px
   ===================================================== */
@media screen and (max-width: 480px) {

    .divLogo img {
        height: 40px !important;
    }

    .slide-img {
        height: 160px;
    }

    .slideshow-container {
        height: 160px;
    }

    /* Hide portal branding image to give form more room */
    /*.portalOverlay {*/
    /*    display: none !important;*/
    /*}*/

    .buttonLogin {
        width: 110px;
        font-size: 10px;
        height: 36px;
		margin-top:20px
    }

    .layout-footer {
        font-size: 8px;
        padding: 5px 6px;
    }
}