﻿html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

html {
    scroll-padding-top: 10vw;
    scroll-behavior: smooth;
}

table.dataTable > thead > tr {
    --bs-table-color-state: var(--bs-table-active-color);
    --bs-table-bg-state: var(--bs-table-active-bg);
}

table.dataTable > tbody > tr .odd {
    background-color: white;
}

table.dataTable > tbody > tr .even {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}

.row .g-3 {
    margin-top:0.2em;
}

.samplepage-link {
    position: relative;
    height: 20px;
    width: 100%;
    z-index: 2;
    color: lightblue;
    pointer-events: auto; /* Makes the link clickable */
    font-size: 1.3vw;
}

.swiper-header {
    text-align: center !important;
    font-size: 1.8vw;
    font-weight: bolder;
}

.pengenalan {
    margin-top: -36rem;
    margin-bottom: -13rem;
}
.pengenalan-custom {
    margin-top: -50rem;
    margin-bottom: -13rem;
}

/* Pengesahan permit start */

.section-1 {
    position: relative;
}

.carian {
    width: 100%;
    height: auto;
    scroll-margin-top: 7vw;
    margin-top: 2.5vw;
}

.carian-container {
    width: 100%;
    /* height: 20%; */
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-color: white;
}
.carian-header {
    font-size: 1.3vw;
}

.carian-table-content {
    text-align: center;
    width: 50%;
    height: 100%;
}

.carian-table {
    width: 102%;
    height: auto;
    /* border: 2px solid black; */
    border-collapse: separate;
    border-spacing: 2px;
    margin-left: -1%;
    position: relative;
}

.carian-table-row,
.carian-table-content {
    background-color: darkblue;
    color: #fff;
    padding-top: 1.5vw;
}

    .carian-table-content input {
        /* margin-top: 1vw; */
        /* margin-bottom: 2vw; */
        width: 70%;
        height: 3vw;
        /* border: 0.2vw solid white; */
        background-color: #fff;
        padding: 3px;
        color: gray;
        font-size: 1.3vw;
    }


.txt-section-1 {
    color: white;
}

