h1:focus {
    outline: none;
}

#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;
    }
.disabled {
    opacity: 0.6;
    cursor: not-allowed;
 
}
.required {
    color: red;
}
input[type="checkbox"] {
    width: 17px;
    height: 17px;
}

.k-tabstrip .k-item.k-state-active .k-link {
    color: red !important; /* Selected tab title color */
}

.k-tabstrip .k-item:not(.k-state-active) .k-link {
    color: black !important; /* Unselected tab title color */
}

.grid-container {
    height: calc(60vh - 100px);
    overflow: auto;
}

.custom-grid-style {
    font-size: 12px;
    border: 1px solid #e1e1e4;
}

.custom-k-header {
    background: #fafafa;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1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VsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.valid-field {
    border: 1px solid #cccccc;
}

.invalid-field {
    border: 1px solid red;
}

.invalid {
    outline: 1px solid red;
}
body {
    background-color: #e8e8e8;
    font-size: 12px;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 30px;
    padding-top: 0;
}
label {
    font-size: 12px;
}
.validation-message {
    color: red;
    font-size: 9px;
}
.custom-grid-style .k-header {
    font-size: 11px;
    border: 1px solid #e1e1e4;
    height: 27px;
}

.my-image img {
    Width: 10px;
    height: auto;
}
table {
    border-collapse: collapse;
    width: auto; 
}
td {
   font-size:10px;
}
th {
    font-size: 12px;
}
th, td {
    border: 1px solid #ccc;
    padding: 8px;
    height: auto;
    padding:2px;
    text-align:left;
}
.table-scroll-container {
    max-height: 300px;
    overflow: auto;
}
input, select {
    /*  background-color: #E9E9ED;*/
    height: 20px;
    padding: 2px;
    font-size: 12px;
    width: auto;
    border: 1px solid #cccccc;
    border-radius: 3px;
}
    select:focus {
border-color: #cccccc;
        outline: 1px solid #cccccc; /* Set the outline color and width */
        outline-offset: 0;
        box-shadow: 0 0 5px rgba(204, 204, 204, 0.5);
        /* Add any additional styles you want for the focused state */
    }
    select:hover option:hover {
        background-color: #E9E9ED; /* Set the background color on hover */
        color: #333; /* Set the text color on hover */
        /* Add any additional styles you want for the hover state */
    }
select {
    background-color:white
}

    input:focus {
        border-color: #cccccc;
        outline: 1px solid #cccccc; /* Set the outline color and width */
        outline-offset: 0;
        box-shadow: 0 0 5px rgba(204, 204, 204, 0.5);
        /* Add any additional styles you want for the focused state */
    }

.table-scroll {
    border-collapse: collapse;
    height:100%;
    width: 100%;
    font-size: 9px;
    background-color: #f7f7f7;
}



    .table-scroll td {
        height: 10px;
        border: none;
        border-left: 1px solid #ccc; /* Vertical left border */
        padding: 4px;
        text-align: left;
    }

    .table-scroll tr:nth-child(even) {
        background-color: #f7f7f7; /* Even row color */
    }

    .table-scroll tr:nth-child(odd) {
        background-color: #ffffff; /* Odd row color */
    }


.number_Col {
    width: 80px;
}

.name_Col {
    width: 200px
}

.phonenumber_col {
    width: 100px
}

.email_col {
    border-right: none;
    min-width: auto;
    width: auto;
}

.scroll_col {
    width: 7px;
    border-left: none;
}

.foot_col {
    background-color: #eff7fc;
    width: 1390px;
}

.table-scroll tfoot {
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

input, select {
    width: 170px;
   
}
.error-marker {
    position: absolute;
    right: 0;
    width: 5px;
    height: 5px;
    background-color: red;
    z-index: 10;
    border-radius: 50%;
}
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }

    75% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.5s ease;
}
.k-grid-content {
    position: relative;
}
.editbtn {
    margin-left: auto;
    margin-right: 0;
}

.selectable-button {
    user-select: text; /* Allows text selection */
    -webkit-user-select: text; /* For WebKit browsers */
}
.btn2 {
    background: #f4f4f5; /* Adjust the colors as needed */
    border: 1px solid #e1e1e4; /* Add a border to the button */
    border-radius: 2px;
    padding: 5px 10px; /* Adjust padding as needed */
    font-size: 12px;
    height: 30px;
    margin-right: 10px;
}

.lds-spinner {
    /* change color here */
    color: #1c4c5b
}

    .lds-spinner,
    .lds-spinner div,
    .lds-spinner div:after {
        box-sizing: border-box;
    }

.lds-spinner {
    color: currentColor;
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}

    .lds-spinner div {
        transform-origin: 20px 20px;
        animation: lds-spinner 1.2s linear infinite;
    }

        .lds-spinner div:after {
            content: " ";
            display: block;
            position: absolute;
            top: 3.2px;
            left: 36.8px;
            width: 6.4px;
            height: 17.6px;
            border-radius: 20%;
            background: currentColor;
        }

        .lds-spinner div:nth-child(1) {
            transform: rotate(0deg);
            animation-delay: -1.1s;
        }

        .lds-spinner div:nth-child(2) {
            transform: rotate(30deg);
            animation-delay: -1s;
        }

        .lds-spinner div:nth-child(3) {
            transform: rotate(60deg);
            animation-delay: -0.9s;
        }

        .lds-spinner div:nth-child(4) {
            transform: rotate(90deg);
            animation-delay: -0.8s;
        }

        .lds-spinner div:nth-child(5) {
            transform: rotate(120deg);
            animation-delay: -0.7s;
        }

        .lds-spinner div:nth-child(6) {
            transform: rotate(150deg);
            animation-delay: -0.6s;
        }

        .lds-spinner div:nth-child(7) {
            transform: rotate(180deg);
            animation-delay: -0.5s;
        }

        .lds-spinner div:nth-child(8) {
            transform: rotate(210deg);
            animation-delay: -0.4s;
        }

        .lds-spinner div:nth-child(9) {
            transform: rotate(240deg);
            animation-delay: -0.3s;
        }

        .lds-spinner div:nth-child(10) {
            transform: rotate(270deg);
            animation-delay: -0.2s;
        }

        .lds-spinner div:nth-child(11) {
            transform: rotate(300deg);
            animation-delay: -0.1s;
        }

        .lds-spinner div:nth-child(12) {
            transform: rotate(330deg);
            animation-delay: 0s;
        }

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cadre-table-scroll {
    display: inline-block;
    max-height: 28em;
    
    overflow-y: scroll;
    border-right: 1px solid #ccc; /* Vertical right border */
    border-top: 1px solid #ccc; /* Horizontal top border */
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc; /* Vertical right border */
    border-top: 1px solid #ccc; /* Horizontal top border */
    border-bottom: 1px solid #ccc;
    border-radius:3px;
    width: 100%;
    background-color: #f7f7f7;
}

