@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--mhr-blue);
}








#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

::placeholder {
    color: #B6ADA5 !important;
}

option {
    color: #333333;
}

b, strong {
    font-weight: bold;
}

.footer {
    font: smaller;
    background-color: white;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-default:focus,
    .btn-default.focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .btn-default:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        color: #333;
        background-color: #e6e6e6;
        background-image: none;
        border-color: #adadad;
    }

        .btn-default:active:hover,
        .btn-default.active:hover,
        .open > .dropdown-toggle.btn-default:hover,
        .btn-default:active:focus,
        .btn-default.active:focus,
        .open > .dropdown-toggle.btn-default:focus,
        .btn-default:active.focus,
        .btn-default.active.focus,
        .open > .dropdown-toggle.btn-default.focus {
            color: #333;
            background-color: #d4d4d4;
            border-color: #8c8c8c;
        }

    .btn-default.disabled:hover,
    .btn-default[disabled]:hover,
    fieldset[disabled] .btn-default:hover,
    .btn-default.disabled:focus,
    .btn-default[disabled]:focus,
    fieldset[disabled] .btn-default:focus,
    .btn-default.disabled.focus,
    .btn-default[disabled].focus,
    fieldset[disabled] .btn-default.focus {
        background-color: #fff;
        border-color: #ccc;
    }

    .btn-default .badge {
        color: #fff;
        background-color: #333;
    }

.pull-right {
    float: right !important;
}
/* 
    below styles were copied from bootstrap 4.5.0 and renamed to be compatible with blazor
    - '.validation-message' == bootstrap '.invalid-feedback'
    - '.invalid' == bootstrap '.is-invalid'
*/
.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.validation-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}


.invalid ~ .validation-message {
    display: block;
}

.form-control.invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .form-control.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

textarea.form-control.invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-check-input.invalid ~ .form-check-label {
    color: #dc3545;

}

.form-check-input.invalid ~ .validation-message {
    display: block;
}

select:invalid {
    color: #B6ADA5;
}



.card {
    flex: 1;
}

.tooltip {
    --bs-tooltip-bg: var(--mhr-dark-gray);
}

