body {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

h4 {
    font-size: 23px;
    font-weight: 700;
    line-height: 31px;
}

a {
    color: #316aa1;
    font-weight: 700;
    text-decoration: underline;
}

table a {
    color: #316aa1;
    font-weight: 400;
    text-decoration: none;
}

img {
    height: auto;
    max-width: 100%;
}

li {
    margin-bottom: 10px;
}

.content {
    max-width: 1100px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.navbar .container {
    padding-top: 22px;
    padding-bottom: 22px;
}

.navbar-toggler {
    border: none;
}

button.navbar-toggler {
    padding-right: 0px;
}

#fontSizeToggle {
    color: #000000;
    margin: 0 15px;
}

#fontDecreaseBtn,
#fontIncreaseBtn,
#searchFormHeaderFormBtn {
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    min-width: 24px;
    min-height: 24px;
    text-indent: -9999px;
}

#searchFormHeaderFormBtn {
    background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_6491_2998)"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.75 11C3.75 6.99594 6.99594 3.75 11 3.75C15.0041 3.75 18.25 6.99594 18.25 11C18.25 12.9606 17.4717 14.7395 16.2073 16.0445C16.1767 16.0669 16.1474 16.092 16.1197 16.1197C16.092 16.1473 16.067 16.1766 16.0445 16.2072C14.7395 17.4717 12.9607 18.25 11 18.25C6.99594 18.25 3.75 15.0041 3.75 11ZM16.6342 17.6949C15.112 18.9773 13.1462 19.75 11 19.75C6.16751 19.75 2.25 15.8325 2.25 11C2.25 6.16751 6.16751 2.25 11 2.25C15.8325 2.25 19.75 6.16751 19.75 11C19.75 13.1462 18.9773 15.112 17.6949 16.6342L21.5304 20.4697C21.8232 20.7626 21.8232 21.2374 21.5304 21.5303C21.2375 21.8232 20.7626 21.8232 20.4697 21.5303L16.6342 17.6949Z" fill="black"/></g><defs><clipPath id="clip0_6491_2998"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>');
}

#footer {
    background: #0c1a27;
    color: #fff;
    padding-top: 40px;
}

    #footer .footer-block {
        border-top: 1px solid #fff;
        margin-top: 0;
        padding: 30px 0;
        text-align: left;
    }

        #footer .footer-block:first-child {
            border-top: 0;
            padding: 0;
        }

            #footer .footer-block:first-child > div {
                padding: 0 0 10px;
            }

    #footer ul {
        padding: 0;
        list-style: none;
    }

    #footer a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }

    #footer h4,
    #footer .footer-links,
    #footer .hotline {
        font-weight: bold;
        font-size: 19px;
        line-height: 27px;
    }

        #footer .hotline a {
            white-space: nowrap;
        }

        #footer .footer-links li {
            padding: 0px;
            margin: 0px 0px 0.75rem 0px;
        }

        #footer .footer-links a {
            font-size: 1rem;
            padding: 0px;
        }

    #footer .social {
        padding: 30px 0 0;
    }

.time-available {
    font-style: italic;
}

#footer .download-app {
    background: none;
}

    #footer .download-app h4 {
        margin-bottom: 0.5rem;
    }

    #footer .download-app p {
        margin-top: 0.5rem;
        font-size: 13px;
    }

#footer .social a {
    margin-right: 1rem;
}

#footer .social h4 {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
}

#footer .copyright {
    font-size: 13px;
}

#footer .statement-links {
    font-size: 13px;
    list-style: none;
    margin-bottom: 10px;
}

#mainMenu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mainMenu ul .dropdown-menu {
    padding: 16px;
}

#mobileNavbar {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
    height: 100vh;
    max-height: 100vh;
    padding-top: 20px;
    padding-bottom: 100px;
}

#desktopNavbar {
    width: -webkit-fill-available;
    justify-content: space-around;
}

.navbar-brand img {
    max-height: 40px;
}

@media screen and (min-width: 1400px) {
    .navbar-brand img {
        max-height: 48px;
    }
}

.col-block {
    flex-grow: 0;
}

.col1 .col-block {
    flex-basis: 100%;
}

