body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 15px;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.mb-5 {
    margin-bottom: 50px !important;
}

.main-wrapper {
    height: 100vh;
    background-color: #1a1d22;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px;
}

.logo img {
    max-width: 100%;
}

.hero-content {
    text-align: center;
}

h1.hero-title {
    color: #fff;
    margin-bottom: 30px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 40px;
}

a.btn.start-btn {
    font-size: 20px;
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #d24500;
    color: #fff;
    text-align: center;
    background-color: #d24500;
    font-weight: 600;
    text-transform: uppercase;
}

.header-bg {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: rgba(64, 64, 64, 0.95);
    margin-bottom: 30px !important;
}

.right-wrapper {
    border: 1px solid #fff;
    border-right: 0;
    color: #fff;
    display: flex;
    font-size: 16px;
}

.right-wrapper .h-col {
    border-right: 1px solid #fff;
}

.right-wrapper .h-col h2 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
    padding: 5px 10px;
    width: 100%;
}

.right-wrapper .h-col p {
    padding: 5px 10px;
}

.rev-date-list {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    display: flex;
}

.rev-date-list li {
    padding: 5px 10px;
}

.rev-date-list li+li {
    border-left: 1px solid #fff;
}

.form-logo img {
    max-width: 100%;
}

.formbold-mb-3 {
    margin-bottom: 20px;
}

.formbold-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.alert.alert-danger {
    position: absolute;
    top: -30px;
    left: calc(10% + 40px);
}

.formbold-form-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    background: white;
    padding: 0 40px 40px;
}

.candidate-wrapper {
    text-align: right;
    margin-bottom: 30px;
}

.candidate-wrapper h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.formbold-img {
    display: block;
    margin: 0 auto 45px;
}

.formbold-input-wrapp>div {
    display: flex;
    gap: 20px;
}

.formbold-input-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.formbold-input-flex>div {
    width: 50%;
}

.formbold-input-flex label {
    flex-shrink: 0;
    font-size: 15px;
}


.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 18px !important;
}

.select2-container .select2-selection--single {
    height: 46px !important;
    border: 1px solid #cfcfcf !important;
}

.formbold-form-input {
    width: 100%;
    padding: 13px 18px;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
    background: transparent;
    font-weight: 500;
    font-size: 14px;
    color: #2d3341;
    outline: none;
    resize: none;
}

.formbold-form-input::placeholder,
.formbold-form-input[type='date']::-webkit-datetime-edit-text,
.formbold-form-input[type='date']::-webkit-datetime-edit-month-field,
.formbold-form-input[type='date']::-webkit-datetime-edit-day-field,
.formbold-form-input[type='date']::-webkit-datetime-edit-year-field {
    color: rgba(48, 59, 85, 0.5);
}

.formbold-form-input:focus {
    border-color: #0e0d18;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-form-label {
    color: #000;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    display: block;
    margin-bottom: 10px;
}

.formbold-form-file-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.formbold-form-file-flex .formbold-form-label {
    margin-bottom: 0;
}

.formbold-form-file {
    font-size: 14px;
    line-height: 24px;
    color: #536387;
}

.formbold-form-file::-webkit-file-upload-button {
    display: none;
}

.formbold-form-file:before {
    content: 'Upload file';
    display: inline-block;
    background: #EEEEEE;
    border: 0.5px solid #FBFBFB;
    box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    padding: 3px 12px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    color: #637381;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    margin-right: 10px;
}

.formbold-btn {
    text-align: center;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    padding: 14px 25px;
    border: none;
    font-weight: 500;
    background-color: #6a64f1;
    color: white;
    cursor: pointer;
    margin-top: 25px;
}

.formbold-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-w-45 {
    width: 45%;
}

/* Hide all steps by default: */
.tab {
    display: none;
}

