@font-face {
    font-family: OpenDyslexic;
    src: url('../fonts/OpenDyslexic/OpenDyslexic-Regular.otf');
}

@font-face {
    font-family: OpenDyslexic;
    font-weight: bold;
    src: url('../fonts/OpenDyslexic/OpenDyslexic-Bold.otf');
}

@font-face {
    font-family: OpenDyslexic;
    font-style: italic;
    src: url('../fonts/OpenDyslexic/OpenDyslexic-Italic.otf');
}

@font-face {
    font-family: OpenDyslexic;
    font-weight: bold;
    font-style: italic;
    src: url('../fonts/OpenDyslexic/OpenDyslexic-Bold-Italic.otf');
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: white;
}

h1, h2 {
    text-align: center;
}

input {
    border-color: #505050 !important;
}

button {
    min-height: 50px;
}

.btn-primary {
    background-color: var(--rz-primary);
}

.nav-link {
    color: var(--rz-primary);
}

.nav-link.active {
    background-color: var(--rz-primary) !important;
}

.bi {
    font-size: 2rem;
    padding: 1rem !important;
    color: #404040;
    cursor: pointer;
}

.box {
    border: #505050 1px solid;
    border-radius: 5px;
    box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 5%);
}

.text-button {
    background: transparent;
    border: none;
    padding: 0;
}

.flex-with-spaces {
    display: flex;
    gap: 10px;
    padding: 10px;
}

.vertical-centered {
    margin-top: 0;
    margin-bottom: 0;
}

dt {
    font-size: 18px;
    font-weight: 500;
}

dd {
    font-size: 14px;
    color: #606060;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.dv-chat-fab {
    position: fixed;
    right: 1.5rem;
    bottom: 5rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.dv-chat-panel {
    position: fixed;
    right: 1rem;
    bottom: 9rem;
    width: min(420px, 92vw);
    height: min(70vh, 720px);
    z-index: 1039;
    background: var(--bs-body-bg, #fff);
    border-radius: .75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    overflow: hidden;
    display: none;
}

.dv-chat-panel.show {
    display: block;
}

.dv-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    border-bottom: 1px solid rgba(0, 0, 0, .075);
    background: var(--bs-light, #f8f9fa);
}

.dv-chat-body {
    height: calc(100% - 60px);
    background: var(--bs-body-bg, #fff);
}

@media (min-width: 768px) {
    .rz-menu {
        height: 100%;
    }
}

.docs-pictures {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-pictures > li {
    border: 1px solid transparent;
    float: left;
    height: calc(100% / 3);
    margin: 0 -1px -1px 0;
    overflow: hidden;
    width: calc(100% / 3);
}

.docs-pictures > li > img {
    cursor: zoom-in;
    width: 100%;
}

.preview {
    height: 100px !important;
    width: 100px !important;
    object-fit: cover;
}

.viewer-download, .viewer-print {
    color: #fff;
    /*noinspection CssNoGenericFontName*/
    font-family: Bootstrap-icons;
    font-size: 0.75rem;
    line-height: 1.5rem;
    text-align: center;
    font-weight: bold;
}

.viewer-download::before {
    content: "\F30A";
}

.viewer-print::before {
    content: "\F501";
}

.form-floating > label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 117%; /* Because it's scaled 0.85 */
}