.custom-spinner {
    width: 6rem;
    height: 6rem;
    color: var(--mhr-blue);
    border-width: 0.5em;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.bottom-center {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5000;
}

.select2-selection--multiple:before {
    content: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
    position: absolute;
    right: 1rem;
    top: 42%;
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.was-validated .custom-select:invalid + .select2 .select2-selection {
    border-color: #dc3545 !important;
}

.form-control form-select invalid {
    border-color: #28a745 !important;
}

*:focus {
    outline: 0px;
}

input:invalid {
    border-color: red;
    border-radius: .375rem;
}

.was-validated .custom-select:invalid + .select2 .select2-selection {
    border-color: #dc3545 !important;
}

.was-validated .custom-select:valid + .select2 .select2-selection {
    border-color: #28a745 !important;
}

*:focus {
    outline: 0px;
}

.select2-container--disabled.form-control {
    background-color: #eee;
    opacity: 1;
}

.select2-container--default .select2-selection--multiple {
    border: none !important;
}

.select2-container.form-control.modified.valid {
    /*outline: 1px solid #26b050;*/
}




/*New for redesigned form */
:root {
    --mhr-blue: #0094D4;
    --mhr-blue-ligth: #E7F7FE;
    --mhr-gray: #404040;
    --mhr-green: #BDD747;
    --mhr-dark-gray: #595959;
    --mhr-white: #fff;
    --mhr-black: #000;
    --mhr-light-gray: #D9D9D9;
    --mhr-gray-inactive: #737373;
    --mhr-red: #D90D2F;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    --mhr-success-toast-background: #EAF2C4;
    --mhr-success-toast-color: #A5C12A;
    --mhr-danger-toast-background: #FBB7C2;
    --mhr-danger-toast-color: #D90D2F;
    
}

html, body {
    font-family: Inter system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 12px;
    line-height: 16px;
    background-color: #fff;
    overflow: initial !important;
    padding: 16px;
    
}

.field-descriptor:has(~.valid):has(~ .modified) {
    color: #0DA0DA;
}

.btn-primary {
    color: #fff;
    background-color: var(--mhr-blue);
    border-color: #1861ac;
}

.btn-secondary {
    color: #fff;
    background-color: var(--mhr-gray-inactive);
    border-color: #6c757d;
}

.bg-success {
    background-color: var(--mhr-success-toast-background) !important;
    color: var(--mhr-success-toast-color) !important;
    font-size: 16px;
    font-weight: var(--fw-600);
    line-height: 20px;
    width: auto;
}

.bg-danger {
    background-color: var(--mhr-danger-toast-background) !important;
    color: var(--mhr-danger-toast-color) !important;
    font-size: 16px;
    font-weight: var(--fw-600);
    line-height: 20px;
    width: auto;
}
.modal-title
{
font-size: 18px;
    font-weight: var(--fw-600);
    line-height: normal;
    color: var(--mhr-gray);
    
}
.modal-body
{
font-size: 12px;
    font-weight: var(--fw-500);
    line-height: 18px;
    color: var(--mhr-gray);
}
.contentlayout {
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--mhr-light-gray);
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0px 2px 4px 0px rgba(64, 64, 64, 0.25);
    background-color: #fff;
    padding: 24px;
    margin-bottom: 24px;
}

.header-content {
    border-bottom: 5px solid var(--mhr-green);
}

h1 {
    font-size: 24px;
    font-weight: var(--fw-600);
    line-height: 28px;
    font-style: normal;
    color: var(--mhr-blue);
    margin-bottom: 0px;
    text-transform: uppercase;
}

h2, legend {
    font-size: 16px;
    font-weight: var(--fw-500);
    line-height: 20px;
    font-style: normal;
    color: var(--mhr-blue);
    margin-bottom: 16px;
    margin-left:0.5rem;
}

h3 {
    font-size: 20px;
    font-weight: var(--fw-500);
    line-height: 24px;
    font-style: normal;
    color: var(--mhr-gray);
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    margin-top: 16px;
}

main {
    height: auto !important;
}

.footer-content {
    margin-top: 16px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    color: var(--mhr-gray);
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.bold-text {
    font-weight: var(--fw-700);
}

.footer-content > a {
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    color: var(--mhr-blue);
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration-line: underline;
}

label.required:after {
    content: " *";
    color: red;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: var(--fw-500);
    line-height: 16px;
}

.field-descriptor {
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: var(--fw-500);
    line-height: 16px;
    color: var(--mhr-gray);
    margin-bottom: 2px;
}

    .field-descriptor:has(~.valid):has(~.modified) {
        color: var(--mhr-blue);
    }

.field-descriptor-bold {
    font-weight: var(--fw-700);
}

.invalid {
    border: 1px solid #dc3545;
    border-radius: .375rem;
}

.validation-message, .rz-messages-error {
    color: var(--mhr-red);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: var(--fw-500);
    line-height: 16px; /* 133.333% */
}

.header-paragraph {
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: var(--fw-400);
    line-height: 20px;
    color: var(--mhr-gray);
    margin-bottom: 0px;
}
.header-bold{
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: var(--fw-600);
    line-height: 20px;
    color: var(--mhr-gray);
    margin-bottom: 0px;
}
.normal-paragraph {
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: var(--fw-500);
    line-height: 16px;
    color: var(--mhr-gray);
    margin-bottom: 0px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-left: 2px;
    float: right;
    visibility: hidden;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after {
        color: #999;
        cursor: pointer;
        display: inline-block;
        font-weight: bold;
        margin-left: 2px;
        float: right;
        visibility: visible;
        content: "\F622";
        font-family: "Bootstrap Icons";
    }

li.select2-results__option[aria-selected] {
    position: relative;
    padding-left: 30px !important;
}

    li.select2-results__option[aria-selected]::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 2px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        border: 1px solid #ccc;
        border-radius: 3px;
        cursor: pointer;
    }

    li.select2-results__option[aria-selected]::after {
        content: "\2713";
        position: absolute;
        top: 50%;
        left: 2px;
        transform: translateY(-50%);
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        color: #fff;
        background-color: var(--mhr-blue);
        opacity: 0;
    }



li.select2-results__option[aria-selected=true]::before {
    border: 1px solid var(--mhr-blue);
}

li.select2-results__option[aria-selected=true]:after {
    opacity: 1;
    width: 19px;
    height: 19px;
}

li.select2-results__option--highlighted::after {
    opacity: 0;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-bottom: 10px;
    margin-inline: 5px;
   
}
.wrapper-align-end {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-bottom: 10px;
    margin-inline: 5px;
    align-items: end;
}
.wrapper-align-top{
    align-items:start;
}
.wrapper-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 10px;
    margin-inline: 5px;
    align-items: end;
}
.wrapper-3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding-bottom: 10px;
    margin-inline: 5px;
    align-items:start;
}

