select {
    -webkit-appearance: none; /* Safari and Chrome */
    -moz-appearance: none; /* Firefox */
    -ms-appearance: none; /* Internet Explorer */
    appearance: none; /* Standard syntax */
    background: url('/images/arrowdown.png') no-repeat right center;
    background-size: 25px 25px; /* Adjust based on the size of your arrow image */
    padding-right: 60px !important;
}

.form-control:focus {
    border-color: grey;
}

/* reduce space between header and content */
.content {
    padding: 0 !important;
}

.table-bordered {
    border: 1px solid #cbcbcb !important;
}

input[type="text"].column-height {
    height: 120px !important;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s;
    width: 100%; /* Make the input take the full width of the td */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    text-align: left;
    padding: 10px;
}

input[type="text"].FromMonthYear,
input[type="text"].ToMonthYear {
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s;
    width: 100%; /* Make the input take the full width of the td */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    text-align: left;
    padding: 10px;
}

.table-responsive {
    width: 100% !important;
    border-collapse: collapse !important; /* Ensures borders are collapsed */
}

.flex-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

    .flex-container label {
        margin-right: 10px;
        white-space: nowrap; /* Prevent the label text from wrapping */
        padding-top: 2%;
    }

.form-centre {
    display: flex;
    flex-direction: row; /* Display the options vertically on small screens */
}

.form-label {
    /* white-space: nowrap; Prevent text from wrapping */
    display: inline-block; /* Ensure label behaves as a block element */
}

.btn.btn-primary {
    color: #FFFFFF !important;
    background-color: #ED1C24 !important;
    border-color: #ED1C24 !important;
}

/* Customize Swal.confirmButton */
.swal2-confirm, .swal2-cancel {
    background-color: #283199 !important;
    color: white !important;
}

input[type=radio], input[type=checkbox] {
    cursor: pointer;
}

.back-btn {
    color: #fff;
    background-color: #283199;
    border-color: transparent;
    border-radius: 10px;
}