.h4-section-1 {
    margin: auto;
    background-color: darkblue;
    border-radius: 25px;
    width: 97%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pengesahan {
    color: white;
    font-weight: bold;
}

.search {
    margin: 10px auto;
    border-radius: 0.5vw;
    width: 100%;
    /* padding-top: 10px; */
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 3vw;
    height: auto;
    overflow: visible;
}

    .search input[type=text] {
        width: 95%;
        border: 0px;
        background-color: transparent;
    }

.permitmessage {
    position: relative;
    font-size: 15px;
    display: flex;
    flex-direction: column;
}


.small {
    margin-top: -0.2vw;
    font-size: 1.3vw;
    display: block;
    text-align: center;
}

.carian-magnifying-glass {
    position: relative;
    width: 70%; /* Match the input width */
    margin: 1vw auto 2vw auto; /* centers the input + spacing */
}

    .carian-magnifying-glass input {
        width: 100% !important;
        height: 3vw;
        /* padding: 0.5vw 2.5vw 0.5vw 1vw; */
        font-size: 1.3vw;
        border: 0.2vw solid white;
        border-radius: 0.5vw;
        color: gray;
        background-color: #fff;
        box-sizing: border-box;
    }

    .carian-magnifying-glass svg {
        position: absolute;
        right: 0.5vw;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: gray;
        width: 2vw;
    }



/* Pengesahan permit end */

/* Pihak Berkuasa start */

* {
    box-sizing: border-box; /* Apply globally for consistency */
}

.pengguna-title h4 {
    text-align: center;
    font-size: 1.8vw;
    color: darkblue;
    font-weight: bold;
    height: 4vw;
    margin-bottom: 2.5vw;
}
/*
.pihak-berkuasa-container {
    position: relative;
    text-align: center;
    height: 28vw;
    width: 85%;
    margin-left: auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    background-color: white;
    margin-right: auto;
    box-shadow: 5px 4px 10px darkgrey;
    margin-top: -4vw;
    padding-top: 4vw;
}
*/

.pihak-berkuasa-container {
    margin-top: 4vw;
    margin-bottom: 6vw;
    padding: 0;
}

.pengguna-title {
    position: relative;
     top: 0px; 
    color: darkblue;
    font-weight: bold;
    font-size: 150%;
/*    margin-bottom: -2vw;*/
}

.column {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    float: left;
    width: 17vw;
    padding: 0vw;
    position: relative;
}

.column2 {
    float: left;
    width: 17vw;
    padding: 1vw;
    position: relative;
    left: 17vw;
    transform: translateX(-8vw);
    top: 2vw;
}

.img-table {
    text-align: center;
    width: 300%;
    height: 9vw;
    max-width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.img-table2 {
    width: 300%;
    height: 17vw;
    max-width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: row;
    align-items: stretch;
}

.img-table::after {
    content: "";
    clear: both;
    display: table;
}

.column img {
    margin: -2vw;
    padding: 0vw;
}

.img-frame {
    width: 10.5vw;
    height: 10.5vw;
    margin-top: 0.45vw;
}

.img-frame-2 {
    width: 10.5vw;
    height: 10.5vw;
    margin-top: 0.45vw;
}

.img-frame-outer {
    width: 13vw;
    height: 11vw;
    border: 3px solid #E6E3E8;
    border-radius: 2vw;
    margin-left: 2vw;
    margin-top: 1%;
}


/* Pihak Berkusa end */
/* Info Desk: Start */

.info-doc {
    height: auto;
    padding-bottom: 3vw;
}

.info-desk {
    position: relative;
    text-align: center;
    background-color: darkblue;
    width: 100%;
    height: 30vw;
    margin-bottom: 5vw;
}
.img-frame {
    width: 10vw; /* default size */
    /*height: 12vw;*/ /* fixed frame so all logos align */
    object-fit: contain; /* keep aspect ratio */
}


@media (max-width: 992px) {
    .info-desk {
        height: 40vw;
    }

    .img-frame-2 {
        width: 25.5vw;
        height: 25.5vw;
        margin-top: 0.45vw;
    }

    .img-frame- {
        width: 25.5vw;
        height: 25.5vw;
        margin-top: 0.45vw;
    }
}

@media (max-width: 560px) {
    .info-desk {
        height: 60vw;
    }
}

.info-desk-bg {
    top: -300px;
}

.mycites-header {
    position: relative;
    padding: 2%;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 1.8vw;
}

.info-desk-text {
    font-size: 1.5vw;
    font-style: italic;
    margin: auto;
    margin-bottom: 2%;
    text-align: center;
    color: white;
}

.info-desk-table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}


.info-desk-column {
    float: left;
    width: 15vw;
    height: 15vw;
    position: relative;
    background-color: white;
    border-radius: 25px;
    margin-right: 1vw;
}


.info-desk-header {
    margin-top: 40%;
    text-align: center;
    color: black;
    font-weight: bold;
    font-size: 20px;
}

.info-desk-frame-header, .info-desk-frame-header2 {
    font-size: 1.5vw;
    margin-top: 9%;
}

.info-desk-frame-header2 {
    margin-top: 1%;
}

.info-desk-text-2 {
    font-size: 1vw;
    margin: auto;
    text-align: center;
    color: black;
}

.video-buttons-frame, .video-buttons-frame2 {
    margin: auto;
    margin-top: 7%;
    text-align: center;
    background-color: darkblue;
    width: 65%;
    height: 20%;
    border-radius: 30px;
    padding: 6%;
}

.video-buttons-frame-panduan {
    margin: auto;
/*    margin-top: 7%;*/
    text-align: center;
    background-color: darkblue;
    width: 100%;
    height: 10%;
    border-radius: 30px;
/*    padding: 6%;*/
}

.video-buttons-frame2 {
    margin-top: 1%;
}

.video-buttons {
    display: flex;
    justify-content: center; /* Centers text horizontally */
    color: white;
    align-items: center;
    text-decoration: none;
    font-size: 1.1vw;
    margin-top: -0.25vw;
}

.play-icon {
    height: 110%;
    width: 15%;
    margin-top: -1px;
}

.newspaper-bg {
    align-items: center;
    margin: auto;
    margin-top: -30%;
    background-color: darkblue;
    width: 10%;
    height: 10%;
    padding: 15%;
    border-radius: 40px;
}

.newspaper {
    height: 3vw; /* Scales with the viewport width */
    width: 3vw; /* Keeps the element square */
    margin-top: -1.5vw; /* Scaled negative margin for alignment */
    margin-left: -1.5vw; /* Adjust to maintain proportion */
}
/*Info Desk: End */
/* Documents: Start*/
.documents-container {
    position: relative;
    width: 100%;
    height: auto;
}

.documents-header-bg {
    color: darkblue;
    width: 100%;
    height: 5vw;
    text-align: center;
}

.documents-header {
    font-weight: bold;
    padding-top: 2vw;
    font-size: 1.8vw;
}

.documents-body-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin-top: 0;
}

.documents-body {
    display: flex; /* Enables flexbox */
    flex-direction: column; /* Arranges items in a column */
    gap: 1vw; /* Optional: Adds spacing between items */
    padding: 2vw;
}

.documents-separator {
    margin-left: auto;
    margin-right: auto;
    height: 5px;
    width: 90%;
    background-color: lightgray;
    border: none;
}


.documents-body-bg {
    box-shadow: 4px 4px 10px gray;
    background-color: white;
    margin-top: 2vw;
    width: 90%;
    min-height: 100%;
    border-radius: 3px;
}

.documents-arrows {
    position: relative;
    width: 100%;
    top: -5.5vw;
    margin-left: 66vw;
}

