﻿*, ::after, ::before {
    box-sizing: border-box;
}


#blazor-error-ui {
    display: none;
    box-sizing: inherit;
    font-size: 16px;
}

#blazor-error-ui .aveo-label,
#blazor-error-ui .aveo-checkbox__label {
    display: block;
    color: black;
}

#blazor-error-ui * {
    font-size: inherit !important;
}


#blazor-error-ui *:not(i){
    font-family: sans-serif;
}

.blazor-error-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    z-index: 99999;
    box-sizing: inherit;
}

.blazor-error-view__application-section {
    flex-grow: 1;
    pointer-events: none;
    position: relative;
    box-sizing: inherit;
}

.blazor-error-view__error-section {
    position: relative;
}

.error-banner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #a50000;
    color: white;
    font-size: 1.125rem;
    border-top: 2px solid #770000;
    box-shadow: 0 0 3px 1px #777777;
    user-select: none;
    pointer-events: auto;
    justify-content: flex-end;
    padding: 1rem;
    padding-left: 1.25rem;
    padding-right: 1.5rem;
}

#error-banner-controller:checked ~ .error-banner {
    display: none;
}

.error-banner__content {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.error-banner__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.25rem;
    font-size: 1.5rem;
}

.error-banner__message {
    flex-grow: 1;
}

.error-banner__actions {
    display: flex;
    align-items: center;
    margin: -0.125rem;
}

.error-banner__action {
    border: none;
    color: inherit;
    background: none;
    background-color: #f23030;
    padding-left: 1rem;
    padding-right: 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    border: 2px outset #b70000;
    box-shadow: inset 0 0 1px 1px #980000;
    margin: 0.125rem;
    font-size: 1rem;
    outline: none;
    height: 40px;
    font-family: Arial;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .error-banner__action:focus,
    .error-banner__action:active {
        outline: none;
    }

    .error-banner__action:active {
        border: 2px inset #b70000;
        box-shadow: inset 0 0 3px 1px #4d0000;
    }

.bug-submission {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    font-size: 1rem;
    box-sizing:inherit;
}

#bug-submission-controller:checked ~ .blazor-error-view__application-section .bug-submission {
    display: none;
}

.bug-report-toggler {
    display: none;
}

#bug-submission-controller:checked ~ .blazor-error-view__error-section .bug-report-toggler {
    display: flex;
}

.bug-submission__content {
    width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    max-width: 768px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: inherit;
}

.report-sent-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0 0 0 / 40%);
    z-index: 999999;

    font-size: 16px;

    font-family: sans-serif;
}

    .report-sent-success * {
        font-size: inherit !important;
    }

#report-sent-controller:checked ~ .report-sent-success,
#report-sent-controller:checked ~ #blazor-error-ui {
    display: none !important;
}


.report-sent-success__content {
    width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    max-width: 768px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bug-window {
    display: flex;
    flex-direction: column;
    background-color: white;
    user-select: none;
    border: 1px solid #8b8787;
    border-radius: 0.18rem;
    overflow: hidden;
    /* align-items: center; */
}

.bug-window__header {
    display: flex;
    align-items: center;
    padding: 1rem;
    padding-bottom: 0.25rem;
    padding-top: 0.5rem;
    padding-right: 0.75rem;
    border-top-left-radius: 0.18rem;
    border-top-right-radius: 0.18rem;
    background-color: #efefef;
    border-bottom: 1px solid #d5d5d5;
}

.bug-window__icon {
    color: #529aaa;
    margin-right: 0.75rem;
    font-size: 1.25rem;
}


.bug-window__title {
    flex-grow: 1;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 1.25rem;
    color: #529aaa;
}

.bug-window__header--error .bug-window__title,
.bug-window__header--error .bug-window__icon {
    color: red;
}

.bug-window__actions {
    display: flex;
    align-items: center;
}

.bug-window__action {
    border: none;
    background: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: grey;
    transition: all 0.125s;
    transition-property: color;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

    .bug-window__action:hover,
    .bug-window__action:focus,
    .bug-window__action:focus {
        color: black;
        outline: none;
    }

.bug-window__content {
    flex-grow: 1;
    overflow: auto;
    padding: 1rem;
    margin: 1px;
    padding-top: 0.5rem;
    border-bottom-left-radius: 0.18rem;
    border-bottom-right-radius: 0.18rem;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background-color: #cdcdcd;
    border-radius: 0.5rem;
}

.bug-window__footer {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background-color: #efefef;
    border-top: 1px solid #d5d5d5;
}

.bug-window__footer-item {
    margin: 0.25rem;
}

.bug-form {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: inherit;
}

.form-row{
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;

    padding: 0.25rem;
}

    .form-row > .col, .form-row > [class*=col-] {
        padding-right: 5px;
        padding-left: 5px;
    }

.bug-form__screenshot-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    border-radius: 0.18rem;
    background-color: #e9e9e9;
    padding: 0.5rem;
    text-align: center;
    box-shadow: inset 0 0 3px 1px #b7b7b7;
    cursor: pointer;
}

.bug-form__screenshot-img {
    object-fit: contain;
    max-width: 100%;
    height: 100%;
    border-radius: 0.18rem;
    border: 1px solid #c9c9c9;
}

.bug-window-message {
    display: inline-flex;
    margin: 0 auto;
    color: green;
    align-items: center;
}

.bug-window-message--error {
    color: red;
}

.bug-window-message__icon {
    font-size: 3rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bug-window-message__text {
    font-size: 1rem;
    font-weight: 600;
}




/* reconnect modal*/

.blazor-message {
    display: none;
    align-items: center;
    color: #fff;
    width: 100%;
    border-top: 1px solid #500000;
    background-color: #770000;
    padding: 1rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blazor-message__title {
    display: flex;
    align-items: center;
}

.blazor-message__head {
    font-size: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 1rem;
    padding-right: 1rem;
}

.blazor-message__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    margin-right: 0.5rem;
    color: white;
}

.blazor-loading-spinner {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.125s;
    transition-property: opacity;
}

.components-reconnect-rejected .blazor-loading-spinner,
.components-reconnect-failed .blazor-loading-spinner {
    opacity: 0;
}


#components-reconnect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 888;
    background-color: rgba(0, 0, 0, 0.4);
    user-select: none;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: flex;
        flex-direction: column;
    }

    #components-reconnect-modal.components-reconnect-hide {
        display: none;
    }

    #components-reconnect-modal.components-reconnect-show > .blazor-message.on-show {
        display: flex;
        justify-content: center;
    }

    #components-reconnect-modal.components-reconnect-failed > .blazor-message.on-failed {
        display: flex;
        flex-wrap: wrap;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: -0.25rem;
        justify-content: center;
        justify-content: center;
    }

    #components-reconnect-modal.components-reconnect-rejected > .blazor-message.on-rejected {
        display: flex;
    }