@media screen and (min-width: 1200px) {
    .navbar-nav li {
        margin-bottom: 0;
    }

    .navbar-nav a {
        color: #000000;
    }

        .navbar-nav a:hover {
            color: #3f84c5;
        }

    .dropdown-menu[data-bs-popper] {
        margin-top: 11px;
    }

    .dropdown-menu {
        font-size: 13px;
        font-weight: 400;
        line-height: 21px;
        border-radius: 0;
        border-color: #b1cde7;
        padding: 16px;
    }

        .dropdown-menu li:last-child {
            margin-bottom: 0;
        }

    .dropdown-item {
        padding: 12px;
        white-space: normal;
    }

        .dropdown-item:focus,
        .dropdown-item:hover {
            border-radius: 5px;
            color: #000000;
            background-color: #ebf2f9;
        }

    .dropdown-menu {
        min-width: 300px;
        top: 100%;
        left: 0;
        margin-top: 10px;
    }

        .dropdown-menu .dropdown-menu {
            margin-top: 0;
        }

        .dropdown-menu li {
            position: relative;
        }

    .dropdown:hover .dropdown-menu {
        /* 1st level hover */
        display: block;
    }

    .dropdown-menu .dropdown-submenu {
        display: none;
    }

    .dropdown-menu .dropdown-submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu .dropdown-submenu-bottom {
        top: auto;
        bottom: 0;
    }

    .dropdown-menu > li:hover > .dropdown-submenu {
        /* 2nd level hover */
        display: block;
    }

    .dropdown-menu:before {
        /* hotspot */
        display: block;
        content: "";
        background: transparent;
        height: 10px;
        width: 100%;
        position: absolute;
        left: 0;
        top: -10px;
    }
}

.download-app {
    padding: 40px 0 0;
}

    .download-app img {
        margin: 30px 0 0;
    }

.key-app-features footer,
.footer-block {
    margin: 30px 0 0;
    text-align: center;
}

.col-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px;
}

    .col-container .col-block {
        flex-grow: 0;
        margin-bottom: 20px;
        overflow: hidden;
    }

.back-to-top {
    background-color: #fff;
    background-image: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.228 6.02607C15.2523 5.99861 15.2781 5.97289 15.3054 5.94889C15.6929 5.57303 16.3096 5.57302 16.6972 5.94888C16.7245 5.97288 16.7503 5.99862 16.7746 6.02609L26.0417 15.2932C26.4323 15.6837 26.4323 16.3169 26.0417 16.7074C25.6512 17.098 25.0181 17.098 24.6275 16.7074L17.0013 9.08121V25.3337C17.0013 26.6234 15.0013 26.6234 15.0013 25.3337V9.08121L7.37508 16.7074C6.98455 17.098 6.35139 17.098 5.96086 16.7074C5.57034 16.3169 5.57034 15.6837 5.96086 15.2932L15.228 6.02607Z" fill="black"/></svg>');
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    bottom: 7%;
    right: 5%;
    height: 56px;
    width: 56px;
    z-index: 10;
}

@media only screen and (min-width: 768px) {
    #footer .footer-block:first-child > div {
        margin-left: 20px;
    }

    #footer .footer-block:first-child div:first-child {
        margin-left: 0;
    }

    #footer .download-app {
        background: none;
    }

        #footer .download-app h4 {
            margin-bottom: 20px;
        }

        #footer .download-app p {
            margin-top: 1rem;
            font-size: 13px;
        }

    .nav-link {
        font-size: 14px;
    }

    .download-app {
        padding: 80px 0 0;
    }

        .download-app img {
            /*margin: 0px 0 -35px;*/
        }

    .footer-block .download-app img {
        margin: 0px 0 0px;
    }

    .key-app-features footer,
    .footer-block {
        margin-top: 80px;
    }

    div.colMd3 .col-block {
        flex-basis: 30%;
    }

    .col-container {
        margin: 20px 0;
    }
}

