﻿/*body {
    scrollbar-width: thin;
    scrollbar-color: rgba(217,217,227,.8) #f8f9fa;
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #333;
    }

@keyframes thumbColorTransition {
    0% {
        background-color: #888;
    }

    50% {
        background-color: #555;
    }

    100% {
        background-color: #888;
    }
}

::-webkit-scrollbar-thumb {
    animation: thumbColorTransition 2s infinite;
}*/

@media screen and (max-width: 67.4em) {
    .scrollbar-trigger ::-webkit-scrollbar-thumb {
        visibility: hidden
    }

    .scrollbar-trigger:hover ::-webkit-scrollbar-thumb {
        visibility: visible
    }
}

body, html {
    height: 100%;
}

.rvt-layout {
    min-height: 100vh;
    overflow: hidden;
}

#main-content {
    flex: 1;
}

.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 {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

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

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

.rvt-c-loader-layer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: block;
    cursor: default;
    content: " ";
    background: transparent;
}

.rvt-c-footer-base {
    border-top-color: #e2e7e9;
}

#main-content {
    flex: 1 0 auto !important;
}

#app {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    flex: 1;
}

.rvt-c-header-sticky--top {
    position: sticky !important;
    top: 0 !important;
}

.rvt-c-header-sticky--bottom {
    flex-shrink: 0 !important;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.overflow-y-hidden {
    overflow-y: hidden !important;
}

.rvt-layout__sidebar {
    flex-basis: 25rem;
    max-width: 25rem;
    border-right: none;
    position: static;
}

.rvt-layout__sidebar-expanded {
    width: 25rem;
    opacity: 1;
}

.rvt-layout__sidebar-collapsed {
    width: 0 !important;
    opacity: 0;
    flex-basis: 0;
    /* Keeps the hidden sidebar's controls out of the Tab order (WCAG 2.4.3, 2.4.7). */
    visibility: hidden;
}

.pb-025 {
    padding-bottom: .25rem !important;
}

.float-end {
    float: right !important;
}

.hidden {
    display: none !important;
    height: 0px !important;
    width: 0px !important;
}

.transition-width {
    transition-duration: .15s;
    transition-property: width;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.toggle-sidebar {
    position: sticky;
    top: 1rem;
    left: 1.2rem;
    float: left;
}

.resize-none {
    resize: none;
}

.line-height-1-5 {
    line-height: 1.5;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
}

.stretch {
    align-items: stretch;
    align-content: stretch;
}

h-32 {
    height: 10rem;
}

@media screen and (max-width: 67.4em) {
    .md\:h-48 {
        height: 12rem;
    }
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.z-16 {
    z-index: 16;
}

.z-15 {
    z-index: 15;
}

.break-all {
    word-break: break-all;
}

.text-ellipsis, .truncate {
    text-overflow: ellipsis;
}

.max-h-5 {
    max-height: 1.25rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.inset-y-0 {
    bottom: 0;
    top: 0;
}

.w-8 {
    width: 2rem;
}

.z-10 {
    z-index: 10;
}

.bg-gradient-to-0 {
    background: linear-gradient(90deg, transparent, #fff);
}

.transition-all {
    transition-duration: .15s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1)
}

.transition-width {
    transition-duration: .25s;
    transition-property: width;
    transition-timing-function: cubic-bezier(.4,0,.2,1)
}

.rvt-c-bg-transparent {
    background-color: transparent;
}

.rvt-c-p-top-xxs {
    padding-top: .25rem;
}

.rvt-c-p-bottom-xxs {
    padding-bottom: .25rem;
}

.textarea-resize-vertical-only {
    resize: vertical !important;
}

.sidebarmenu {
}

.sidebarmenu-list {
    list-style-type: none;
    padding-left: 0;
}

.sidebarmenu-item-wrapper {
    display: flex;
    flex-basis: 100%;
}

.sidebarmenu-item {
    /*    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0.5rem;
    min-height: 2rem;*/
}

.sidebarmenu-item-content {
    list-style-type: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0;
}

.sidebarmenu-link {
    font-size: .875rem;
    color: #243142;
    flex-grow: 1;
    padding-top: .5rem;
    padding-right: .5rem;
    padding-bottom: .5rem;
    padding-left: 0;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.sidebarmenu-item-toggler {
    color: #a0abb4;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: center;
    padding: 0 .5rem;
}

.rvt-layout__sidebar-collapsed {
    max-width: 0;
}

.content-height {
    max-height: calc(100vh - 67.1px);
}

@media screen and (min-width: 46.25em) {
    .content-height {
        max-height: calc(100vh - 76px);
    }
}

@media screen and (max-width: 67.4em) {
    .rvt-layout__sidebar {
        display: none !important;
    }
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-wrapper {
    padding-top: 4rem;
}

@media screen and (min-width: 67.6em) {
    .chat-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 71.25rem;
    }
}

.chat-header {
    height: 76px;
}

.chat-session-row {
    border-top: 1px solid #e2e7e9;
    min-height: 3.5rem;
}

.chat-input {
}

@media screen and (min-width: 67.6em) {
    .chat-input {
        margin-left: auto;
        margin-right: auto;
        max-width: 71.25rem;
    }
}

.chat-input-bg {
    background-image: linear-gradient(180deg,rgba(53,55,64,0),#f8f9fa 58.85%);
}

@media screen and (min-width: 46.25em) {
    .chat-container {
        min-height: calc(100vh - 76px);
        max-height: calc(100vh - 18.5rem);
    }
}

@media screen and (max-width: 46.24em) {
    .chat-container {
        min-height: calc(100vh - 67px);
        max-height: calc(100vh - 18.5rem);
    }
}

.float-end {
    float: right !important;
}

.overlay-wrapper {
    position: relative;
    display: block;
    flex-basis: 100%;
    flex-grow: 0;
    flex-direction: column;
}

.overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 100;
}

.rvt-button--plain:disabled.no-border, .rvt-button--plain:disabled:hover.no-border {
    border: 0;
    color: #75838f;
}

.dot-m-top {
    margin-top: 0.25rem;
}

@keyframes blink {
    0%, 100% {
        opacity: 0;
    }
    /* more concise! */
    50% {
        opacity: 1;
    }
}

.dot {
    height: 0.7rem;
    width: 0.7rem;
    background-color: #006298;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.25rem;
    animation: blink 2s infinite;
}

.input-container {
    display: flex;
    width: 100%;
    /*border: 1px solid #75838f;*/
    border-radius: .5rem;
    justify-content: space-between;
    padding: .5rem;
    background-color: #ffffff;
    box-shadow: 0 .25rem 1rem rgba(36,49,66,.2);
}

    .input-container textarea:focus, .input-container textarea:active {
        outline: none !important;
        box-shadow: none !important;
    }

    .input-container textarea {
        border: none !important;
    }

        .input-container textarea:disabled {
            background-color: #ffffff !important;
            border: none !important;
        }

    .input-container button {
        border: 1px solid #e2e7e9;
        background-color: #e2e7e9;
        outline: none !important;
        box-shadow: none !important;
        height: 2.6rem;
        /*border-radius: 0 2px 2px 0;*/
        color: #00385f;
    }

        .input-container button:focus {
            outline: none !important;
            /*background-color: #edfafd;*/
            background-color: #056e41;
            /*border: 1px solid #edfafd;*/
            border: 1px solid #056e41;
            color: #ffffff;
        }

        .input-container button:hover, .input-container button:active {
            outline: none !important;
            /*background-color: #edfafd;*/
            background-color: #004421;
            /*border: 1px solid #edfafd;*/
            border: 1px solid #004421;
            color: #ffffff;
        }

    .input-container:focus-within {
        box-shadow: 0 0 0 .125rem #328bb8;
    }

.sp-selectcard .rvt-card {
    width: 200px;
}

@keyframes dropbox {
    0% {
        background-image: repeating-linear-gradient(30deg, green 1%, green 3%, darkgreen 5%, darkgreen 5%);
    }

    50% {
        background-image: repeating-linear-gradient(30deg, darkgreen 1%, darkgreen 3%, green 5%, green 5%);
    }

    100% {
        background-image: repeating-linear-gradient(30deg, green 1%, green 3%, darkgreen 5%, darkgreen 5%);
    }
}

.dropzone {
    border: 0.25rem dashed #e2e7e9;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #4c5a69;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

    .dropzone:hover {
        background-color: #f3f3f3;
        color: #333;
        border: 0.25rem dashed #328bb8;
    }

    .dropzone:active {
        background-color: #f3f3f3;
        color: #333;
        border: 0.25rem solid #328bb8;
    }

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

        .dropzone input[type=file]:active {
            border: 0.25rem solid #328bb8;
        }

    .dropzone input[type="file"] + label {
        font-size: 1rem;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: 300;
        cursor: pointer;
        flex-grow: 0;
    }

        .dropzone input[type="file"] + label span {
            margin-right: .25rem;
        }

.dropzone-drag {
    background-color: #e2e7e9;
    border: 0.25rem dashed #328bb8;
}

.dot-answer *:first-child {
    margin-top: 0;
}

.dot-answer table {
    border: 1px solid #e2e7e9;
}

.tc-60 {
    width: 60%;
    word-break: break-all;
}

.tc-20 {
    width: 20%;
    min-width: 20%;
}

.sp-state-disabled {
    cursor: not-allowed;
}

.wrap-min-content {
    inline-size: min-content;
    width: 100%;
}

sup {
    vertical-align: super;
    font-size: smaller;
    color: #006298;
    font-weight: 500;
}

.limited-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Number of lines displayed before it truncate */
    overflow: hidden;
}

.scrollable {
    overflow-y: scroll;
}

.chat-dialog_feedback {
    background-color: var(--rvt-color-white-base);
    border-top: none;
    padding: var(--rvt-spacing-md);
    padding: 1rem;
    display: flex;
    border-top: 1px solid #e2e7e9;
    background-color: #f8f9fa;
    flex-wrap: wrap;
    gap: 1rem;
}

.iu-chat-dialog__avatar {
    background-color: var(--rvt-color-white);
    color: var(--rvt-color-crimson-500);
    width: 36px;
    height: 36px;
    border: 1px solid var(--rvt-color-crimson-500);
}

.iu-chat-dialog__avatar--logo {
    background-color: var(--rvt-color-crimson-500);
    color: var(--rvt-color-white-base);
    border: 1px solid var(--rvt-color-crimson-500);
    border-bottom-right-radius: 0;
}
.iu-chat-dialog__avatar--custom {
    background-color: transparent;
    border: 0;
    border-radius: 0;
}
.iu-chat-dialog__avatar--custom .rvt-avatar__image {
    border-radius: 0;
}

.flagged-term {
    color: var(--rvt-color-crimson-500);
}

﻿.loading {
}

.loading > div {
    background-color: lightgray;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out both;
    animation: bouncedelay 1.4s infinite ease-in-out both;
}

.loading .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loading .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

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

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

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

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

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Chat history groups: the toggle button covers the whole row, so the group name isn't a separate,
   mouse-only click target (LeftSideBarMenuItem.razor). */
.sp-sidebarmenu-item-wrapper {
    position: relative;
}

.sp-sidebarmenu-item-wrapper > span.sp-sidebarmenu-link {
    cursor: default;
}

.sp-sidebarmenu-item-toggler::after {
    content: "";
    position: absolute;
    inset: 0;
}