/* Documents: End*/
/* Spesies: Start */
.spesies {
    position: relative; /* Make this the reference for absolute positioning */
    width: 100%;
    height: 20vw;
}

.bg-carian-spesies {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-spesies {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: -10vw;
    width: 55%;
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
}

    .search-spesies input {
        border: none;
        outline: none;
        font-size: 16px;
        padding: 5px;
    }

.search-spesies-inputbar {
    width: 50vw;
}

.spesies-header, .spesies-header-desc {
    font-weight: bolder;
    font-size: 1.8vw;
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: darkblue;
}


.spesies-header {
    font-weight: bold;
    color: darkblue;
    background: radial-gradient(circle, white, rgba(255, 255, 255, 0));
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    padding: 1.5vw;
    display: inline-block;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 0.5vw;
}

.spesies-header-desc {
    color: black;
    font-size: 1.3vw;
    top: 45%;
}

.spesies-desc {
    color: white;
    font-size: 1.7vw;
    margin: auto;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
/* Spesies: End */
/* Pengumuman: Start */

.pengumuman {
    margin-top: 0;
    margin-bottom: -11.5vw;
}

/* For tablets and larger devices (min-width: 768px) */
.pengumuman-bg {
    background-color: transparent;
    position: relative;
    width: 100%;
    height: auto;
}

.pengumuman-bg-inner {
    background-color: transparent;
    position: relative;
    /* margin-top: 6vw; */
    left: 50%;
    width: 98%;
    height: auto;
    transform: translateX(-50%);
    z-index: 1;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pengumuman-header {
    position: relative;
    padding-bottom: 0;
    text-align: center;
    padding-top: 3vw;
    font-size: 1.8vw;
    font-weight: bolder;
    color: darkblue;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    /* margin-left: -2rem; */
    align-items: center;
    margin-bottom: 1.5vw;
}

.pengumuman-newspaper {
    margin-top: -0.2rem;
    width: 5vw;
    height: 3vw;
}

.pengumuman-container {
    position: relative;
    width: 100%;
}

.pengumuman-board {
    width: 90%;
    min-width: 300px; /* Optional: prevents being too small on large screens */
    box-shadow: 4px 4px 10px gray;
    display: flex;
    flex-direction: column;
    padding: 1vw;
    background-color: white;
    margin-bottom: 2vw;
    margin-top: -9vw;
}

.pengumuman-content {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.pengumuman-image {
    width: 15vw;
    height: auto;
    object-fit: contain;
}

.image-wrapper {
    margin-bottom: 2vw;
    width: 100%;
    width: 280px;
    height: 230px; /* fixed height */
    overflow: hidden; /* prevents image from stretching the box */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        /*object-fit: cover;*/ /* keeps image centered without distortion */
    }

.text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pengumuman-text-header {
    font-size: 1.5vw;
    margin: 0;
    margin-bottom: 0.5vw;
    line-height: 1.3em;
}

.pengumuman-text-body {
    font-size: 1.2vw;
    margin-bottom: 0.5vw;
}

.abstract-text {
    display: -webkit-box;
    -webkit-line-clamp: 7; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4em;
    max-height: calc(1.4em * 7); /* 3 lines worth of height */
}

.pengumuman-hyperlink {
    font-size: 1.1vw;
    margin-top: auto;
    text-decoration: underline;
}

#pengumuman .swiper-main {
    margin-top: 18rem;
}

#pengumuman .swiper-slide {
    margin-top: 18rem;
    text-align: -webkit-center;
}

@media (max-width: 768px) {

    .pengumuman {
        margin-top: 0;
        margin-bottom: -59vw; 
    }

    #pengumuman .swiper-main {
        margin-top: 5rem; 
    }

    .pengumuman-board {
        max-height: 100px; 
        overflow: hidden;
        display: flex;
        flex-direction: column;
        width: 80%;
        min-width: 280px;
        margin-top: 2vw;
        padding: 2vw;
    }

    .text-wrapper {
        min-height: 0; 
        overflow: hidden; 
        flex: 1 1 auto;
    }

    .image-wrapper {
        margin-bottom: 2vw;
        width: 100%;
        width: 100px;
        height: 45px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .image-wrapper img {
            width: 120%;
            height: 120%;
        }

    .pengumuman-text-header {
        font-size: 9px;
        margin-bottom: -3px;
    }

    .pengumuman-text-body {
        font-size: 7px;
    }

    .pengumuman-hyperlink {
        font-size: 7px;
    }

    .abstract-text {
        -webkit-line-clamp: 3;
        max-height: calc(1.6em * 3);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #pengumuman .swiper-main {
        margin-top: 13rem;
    }

    #pengumuman .swiper-slide {
        margin-top: 3rem;
        text-align: -webkit-center;
    }

    #pengumuman .swiper-button-prev {
        left: -9px;
        right: auto;
    }

    #pengumuman .swiper-button-next {
        right: -9px;
        left: auto;
    }

    #pengumuman .swiper-pagination {

    }
}