@media only screen and (min-width: 992px) {
    .nav-link {
        font-size: 16px;
    }

    #footer .statement-links li {
        position: relative;
        margin-bottom: 0;
    }

        #footer .statement-links li a {
            text-decoration: underline;
            padding: 0.5rem 1rem;
        }

        #footer .statement-links li:after {
            content: "";
            background: #fff;
            width: 1px;
            height: 1.2rem;
            position: absolute;
            right: 0;
            top: 0;
        }

        #footer .statement-links li:last-child:after {
            display: none;
        }

        #footer .statement-links li:last-child a {
            padding-right: 0;
        }
}

/*step tabs span version*/
.tab_step span {
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    display: block;
    max-height: 100%;
    margin: 0 auto;
    min-height: 95px;
    width: auto;
}

.tab_step1 {
    background-image: url(imgs/Step1_active.png);
}

.tab_step2 {
    background-image: url(imgs/Step2_active.png);
}

.tab_step3 {
    background-image: url(imgs/Step3_active.png);
}

.tab_step4 {
    background-image: url(imgs/Step4_active.png);
}

.tab_Paymentstep4 {
    background-image: url(imgs/Step4_payment_active.png);
}

.tab_step .tab_step1[done='1'] {
    background-image: url(imgs/step1_done.png);
}

.tab_step .tab_step2[done='1'] {
    background-image: url(imgs/step2_done.png);
}

.tab_step .tab_step3[done='1'] {
    background-image: url(imgs/step3_done.png);
}

.tab_step .tab_step4[done='1'] {
    background-image: url(imgs/step4_done.png);
}

.tab_step .tab_step1_done {
    background-image: url(imgs/step1_done.png);
}

.tab_step .tab_step2_done {
    background-image: url(imgs/step2_done.png);
}

.tab_step .tab_step3_done {
    background-image: url(imgs/step3_done.png);
}

.tab_step .tab_step4_done {
    background-image: url(imgs/step4_done.png);
}

/* Begin step 1 */
#step1 {
    display: block;
}

.container-box-step1 {
    width: 80%;
    max-width: 500px; /* Maximum width for larger screens */
}

@media only screen and (max-width: 765px) {
    .container-box-step1 {
        width: 100%;
    }
}

.container-box-step1 input[type='submit'],
.container-box-step1 input[type='reset'] {
    color: #FFF;
    border-radius: 3px;
    padding: 3px 15px;
    border: 0;
    background-color: #B1B1B1;
}

.container-box-step1 input[type='reset'] {
    float: right;
    background: url(imgs/button_gray.png);
}

.container-box-step1 input[type='submit'] {
    background: url(imgs/button_blue.png);
}

.container-box-step1 {
    text-align: left;
    margin: 0 auto;
    float: none;
}

    .container-box-step1 table {
        vertical-align: middle;
    }

        .container-box-step1 table td {
            padding: 5px;
        }

            .container-box-step1 table td:first-child {
                padding-left: 0;
                padding-right: 12px;
                text-align: right;
                width: 120px !important;
            }

    .container-box-step1 input[name='nrci'],
    .container-box-step1 input[name='sec_code'] {
        width: 180px;
    }

input[name='day_birthday'],
input[name='month_birthday'],
input[name='year_birthday'] {
    width: 49px;
    margin-right: 13px;
}

input[name="year_birthday"] {
    margin-right: 0px;
}

.box_input {
    border: 1px solid #DFE7EF;
    background-color: #ECF0F1;
    border-radius: 8px;
    box-shadow: 2px 4px 8px 1px #AAAAAA;
    padding: 10px;
}

.title_box_input {
    color: #00417F;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #E6EBEE;
    font-size: 16px;
    background: url(imgs/title-box.png);
    margin-left: -10px;
    margin-top: -10px;
    margin-right: -10px;
}

/* End step1 */
input.btn_blue {
    border-style: solid;
    border: none;
}

.btn_grey, .btn_blue, .btn_red {
    cursor: pointer;
    display: inline-block;
    color: #FFF;
    border-radius: 3px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 8px 26px 6px;
    font-weight: 500;
}

.btn_blue {
    background: url(imgs/button_blue.png);
}

    .btn_blue a:hover {
        color: #cde2fe;
    }

.refresh_btn {
    width: 90%;
    max-width: 40px;
    margin-top: 5px;
    margin-left: -10px;
}

