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

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0px;
}

h1:focus {
    outline: none;
}

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

    td.k-table-td a:hover {
        text-decoration: underline;
    }

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

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2Lj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kyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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


.sectionHeader {
    padding-top: 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    font-family: "Roboto";
    border-bottom: 1px dotted #ddd;
    padding-bottom: 3px;
    margin-bottom: 0px;
    padding-left: 3px;
    margin-left: -3px;
}

.subHeader {
    font-size: 13px;
    opacity: 0.6;
    padding-left: 10px;
    font-weight: bold;
}

.center {
    margin: 0 auto !important;
}

.k-grid table td {
    white-space: nowrap !important;
}

.k-grid .k-grid-sm td.k-table-td:has(> button) {
    padding: 0px 12px;
}

.k-grid th.header-wrap,
.k-grid th.header-wrap .k-column-title {
    white-space: normal;
}

.k-grid .k-table {
    border-bottom: 1px solid rgb(235, 235, 235) !important;
}

    .k-grid .k-table .k-table-td {
        padding: 0px 8px;
        font-size: 14px;
        line-height: 1.93;
        font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial;
    }


/* CENTER */

/* non-sortable headers */
.k-grid th.text-center {
    text-align: center;
}

/* sortable headers */
th.text-center .k-cell-inner > .k-link {
    justify-content: center;
}

/* RIGHT */

/* non-sortable headers */
.k-grid th.text-right {
    text-align: right;
}

/* sortable headers */
th.text-right .k-cell-inner > .k-link {
    justify-content: right;
}

/* unbound and non-filterable columns */
.k-grid-header th.text-right.right-padding {
    padding-right: 12px;
}

    /* filterable grid, sortable non-filterable columns */
    .k-grid-header th.text-right.right-padding > .k-cell-inner {
        margin-right: 0;
    }

div.k-filtercell-operator > button.k-disabled {
    display: none !important;
}

div.k-filtercell > div.k-filtercell-wrapper > span.k-numerictextbox > span.k-input-spinner:has(> button) {
    display: none;
}

div.telerik-blazor.k-grid.k-grid-sm {
    margin-right: 8px;
}

.top-row > .sticky-form {
    position: sticky;
    right: 28px;
    display: inline;
}

    .top-row > .sticky-form > a, .top-row > .sticky-form > form, .top-row > .sticky-form > form > button {
        display: inline;
    }

.sectionHeader {
    padding-top: 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    font-family: "Roboto";
    border-bottom: 1px dotted #ddd;
    padding-bottom: 3px;
    margin-bottom: 0px;
    padding-left: 3px;
    margin-left: -3px;
}

    .sectionHeader .subHeader {
        font-size: 13px;
        opacity: 0.6;
        padding-left: 10px;
        font-weight: bold;
    }



.k-form .form-checkbox label {
    vertical-align: middle;
    padding-top: 0px;
    min-width: 145px !important;
}

.k-form .k-label-checkbox {
    display: inline-block !important;
    padding-right: 10px;
    min-width: 230px !important;
}

.k-form .form-checkbox-container {
    display: flex;
    justify-content: flex-start;
}

    .k-form .form-checkbox-container .k-form-field {
        padding-right: 10px;
        min-width: 330px !important;
    }

.k-form .hint {
    margin-left: 130px;
    font-size: 12px;
    opacity: 0.8;
    padding-top: 2px;
}

.k-form .k-checkbox {
    border-color: rgba(0, 0, 0, 0.34);
}

.k-form .k-picker-solid {
    background-color: white;
    background-image: none;
}

.k-form .k-dropdownlist .k-input-inner {
    padding-left: 4px;
}

.k-form .k-disabled, .k-form .k-widget[disabled], .k-form .k-disabled {
    opacity: 0.85;
}

.k-form .k-dont-disable .k-disabled, .k-form .k-dont-disable .k-widget[disabled], .k-form .k-dont-disable .k-disabled {
    opacity: 0.85 !important;
}

.k-form .label-inner {
    position: relative;
    display: inline-block;
}

.k-form .form-required {
    color: red;
    position: absolute;
    right: -9px;
    font-size: 13px;
    top: -1px;
}

.k-form .k-form-buttons {
    border-top: 1px dashed #ddd;
    padding: 17px 4px;
    margin-top: 25px;
}

.k-form.form-reset .k-form-buttons {
    border-top: none !important;
    padding: 0px;
    margin-top: 14px;
}

.k-form .k-input-spinner.k-spin-button {
    display: none;
}

/* 
    Re-enable selection and scrolling of disabled textboxes.
    Apply text selection style.
    Can cause some side effects with appearance of hover and focus states
    Source: https://feedback.telerik.com/blazor/1483630-allow-selecting-and-copying-text-from-non-editable-inputs-read-only-mode
*/
.k-input-inner.k-disabled,
:not(.k-dropdownlist).k-disabled > .k-input-inner,
input.k-textbox[disabled] {
    pointer-events: initial;
}

.k-input-inner[disabled]::selection {
    background-color: #1274AC;
    color: white;
}

/* Disable input type="number" spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Need to override :active color as well so create a custom class for k-event-inverse with !importan */
.event-inverse {
    color: #000 !important;
}


#components-reconnect-modal {
    position: fixed;
    inset: 0px;
    z-index: 50002;
    overflow: hidden;
    background-color: rgba(13,110,253,0.7);
    opacity: 1;
    text-align: center;
    font-weight: bold;
    transition: visibility 0s linear 500ms;
    visibility: visible;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
    }

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .components-reconnect-loading {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .components-reconnect-wakeup {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .components-reconnect-wakeup {
    display: block;
}

#components-reconnect-modal {
    transition: visibility 0s linear 1000ms;
}

.components-reconnect-content-top {
    margin-top: 15px;
}

.components-reconnect-content-middle {
    margin-top: 20px;
}

.components-reconnect-content-desc {
    margin-top: 15px;
    width: 420px;
    text-align: left;
}

.components-reconnect-content-counter {
    font-size: 18px;
}

.components-reconnect-content-bottom {
    margin-top: 25px;
    margin-bottom: 15px;
}

span.link {
    color: #0071c1;
    text-decoration: underline;
}

span.link {
    color: #0071c1;
    text-decoration: none;
}

    span.link:hover {
        color: #0071c1;
        text-decoration: underline;
        cursor: pointer;
    }
/*NOTE: Css belong system diagnostics */
.diagnostic-div-button {
    display: inline-block;
    margin-left: 4px;
}

.status-spinner {
    margin-left: 4px;
}

.status-circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 4px;
    margin-right: 1px;
    margin-top: -4px;
    vertical-align: middle;
}

.status-circle-success {
    background-color: #28a745; /* Green */
}

.status-circle-warning {
    background-color: #ffc107; /* Yellow */
}

.status-circle-danger {
    background-color: #dc3545; /* Red */
}

.status-circle-pending {
    background-color: #6c757d; /* Grey */
}

.status-circle-progress {
    background-color: #007bff; /* Blue Bootstrap */
    animation: pulse 1.2s infinite;
}

.text-success {
    color: green;
    font-weight: bold;
}

.text-warning {
    color: orange;
    font-weight: bold;
}

.text-danger {
    color: red;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
