:root {
    --profile-text-bakground-color: #0288fde6;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
    margin: 0px;
    /*margin-bottom:10px;*/
    padding: 0px;
    overflow-x: hidden;
}

main {
    padding-bottom: 40px;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e52250;
}

.validation-message {
    color: #e52250;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI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
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.tooltip-custom {
    position: relative;
    display: inline-block;
}

    .tooltip-custom .tooltip-show-right, .tooltip-show-top, .tooltip-show-bottom {
        visibility: hidden;
        min-width: 100px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        z-index: 1080;
        position: absolute;
        font-size: small;
    }

    .tooltip-custom:hover :is(.tooltip-show-right, .tooltip-show-top, .tooltip-show-bottom) {
        visibility: visible;
    }

.tooltip-show-left {
    top: -5px;
    right: 105%;
}

.tooltip-show-top {
    /* Position the tooltip */
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-show-bottom {
    /* Position the tooltip */
    top: 100%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-show-right {
    top: -5px;
    left: 105%;
}

.overlap {
    position: fixed;
    top: 96px;
    right: 0;
    z-index: 101;
}

.overlap-left {
    position: fixed;
    top: 96px;
    left: 0;
    z-index: 101;
}

.invalid {
    color: red;
}

.validation-message {
    color: red;
}

@media (min-width: 768px) {
    .sidebar-left {
        position: fixed;
        top: 96px;
        bottom: 0;
        left: 0;
        width: 70px;
        margin-top: 0;
        margin-bottom: 0;
        background-color: #30343e;
        z-index: 50;
        /*transition-property: width;*/
        /*        transition-duration: 0.75s;
        transition-delay: 0.5s;*/
    }

    /*        .sidebar-left:hover .sidebar-left-label {
            visibility: visible;
            opacity: 1;
        }

        .sidebar-left:hover {
            width: 210px;
            text-align: left;
            margin-left: 8px;
        }*/

    .sidebar-left-label {
        margin-left: 10px;
        color: white;
        font-size: medium;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.5s linear;
        transition-duration: 0.75s;
        transition-delay: 0.5s;
        float: left;
        white-space: nowrap;
    }
}


@media (max-width: 767.98px) {
    .sidebar-left-label {
        margin-left: 10px;
        color: white;
        font-size: medium;
    }

    .bqm {
        /*overflow: auto;*/
        /*-webkit-overflow-scrolling: touch;*/
        /*white-space: nowrap;*/
    }
}

.bqk {
    /*-ms-flex-wrap: nowrap;*/
    /*flex-wrap: nowrap;*/
}

@media (min-width: 768px) {
    .zh {
        /*-webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;*/
        flex-direction: column !important;
    }
}

.fade-out {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
}

.scrollable-menu {
    height: auto;
    max-height: 300px;
    overflow-x: hidden;
}



[data-letters]:before {
    content: attr(data-letters);
    display: inline-block;
    font-size: 1em;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 50%;
    /*background: plum;*/
    vertical-align: middle;
    margin-right: 1em;
    color: white;
}

.font-medium {
    font-weight: 500 !important;
}

.priority-help-info {
    display: none;
    position: absolute;
    z-index: 1080;
}

.priority-help-icon:hover + .priority-help-info {
    display: block;
    z-index: 1080;
}

.p-margin-reset > p {
    margin-bottom: 0em;
}

.profile-background {
    height: 50px;
    width: 50px;
    background: var(--profile-text-bakground-color);
    opacity: 75%;
}

.profile-text {
    text-align: center;
    top: 20%;
    position: relative;
    color: black;
    font-size: larger;
    font-weight: 500;
    opacity: 85%;
    min-width: 50px;
}

.radio-width-half-lg-6 {
    width: 49%;
}

@media only screen and (max-width: 992px) {
    .radio-width-half-lg-6 {
        width: 100%;
    }

    .radio-width-third-lg-6 {
        width: 100%;
    }

    .radio-width-forth-lg-6 {
        width: 100%;
    }
}

.radio-width-third-lg-6 {
    width: 33%;
}

.radio-width-forth-lg-6 {
    width: 24%;
}

.text-area-display {
    white-space: pre-wrap
}

.table-label-left th[scope="row"] {
    text-align: left
}

.bg-unassigned {
    color: white;
    background-color: #f33d4deb;
}

/*.wrap-text {
    word-wrap: break-word;*/
/*word-break: break-all;*/
/*text-align: justify;
    text-justify: inter-word;
}*/

.invalid-input-shown {
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

@media (min-width: 1200px) {
    .col-xl-2-max-w {
        flex: 0 0 auto;
        width: 16.66666667%;
        max-width: 12%;
    }
}

.dropdown-menu li {
    position: relative;
    cursor: default;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.dropdown-no-transfor {
    width: 100%;
    transform: translate(0px, 33px) !important;
}

.input-black-placeholder {
    color: black;
    font-size: .75rem;
}

    .input-black-placeholder::placeholder {
        color: black;
        font-size: .75rem;
    }

.badge-unassigned {
    aspect-ratio: 1 / 1;
    top: 20px !important;
    min-height: 30px;
    min-width: 30px;
    align-content: center;
}

.required-label {
    font-weight: bold;
    margin-top: 0.5rem;
    font-size: 0.875em;
}

    .required-label span {
        color: red;
    }

.table-title {
}

    .table-title:hover {
        color: white;
        background-color: green;
    }

.profile-text {
    text-align: center;
    top: 20%;
    position: relative;
    color: black;
    font-size: larger;
    font-weight: 500;
    opacity: 85%;
    min-width: 50px;
}

.profile-background {
    height: 50px;
    width: 50px;
    background: var(--profile-text-bakground-color);
    opacity: 75%;
}

.wrap-text {
    word-wrap: break-word;
    text-align: justify;
    white-space: pre-wrap
}

.col-head-label {
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    min-width: fit-content;
    width: 7.5rem;
    display: inline-block;
}

.control-required-label {
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    min-width: fit-content;
    width: 7.5rem;
    display: inline-block;
}

    .control-required-label span {
        color: red;
    }

.not-required {
    /*color: black;*/
    margin-inline-end: 9px;
}

.control-row { /*bootstrap equivalent: d-flex flex-row flex-wrap mb-2*/
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.control-container { /*bootstrap equivalent: flex-fill ms-1*/
    flex: 1 1 auto !important;
    margin-left: .25rem !important;
    min-width: 280px;
}

.label-container-right { /*bootstrap equivalent: flex-fill ms-1*/
    flex: 1 1 auto !important;
    margin-left: .25rem !important;
    text-align: end;
}


.comment-bottom-border {
    border-bottom: solid;
    border-bottom-width: thin;
    margin-bottom: 0.875rem;
    border-color: antiquewhite;
}

.table-button-row {
    width: 10%;
    min-width: 120px;
    vertical-align: middle;
}

.label-inline-flex {
    margin-top: -5px;
    vertical-align: top;
}

.ticket-dispaly-top-button {
    position: sticky;
    top: 0;
    background: white;
    z-index: 3;
}

.virtual-table-head {
    position: sticky;
    top: 0;
}

.fs-7 {
    font-size: 0.875rem;
}

.listbox-pointer {
    cursor: pointer;
    border-radius: 0.5rem;
}

.hidden {
    display: none;
}

.currency-input{

}
.negative-currency {
    color: red;
}

.nis-number {
    width: 20px;
    margin-right: 0.5rem;
}

.changes-banner {
    position: fixed; /* Fixes the element to the viewport */
    top: 60px; /* Positions it 20 pixels from the bottom of the screen */
    right: 20px; /* Positions it 20 pixels from the left of the screen */
    /*padding: 10px 20px;*/ /* Spacing inside the banner */
    border-radius: 5px; /* Optional: adds rounded corners */
    z-index: 1000; /* Ensures the banner appears on top of other content */
    font-family: Arial, sans-serif; /* Optional: specifies font style */
}

.small-table-header{
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
    font-family: 'Times New Roman';
}

.small-table-row {
    font-size: 12px;
    font-family: 'Times New Roman';
}

.bordered-text {
    color: black; /* The color of the text itself */
    text-shadow: -1px -1px 0 white, /* Top-left */
    1px -1px 0 white, /* Top-right */
    -1px 1px 0 white, /* Bottom-left */
    1px 1px 0 white; /* Bottom-right */
}


@media print {
    @page {
        size: A4 landscape portrait; /* or 'Letter landscape', '8.5in 11in' */
        margin: 0.25in 0.25in 0.25in 0.25in;
    }
    html, body {
        visibility: hidden;
        margin: 0;
        padding: 0;
    }
    .hide-print {
        display: none !important;
    }

    .payslip-container {

        visibility: visible;
        font-size: 0.85rem;
        font-family: 'Times New Roman', Arial, sans-serif;
        float: none;
        left: 0 !important;
        top: 0 !important;
        margin: 0;
        padding: 0;
        width: 100%; /* Ensure full width for Flexbox */
    }
    .form-two-container {

        visibility: visible;
        font-size: 12px;
        font-family: 'Times New Roman', Arial, sans-serif;
        float: none;
        left: 0 !important;
        top: 0 !important;
        margin: 0;
        padding: 0;
        width: 100%; /* Ensure full width for Flexbox */
    }
    * {
        overflow: visible !important;
        padding: 0;
        margin: 0;
        border: 0;
        outline: 0;
        vertical-align: baseline;
        background: transparent;
    }
    .keep-together {
        break-inside: avoid;
        break-after: auto;
    }
    table {
        break-inside: auto;
    }

    tr {
        break-inside: avoid;
        break-after: auto;
    }


}