/* Pengumuman: End */
/* Footer adjustments: Start */
.footer-background {
    margin-top: 20px;
    background-color: #808c9a;
    width: 100%;
    height: auto;
    display: inline-block;
    padding-top: 3vw;
    margin-top: -0.5vw;
    padding-bottom: 2vw;
}

/*
@media (max-width: 992px) {
    .footer-background {
        height: 100%;
    }
}
*/

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 23.666667%;
    }

    .col-lg-2-1 {
        flex: 0 0 auto;
        width: 18.666667%;
    }

    .col-lg-3 {
        flex: 0 0 auto;
        width: 18.666667%;
    }
}

@media (max-width: 400px) {
    .footer-background {
        height: auto;
    }
}

.footer-bottom {
    padding: 1vw;
    background-color: darkblue !important;
    color: #fff;
    bottom: 0%;
    width: 100%;
/*    height: 3vw;*/
    margin-bottom: -5vw;
}

.footer-bottom-2 {
    padding: 1vw;
    /*background-color: #244475 !important;*/
    background-color: #282C3E !important;
    color: #fff;
    bottom: 0%;
    width: 100%;
    height: 3vw;
    margin-bottom: -5vw;
}

.nav-item, .nav-item-2 {
    font-weight: bold;
    width: auto;
}

.nav-item-2 {
    width: auto;
    display: inline-block;
    white-space: nowrap;
}

.navbar-logo, .navbar-logo-2, .navbar-logo-2-menu {
    position: relative;
    width: 4vw;
    height: 100%;
}

.navbar-logo-2-menu {
    width: 3vw;
}

.navbar-logo-2 {
    position: relative;
    width: 5.2vw;
    height: 100%;
    margin-right: 1vw;
}

.navbar-logo-cites {
    position: relative;
    width: 7vw;
    height: 100%;
    margin-right: -1vw;
    margin-left: -1vw;
}

.navbar-logo-container, .navbar-logo-container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 8vw;
    margin-left: -1vw;
    margin-right: 1vw;
}

.navbar-logo-container-2 {
    display: flex;
    flex-direction: column;
/*    align-items: center;*/
    width: 8vw;
/*    margin-left: -5.2vw;
    margin-right: 1vw;*/
position: relative;
}

.navbar-logo-text, .navbar-logo-text2 {
    font-size: 0.6vw;
    color: black;
    text-align: center;
    font-weight: bolder;
    width: 11vw;
    white-space: normal;
    line-height: 1.2em;
}

.navbar-logo-text2 {
    font-size: 0.5vw;
    width: 9vw;
}


.nav-link {
    font-weight: 500;
    font-size: 1.2vw;
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}


.nabar-center-fix {
    margin-right: 3vw;
}
/* Footer adjustments: End */

.spacer {
    width: 100%;
    height: 0vw;
}

/*.language-icon {
    height: 3vw;
    width: 3vw;
}*/


.language-icon {
    width: 5vw; /* 5% of viewport width */
    height: auto;
    max-width: 24px; /* Prevents it from getting too big */
}

.front-language-icon {
    width: 2.7vw;
    height: auto;
    max-width: 50px;
}


/* Permit page: start*/
.permit-page {
    margin-bottom: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial;
}

.permit-header {
    text-align: center;
    font-size: 50px;
    font-weight: bolder;
}

.permit-container {
    margin-bottom: 30vw;
}



.permit-table {
    width: 100%;
    height: 100%;
    background-color: white;
}

.permit-row {
    display: flex;
    flex: 1;
}

.form-header-1 {
    width: 50%;
}

.form-header-2 {
    width: 100%;
    text-align: center;
}

.form-header-2-text {
    width: 100%;
    text-align: center;
    font-weight: bolder;
}

.form-header-2-text-italic {
    width: 100%;
    text-align: center;
    font-style: italic;
    font-weight: normal;
    padding-bottom: 2vw;
}

.qr-code {
    width: 150px;
    height: 150px;
    float: right;
    margin-right: 3vw;
    margin-top: 2vw;
}

.permit-img-frame-logo {
    width: 240px;
    height: 200px;
    margin-left: 14vw;
    margin-right: auto;
}

.header-cell-1 {
    margin-left: 2vw;
}

.notice-box {
    border-style: solid;
    height: 3vw;
    width: 70%;
}

.header-cell-2 {
    margin-right: 2vw;
    text-align: right;
}

.hc2-text-box {
    display: flex;
    flex: 1;
    text-align: left;
}

.hc2-cell-2 {
    width: 50%;
    font-weight: bolder;
    text-align: right;
}

.strikethrough {
    width: 100%;
    border-style: solid;
    border-width: 1px;
}