/*---------------------------------------------------------------------------------------------------------------*/
@media (min-width: 1537px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1280px;
    }

    .card {
        max-width: 1280px;
    }

    body {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    .row {
        margin-right: -50px;
        margin-left: -50px;
    }

    p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 16px;
    }

    .text-dark {
        font-weight: 600 !important;
    }

    .btn.btn-clean {
        font-weight: 600 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
        font-size: 15px;
    }

    h5, .h5 {
        font-size: 16px;
        font-weight: bold !important;
    }

    .custom-font {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    th.text-center {
        text-align: center;
    }

    label {
        margin-bottom: 1.5%;
        margin-right: 5px;
        font-size: 16px;
    }

        label.invalid-label {
            color: red;
        }

    option {
        font-weight: normal;
        display: block;
        min-height: 1.2em;
        padding: 0px 2px 1px;
        white-space: nowrap;
    }

    .input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .input-btm {
        align-items: center;
        margin-bottom: 10px;
    }

    input[type="text"].auto-uppercase {
        font-size: 16px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.2s;
        width: 100%;
        height: 37px;
        margin-top: 5px;
        text-align: left;
    }

    .card-header-front {
        font-size: 26px;
        font-weight: bold;
        margin-top: 30px;
    }

    .divider-line {
        width: 100%;
        height: 4px;
        background-color: #000;
        margin-bottom: 15px;
    }


    .header-container {
        display: flex;
        align-items: center;
    }

    .explanatory-text {
        font-size: 14px;
        margin-left: 5px;
        margin-top: 35px;
    }

    .haileck-text {
        color: #D1D3D4;
        font-weight: bold;
        font-size: 150px;
        white-space: nowrap;
        transform-origin: 0 0;
        position: absolute;
        transform: rotate(90deg);
        position: absolute;
        top: 0;
        left: 225px;
    }

    .goc-text {
        color: #D1D3D4;
        font-size: 42px;
        font-weight: lighter;
        transform: rotate(90deg);
        white-space: nowrap;
        position: absolute;
        top: 10px;
        left: 52px;
        transform-origin: 0 0;
    }

    .col-left {
        padding-left: 6%;
        margin-top: 3rem;
    }

    .col-right {
        overflow: hidden;
    }

    .col-btm {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 6%;
    }

    .logo-form {
        width: 100px;
        height: 100px;
        margin-bottom: 5%;
    }

    .confidential {
        position: absolute;
        font-size: 1.5rem;
        font-weight: bold;
        margin-left: 50rem;
        top: -28px;
        right: 15px;
    }

    fieldset {
        min-width: 100%;
    }

    .card-body {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-height: 1px;
        padding: 2.25rem;
        overflow-x: auto;
        width: 100%;
        font-size: 16px;
    }

    .no-underline {
        border: none !important;
        border-bottom: none !important;
        font-size: 16px;
        text-align: center;
    }

    table {
        border-color: grey;
    }

    .col-out {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

        .col-out label {
            margin-right: 10px;
        }

        .col-out input[type="text"] {
            border: none;
            border-bottom: 1px solid #000;
            padding: 0;
            outline: none;
            width: 70%;
        }

            .col-out input[type="text"].invalid,
            .col-out select.invalid {
                border-bottom: 1px solid red;
            }

    .form-select {
        padding: 0.5rem;
        font-size: 1rem;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        color: #333;
        position: relative;
        top: -7px;
        font-size: 16px;
        margin-top: 5px;
    }

    #CountryCode {
        width: 80px;
        margin-right: 5px;
        font-size: 16px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.2s;
        height: 37px;
        margin-bottom: 10px;
    }

    #Contact {
        width: 265px;
        margin-right: 10px;
        font-size: 16px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.2s;
        width: 400px;
        height: 37px;
        margin-bottom: 10px;
    }

    #Email {
        width: 390px !important;
        margin-bottom: 15px;
    }

    #SalaryExpectation {
        text-align: left;
    }

    #EarliestDateOfCommencement {
        text-align: left;
    }

    label[for="ReferrerName"] {
        display: flex;
        white-space: nowrap;
        margin-top: 12px;
    }

    .form-heading {
        font-size: 55px;
        margin-top: 30px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .required-indicator {
        color: red;
    }

    .table thead th, .table thead td {
        font-size: 16px;
        vertical-align: middle; /* Vertically center align text */
        border-bottom-color: #cbcbcb;
    }

    .table th, .table td {
        padding: 0.75rem;
        border-top: 1px solid #cbcbcb;
        vertical-align: middle; /* Vertically center align text */
        border: 1px solid #cbcbcb;
    }

    .mt-2, .my-2 {
        margin-top: 10px !important;
    }

    .form-check {
        display: inline-block;
        margin-right: 20px;
        margin-left: 25px;
    }

    input[type=radio], input[type=checkbox] {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        margin-top: 3px;
        height: 20px;
        width: 20px;
    }

    .form-check-input {
        position: absolute;
        margin-top: 0.3rem;
        margin-left: -2.25rem;
    }

    .btn.btn-primary {
        color: #FFFFFF;
        background-color: #F64E60;
        border-color: #F64E60;
        font-size: 16px;
        width: 90px;
        height: 45px;
    }

    .flatpickr-current-month {
        font-size: 15px !important;
    }

    .ToMonthYear {
        width: 110px;
        text-align: center !important;
    }

    .FromMonthYear {
        width: 110px;
        text-align: center !important;
    }

    .LastSalary {
        text-align: left !important;
        width: 150px;
    }

    .LastSalaryLabel {
        width: 100px;
    }

    .form-centre {
        text-align: center;
    }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media (max-width: 1536px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1280px;
    }

    .card {
        max-width: 1280px;
    }

    body {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 16px;
    }

    .text-dark {
        font-weight: 600 !important;
    }

    .btn.btn-clean {
        font-weight: 600 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
        font-size: 15px;
    }

    h5, .h5 {
        font-size: 16px;
        font-weight: bold !important;
    }

    .custom-font {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    th.text-center {
        text-align: center;
    }

    label {
        margin-bottom: 1.5%;
        margin-right: 5px;
        font-size: 16px;
    }

        label.invalid-label {
            color: red;
        }

    option {
        font-weight: normal;
        display: block;
        min-height: 1.2em;
        padding: 0px 2px 1px;
        white-space: nowrap;
    }

    .input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .input-btm {
        align-items: center;
        margin-bottom: 10px;
    }

    input[type="text"].auto-uppercase {
        font-size: 16px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.2s;
        width: 100%;
        height: 37px;
        margin-top: 5px;
        text-align: left;
    }

    .card-header-front {
        font-size: 26px;
        font-weight: bold;
        margin-top: 30px;
    }

    .divider-line {
        width: 100%;
        height: 4px;
        background-color: #000;
        margin-bottom: 15px;
    }


    .header-container {
        display: flex;
        align-items: center;
    }

    .explanatory-text {
        font-size: 14px;
        margin-left: 5px;
        margin-top: 35px;
    }

    .haileck-text {
        color: #D1D3D4;
        font-weight: bold;
        font-size: 150px;
        white-space: nowrap;
        transform-origin: 0 0;
        position: absolute;
        transform: rotate(90deg);
        position: absolute;
        top: 0;
        left: 230px;
    }


    .goc-text {
        color: #D1D3D4;
        font-size: 42px;
        font-weight: lighter;
        transform: rotate(90deg);
        white-space: nowrap;
        position: absolute;
        top: 10px;
        left: 52px;
        transform-origin: 0 0;
    }

    .col-left {
        padding-left: 6%;
        margin-top: 3rem;
    }

    .col-right {
        overflow: hidden;
    }

    .col-btm {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 6%;
    }

    .logo-form {
        width: 100px;
        height: 100px;
        margin-bottom: 5%;
    }

    .confidential {
        position: absolute;
        font-size: 1.5rem;
        font-weight: bold;
        margin-left: 50rem;
        top: -28px;
        right: 15px;
    }

    fieldset {
        min-width: 100%;
    }

    .card-body {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-height: 1px;
        padding: 2.25rem;
        overflow-x: auto;
        width: 100%;
        font-size: 16px;
    }

    .no-underline {
        border: none !important;
        border-bottom: none !important;
        font-size: 16px;
        text-align: center;
    }

    table {
        border-color: 1px solid #cbcbcb;
    }

    .col-out {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

        .col-out label {
            margin-right: 10px;
        }

        .col-out input[type="text"] {
            border: none;
            border-bottom: 1px solid #000;
            padding: 0;
            outline: none;
            width: 70%;
        }

            .col-out input[type="text"].invalid,
            .col-out select.invalid {
                border-bottom: 1px solid red;
            }

    .form-select {
        padding: 0.5rem;
        font-size: 1rem;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        color: #333;
        position: relative;
        top: -7px;
        font-size: 16px;
    }

    #CountryCode {
        width: 100px;
        margin-right: 5px;
        font-size: 16px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.2s;
        height: 37px;
        margin-bottom: 10px;
    }

    #Contact {
        width: 225px;
        margin-right: 10px;
        font-size: 16px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.2s;
        width: 255px;
        height: 37px;
        margin-bottom: 10px;
    }

    #Email {
        width: 390px !important;
        margin-bottom: 15px;
    }

    label[for="ReferrerName"] {
        display: flex;
        white-space: nowrap;
        margin-top: 12px;
    }

    .form-heading {
        font-size: 55px;
        margin-top: 30px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .required-indicator {
        color: red;
    }

    .table thead th, .table thead td {
        font-size: 16px;
        vertical-align: middle; /* Vertically center align text */
        border-bottom-color: #cbcbcb;
    }

    .table th, .table td {
        padding: 0.75rem;
        border-top: 1px solid #cbcbcb;
        vertical-align: middle; /* Vertically center align text */
        border: 1px solid #cbcbcb;
    }

    .mt-2, .my-2 {
        margin-top: 10px !important;
    }

    .form-check {
        display: inline-block;
        margin-right: 20px;
        margin-left: 25px;
    }

    input[type=radio], input[type=checkbox] {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        margin-top: 3px;
        height: 20px;
        width: 20px;
        cursor: pointer;
    }

    .form-check-input {
        position: absolute;
        margin-top: 0.3rem;
        margin-left: -2.25rem;
    }

    .btn.btn-primary {
        color: #FFFFFF;
        background-color: #F64E60;
        border-color: #F64E60;
        font-size: 16px;
        width: 90px;
        height: 45px;
    }

    .LastSalary {
        text-align: left !important;
    }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media (max-width: 1280px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1024px;
    }

    .card {
        max-width: 1024px;
    }

    body {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 15px;
    }

    .text-dark {
        font-weight: 600 !important;
    }

    .btn.btn-clean {
        font-weight: 600 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
        font-size: 15px;
    }

    h5, .h5 {
        font-size: 15px;
        font-weight: bold !important;
    }

    .custom-font {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    th.text-center {
        text-align: center;
    }

    label {
        margin-bottom: 1.5%;
        margin-right: 5px;
        font-size: 15px;
    }

        label.invalid-label {
            color: red;
        }

    option {
        font-weight: normal;
        display: block;
        min-height: 1.2em;
        padding: 0px 2px 1px;
        white-space: nowrap;
    }

    .input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .input-btm {
        align-items: center;
        margin-bottom: 10px;
    }

    input[type="text"] {
        border: none;
        border-bottom: 1px solid #000;
        padding: 0;
        outline: none;
        position: relative;
        width: 100%;
        /*height: 35px !important;*/
        font-size: 15px !important;
    }

    .card-header-front {
        font-size: 22px;
        font-weight: bold;
        margin-top: 30px;
    }

    .divider-line {
        width: 100%;
        height: 4px;
        background-color: #000;
        margin-bottom: 15px;
    }


    .header-container {
        display: flex;
        align-items: center;
    }

    .explanatory-text {
        font-size: 15px;
        margin-left: 5px;
        margin-top: 35px;
    }

    .haileck-text {
        color: #D1D3D4;
        font-weight: bold;
        font-size: 115px;
        white-space: nowrap;
        transform-origin: 0 0;
        position: absolute;
        transform: rotate(90deg);
        position: absolute;
        top: 0;
        left: 183px;
    }


    .goc-text {
        color: #D1D3D4;
        font-size: 37px;
        font-weight: lighter;
        transform: rotate(90deg);
        white-space: nowrap;
        position: absolute;
        top: 10px;
        left: 55px;
        transform-origin: 0 0;
    }

    .col-left {
        padding-left: 6%;
        margin-top: 3rem;
    }

    .col-right {
        overflow: hidden;
    }

    .col-btm {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 6%;
    }

    .logo-form {
        width: 80px;
        height: 80px;
        margin-bottom: 5%;
    }

    .confidential {
        position: absolute;
        font-size: 1.5rem;
        font-weight: bold;
        margin-left: 50rem;
        top: -25px;
        right: 0px;
    }

    fieldset {
        min-width: 100%;
    }

    .card-body {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-height: 1px;
        padding: 2.25rem;
        overflow-x: auto;
        width: 100%;
        font-size: 15px;
    }

    .no-underline {
        border: none !important;
        border-bottom: none !important;
    }

    table {
        border-color: grey;
    }

    .col-out {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

        .col-out label {
            margin-right: 10px;
        }

        .col-out input[type="text"] {
            border: none;
            border-bottom: 1px solid #000;
            padding: 0;
            outline: none;
            width: 70%;
        }

            .col-out input[type="text"].invalid,
            .col-out select.invalid {
                border-bottom: 1px solid red;
            }

    .form-select {
        padding: 0.5rem;
        font-size: 1rem;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        color: #333;
        position: relative;
        top: -7px;
        font-size: 15px;
    }

    #CountryCode {
        width: 80px;
        height: 35px !important;
    }

    #Contact {
        width: 225px;
        height: 35px !important;
    }

    #Email {
        width: 250px !important;
    }

    #Name {
        width: 500px;
    }

    #ReferrerName {
        width: 100%;
    }

    label[for="ReferrerName"] {
        display: flex;
        white-space: nowrap;
        margin-top: 12px;
    }

    .form-heading {
        font-size: 47px;
        margin-top: 30px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .required-indicator {
        color: red;
    }

    .table thead th, .table thead td {
        font-size: 15px;
    }

    .table th, .table td {
        padding: 0.75rem;
        border-top: 1px solid #cbcbcb;
    }

    .mt-2, .my-2 {
        margin-top: 10px !important;
    }

    .form-check {
        display: inline-block;
        margin-right: 20px;
    }

    .LastSalary {
        text-align: left !important;
    }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media (max-width: 1024px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 850px;
    }

    .card {
        max-width: 850px;
    }

    body {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 12px;
    }

    .text-dark {
        font-weight: 600 !important;
    }

    .btn.btn-clean {
        font-weight: 600 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
        font-size: 12px;
    }

    h5, .h5 {
        font-size: 12px;
        font-weight: bold !important;
    }

    .custom-font {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    th.text-center {
        text-align: center;
    }

    label {
        margin-bottom: 1.5%;
        margin-right: 5px;
        font-size: 12px;
    }

        label.invalid-label {
            color: red;
        }

    option {
        font-weight: normal;
        display: block;
        min-height: 1.2em;
        padding: 0px 2px 1px;
        white-space: nowrap;
    }

    .input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .input-btm {
        align-items: center;
        margin-bottom: 10px;
    }

    input[type="text"] {
        border: none;
        border-bottom: 1px solid #000;
        padding: 0;
        outline: none;
        position: relative;
        width: 100%;
        /*height: 31px !important;*/
        font-size: 12px !important;
    }

    .card-header-front {
        font-size: 18px;
        font-weight: bold;
        margin-top: 30px;
    }

    .divider-line {
        width: 100%;
        height: 4px;
        background-color: #000;
        margin-bottom: 15px;
    }


    .header-container {
        display: flex;
        align-items: center;
    }

    .explanatory-text {
        font-size: 12px;
        margin-left: 5px;
        margin-top: 35px;
    }

    .haileck-text {
        color: #D1D3D4;
        font-weight: bold;
        font-size: 110px;
        white-space: nowrap;
        transform-origin: 0 0;
        position: absolute;
        transform: rotate(90deg);
        position: absolute;
        top: 0;
        left: 155px;
    }


    .goc-text {
        color: #D1D3D4;
        font-size: 35px;
        font-weight: lighter;
        transform: rotate(90deg);
        white-space: nowrap;
        position: absolute;
        top: 5px;
        left: 33px;
        transform-origin: 0 0;
    }

    .col-left {
        padding-left: 6%;
        margin-top: 3rem;
    }

    .col-right {
        overflow: hidden;
    }

    .col-btm {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 6%;
    }

    .logo-form {
        width: 70px;
        height: 70px;
        margin-bottom: 5%;
    }

    .confidential {
        position: absolute;
        font-size: 14px;
        font-weight: bold;
        margin-left: 50rem;
        top: -30px;
        right: 12px;
    }

    fieldset {
        min-width: 100%;
    }

    .card-body {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-height: 1px;
        padding: 2.25rem;
        overflow-x: hidden;
        width: 100%;
        font-size: 12px;
    }

    .no-underline {
        border: none !important;
        border-bottom: none !important;
    }

    table {
        border-color: grey;
        width: 100%;
    }

    .col-out {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

        .col-out label {
            margin-right: 10px;
        }

        .col-out input[type="text"] {
            border: none;
            border-bottom: 1px solid #000;
            padding: 0;
            outline: none;
            width: 70%;
        }

            .col-out input[type="text"].invalid,
            .col-out select.invalid {
                border-bottom: 1px solid red;
            }

    .form-select {
        padding: 0.5rem;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        color: #333;
        position: relative;
        top: -7px;
        font-size: 12px;
    }

    #CountryCode {
        width: 80px;
        height: 31px !important;
    }

    #Contact {
        width: 150px;
        height: 31px !important;
    }

    #Email {
        width: 160px !important;
    }

    #PositionApplied {
        width: 260px;
    }

    #ReferrerName {
        width: 100%;
    }

    .form-heading {
        font-size: 35px;
        margin-top: 30px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .required-indicator {
        color: red;
    }

    .table thead th, .table thead td {
        font-size: 12px;
    }

    .table th, .table td {
        padding: 0.75rem;
        border-top: 1px solid #cbcbcb;
    }

    .mt-2, .my-2 {
        margin-top: 10px !important;
    }

    .form-check {
        display: inline-block;
        margin-right: 20px;
    }

    input[type=radio], input[type=checkbox] {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        margin-top: 1px !important;
        height: 15px !important;
        width: 15px !important;
    }

    .LastSalary {
        text-align: left !important;
    }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media (max-width: 768px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 750px;
    }

    .subheader {
        min-width: 760px;
        /*width: 100% !important;*/
    }

    .card {
        width: 660px;
    }

    .header-mobile-fixed {
        max-width: 768px;
    }

    .topbar {
        max-width: 768px;
    }

    body {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    .text-dark {
        font-weight: 600 !important;
    }

    .btn.btn-clean {
        font-weight: 600 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Century Gothic", sans-serif;
        font-weight: bold;
        font-size: 11px;
    }

    .custom-font {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    th.text-center {
        text-align: center;
    }

    label {
        margin-bottom: 1.5%;
        font-size: 11px;
    }

        label.email, label.contact {
            margin-right: 0;
        }

    .input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .input-btm {
        align-items: center;
        margin-bottom: 10px;
    }

    input[type="text"] {
        border: none;
        border-bottom: 1px solid #000;
        padding: 0;
        outline: none;
        position: relative;
        /*height: 25px !important;*/
        font-size: 11px;
    }

    #CountryCode {
        width: 80px;
        height: 25px !important;
    }

    #Contact {
        width: 100px;
        height: 25px !important;
    }

    #Email {
        width: 160px !important;
        height: 25px !important;
    }

    #Applicant {
        width: 460px;
        height: 25px !important;
    }

    #PositionApplied {
        width: 100%;
    }

    #ReferrerName {
        width: 270px;
        height: 25px !important;
    }

    .card-header-front {
        font-size: 15px;
        font-weight: bold;
    }

    .divider-line {
        width: 100%;
        height: 4px;
        background-color: #000;
        margin-bottom: 15px;
    }


    .header-container {
        display: flex;
        align-items: center;
    }

    .explanatory-text {
        font-size: 11px;
        margin-left: 5px;
        margin-top: 15px;
    }

    .haileck-text {
        color: #D1D3D4;
        font-weight: bold;
        font-size: 90px;
        white-space: nowrap;
        transform-origin: 0 0;
        position: absolute;
        transform: rotate(90deg);
        position: absolute;
        top: -645px;
        left: 680px;
    }


    .goc-text {
        color: #D1D3D4;
        font-size: 30px;
        font-weight: lighter;
        transform: rotate(90deg);
        white-space: nowrap;
        position: absolute;
        top: -640px;
        left: 575px;
        transform-origin: 0 0;
    }

    .col-left {
        padding-left: 6%;
        margin-top: 3rem;
    }

    .col-right {
        overflow: hidden;
    }

    .col-btm {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 6%;
    }

    .logo-form {
        width: 50px;
        height: 50px;
        margin-bottom: 5%;
    }

    .confidential {
        position: absolute;
        font-size: 14px;
        font-weight: bold;
        margin-left: 50rem;
        top: -40px;
        right: 125px;
    }

    fieldset {
        min-width: 100%;
    }

    .card-body {
        padding: 1.5rem;
        font-size: 11px;
        width: 100%;
        overflow-x: auto;
        width: 100%;
        font-size: 11px;
    }

    .no-underline {
        border: none !important;
        border-bottom: none !important;
    }

    table {
        border-color: grey;
    }

    .col-out {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

        .col-out label {
            margin-right: 10px;
        }

        .col-out input[type="text"] {
            border: none;
            border-bottom: 1px solid #000;
            padding: 0;
            outline: none;
            width: 70%;
        }

    .form-select {
        padding: 4px;
        font-size: 11px;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        color: #333;
        position: relative;
        top: -7px;
        margin-left: 10px;
        height: 25px !important;
    }

    .form-heading {
        font-size: 25px;
        margin-top: 25px;
    }

    .table {
        width: 100%;
    }

        .table thead th, .table thead td {
            font-weight: 600;
            font-size: 1rem;
            border-bottom-width: 1px;
        }

        .table th, .table td {
            padding: 0.75rem;
            border-top: 1px solid #cbcbcb;
        }

    .form-check {
        display: inline-block;
        margin-right: 10px;
    }

    .required-indicator {
        color: red;
    }

    label.invalid-label {
        color: red;
    }

    .divider-PP {
        width: 460px;
    }

    input[type=radio], input[type=checkbox] {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        margin-top: 1px !important;
        height: 15px !important;
        width: 15px !important;
    }

    .LastSalary {
        text-align: left !important;
    }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media (max-width: 640px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 475px !important;
    }

    .card {
        max-width: 475px;
    }

    .subheader {
        min-width: 620px;
        /*width: 100% !important;*/
    }

    .header-mobile-fixed {
        max-width: 640px;
    }

    .topbar {
        max-width: 640px;
    }

    body {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    .text-dark {
        font-size: 9px;
        font-weight: 600 !important;
    }

    .btn.btn-clean {
        font-weight: 600 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
        font-size: 9px;
    }

    p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 9px;
    }

    .custom-font {
        font-family: "Century Gothic", sans-serif;
        font-weight: normal;
    }

    th.text-center {
        text-align: center;
    }

    label {
        margin-bottom: 1%;
        font-size: 9px;
    }

        label.email, label.contact {
            margin-right: 0;
        }

    .input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .input-btm {
        align-items: center;
        margin-bottom: 10px;
    }

    input[type="text"] {
        border: none;
        border-bottom: 1px solid #000;
        padding: 0;
        outline: none;
        position: relative;
        width: 100%;
        font-size: 9px;
    }

    #CountryCode {
        width: 50px;
        font-size: 9px !important;
    }

    #Contact {
        width: 60px;
        font-size: 9px !important;
    }

    #Email {
        width: 90px !important;
        font-size: 9px !important;
    }

    #Applicant {
        width: 330px;
        font-size: 9px !important;
    }

    #PositionApplied {
        width: 156px;
    }

    #ReferrerName {
        width: 185px;
    }

    .card-header-front {
        font-size: 10px;
        white-space: nowrap;
        font-weight: bold;
        margin-top: 20px;
    }

    .divider-line {
        width: 100%;
        height: 2px;
        background-color: #000;
        margin-bottom: 10px;
    }

    .header-container {
        display: flex;
        align-items: center;
    }

    .explanatory-text {
        font-size: 9px;
        margin-left: 5px;
        margin-top: 15px;
    }

    .haileck-text {
        color: #D1D3D4;
        font-weight: bold;
        font-size: 80px;
        white-space: nowrap;
        transform-origin: 0 0;
        position: absolute;
        transform: rotate(90deg);
        position: absolute;
        top: -575px;
        left: 490px;
    }

    .goc-text {
        color: #D1D3D4;
        font-size: 22px;
        font-weight: lighter;
        transform: rotate(90deg);
        white-space: nowrap;
        position: absolute;
        top: -570px;
        left: 400px;
        transform-origin: 0 0;
    }

    .col-left {
        padding-left: 6%;
        margin-top: 3rem;
    }

    .col-right {
        overflow: hidden;
    }

    .col-btm {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 6%;
    }

    .logo-form {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .confidential {
        position: absolute;
        font-size: 70%;
        font-weight: bold;
        margin-left: 50rem;
        top: -40px;
        right: 105px;
    }

    fieldset {
        min-width: 100%;
    }

    .card-body {
        width: 100%;
        font-size: 9px;
        padding: 5px;
    }

    .no-underline {
        border: none !important;
        border-bottom: none !important;
        font-size: 9px;
    }

    table {
        border-color: grey;
    }

    .col-out {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

        .col-out label {
            margin-right: 10px;
        }

        .col-out input[type="text"] {
            border: none;
            border-bottom: 1px solid #000;
            padding: 0;
            outline: none;
            width: 100%;
            font-size: 9px;
        }

    .form-select {
        padding: 2px;
        font-size: 9px;
        width: 100%;
        height: 50%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        color: #333;
        margin-left: 5px;
    }

    .form-control {
        display: block;
        width: 100%;
        height: calc(1.5em + 1.3rem + 2px);
        padding: 0.65rem 1rem;
        font-size: 9px;
        font-weight: 400;
    }

    .form-heading {
        font-size: 17px;
        margin-top: 10px;
        font-weight: bold;
    }

    .form-check-label {
        margin-bottom: 0;
        text-align: left;
        margin-right: 20px;
    }

    .table-form {
        width: 20%;
        margin: 0 auto;
    }

        .table-form td {
            width: 20%;
        }

        .table-form label {
            font-size: 9px;
        }

        .table-form input {
            width: 200%;
        }

    .table th, .table td {
        vertical-align: top;
        border-top: 1px solid #cbcbcb;
    }

    .table thead th, .table thead td {
        font-weight: 600;
        font-size: 9px;
        border-bottom-width: 1px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .form-check {
        display: inline-block;
        margin-right: 10px;
        margin-top: 20px;
        text-align: center;
    }

    .form-check-input {
        position: absolute;
        margin-top: 1px;
        margin-left: -17px;
        width: 10px;
        height: 10px;
    }

    .mt-5, .my-5 {
        margin-top: 10px !important;
    }

    .divider-PP {
        width: 330px;
    }

    .required-indicator {
        color: red;
    }

    label.invalid-label {
        color: red;
    }

    input[type=radio], input[type=checkbox] {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        height: 11px !important;
        width: 11px !important;
        margin-top: 3px;
    }

    .form-check-label {
        margin-bottom: 0;
        text-align: center;
        margin-right: -8px;
    }

    .LastSalary {
        text-align: left !important;
    }
}
