:root {
    font-family: "Helvetica", "Arial", sans-serif;
    --heading-h1-font-size: calc(var(--rz-text-body1-font-size, 1.0rem) * 2.5);
    --heading-h1-font-weight: var(--rz-text-h3-font-weight, 700);
    --heading-h1-line-height: var(--rz-text-h3-line-height, 1rem);
    --heading-h2-font-size: calc(var(--rz-text-body1-font-size, 1.0rem) * 2);
    --heading-h2-font-weight: var(--rz-text-h4-font-weight, 600);
    --heading-h2-line-height: var(--rz-text-h4-line-height, 0.75rem);
    --heading-h3-font-size: calc(var(--rz-text-body1-font-size, 1.0rem) * 1.5);
    --heading-h3-font-weight: var(--rz-text-h5-font-weight, 600);
    --heading-h3-line-height: var(--rz-text-h5-line-height, 0.5rem);
    --heading-h4-font-size: calc(var(--rz-text-body1-font-size, 1.0rem) * 1.25);
    --heading-h4-font-weight: var(--rz-text-h6-font-weight, 500);
    --heading-h4-line-height: var(--rz-text-h6-line-height, 0.5rem);
    --bubble-left-background-color: var(--rz-base, #e0e0e0);
    --bubble-right-background-color: var(--rz-success-lighter, #d1f3d1);
}


div .row {
    max-width: 100%;
}

#blazor-error-ui {
    background: var(--rz-info);
    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;
}

.rz-panel-menu .rz-navigation-menu .rz-navigation-menu .rz-navigation-item-wrapper {
    background-color: #374C57 !important;
}

.rz-panel-menu .rz-navigation-menu .rz-navigation-menu .rz-navigation-item-wrapper-active {
    background-color: #374C57 !important;
}

.rz-panel-menu .rz-navigation-menu .rz-navigation-menu .rz-navigation-item-wrapper:hover {
    background-color: #1f2b31 !important;
    color: inherit !important;
}

input.rz-spinner-input {
    text-align: right !important;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

.rz-textbox, .rz-dropdown {
    width: 100%;
}

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

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

.spinner-sm {
    border: 3px solid silver;
    border-top: 3px solid #337AB7;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 700ms linear infinite;
    position: absolute;
}

.rz-datatable-data td {
    padding: 0;
}

.rz-card {
    margin-bottom: 1em;
}

.rz-switch {
    display: block;
}

h1 > .rz-button, h2 > .rz-button, h3 > .rz-button, h4 > .rz-button, h5 > .rz-button {
    margin-left: 2em;
}

.draggable {
    margin-bottom: 10px;
    padding: 10px 25px;
    border: 1px solid #424d5c;
    cursor: grab;
    background: #5c6b7f;
    color: #ffffff;
    border-radius: 5px;
    width: 250px;
}

.draggable:active {
    cursor: grabbing;
}


.dragging {
    cursor: grabbing;
}

.dragged-item {
    border: 1px solid var(--rz-primary);
}

.dropzone {
    border: 1px dashed #75868a;
    list-style: none;
}

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

td.droptarget {
    border: 2px dashed rgba(0, 0, 0, 0.2)
}

span.info {
    font-size: small
}

div.image-link {
    position: relative;
    width: 50%;
}

div.image-link:hover {
    cursor: pointer;
}

div.image-link:hover img {
    opacity: 0.3
}

div.image-link img {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

div.image-link .image-overlay {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

div.image-link:hover .image-overlay {
    opacity: 1;
}

.dropzone {
    border: 3px dashed steelblue;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

.dropzone:hover {
    background-color: #f3f3f3;
    color: #333;
}

.dropzone input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-drag {
    background-color: palegreen;
}


div.valuedisplay {
    margin-bottom: 1rem;
}

div.valuedisplay .rz-label {
    display: block;
    font-weight: bold !important;
    color: var(--rz-info-darker);
}

/* add left margin to sub items in menu */

li.rz-navigation-item ul.rz-navigation-menu li {
    margin-left: 1em;
}

/* Add Borders on Column Headers when a column is resizable */
.rz-column-resizer {
    border-right: 1px dotted var(--rz-text-color);
}

/* Columns that contain a RadzenStack should not shrink its content */
.rz-cell-data:has(div.rz-stack) {
    overflow: visible !important;
}

th.rz-text-align-right {
    padding-right: 5px !important;
}

.rz-cell-data {
    width: 100%;
}


.rz-sidebar {
    z-index: 999 !important;
}

.fit-content {
    min-width: fit-content;
}

.tabs-wrap ul[role=tablist] {
    flex-wrap: wrap;
}

.column-currency {
    color: var(--rz-info-darker);
}

.column-currency-sell {
    color: var(--rz-danger-darker);
}

.column-currency-sell-italic {
    color: var(--rz-danger-darker);
    font-weight: lighter;
    font-style: italic;
}

.task-state-category {
    padding: 1em;
    margin: 1em;
    border: 1px dashed var(--rz-secondary);
}

.popup-content-container {
    padding: 5px;
}

.text-strikethrough {
    text-decoration: line-through;
}

/* Column Picker size adjustment */
.rz-data-grid .rz-group-header .rz-column-picker {
    min-width: 250px;
}

.bubble-container {
    display: flex;
    margin: 0.5rem 0;
}

.speech-bubble {
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    font-size: var(--rz-font-size, 0.875rem);
    max-height: calc(50% - var(--rz-timeline-axis-size));
    max-width: 100%;
    min-width: 120px;
    overflow-y: auto;
    padding: 0.75rem 0.75rem;
    position: relative;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    word-wrap: break-word;
}

.speech-bubble.left {
    background-color: var(--bubble-left-background-color);
    color: var(--rz-text-color, #000);
    border-bottom-left-radius: 0;
}

.speech-bubble.right {
    background-color: var(--bubble-right-background-color);
    color: var(--rz-text-color, #000);
    border-bottom-right-radius: 0;
}

.text-left {
    text-align: left !important;
}

@media (min-width: 576px) {
    .text-xs-right {
        text-align: right !important;
    }
}

.env-watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 6vw;
    transform: rotate(-30deg);
    user-select: none;
    color: var(--rz-primary-light, #fa0000);
    opacity: 0.15;
}