.span-2 {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}
/*** Responsive Styles Smartphone Only ***/

.align-start {
    align-items: start !important;
}

.form-control  {
    display: block;
    padding: .375rem .75rem;
    color: #737373;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
}
.form-check-input {
    display: block;
    color: #737373;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    width: 1.25em !important;
    height: 1.25em !important;
}
    .form-check-input.invalid {
        border: 1px solid #dc3545;
    }
.form-group {
    align-self: end;
}

.grid-col-1 {
    grid-column-start: 1;
}

.force-full-width {
    width: 100% !important;
}

.full-width-table {
    width: 100% !important;
}

.error-icon {
    color: var(--mhr-red);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

.info-icon {
    color: var(--mhr-dark-gray);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

.wrapper-smalldual {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding-bottom: 10px;
    margin-inline: 5px;
}

.flexstack {
    display: flex;
    flex-direction: column;
}

.pull-left {
    justify-content: start !important;
}

.modal-footer {
    justify-content: start;
}

.mhr-thead {
    background-color: var(--mhr-blue-ligth);
    color: var(--mhr-blue);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    border-radius: 5px 5px 0px 0px;
}

.mhr-body {
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    color: var(--mhr-gray-inactive);
    vertical-align: middle !important;
}

.mhr-icon {
    color: var(--mhr-gray);
    font-family: Inter;
    font-size: 20px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

.outline-border {
    border: 1px solid var(--mhr-light-gray);
    border-radius: 5px 5px 0px 0px;
    padding: 16px;
    margin-bottom: 0px;
    border-color: var(--mhr-light-gray);
}

.form-control:disabled {
    background-color: #e9ecef !important;
    opacity: 1;
}

.btn:disabled {
    background-color: var(--mhr-gray-inactive);
    border-color: var(--mhr-gray-inactive);
    color: var(--mhr-white);
    cursor: not-allowed;
}

.rz-multiselect-trigger .rzi-chevron-down:before, .rz-dropdown-trigger .rzi-chevron-down:before {
    visibility: hidden;
}
.rz-datepicker:not(.rz-datepicker-inline) {

/*    position: relative;*/
 
}

.text-muted {
    color: var(--mhr-gray-inactive) !important;
    padding-bottom: 16px;
}

.card-label {
    color: var(--mhr-gray);
    font-size: 12px;
    font-family: Inter;
    font-weight: 600;
    line-height: 18px;
    word-wrap: break-word;
}

.profilecardtitle {
    color: var(--mhr-blue);
    font-size: 18px;
    font-family: Inter;
    font-weight: 500;
    line-height: 20px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    width: 90%;
}

.float-right {
    float: right;
}

.form-check-input {
    margin-right: 8px;
}

    .form-check-input:checked {
        background-color: var(--mhr-blue);
        border-color: var(--mhr-blue);
    }

.profilecard {
    padding: 16px;
    background: white;
    box-shadow: 0px 2px 4px rgba(64, 64, 64, 0.10);
    border-radius: 4px;
    border: 1px #D9D9D9 solid;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
    display: inline-flex;
    width: 100%;
}

.profilecardheader {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: inline-flex;
    background-color: transparent
}

.card-text-heading-red {
    color: var(--mhr-red);
    font-size: 12px;
    font-family: Inter;
    font-weight: var(--fw-600);
    line-height: 18px;
    word-wrap: break-word;
    text-transform: uppercase;
}

.card-text-heading {
    color: var(--mhr-gray);
    font-size: 12px;
    font-family: Inter;
    font-weight: var(--fw-600);
    line-height: 18px;
    word-wrap: break-word;
    text-transform: uppercase;
}

.card-text-value {
    color: var(--mhr-gray);
    font-size: 12px;
    font-family: Inter;
    font-weight: var(--fw-500);
    line-height: 18px;
    word-wrap: break-word;
}

.form-switch .form-check-input {
    width: 28px;
    height: 16px;
}
.make-red {
    color: var(--mhr-red);
}
input[type="file"] {
    -webkit-appearance: none;
    text-align: left;
    -webkit-rtl-ordering: left;
    width:100%;
}
.bi
{
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    width: 24px;
    height: 24px;   
    
}

.bi-gray{
    color: var(--mhr-dark-gray);
}
.bi-green {
    color: var(--mhr-success-toast-color);
}
.bi-red{
    color: var(--mhr-red);
}
.text-center{
    text-align: center;
}
.upload-spinner {
    margin-left: 1rem;
    color: var(--mhr-blue);
    align-self: center;
}
/* Add padding to the input to make space for the icon */
.flatpickr-input-with-icon {
    padding-right: 40px; /* Adjust padding to prevent text overlap with the icon */
}

/* Style and position the calendar icon inside the input field */
.calendar-icon {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 10px; /* Position near the right edge */
    transform: translateY(-50%);
    color: #6c757d; /* Match Bootstrap's muted text color */
    pointer-events: none; /* Make the icon non-clickable */
    font-size: 1.2rem; /* Adjust icon size */
    height: auto;
}

/* Mobile picker button styling */
.mobile-picker-button {
    font-size: 1rem;
    padding: 8px 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
}

/* Modal overlay styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal content styling */
.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
}

/* Picker columns container */
.picker-columns {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

/* Each picker column should be scrollable if the list is long */
.picker-column {
    flex: 1;
    overflow-y: auto;
    max-height: 150px;
    margin: 0 5px;
}

    /* Ensure the select elements fill the column */
    .picker-column select {
        width: 100%;
        font-size: 1rem;
        padding: 4px;
    }

/* Modal actions styling */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

    .modal-actions button {
        padding: 6px 12px;
        font-size: 1rem;
    }

@media all and (max-width: 767px) {
    .wrapper {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
    }

    .outline-border {
        display: block;
        border: 0px solid var(--mhr-light-gray);
        padding: 0px;
        margin-bottom: 0px;
    }

    .wrapper-3 {
        grid-template-columns: 1fr;
    }

    td:before {
        content: attr(data-title);
        float: left;
        font-weight: bold;
        margin-right: 0.5em;
        color: var(--mhr-blue);
    }

    .mhr-row > td {
        display: grid;
        border: none;
    }

    .mhr-thead {
        display: none;
    }

    .mhr-body {
        width: 100%;
        display: grid;
    }

    .mhr-icon {
        position: absolute;
        top: 0;
        right: 0;
    }

    .mhr-row {
        position: relative;
        border: 1px solid var(--mhr-light-gray);
        border-radius: 5px 5px 0px 0px;
    }

    .container {
        padding: 0px;
        margin: 0px;
    }
    select {
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words if necessary */
    }
    ::placeholder {
        white-space: normal;
        overflow-wrap: break-word;
        
    }
    input {
        height: auto;
        /*min-height: 60px;*/ /* Adjust this value as needed */
        /*padding: 5px;*/ /* Ensure the text inside has some padding */
        min-height : 4rem;
    }
    .form-control {
        padding: .375rem 2.25rem .375rem .75rem;
        max-width : 100%
    }
    .select2-selection__choice {
        white-space: normal;
        overflow-wrap: break-word;
        text-align: center;
        max-width: 95%;
    }
    .select2-container--open .select2-dropdown--below{
/*        width : max-content !important;*/
    }
    .select2-container{
        max-width : 95% !important;
    }
    .force-full-width{
        width : unset;
    }
    .select2-dropdown .select2-dropdown--above {
        max-width: 95% !important;
    }
    .field-descriptor {
        white-space: normal;
        overflow-wrap: break-word;
        max-width: 90%;
    }
    html body{
        padding : 0;
    }
    html, body{
        padding : 0;
    }
    .form-check-input {
        width: 3em !important;
        height: 3em !important;
        min-height : unset;
        min-width : unset;
    }
    .rz-datepicker-trigger .rzi-calendar, .rz-datepicker-trigger .rzi-time{
        display:none;
    }
}
