@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.special-background {
    color: #c17204;
}

.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;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.overlayLoading {
    background: #FFF;
    display: block;
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 60px;
    left: 0;
    opacity: 1;
    z-index: 99;
}

.k-pager-info{
    display:block !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0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IDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.table tr td {
    font-size: 15px;
    padding: 10px 16px;
}

.table.table-borderless tr td {
    padding: 5px 10px 5px 0;
    font-size: 13px;
}

.k-grid {
    background-color: #FAFAFC !important;
    border-radius: 15px;
}

/*color-profile form the grid */
.k-table-td {
    color: black;
    font-size: 15px;
}


.k-grid tr.no-children td.k-hierarchy-cell * {
    display: none;
}

.k-grid tr.no-children td.k-hierarchy-cell {
    pointer-events: none;
}

.k-i-minus::before {
    content: '\f0d7' !important; /* Unicode for caret-down */
    font-family: 'FontAwesome'; /* Font that supports the FontAwesome icons */
    font-weight: normal;
}

.k-i-plus::before {
    content: '\f0da' !important; /* Default: Unicode for caret-right */
    font-family: 'FontAwesome'; /* Font that supports the FontAwesome icons */
    font-weight: normal;
}

tr.k-detail-row.k-table-row:hover {
    background-color: transparent !important;
    /* Add any other styles you want to modify on hover */
}

.hidden-hierarchy-cell {
    display: none;
}


.k-button {
    background-color: #fff !important;
    border-color: #C41F3E !important;
    color: #C41F3E !important;
    background-image: none !important;
}

.buttons {
    background-color: #fff !important;
    border-color: forestgreen !important;
    color: forestgreen !important;
    background-image: none !important;
}

.buttonslock {
    background-color: #fff !important;
    border-color: dimgrey !important;
    color: dimgray !important;
    background-image: none !important;
}

.resetbutton {
    border: hidden !important;
    background-color: #fff !important;
    color: dimgray !important;
    background-image: none !important;
}

.k-column-title {
    font-size: 13px;
    font-weight: 600 !important;
}

.k-grid-header {
    color: black !important;
    background-color: #EAEBEF !important;
}
/*Table column lines*/
.k-grid td {
    border-right: 1px solid #EAEBEF !important;
}

.k-grid th {
    border-right: 1px solid #EAEBEF !important;
}

.k-grid td:last-child {
    border-right: none !important;
}

.k-grid th:last-child {
    border-right: none !important;
}
/*End*/

.k-link {
    font: bold;
    color: black !important;
    background-color: #EAEBEF !important;
}

.k-touch-action-none {
    font-size: 13px;
    font-weight: 600 !important;
    color: black !important;
    background-color: #EAEBEF !important;
}

.main-grid {
    margin-top: 20px;
    margin-left: 50px;
}

    .main-grid .table tr td,
    .main-grid .table tr th {
        white-space: nowrap;
        border: 0;
        position: relative;
    }

        .main-grid .table tr th i {
            position: absolute;
            right: 4px;
            top: 12px;
        }

    .main-grid .table tbody tr:hover {
        background: rgb(105,105,105);
        color: black;
    }

    .main-grid .table tr td button {
        padding: 2px 10px;
        font-size: 15px;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #FAFAFC;
}

.remove-scroll {
    max-height: inherit;
}

.k-dialog-titlebar {
    background-color: #FFF !important;
    color: #4B4F52 !important;
}

.k-grid td.k-state-selected, .k-grid tr.k-state-selected > td {
    background: #63686D !important;
    color: #FFF !important;
}

.k-checkbox:checked {
    border-color: #63686D !important;
    background-color: forestgreen !important;
}


.k-columnmenu-item.k-state-selected {
    color: #ffffff !important;
    background-color: #D92547 !important;
}

.k-button.k-primary {
    background-color: #C41F3E !important;
    border-color: #C41F3E !important;
    color: #FFF !important;
}

ul.breadcrumb {
    margin-left: 35px;
    padding: 10px 16px;
    list-style: none;
}

    ul.breadcrumb li {
        display: inline;
        font-size: 15px;
        margin-top: 30px;
    }

        ul.breadcrumb li + li:before {
            padding: 2px;
            margin: 2px;
            color: black;
            content: ">";
        }

        ul.breadcrumb li a {
            color: rgb(211, 47, 47);
            margin: -1px;
            text-decoration: none;
        }

            ul.breadcrumb li a:hover {
                color: #bc1d1d;
            }

.container {
    background-color: rgb(247,247,247);
    height: 630px;
}

.grid_alignment {
    margin-left: 50px;
    margin-top: 10px;
}

.span-tag {
    margin-right: 5px;
    font-weight: 600;
}

.span-tag1 {
    /*margin-right: -3px;*/
    font-weight: 700;
    font-size: 16px;
}

.container1 {
    background-color: rgb(247,247,247);
    height: 780px;
}

.card-link {
    float: right;
}

.login_1 {
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_2 {
    font-family: sans-serif;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-sm {
    justify-content: center;
    align-items: center;
    height: 200px;
}

.login_button {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_image {
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_text {
    color: lightslategray;
    font-weight: 10;
    text-align: center;
}

.toolbar {
    margin-left: 250px;
}

.searchbox {
    width: 230px !important;
}

.preserve-whitespace {
    white-space: pre;
}

.exceeded-limit {
    border: 2px solid red;
}

.input-container {
    position: relative;
    display: inline-block;
}

input:focus {
    outline: none;
}

.tooltip {
    position: fixed;
    text-decoration-color: red;
    font-size: 14px;
    margin-top: -15px;
    z-index: 999;
}

.input-container:hover .tooltip {
    display: block;
}

/*.input-container:hover:before {
    content: "80 characters limit reached";
    position: absolute;
    color: red;
    top: -13px;
    left: 15px;
}*/

input:valid ~ .tooltip {
    display: none;
}

.fontset {
    font-size: 15px;
    font-weight: bold;
}

input[type="checkbox"].custom-checkbox {
    position: absolute;
    display: inline-block;
    margin-top: -10px;
}

.curved-border-table {
    border-collapse: separate;
    border-spacing: 0;
}

    .curved-border-table td {
        border: 1px solid #ccc;
        /*border-radius: 10px;*/ /* Adjust the radius as needed */
        padding: 10px;
    }

.fixed-column {
    width: 200px; /* Adjust the width of the fixed column as needed */
    font-weight: bold;
}

.editable-input {
    width: 100%;
    box-sizing: border-box;
}

.hidden-div {
    display: none;
}

/* Style for the clickable div */
.clickable-div {
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    width: 100%;
    background-color: forestgreen;
}

/* Style for the editable input */
.editable-input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

/* Style for the checkbox (hidden) */
.toggle-checkbox {
    display: none;
}

    /* Style for the visible hidden div when checkbox is checked */
    .toggle-checkbox:checked + .clickable-div + .hidden-div {
        display: block;
    }

    .toggle-checkbox:checked + .clickable-div1 + .hidden-div {
        display: block;
    }

    .toggle-checkbox:checked + .plus-span {
        display: none;
    }

    .toggle-checkbox:checked + .minus-span {
        display: inline-block;
    }

    .toggle-checkbox:not(:checked) + .plus-span {
        display: inline-block;
    }

    .toggle-checkbox:not(:checked) + .minus-span {
        display: none;
    }

.span-tag2 {
    font-weight: 400;
}

.sub-grid .table tr td,
.sub-grid .table tr th {
    white-space: nowrap;
    border: 0;
    position: relative;
}

    .sub-grid .table tr th i {
        position: absolute;
        right: 4px;
        top: 12px;
    }

.sub-grid .table tbody tr:hover {
    background: rgb(105,105,105);
    color: black;
}

.sub-grid .table tr td button {
    padding: 2px 15px;
    font-size: 15px;
}

.k-table-tbody .k-table-row.k-selected > .k-table-td, .k-table-list .k-table-row.k-selected {
    background-color: white !important;
}

.k-table-tbody .k-table-row.k-selected > .k-table-td, .k-table-list .k-table-row.k-selected {
    background-color: white !important;
}

.toggle-checkbox:checked + .clickable-div span { /* Change the color as needed */
    color: darkgreen;
}

.toggle-checkbox:not(:checked) + .clickable-div span { /* Change the color as needed */
    color: darkgreen !important;
}

.toggle-checkbox:checked + .clickable-div { /* Change the color as needed */
    background-color: #B5E6A2 !important;
    border: none !important;
}

.toggle-checkbox:not(:checked) + .clickable-div { /* Change the color as needed */
    background-color: #DAF2D0 !important;
    border: none !important;
}

.clickable-div i:before {
    content: "\f078"; /* Unicode for Font Awesome plus icon */
}

/* Style for the Font Awesome icon when checkbox is checked */
.toggle-checkbox:checked + .clickable-div i:before {
    content: "\f077"; /* Unicode for Font Awesome minus icon */
}

.k-input-solid {
    border: 1px solid black !important;
}

.k-checkbox {
    border-color: black !important;
}

.k-input-inner.input-active-inactive {
    background-color: #f8f9fa; /* Set your desired background color for inactive state */
    color: #495057; /* Set your desired text color for inactive state */
}

/* Style for active input */
.k-input-inner.input-active-active {
    background-color: #ffffff; /* Set your desired background color for active state */
    color: #495057; /* Set your desired text color for active state */
}

.rebateactive {
    background-color: forestgreen;
    color: white;
    border-radius: 5px;
    border: 1px solid forestgreen;
}

.rebateinactive {
    background-color: white;
    color: firebrick;
    border-radius: 5px;
    border: 2px solid firebrick;
}

}

.split-button {
    position: relative;
    display: inline-block;
}

.split-button-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
    z-index: 1;
}

    .split-button-menu button {
        display: block;
        width: 100%;
        padding: 8px 12px;
        text-align: left;
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

        .split-button-menu button:hover {
            background-color: #ddd;
        }


.k-header.k-hierarchy-cell.k-table-th {
    background-color: #EAEBEF !important;
}

.k-grid-search.k-searchbox.k-input.k-input-solid.k-rounded-md.k-input-md {
    margin-top: -6px !important;
}

.k-input-inner {
    z-index: 0 !important;
}

.k-button-flat.k-button.k-button-flat-primary.k-button-md.k-selected {
    z-index: 0 !important;
}

.k-i-sort-desc-small::before {
    content: "\e128";
    color: forestgreen;
}

.k-i-sort-asc-small::before {
    content: "\e127";
    color: forestgreen;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.session-timeout-container {
    text-align: center;
    margin-top: 50px;
}

    .session-timeout-container h2 {
        color: red;
    }

    .session-timeout-container p {
        font-size: 1.2em;
    }

    .session-timeout-container .btn {
        margin-top: 20px;
    }

.k-combobox {
    margin-left: 10px;
    width: 330px;
    height: 39px;
    border: 4px solid #1a1a1a;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    align-items: center;
}
/*
    .k-combobox .k-input-inner {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 14px;
        border: none;
        outline: none;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
    .k-combobox .k-input-solid {
        color: #424242;
        background-color: #ffffff;
        padding: 4px 8px;
        height: 39px;
        margin-left: 10px;
        border-radius: 5px;
    }
*/