﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

#main_container {
    max-width: 100%;
}

#cases-table {
    margin-top: 3rem;
}

#tasks-table {
    margin-top: 3rem;
}

#site-logo {
    max-height: 2.4rem;
}

.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.order-by-icon {
    max-height: 1.1rem;
}

.marquee3k {
    overflow: hidden;
    background-color: white;
    z-index: 1;
    position: sticky;
    top: 0;
    height: 2rem;
}

#marquee-content {
    font-size: 1.1rem;
}

#orderAndFilterModal {
    background-color: rgba(0, 0, 0, 0.4);
}

.tox-notifications-container {
    display: none;
}

.table th, .table td {
    padding: 0.3rem;
}

.padding01rem {
    padding: 0.1rem !important;
}

.padding02rem {
    padding: 0.2rem !important;
}

.pointerOnHover {
    cursor: pointer;
}

.underlined {
    text-decoration: underline;
}

    .underlined:hover {
        text-decoration: none;
    }

.widthInherit {
    width: inherit;
}

/* ---------------------------------------------------------------------
   Demo build only. Everything above this line is the original stylesheet.
   --------------------------------------------------------------------- */

.demo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: #2b3445;
    color: #e8ebf0;
    font-size: 0.86rem;
    line-height: 1.4;
}

.demo-banner__tag {
    flex: none;
    padding: 0.1rem 0.45rem;
    border-radius: 0.15rem;
    background: #ffc107;
    color: #262d3a;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.demo-banner__text {
    flex: 1 1 20rem;
}

.demo-banner__link,
.demo-banner__link:hover {
    flex: none;
    color: #ffc107;
    text-decoration: underline;
    white-space: nowrap;
}

.demo-intro {
    max-width: 60rem;
    margin: 2rem auto;
}

.demo-intro__title {
    font-size: 2.2rem;
    font-weight: 700;
}

.demo-intro__lead {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 46rem;
}

.demo-intro__notice {
    margin: 1.5rem 0 2rem;
}

    .demo-intro__notice li + li {
        margin-top: 0.4rem;
    }

.demo-intro__list li {
    margin-bottom: 0.55rem;
}

.demo-form-note {
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.7rem;
    border-left: 3px solid #ffc107;
    background: #fff8e6;
    color: #6b5410;
    font-size: 0.85rem;
}

.demo-disabled {
    cursor: not-allowed;
}

/*
 * The original is an internal desktop tool: its tables are far wider than a
 * phone, and a public demo gets opened on phones. A page that scrolls
 * horizontally reads as broken; a table that does reads as a table.
 *
 * Applied to the tables rather than to #main_container on purpose. Making
 * the container scrollable would turn it into the scroll container for the
 * sticky announcements ticker inside it, which would then stop sticking to
 * the top of the viewport.
 */
@media (max-width: 991.98px) {
    #main_container table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