.permit-body-1 {
    width: 50%;
    height: 15vw;
    border-bottom-style: solid;
    border-right-style: solid;
}

.permit-body-1-half {
    width: 50%;
    height: 7.5vw;
    border-bottom-style: solid;
}

.permit-body-inner-1 {
    display: flex;
    flex: 1;
    height: 100%;
    width: 101%;
    margin-left: -0.2vw;
}

.permit-body-inner-1-text {
    display: flex;
    flex: 1;
    height: 5vw;
    width: 100.9%;
    margin-left: -0.2vw;
    border-style: solid;
    border-top-style: hidden;
    border-left-style: hidden;
}

.permit-body-inner-1-text-large {
    display: flex;
    flex: 1;
    height: 8vw;
    width: 100.9%;
    margin-left: -0.2vw;
    border-style: solid;
    border-top-style: hidden;
    border-left-style: hidden;
}

.permit-img-frame-logo-body {
    height: 10vw;
    width: 14vw;
}

.permit-img-frame-logo-container {
    display: flex;
}

.img-border {
    width: 40%;
    height: 101%;
    border-right-style: solid;
}

.pb1-text-bold {
    font-weight: bold;
    font-size: 1.3vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

.pb1-text {
    font-weight: normal;
    font-size: 1vw;
    font-style: italic;
}

.pb1-text-2 {
    font-weight: normal;
    margin-left: 0.5vw;
    margin-top: 0.5vw;
}

.pb1-text-2-italic {
    font-weight: normal;
    margin-left: 0.5vw;
    font-style: italic;
}


.body-2-header {
    margin-left: 1vw;
    text-align: left;
    font-size: 2vw;
}

.body-2-bold {
    font-weight: bolder;
    font-style: italic;
    margin-left: 1vw;
    text-align: left;
    font-size: 2vw;
}

.permit-body-inner-2-text-half {
    width: 100%;
    margin-top: 1vw;
    margin-left: -0.1vw;
    text-align: left;
    font-size: 1vw;
    border-bottom-style: solid;
}

.pb2-text-2 {
    height: 7.4vw;
    margin-top: 1.3vw;
    margin-left: 0.5vw;
}

.pb2-text-2-sub {
    height: 7.3vw;
    margin-top: 0.1vw;
    margin-left: 0.5vw;
}

.permit-body-inner-2-text-double {
    width: 100%;
    height: 8.45vw;
    margin-left: -0.1vw;
    text-align: left;
}

.permit-body-inner-2-text-double-large {
    width: 100%;
    height: 16.20vw;
    margin-top: 1.1vw;
    margin-left: -0.1vw;
    text-align: left;
    font-size: 1vw;
    border-bottom-style: solid;
    border-top-style: solid;
}

.permit-body-3 {
    width: 25%;
    height: 8vw;
    margin-top: 25.7vw;
    border-bottom-style: solid;
    border-right-style: solid;
}

.permit-body-3-larger {
    width: 36%;
    height: 8vw;
    margin-top: 25.7vw;
    border-bottom-style: solid;
    border-right-style: solid;
}

.permit-body-3-smaller, .permit-body-3-smaller-end {
    width: 14%;
    height: 8vw;
    margin-top: 25.7vw;
    border-bottom-style: solid;
    border-right-style: solid;
}

.permit-body-3-smaller-end {
    border-right-style: hidden;
}

.permit-body-3-text {
    margin-top: 0.3vw;
    margin-left: 0.5vw;
}

.permit-body-4-letter {
    width: 5%;
    height: 16vw;
    text-align: center;
    border-bottom-style: solid;
    border-right-style: solid;
}

.permit-body-4-letter-text {
    margin-top: 6.5vw;
}

.permit-body-4-numeric, .permit-body-4-numeric-2, .permit-body-4-numeric-3, .permit-body-4-numeric-3-end {
    width: 25.5%;
    height: 4vw;
    text-align: left;
    border-bottom-style: solid;
    border-right-style: solid;
}

.permit-body-4-numeric-2 {
    width: 28.89%;
}

.permit-body-4-numeric-3, .permit-body-4-numeric-3-end {
    width: 13.6%;
}

.permit-body-4-numeric-3-end {
    border-right-style: hidden;
}

.permit-body-4-numeric-text, .permit-body-4-numeric-text-2-table, .permit-body-4-numeric-2-text-2-table {
    /* margin-left: 1vw; */
    margin-top: 0.7vw;
}

.permit-body-4-numeric-text-2-table, .permit-body-4-numeric-2-text-2-table {
    display: flex;
    gap: 1.5vw;
    flex: 1;
    font-size: 12px;
}

.permit-body-4-numeric-4, .permit-body-4-numeric-2-text-2-table {
    width: auto;
    /* margin-top: -3vw; */
    /* border-style: solid; */
    /* border-top-style: hidden; */
    /* border-left-style: hidden; */
}

.permit-body-4-numeric-2-text-2-table {
    width: auto;
    margin-left: -1vw;
}

.permit-body-4-numeric-text-3 {
    margin-left: 1vw;
}

.permit-body-4-numeric-text-4-end {
    width: 203%;
    padding-top: 0.3vw;
    padding-left: 1vw;
    margin-top: 1.9vw;
    height: 12.34vw;
    border-right-style: hidden;
    border-bottom-style: solid;
}

.permit-specification {
    width: 100%;
    height: 8vw;
    display: flex;
    align-items: center;
}

.permit-specification-text {
    margin-left: 0.8vw;
}

.permit-13-header, permit-15-header {
    text-align: left;
    margin-left: 1vw;
}

.permit-13-header {
    padding-top: 1vw;
}

.permit-13-signarea-container {
    display: flex;
    width: 100%;
    height: 12vw;
    text-align: center;
}

.permit-footer-container {
    height: 70%;
}


.permit-15-signarea-container {
    display: flex;
    width: 100%;
    height: 12vw;
    text-align: center;
}

.signarea-1, .signarea-2, .signarea-3, .signarea-4, .signarea-5, .signarea-6, .signarea-7, .signarea-8 {
    height: 100%;
    padding-top: 6vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signarea-1 {
    width: 45%;
}

.signarea-2 {
    width: 30%;
}

.signarea-3 {
    width: 0%;
}

.signarea-4 {
    width: 25%;
}

.signarea-5 {
    width: 15%;
}

.signarea-6 {
    width: 30%;
}

.signarea-7 {
    width: 30%;
}

.signarea-line {
    height: 0vw;
    border-top-style: solid;
    border-top-width: 1.5px;
    width: 90%;
}

.signarea-text, .signarea-text-2 {
    padding-top: 0.8vw;
}

.signarea-text-2 {
    margin-top: -1.5vw;
}

.permit-footer-container {
    margin-top: 1vw;
    display: flex;
    width: 100%;
    height: 15vw;
}

.permit-14-container, .permit-15-container {
    height: 80%;
    display: flex;
    flex-direction: column;
}

.permit-14-container {
    width: 40%;
}

.permit-14-header {
    margin-left: 1vw;
}

/*.permit-14-table, th, td {
    border-collapse: collapse;
    border: solid 0.1px black;
    border-width: 1.5px;
    font-size: 1.1vw;
}
*/
    .permit-14-table {
    margin-top: 1.5vw;
    margin-left: 1vw;
    height: 10vw;
    width: 30vw;
}

td {
    text-align: left;
    padding-left: 1vw;
}

.permit-15-container {
    width: 60%;
}

.permit-thead-block {
    font-size: 12px !Important; 
}

.batal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Allows clicking through */
    z-index: 9999; /* Ensures it stays above everything */
}

    .batal-overlay::before {
        content: "BATAL";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg); /* Rotate diagonally */
        font-size: 15vw;
        font-weight: bold;
        color: rgba(255, 0, 0, 0.2); /* Semi-transparent red */
        white-space: nowrap;
    }

    /* Strikethrough lines */
    .batal-overlay::after {
        content: "";
        position: absolute;
        top: 40%;
        left: 42%;
        width: 120%;
        height: 10px; /* Thickness of the line */
        background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent red */
        transform: translate(-50%, -50%) rotate(-45deg);
        box-shadow: 0 20vw 0 rgba(255, 0, 0, 0.5); /* Adds the second line below */
    }

