@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;
    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;
}

@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 */
}