.button-group.top-button-group {
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

button {
    background-color: #7d8531;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    outline: none;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

.captcha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    padding-top: 20px;
}

.captcha img {
    width: 130px;
}

.captcha button.btn.btn-danger {
    background: #ebebeb;
    border: 1px solid #797979;
    padding: 0;
    border-radius: 3px;
    width: 26px;
    height: 26px;
    color: #797979;
}

.captcha-value-box {
    justify-content: center;
    display: flex;
    position: relative;
}

.captcha-value-box .captcha-code-validation-error.captcha-error {
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin: auto;
    transform: translateX(-50%);
    color: red;
}

.captcha-value-box input {
    margin-bottom: 40px;
}

#prevBtn {
    background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.form-stepper-wrapper {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.form-stepper-wrapper.bottom-stepper {
    margin-top: 30px;
    margin-bottom: 0;

}

.b_step,
.step {
    position: relative;
}

.b_step span,
.step span {
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 16px;
    font-weight: 600;
    background-color: #d24500;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.b_step.active span,
.step.active span {
    background-color: #d24500;
    color: #fff;
}

.b_step.active~.b_step span,
.step.active~.step span {
    background-color: #dddddd;
    color: #a5a5a5;
}

.b_step::before,
.step::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d24500;
    height: 2px;
    width: 100%;
    z-index: 1;
}

.b_step.active::before,
.step.active::before {
    background-color: #d24500;
}

.b_step.active~.b_step::before,
.step.active~.step::before {
    background-color: #dddddd;
}

.b_step:first-child::before,
.step:first-child::before {
    display: none;
}

.d-flex {
    display: flex;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 12px;
}

.align-items-center {
    align-items: center;
}

/* Mark the steps that are finished and valid: */
.b_step.finish,
.step.finish {
    background-color: #04AA6D;
}


/* footer */
.footer-bg {
    padding: 30px 30px;
}

.footer-row {
    display: flex;
}

.footer-col {
    width: calc(100%/3);
    border: 1px solid #cfcfcf;
    padding: 15px 0;
    border-right: 0;
}

.footer-col:last-child {
    border: 1px solid #cfcfcf;
}

.footer-col span,
.footer-col p {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    padding: 0 15px;
    margin-bottom: 10px;
    display: block;
}

.footer-col span {
    margin-bottom: 0;
}

.footer-col:last-child p {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 15px;
}

table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #cfcfcf;

}

/* table tr td:first-child {
    max-width: 120px;
} */

table td b {
    text-align: center;
    display: block;
}

table th,
table td {
    padding: 15px;
}

table tr td p {
    font-size: 15px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 400;
}

.table-responsive {
    overflow-x: auto;
}

.delete-field-btn {
    background-color: #d24500;
}

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

.small-input {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
    background: transparent;
    font-weight: 500;
    font-size: 16px;
    color: #2d3341;
    outline: none;
    resize: none;
    max-width: 300px;
    width: 100%;
}

.mb-1 {
    margin-bottom: 10px;
}

.office-use-table .formbold-input-flex {
    align-items: center;
}

.office-use-table h2 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.select2-selection__rendered {
    line-height: 43px !important;
}

.select2-container {
    width: 100% !important;
}


.select2-selection__arrow {
    height: 42px !important;
}

.flex-shrink {
    flex-shrink: 0;
}

.flex-grow-1 {
    flex-grow: 1;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.mr-1 {
    margin-right: 8px;
}

.pt-1 {
    padding-top: 10px;
}

.flex-wrap {
    flex-wrap: wrap;
}

label.error {
    margin-top: 5px;
    display: block;
    font-size: 14px;
}

.emergency-contact-detail p {
    width: 80px;
    flex-shrink: 0;
}

.select2-search__field {
    height: 40px;
    border-radius: 5px;
}

.permanent_country-error-div {
    position: relative;
}

.state_wrapper {
    position: relative;
}

.permanent_country-error-div .error {
    position: absolute;
    bottom: 0;
    left: 0;
}

.state_wrapper .formbold-form-input.error {
    margin-bottom: 20px;
}

.state_wrapper span.select2.select2-container.select2-container--default {
    margin-bottom: 20px;
}

#permanent_state-error.error {
    position: absolute;
    top: 78px;
    left: 0;
}

.criminal-case-wrap {
    position: relative;
}

.criminal-case-wrap label.error {
    position: absolute;
    left: 0;
    bottom: 0;
}

.signature-wrap {
    position: relative;
}

.signature-wrap input.error {
    margin-bottom: 20px;
}

.signature-wrap label.error {
    position: absolute;
    right: 43px;
    bottom: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.label-of-radio {
    margin-right: 8px;
}

.label-of-radio input[type="radio"] {
    margin-left: 5px;
    vertical-align: middle;
    margin-right: 10px;
}

@media screen and (max-width:1500px) {
    .formbold-form-wrapper {
        width: 100%;
    }

}

@media screen and (max-width:1199px) {
    .form-logo img {
        max-width: 400px;
    }

    .alert.alert-danger {
        left: calc(5% + 40px);
    }
}

@media screen and (max-width:991px) {
    .header-bg {
        flex-wrap: wrap;
        gap: 20px;
    }

    .right-wrapper {
        flex-basis: 100%;
    }

    .right-wrapper .h-col {
        width: 100%;
    }

    .form-logo img {
        max-width: 350px;
        width: 100%;
    }

    .alert.alert-danger {
        left: 40px;
    }

    th,
    td {
        padding: 10px;
    }

    .formbold-form-input {
        padding: 10px 10px;
    }

    #permanent_state-error.error {
        top: 67px;
    }

    .select2-container .select2-selection--single .select2-selection__rendered {
        padding: 0px 10px !important;
    }

    .formbold-form-label {
        margin-bottom: 5px;
    }

    .signature-wrap input {
        min-width: unset;
    }

    .select2-selection__rendered {
        line-height: 40px !important;
    }

    .select2-container .select2-selection--single {
        height: 40px !important;
    }
}

@media screen and (max-width:767px) {
    .formbold-input-flex.address-wrapper {
        flex-wrap: wrap;
    }

    .formbold-input-flex.address-wrapper>div {
        width: calc(50% - 10px);
    }

    .button-group {
        padding-top: 20px;
    }

    .button-group.top-button-group {
        margin-bottom: 30px;
        padding-top: 0;
    }

    .formbold-form-wrapper {
        padding: 0 30px 30px;
    }


    .footer-row {
        flex-wrap: wrap;
    }

    .footer-col {
        width: 100%;
        border-right: 1px solid #cfcfcf;
        border-bottom: 0;
    }

    button {
        padding: 8px 17px;
        font-size: 16px;
    }

}

@media screen and (max-width:575px) {
    h1.hero-title {
        font-size: 30px;
    }

    a.btn.start-btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    .header-bg {
        padding: 15px 15px;
    }

    .form-stepper-wrapper {
        margin-bottom: 25px;
    }

    .formbold-form-wrapper {
        padding: 0 15px 30px;
    }

    .formbold-input-flex {
        gap: 15px;
        flex-wrap: wrap;
    }

    .formbold-input-flex.address-wrapper>div {
        width: calc(50% - 8px);
    }

    .emergency-contact-detail p {
        width: 100%;
    }

    .formbold-input-flex>div {
        width: 100%;
    }

    .footer-bg {
        padding: 20px 15px;
    }

    table th,
    table td {
        padding: 10px;
    }
}

/* new-css-17-01-2021-4 */

.table-date-wrapper {
    margin-bottom: 20px;
}


.table-title {
    border: 1px solid #cfcfcf;
    padding: 15px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.table-date-row {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    gap: 27px;
    padding-top: 20px;
    row-gap: 10px;
    padding-bottom: 20px;
}

.table-data-column {
    border-right: 0;
    border-top: 0;
    width: calc(33.33% - 18px);
    border: 0;
}

.table-date-row.col-6 .table-data-column {
    width: calc(50% - 14px);
}

.table-date-row.col-6 .table-data-column:last-child,
.table-data-column:last-child {
    flex-shrink: 0;
}

.table-date-row.col-6 .table-data-column:first-child,
.table-data-column:first-child {
    text-align: center;
    width: 100%;
    text-align: left;
    flex-shrink: 0;
}

.table-field-title {
    color: #000;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 8px;
    display: block;
}



.count-num {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.table-data-column:first-child .table-field-title {
    display: inline-block !important;
}

.table-data-column.action-column {
    padding: 0;
    position: absolute;
    right: 0;
    top: 20px;
    width: auto !important;
    border: 0;
}

.table-date-wrapper .table-date-row:first-of-type .table-data-column:last-child {
    padding: 0;
}

.reference-table-data tr:not(:first-of-type) td {
    padding: 0;
}

.reference-details-inp-row {
    padding: 15px 15px;
    display: flex;
    gap: 15px;
}

.reference-details-inp-row label {
    width: 130px;
    flex-shrink: 0;
    color: #000;
    font-size: 14px;
    line-height: 20px;
}

.reference-details-inp-row+.reference-details-inp-row {
    border-top: 1px solid #cfcfcf;
}

.reference-details-inp-row .formbold-form-input {
    min-height: 48px;
}

.reference-details-inp-row label.error {
    color: red;
    margin-top: 0;
}

.input-box {
    flex-grow: 1;
}

.languages-wrapper {
    margin-bottom: 30px;
}

.tree-lang-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.language-warp {
    padding-top: 15px;
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 15px;
    width: calc(100%/3 - 10px);
}

.language-name {
    margin-bottom: 15px;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.language-option {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}

.language-option:has(li .language-checkbox.error + .error) {
    padding-bottom: 25px;
}

.language-option li .language-checkbox.error+.error {
    position: absolute;
    left: 0;
    bottom: 0;
}

ul.language-option li {
    color: #000;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
}

.language-option .language-checkbox {
    margin-left: 10px;
    cursor: pointer;
}

.language-warp.other-language-option {
    border-bottom: 0;
    padding-bottom: 0;
    width: 100%;
}

.language-warp.other-language-option ul.language-option {
    row-gap: 10px;
}

.language-warp.other-language-option ul.language-option li {
    width: calc(100%/3 - 10px);
}

.language-warp.other-language-option ul.language-option li label {
    margin-bottom: 7px;
    display: block;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
}

.signature-checkbox-title label.error {
    display: inline-block;
}

.radio-table-title-wrap {
    color: #000;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
}

.radio-table-title {
    display: inline-block;
    margin-right: 10px;
    line-height: 24px;
}

.radio-table-title input {
    margin-left: 10px;
}

.personal-identity table tr td,
.emergency-contact-detail table tr td {
    width: 33.33%;
}

.choose-option {
    gap: 20px;
    align-items: center;
    position: relative;
}

.choose-option label.error {
    position: absolute;
    bottom: -23px;
    left: 150px;
    height: 21px;
}

.notice-period-field.choose-option label.error {
    left: 170px;
}

.choose-option .formbold-form-label {
    flex-shrink: 0;
    margin-bottom: 0;
}

.choose-option-wrapper {
    margin-bottom: 25px;
}
.error-m-0 label.error{
    margin-bottom: 0;
}
.st-field-details-row{
    column-gap: 0;
}

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

    .table-date-row+.table-date-row {
        border-top: 1px solid #cfcfcf;

    }

}

@media screen and (max-width:991px) {
    .table-date-row {
        gap: 20px;
        row-gap: 10px;
    }
    .st-field-details-row{
        column-gap: 0;
    }
    .table-data-column {
        width: calc(50% - 10px);
    }

    .reference-details-inp-row label {
        width: 100px;
    }

    .table-title {
        padding: 10px;
    }

    .formbold-input-wrapp .choose-option-wrapper {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
    }

    .choose-option {
        flex-basis: 100%;
    }
}

@media screen and (max-width:767px) {
    .reference-details-inp-row {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 10px;
    }
    .st-field-details-row{
        column-gap: 0;
    }
    .reference-details-inp-row label br {
        display: none;
    }

    .reference-details-inp-row label {
        width: 100%;
    }

    .reference-details-inp-row .formbold-form-input {
        min-height: auto;
    }

    .choose-option {
        flex-wrap: wrap;
        gap: 10px;
    }

    .choose-option label.error {
        position: unset;
        margin-top: 0;
        height: auto;
    }
}

@media screen and (max-width:575px) {
    .languages-wrapper {
        display: block;
    }

    .d-languages-wrapper {
        display: none;
    }

    .table-date-row.col-6 .table-data-column,
    .table-data-column {
        width: 100%;
    }

    .language-warp {
        width: 100%;
    }

    .tree-lang-wrapper {
        gap: 0;
    }

    .language-warp.other-language-option ul.language-option li {
        width: calc(100%/2 - 8px);
    }

    .language-warp.other-language-option ul.language-option li:last-child {
        width: 100%;
    }
}

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

.other-language-textbox,
.other-checkbox-hidden {
    display: none;
}

/* .other-checkbox-hidden{

} */
.text-danger {
    color: red;
}