@media screen and (max-width:540px) {
    .renumeration-banner .media-line {
        display: none;
    }
}

@media screen and (min-width:1024px) {
    .modal-page-content.modal-content {
        margin-top: 55px;
    }
}

@media screen and (min-width:768px) {

    /** BFLAMC-985 Starts*/
    .renumeration-details .or-style {
        width: 45px;
        height: 45px;
        background: #DBF0FF 0% 0% no-repeat padding-box;
        opacity: 1;
        border-radius: 50%;
        position: relative;
        top: 41%;
        text-align: center;
        font: normal normal 600 18px Rubik;
        letter-spacing: 0px;
        color: #000000;
        text-transform: capitalize;
        opacity: 1;
        padding: 14px 10px 14px 10px;
    }

    .renumeration-details .webform-submission-employee-remuneration-form,
    .renumeration-details .webform-submission-remuneration-details-form {
        border: 0px #0000004f;
        border-radius: 17px;
        padding: 15px;
        margin: 15px 0px 15px 8px;
        box-shadow: 0px 0px 4px #00000045;
        margin-bottom: 60px;
        background: white;
    }

    .renumeration-details .renumeration_block_title {
        text-align: center;
        font: normal normal 600 28px/54px Rubik;
        letter-spacing: 0px;
        color: #000000;
        text-transform: capitalize;
        opacity: 1;
    }

    .renumeration-details .webform-submission-employee-remuneration-form div label,
    .renumeration-details .webform-submission-remuneration-details-form div label {
        text-align: left;
        font: normal normal normal 14px Rubik;
        letter-spacing: 0px;
        color: #666666;
        opacity: 1;
    }

    .renumeration-details .renumeration-proceed-btn {
        background: #0072BC 0% 0% no-repeat padding-box;
        border-radius: 4px;
        letter-spacing: 0px;
        color: #FFFFFF;
        padding: 10px 125px;
        margin-bottom: 30px;
        margin-top: 30px;
        display: inline-block;
        text-decoration: none;
        font: normal normal 600 14px/17px Rubik;
        letter-spacing: 0px;
        color: #FFFFFF;
    }

    .renumeration-details .webform-submission-employee-remuneration-form input.form-submit:hover,
    .renumeration-details .webform-submission-remuneration-details-form input.form-submit:hover,
    input.form-submit:focus {
        background: #0072BC;
    }

    .renumeration-details .webform-submission-employee-remuneration-form #edit-actions input,
    .renumeration-details .webform-submission-remuneration-details-form #edit-actions input {
        margin-right: 0 !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-control:focus,
    .renumeration-details .webform-submission-remuneration-details-form .form-control:focus {
        color: #212529 !important;
        background-color: #fff !important;
        outline: 0 !important;
        box-shadow: none !important;
        border-color: grey !important;
    }


    .renumeration-details .webform-submission-employee-remuneration-form input.form-text,
    .renumeration-details .webform-submission-remuneration-details-form input.form-text,
    input.form-tel,
    input.form-email {
        color: #212529 !important;
        border: 1px solid #ccc !important;
        border-color: grey !important;
    }

    .container.renumeration-details {
        max-width: 1199px;
    }

    .renumeration-banner {
        height: auto !important;
        position: inherit !important;
        padding: 50px 0px 0px !important;
    }

    .renumeration-details .field.field--name-field-about-us-media.field--type-image.field--label-above {
        float: left;
        position: absolute;
        z-index: -1;
        left: 7px;
        margin-top: -6%;
    }

    /** Validation Message handled */
    .renumeration-details .webform-submission-employee-remuneration-form .messages.messages--error,
    .renumeration-details .webform-submission-remuneration-details-form .messages.messages--error {
        display: none !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form em.placeholder,
    .renumeration-details .webform-submission-remuneration-details-form em.placeholder {
        min-height: 1em;
        vertical-align: middle;
        cursor: wait;
        background-color: currentcolor;
        opacity: .5;
        display: none;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-item--error-message strong,
    .renumeration-details .webform-submission-remuneration-details-form .form-item--error-message strong {
        text-align: left;
        font: normal normal normal 12px/14px Rubik;
        letter-spacing: 0px;
        color: #FD4C60;
        opacity: 1;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-item--error-message:before,
    .renumeration-details .webform-submission-remuneration-details-form .form-item--error-message:before {
        display: contents !important;
    }

    /** BFLAMC-985 Ends*/
}

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

    .renumeration-details .webform-submission-employee-remuneration-form div label,
    .renumeration-details .webform-submission-remuneration-details-form div label {
        text-align: left;
        font: normal normal normal 14px Rubik;
        letter-spacing: 0px;
        color: #666666;
        opacity: 1;
    }

    .renumeration-details .or-style {
        padding: 10px;
        width: 45px;
        height: 45px;
        background: #DBF0FF 0% 0% no-repeat padding-box;
        opacity: 1;
        border-radius: 50%;
        position: relative;
        top: 41%;
        text-align: center;
        font: normal normal 600 14px Rubik;
        letter-spacing: 0px;
        color: #000000;
        text-transform: capitalize;
        opacity: 1;
    }

    .renumeration-details .renumeration-proceed-btn {
        background: #0072BC 0% 0% no-repeat padding-box;
        border-radius: 4px;
        letter-spacing: 0px;
        color: #FFFFFF;
        padding: 10px;
        display: inline-block;
        text-decoration: none;
        font: normal normal 600 14px/17px Rubik;
        letter-spacing: 0px;
        color: #FFFFFF;
    }

    .renumeration-details .webform-submission-employee-remuneration-form #edit-actions input,
    .renumeration-details .webform-submission-remuneration-details-form #edit-actions input {
        margin-right: 0 !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-actions,
    .renumeration-details .webform-submission-remuneration-details-form .form-actions {
        padding: 10px !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form,
    .renumeration-details .webform-submission-remuneration-details-form {
        padding: 0px 15px 0px 15px !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-control:focus,
    .renumeration-details .webform-submission-remuneration-details-form .form-control:focus {
        color: #212529 !important;
        background-color: #fff !important;
        outline: 0 !important;
        box-shadow: none !important;
        border-color: grey !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form input.form-text,
    .renumeration-details .webform-submission-remuneration-details-form input.form-text,
    input.form-tel,
    input.form-email {
        color: #212529 !important;
        border: 1px solid #ccc !important;
        border-color: grey !important;
        font: normal normal normal 16px Rubik;
    }

    /** Validation Message handled */
    .renumeration-details .webform-submission-employee-remuneration-form .messages.messages--error,
    .renumeration-details .webform-submission-remuneration-details-form .messages.messages--error {
        display: none !important;
    }

    .renumeration-details .webform-submission-employee-remuneration-form em.placeholder,
    .renumeration-details .webform-submission-remuneration-details-form em.placeholder {
        min-height: 1em;
        vertical-align: middle;
        cursor: wait;
        background-color: currentcolor;
        opacity: .5;
        display: none;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-item--error-message strong,
    .renumeration-details .webform-submission-remuneration-details-form .form-item--error-message strong {
        text-align: left;
        font: normal normal normal 12px/14px Rubik;
        letter-spacing: 0px;
        color: #FD4C60;
        opacity: 1;
    }

    .renumeration-details .webform-submission-employee-remuneration-form .form-item--error-message:before,
    .renumeration-details .webform-submission-remuneration-details-form .form-item--error-message:before {
        display: contents !important;
    }
}

.renumeration-details img#image_about,
.region-emp-renumeration-banner img#image_about {
    visibility: hidden;
}

.otp_message {
    display: none;
}

.otp-registration-form input {
    text-align: center;
    font-size: 25px;
}


.otp-registration-form input::-webkit-outer-spin-button,
.otp-registration-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.error_otp input {
    border: 1px solid #ff0000 !important;
    color: red;
}

.error_otp .otp_message {
    display: block;
}

.otp_message {
    color: red;
}

.error_otp .otp_message_hide {
    display: none;
}

.otp-registration-form .btnGroup {
    text-align: center;
}

.resendttl {
    font: normal normal 600 15px/14px Rubik;
    letter-spacing: 0px;
    color: #0072BC;
    border: none;
    background: no-repeat;
    outline: none;
}

#btnGroup {
    text-align: center;
}

.resendbdy {
    font: normal normal normal 12px/14px Rubik;
    letter-spacing: 0px;
    color: #111111;
}

@media only screen and (max-width:600px) {
    .otp-registration-form .modal-content {
        transform: translateY(40%);
    }

    .region-emp-renumeration-banner .modal-content {
        width: 100%;
    }

    .modal-content {
        width: 100%;
    }

    .otp-main-body input[type="number"] {
        width: 15%;
        height: 15%;
        margin: 16px 2px 18px 2px !important;
    }

    div#otp_registration_form_desc h4 {
        text-align: left;
        font: normal normal bold 16px/19px Rubik;
        letter-spacing: 0px;
        color: #111111;
        opacity: 1;
    }

    div#enterotp_desc h4, div#enter_otp_desc h4 {
        text-align: left;
        font: normal normal bold 16px/19px Rubik;
        letter-spacing: 0px;
        color: #111111;
        opacity: 1;
    }

    p.otp_message_hide {
        text-align: left;
        font: normal normal normal 12px/15px Rubik;
        letter-spacing: 0px;
        color: #111111;
        opacity: 1;
    }

    #btnGroup {
        text-align: center;
        letter-spacing: 0px;
        opacity: 1;
        font: normal normal 600 13px/14px Rubik;
    }

    .modal.show .modal-dialog {
        transform: none;
        padding: 10px;
    }

    .open_term_condition .modal-page-dialog.modal-dialog.modal-lg {
        top: 0px;
    }
}


.region-emp-renumeration-banner .field.field--name-field-about-us-media.field--type-image.field--label-above {
    right: 0 !important;
}

.open_term_condition .modal-buttons {
    display: flex;
    width: 100%;
}

.otp-registration-form .modal-body>p {
    font: normal normal bold 22px/27px Rubik;
}

@media only screen and (max-width:1024px) {
    .otp-registration-form .modal-body>p {
        font: normal normal bold 16px/19px Rubik;
    }
}

@media only screen and (device-width:810px) and (device-height:1080px) and (orientation:portrait) {
    .otp-registration-form .modal-page-dialog.modal-dialog.modal-lg {
        max-width: 634px;
    }

    .otp-registration-form .modal-content {
        transform: translateY(60%);
    }

    .open_term_condition .modal-content {
        transform: translateY(20%);
    }
}

@media (max-width: 768px) {
    .open_term_condition .modal-page-dialog {
        max-width: 95%;
        /* Make the modal wider on mobile */
        margin: 20% auto;
        /* Adjust the margin to reduce space around the modal */
    }
}

@media only screen and (min-width:1025px) {
    .otp-registration-form .modal-content {
        transform: translate(10%, 50%);
    }
}

@media only screen and (device-width: 1366px) and (device-height: 768px) {
    .open_term_condition .modal-page-content.modal-content {
        line-height: initial !important;
    }
}

.messages__list .messages__item:nth-child(2) {
    display: none;
}

.messages--status {
    background-image: none !important;
    box-shadow: -8px 0 0 #6e6e6e !important;
}

.otp-main-body input[type="number"] {
    width: 80px;
    height: 62px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    opacity: 1;
    margin: 10px;
}

.otp-main-body input[type="number"] {
    width: 80px;
    height: 62px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    opacity: 1;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

.otp-para-text {
    text-align: left;
    font: normal normal normal 12px/14px Rubik;
    letter-spacing: 0px;
    color: #111111;
    opacity: 1;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 80%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}

.modal-header {
    border: none;
}

.reg-button .open-modal-welcome {
    width: 100%;
    background: #0072BC 0% 0% no-repeat padding-box;
    border: 1px solid #0072BC;
    opacity: 1;
    color: #fff;
}

.reg-button .check-otp {
    width: 100%;
    background: #0072BC 0% 0% no-repeat padding-box;
    border: 1px solid #0072BC;
    opacity: 1;
    color: #fff;
}

.reg-button .modal-buttons {
    /* float: none !important; */
    width: 100%;
    margin: 0 auto;
}

p.tc-par {
    font: normal normal bold 22px/27px Rubik;
    letter-spacing: 0px;
    color: #111111;
    text-transform: capitalize;
    opacity: 1;
}

.otp-tc {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    opacity: 1;
    padding: 15px;
}

p.tc-header {
    letter-spacing: 0px;
    color: #111111;
    text-transform: capitalize;
    opacity: 1;
}

.modal-footer.modal-page-footer.tc-footer button {
    background: #0072BC 0% 0% no-repeat padding-box;
    border: 1px solid #0072BC;
    opacity: 1;
    color: #fff;
    width: 295px;
}

.modal-footer {
    border: none;
}

.reg-button .check-otp {
    width: 100%;
    background: #0072BC 0% 0% no-repeat padding-box;
    border: 1px solid #0072BC;
    opacity: 1;
    color: #fff;
}