.tt-dataset-species {
    color: red;
}

.icon-pos {
    margin-top: -0.1vw;
    width: 10%;
}

.panduan {
    /* scroll-margin-top: 15vw; */
}

.custom-swiper-container {
    height: 15vw;
    background-color: darkblue;
}

.swiper-height-fix{
}

.swiper-height-fix-2 {
    margin-top: 0.2vw !important;
    text-align: center;
    height: 25vw;
    padding-top: 5vw;
    padding-bottom: 5vw;
}
.swiper-panduan-header, .swiper-pengumuman-header {
    font-size: 2.2vw;
    font-weight: bold;
    color: #fff;
    margin-top: -2vw;
/*    margin-bottom: 0vw;*/
}

.video-buttons-frame, .video-buttons-frame2 {
    position: absolute;
    margin-top: 10vw;
/*    margin: auto;*/
    text-align: center;
    background-color: darkblue;
    width: 65%;
/*    height: 30%;*/
    border-radius: 4vw;
    padding: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.video-buttons-frame2 {
    margin-top: 1%;
}

.video-buttons {
    display: flex;
    justify-content: center;
    color: white;
    align-items: center;
    text-decoration: none;
    font-size: 1.1vw;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 0vw;
    margin-right: 1vw;
}


.custom-tooltip, .custom-tooltip-2 {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    top: 100%; /* Position below the icon */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-size: 0.85rem;
}


.custom-tooltip-2 {
    top: 95% !important;
}

.tooltip-container:hover .custom-tooltip, .tooltip-container:hover .custom-tooltip-2 {
    visibility: visible;
    opacity: 1;
}

.navbar-center {
    text-align: center;
}

.footer-column, .footer-column2, .footer-column3, .footer-column4 {
    width: 24vw;
    /* padding-right: 5vw; */
    /* margin-left: 6vw; */
}

.footer-column2 {
    Margin-left: 9vw;
}

.footer-column3 {
    margin-left: -2vw;
}

.footer-column4 {
    margin-left: -11vw;
}



.new-permit-table {
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border: solid black 2px;
}

.new-permit-header {
    height: 10vw
}

.new-permit-header-1 {
    width: 100%;
}

.ASAL {
    margin-right: 1vw;
}

.new-permit-code {
    text-align: right;
    margin-left: 1vw;
}

.new-border-style, .new-border-style-head {
    border: solid black 2px;
    vertical-align: top;
}

.new-border-style-head {
    vertical-align: middle;
}

.penta-cells-permit {
    height: 10vw;
}

/* Remove padding on cells where needed */
    .new-no-padding {
    padding: 0 !important;
}

/* Outer table styles */
.new-outer-table {
    width: 100%;
    border-collapse: collapse;
    height: 10vw;
}

/* Column 1 cell - tall and rowspan 2 */
.new-col1, .new-col1-border {
    border-right: 2px solid black;
    height: 10vw;
    width: 5%;
    text-align: center;
    padding: 0;
}

.new-col1-border {
    border-bottom: 2px solid black;
}

.new-rowspan2 {
    /* rowspan is set in HTML, this is a helper class */
}

/* The rest of the columns in first row */
.new-col-rest, .new-col-rest-content, .new-col-rest-2, .new-col-rest-3, .new-col-rest-2-2, .new-col-rest-3-2, .new-col-rest-content-end, .new-col-rest-border, .new-col-rest-border-end {
    border-right: 2px solid black;
    vertical-align: top;
    height: 3vw;
    width: 13.413%;
}

.new-col-rest-border-end {
    border-right: 0;
}

.new-col-rest-border, .new-col-rest-2-3, .new-col-rest-3-3, .new-col-rest-2-3-end, .new-col-rest-3-3-end {
    /* border-top: 2px solid black; */
    border-right: 2px solid black;
    vertical-align: top;
}

.new-col-rest-2-3-end, .new-col-rest-3-3-end {
    border-bottom: 0;
}

.new-col-rest-2, .new-col-rest-2-2, .new-col-rest-2-3 {
    vertical-align: top;
    width: 25%;
}

.new-col-rest-3, .new-col-rest-3-2, .new-col-rest-3-3 {
    width: 30%;
}

.new-col-rest-2-2, .new-col-rest-3-2, .new-col-rest-content, .new-col-rest-content-end {
    height: 10vw;
    border-top: 2px black solid;
    border-bottom: 2px black solid;
}

.new-col-rest-content-end {
    border-right: 0px;
}

/* Last column in first row without right border */
.new-col-rest:last-child {
    border-right: none;
}

/* Nested td containing the nested table */
.new-nested-td {
    height: 10vw;
}

/* Nested table styles */
.new-nested-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

/* Nested cells */
.new-nested-cell {
    vertical-align: top;
    height: 100%;
    padding: 0.3vw 0.5vw;
}

/* Borders for nested cells */
.new-border-right {
    border-right: 2px solid black;
}

.new-border-top {
    border-top: 2px solid black;
}

.new-12-container {
    display: flex;
}

.border-top {
    border-top: 2px solid black
}

.arial-font {
    font-family: Arial;
    font-size: 12px !important;
}

.spacer {
    margin-top: 5vw;
}

.spacer-bottom {
    margin-top: -20vw;
}

.scale-down-for-pdf {
    transform: scale(1); /* Adjust this to fit */
    transform-origin: top left;
}

@media print {
    @page {
        margin: 0; /* Remove default print margins */
    }

    body {
        margin: 0;
        padding: 0;
        zoom: 100%; /* Scale down the whole page on print */
    }

    tr, td, table, div {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pdf-content {
    display: flex;
}

@media print {
    .scale-down-for-pdf {
        transform: scale(0.4); /* Adjust scale to fit A4 */
        transform-origin: top left;
        position: relative;
        left: 50%;
        transform: translateX(-50%) scale(0.7);
    }

    body {
        margin: 0;
        padding: 0;
    }

    @page {
        size: A4 portrait;
        margin: 1cm;
    }
}

.menu-hamburger-icon {
    width: 2vw;
    height: 2vw;
}

.fw-medium {
    position: relative;
    font-weight: 500 !important;
    left: 13;
/*    margin-top: 1.1vw;
    margin-left: 1vw;*/
}

.fw-medium-front {
    position: relative;
    font-weight: 500 !important;
    top: 18;
    left: 50;
    /*    margin-top: 1.1vw;
    margin-left: 1vw;*/
}

.icon-mb {
    width: 2.6vw;
    height: 2.6vw;
}

.carian-header {
    font-size: 2.0vw;
}

.pengguna-title h4 {
    text-align: center;
    font-size: 2.2vw;
    color: darkblue;
    font-weight: bold;
    height: 4vw;
    margin-bottom: 2.5vw;
}

.panduan-title-home {
    position: relative;
    display:grid;
    place-items: center;
    font-size: 1.5vw;
    color: #002d7a;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    height: 25vh;
/*    margin-bottom: 5vw;*/
}

.box-panduan {
    width: 105px;
    margin-right: -15px;
}

.swiper-main {
    position: relative;
    margin-top: 54rem;
    width: 100%;
    height: 110%;
}

.mb-4 {
    margin-bottom: 0rem !important;
}

@-moz-document url-prefix() {
    .swiper-main {
        position: relative;
        margin-top: 49.5rem;
        width: 100%;
        height: 110%;
    }

    .pengumuman-header {
        position: relative;
        padding-bottom: 0;
        text-align: center;
        padding-top: 7vw;
        font-size: 1.8vw;
        font-weight: bolder;
        color: darkblue;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        /* margin-left: -2rem; */
        align-items: center;
        margin-bottom: 1.5vw;
    }
}

    

    @media (max-width: 992px) {
        .slider-container {
            position: relative;
            max-width: 100%;
            top: -13.4rem;
            margin: 0 auto;
            height: 35vw;
        }

        .icon-mb {
            width: 7vw;
            height: 7vw;
        }

        .carian-header {
            font-size: 2.7vw;
        }

        .pengguna-title h4 {
            position: relative;
            text-align: center;
            font-size: 3.9vw;
            color: darkblue;
            font-weight: bold;
            height: 4vw;
            margin-bottom: -2vw;
            top: -10vw;
        }

        .img-frame {
            width: 28.5vw;
            height: 26.5vw;
            margin-top: 0.45vw;
        }

        .swiper-panduan-header, .swiper-pengumuman-header {
            font-size: 3.8vw;
            font-weight: bold;
            color: #fff;
            margin-top: -2vw;
            margin-bottom: 0vw;
        }

        .panduan-title {
            margin-top: 2vw;
            font-size: 3.7vw;
            color: #002d7a;
            padding-left: 0.5vw;
            padding-right: 0.5vw;
            margin-bottom: 5vw;
        }

        .panduan-title-home {
            /*        margin-top: 3vw;*/
            font-size: 1.8vw;
            color: #002d7a;
            padding-left: 0.5vw;
            padding-right: 0.5vw;
            margin-bottom: 7vw;
        }

        .swiper-height-fix-2 {
            margin-top: 0.2vw !important;
            text-align: center;
            height: 45vw;
            padding-top: 5vw;
            padding-bottom: 5vw;
        }

        .box-panduan {
            width: 105px;
            margin-right: -15px;
        }

        .swiper-main {
            position: relative;
            margin-top: 51rem;
            width: 100%;
            height: 100%;
        }

        .front-language-icon {
            width: 7vw;
            height: auto;
            max-width: 50px;
        }

        .fw-medium-front {
            position: relative;
            font-weight: 500 !important;
            top: 18;
            left: 0;
            /*    margin-top: 1.1vw;
    margin-left: 1vw;*/
        }

        .video-buttons-frame {
            /*        margin: auto;*/
            text-align: center;
            background-color: darkblue;
            width: 65%;
            height: 14%;
            border-radius: 4vw;
            padding: 2%;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 20vw !important;
            margin-top: 13vw;
        }

        .video-buttons {
            display: flex;
            justify-content: center; /* Centers text horizontally */
            color: white;
            align-items: center;
            text-decoration: none;
            font-size: 1.8vw;
            /*        margin-top: -0.25vw;*/
            font-weight: bold;
        }

        .panduan-content {
            width: 80%;
            height: 60%;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: column;
            font-size: 1.8vw;
            font-weight: bold;
            background-color: #fff;
            /*        margin: 0 0.5vw;*/
        }

        .video-buttons-frame-panduan {
            margin: auto;
            /*    margin-top: 7%;*/
            text-align: center;
            background-color: darkblue;
            width: 100%;
            height: 35%;
            border-radius: 30px;
            padding: 6%;
        }

        .mcol-lg-5 {
            flex: 0 0 auto;
/*            width: 42%;*/
        }

        .mcol-lg-2 {
            flex: 0 0 auto;
/*            width: 24%;*/
        }

        .mcol-lg-2-1 {
            flex: 0 0 auto;
/*            width: 14%;*/
        }

        .mcol-lg-3 {
            flex: 0 0 auto;
/*            width: 18%;*/
        }
    }