.table-scroll thead th {
    position: sticky;
    top: 0;
}

.table-scroll tfoot td {
    position: sticky;
    bottom: 0;
}

.table-scroll th {
    border: 1px solid #ccc;
    border-top: none;
    padding: 6px;
    background: linear-gradient(to top, #aadbf6, white); /* Adjust the colors as needed */
    transition: background 0.3s;
}

.Back {
    height: 40px;
    width:1000px;
    justify-content: center;
    align-items: center;
    background: white;
}

.wave {
    width: 5px;
    height: 100px;
    background: linear-gradient(45deg, cyan, #fff);
    margin: 10px;
    animation: wave 1s linear infinite;
    border-radius: 20px;
}

    .wave:nth-child(2) {
        animation-delay: 0.1s;
    }

    .wave:nth-child(3) {
        animation-delay: 0.2s;
    }

    .wave:nth-child(4) {
        animation-delay: 0.3s;
    }

    .wave:nth-child(5) {
        animation-delay: 0.4s;
    }

    .wave:nth-child(6) {
        animation-delay: 0.5s;
    }

    .wave:nth-child(7) {
        animation-delay: 0.6s;
    }

    .wave:nth-child(8) {
        animation-delay: 0.7s;
    }

    .wave:nth-child(9) {
        animation-delay: 0.8s;
    }

    .wave:nth-child(10) {
        animation-delay: 0.9s;
    }

@keyframes wave {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

.info-msg,
.success-msg,
.warning-msg,
.error-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
}

.info-msg {
    color: #059;
    background-color: #BEF;
}

.success-msg {
    color: #270;
    background-color: #DFF2BF;
}

.warning-msg {
    color: #9F6000;
    background-color: #FEEFB3;
}

.error-msg {
    color: #D8000C;
    background-color: #FFBABA;
}

.k-window-titlebar {
    background-color: #f4f4f5;
}


.k-dialog-titlebar {
    background-color: #f4f4f5;
}
.k-header {
    background-color: #f4f4f5;

    color: #565e6d;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.loading-section {
    text-align: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .loading-section h2 {
        color: #ff0000;
    }

.loader-dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #ff0000;
    display: inline-block;
    -webkit-animation: grow 2.1s infinite ease-in-out both;
    animation: grow 2.1s infinite ease-in-out both;
}

    .loader-dot.dot1 {
        -webkit-animation-delay: -0.96s;
        animation-delay: -0.96s;
    }

    .loader-dot.dot2 {
        -webkit-animation-delay: -0.48s;
        animation-delay: -0.48s;
    }
    /**/


@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.s4ifa-notification {
    position: absolute;
}

    .s4ifa-notification .k-notification {
        width: 530px;
    }

.notification-parent {
    position: relative;
    height: 250px;
}

.k-notification-container {
    margin: 6px 0;
}

.top-row {
    height: 3rem;
    /*display: flex;
    align-items: center;*/
    left: 0;
}

/* vertical scroll should happen in the main portion of the content - where the Body is
        This keeps the header sticky at the top
        */
.main {
    /*flex: 1;*/
    overflow-y: auto;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link  {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.card .card-header {
    background-color: lightgray;
    border-color: transparent;
}

.card {
    border-color: lightgray;
}

/* expand-collapse button for the drawer - position above the header */


#blazor-error-ui {
    display: none;
    padding: .75rem 1.25rem;
    position: fixed;
    width: 30vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    color: #856404;
    background-color: #fff3cd;
}

    #blazor-error-ui > div {
        padding: 1rem 0 .3rem 0;
    }

    #blazor-error-ui .reload {
        padding: .5rem;
        color: #212529;
        background-color: #ffc107;
        text-decoration: none;
    }

/*loading style for index.html*/
.loading-section {
    text-align: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .loading-section h2 {
        color: #ff0000;
    }

.loader-dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #ff0000;
    display: inline-block;
    -webkit-animation: grow 2.1s infinite ease-in-out both;
    animation: grow 2.1s infinite ease-in-out both;
}

    .loader-dot.dot1 {
        -webkit-animation-delay: -0.96s;
        animation-delay: -0.96s;
    }

    .loader-dot.dot2 {
        -webkit-animation-delay: -0.48s;
        animation-delay: -0.48s;
    }


@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link  {
        margin-left: 0;
    }
}

@-webkit-keyframes grow {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}


.spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3.8px solid;
    border-color: #dbdcef;
    border-right-color: #767687;
    animation: spinner-d3wgkg 1s infinite linear;
}

@keyframes spinner-d3wgkg {
    to {
        transform: rotate(1turn);
    }
}