.btn_grey, .btn_blue, .btn_red a {
    text-decoration: none !important;
}

.err {
    display: block;
    color: red;
}

span.error,
label.error {
    display: block;
    color: red;
    display: none !important;
}

span.success,
label.success {
    display: block;
    color: green;
    font-weight: bold;
    display: none !important;
}

input.error {
    border: 1px solid red !important;
}

.smalltext {
    font-size: 10pt;
}


.pwd_preview_name {
    letter-spacing: 0px !Important;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    text-align: left;
    padding-left: 17px;
    font-size: 0.9em;
    padding-top: 10px;
    width: 280px;
}


.pwd_preview_nric,
.wtc_preview_nric {
    float: left;
    padding-top: 5px;
}

.pwd_preview_img_td,
.wtc_preview_img_td,
.bac_preview_img_td,
.dip_preview_img_td,
.sec_preview_img_td,
.pasc_preview_img_td {
    font-size: small;
    font-weight: bold;
    height: 90px; 
}


.pwd_preview_image,
.wtc_preview_image,
.bac_preview_image,
.dip_preview_image,
.sec_preview_image {
    height: 110px;
    margin-left: -10px;
    min-width: 100px;
    width: 100px; 
}

.pasc_preview_image {
    height: 110px; 
    margin-left: -15px; 
    margin-top: -20px; 
    min-width: 100px;
}

.wtc_preview_name {
    letter-spacing: 0px !Important;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    text-align: left;
    padding-left: 17px;
    font-size: 0.9em;
    margin-top: -6px;
    width: 280px;
}

.bac_preview_name {
    letter-spacing: 0px !Important;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    text-align: left;
    padding-left: 17px;
    font-size: 0.9em;
    padding-top: 5px;
    width: 270px;
}

.dip_preview_name {
    letter-spacing: 0px !Important;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    text-align: left;
    padding-left: 17px;
    font-size: 0.9em;
    padding-top: 5px;
    width: 270px;
}

.bac_preview_nric,
.dip_preview_nric,
.sec_preview_nric,
.pasc_preview_nric
 {
    float: left;
    padding-top: 5px;
}

.sec_preview_name {
    letter-spacing: 0px !Important;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    text-align: left;
    padding-left: 17px;
    font-size: 0.9em;
    padding-top: 5px;
    width: 270px;
}

.pasc_preview_name {
    letter-spacing: 0px !Important;
    font-weight: bold;
    text-transform: uppercase;
    float: left; 
    text-align: left; 
    font-size: 0.9em; 
    width: 280px; 
    padding-top: 15px; 
    padding-left: 10px;
}

@media only screen and (max-width: 768px) {
    /*for mobile browser view*/
    .pwd_preview_name {
        letter-spacing: 0px !Important;
        font-weight: bold;
        text-transform: uppercase;
        float: left;
        text-align: left;
        margin-left: 110px;
        font-size: 0.9em;
        padding-top: 10px;
        width: 280px;
    }

    .wtc_preview_name {
        letter-spacing: 0px !Important;
        font-weight: bold;
        text-transform: uppercase;
        float: left;
        text-align: left;
        margin-left: 57 px;
        font-size: 0.9em;
        margin-top: -12px;
        width: 280px;
    }

    .wtc_preview_image {
        height: 110px;
        margin-left: 17px;
        min-width: 100px;
        width: 100px;
    }

    .bac_preview_name {
        letter-spacing: 0px !Important;
        font-weight: bold;
        text-transform: uppercase;
        float: left;
        text-align: left;
        padding-left: 17px;
        font-size: 0.9em;
        padding-top: 5px;
        width: 270px;
    }

    .dip_preview_name {
        letter-spacing: 0px !Important;
        font-weight: bold;
        text-transform: uppercase;
        float: left;
        text-align: left;
        padding-left: 17px;
        font-size: 0.9em;
        padding-top: 5px;
        width: 270px;
    }

    .sec_preview_name {
        letter-spacing: 0px !Important;
        font-weight: bold;
        text-transform: uppercase;
        float: left;
        text-align: left;
        padding-left: 17px;
        font-size: 0.9em;
        padding-top: 5px;
        width: 270px;
    }
}