.refresh-button {
    margin: 0;
    margin-left: 1ch;
    font-size: 0.9rem;
    white-space: nowrap;
}


.loader,
.loader:before,
.loader:after {
    --color-blazor-loader: #ccf1ef;
    background: var(--color-blazor-loader);
    animation: load1 1s infinite ease-in-out;
    width: 1rem;
}

.loader {
    color: var(--color-blazor-loader);
    position: relative;
}

    .loader:before,
    .loader:after {
        position: absolute;
        top: 0;
        content: '';
    }

    .loader:before {
        left: -1.5rem;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 1.5rem;
        animation-delay: 0.32s;
    }

@-webkit-keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4rem;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5rem;
    }
}

@keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4rem;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5rem;
    }
}

@media (min-width: 768px){
    .col-md {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
}



.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto{
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.aveo-label {
    margin-bottom: 2px;
    display: block;
}

.aveo-text-input {
    display: block;
    padding: 0.375rem 0.75rem;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--input-text-color);
    background-color: var(--input-bg-color-base);
    background-clip: padding-box;
    border: 1px solid var(--input-border-color);
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
}

button, input {
    overflow: visible;
}

:root {
    --input-bg-color-base: #fff;
    --input-bg-color-disabled: #ccc;
    --input-bg-color-readonly: #ddd;
    --input-text-color: #495057;
    --input-bg-color-plain: #495057;
    --input-border-color: #ced4da;
    --input-box-shadow: var(--primary-color);
    --input-icon-bg: #aaa;
    --input-error-success: #76b707;
    --input-error-fail: #ff0000;
    --input-button-warning: #ffc107;
    --input-button-warning-hover: #d39e00;
    --input-button-success: #28a745;
    --input-button-success-hover: #1e7e34;
    --input-button-info: var(--primary-color);
    --input-button-info-hover: #117a8b;
    --input-button-light: #f8f9fa;
    --input-button-light-hover: #dae0e5;
    --input-button-dark: #343a40;
    --input-button-dark-hover: #1d2124;
    --input-button-danger: #dc3545;
    --input-button-danger-hover: #bd2130;
    --input-button-text-color: #000;
}

input {
    writing-mode: horizontal-tb !important;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: auto;
    cursor: text;

    outline: none;

}

.aveo-textarea {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--input-text-color);
    background-color: var(--input-bg-color-base);
    background-clip: padding-box;
    border: 1px solid var(--input-border-color);
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
    outline: none;
    resize: none;
}

.form-row .aveo-text-input{
    display: block !important;
}

.aveo-text-input:read-only {
    background: var(--input-bg-color-readonly);
}

    .aveo-textarea:focus,
    .aveo-textarea:active {
        box-shadow: 0 0 6px 1px rgb(0, 165, 205);
        height: 100px !important;
    }

.aveo-input-group {
    display: flex;
    border-radius: 3px;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: baseline;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

.aveo-checkbox__label {
    margin-left: 0.5rem;
    cursor: pointer;
    white-space: normal;
}

.aveo-button {
    display: inline-block;
    border: 1px solid var(--input-bg-color-readonly);
    text-align: center;
    font-size: 16px;
    padding: 5px;
    cursor: pointer;
    vertical-align: middle;
    border-radius: 3px;
    min-width: 100px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    user-select: none;
    margin-bottom: 5px;
}

.aveo-button--primary {
    background-color: #186fce;
    border-color: #186fce;
    color: #fff;
}

input:focus,
input:active{
    box-shadow: 0 0 6px 1px rgb(0, 165, 205);
}

.form-group {
    margin-bottom: 1rem;
}