﻿body {
    background-color: #0090a0;
    margin: 0px;
    font-family: Helvetica, Arial, Sans-Serif;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    color: white;
}

label {
    color: white;
}

.jconfirm-box-container {
    color: black;
}

body a {
    color: white;
    cursor: pointer;
}

h1 {
    margin-top: 40px;
    color: var(--yellow);
}

hr {
    border-top: 1px solid var(--yellow);
}

p {
    color: #e8e8e8;
}

h3 {
    margin-top: 30px;
    color: var(--yellow);
    border-bottom: 1px solid var(--yellow);
}

#current-stage {
    color: var(--yellow);
    font-weight: bold;
    position: relative;
    top: 50px;
    text-align: center;
    font-size: 24px;
}

#clock-display {
    float: right;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 45px;
    right: 30px;
    font-size: 30px;
}

.da-top {
    background-image: url("../media/top-background.png");
    background-color: #17424f;
    background-repeat: no-repeat;
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.da-wrapper {
    display: flex;
    justify-content: center;
}

.da-body {
    min-width: 200px;
}

.da-f-body {
    width: 100%;
    padding: 0px 10px 30px 10px;
    color: white;
}

.da-body ul {
    list-style-type: none;
}

.da-body li {
    margin: 40px;
    font-size: 1.5rem;
    color: white;
}

/* --- instance status bar, pinned to the bottom of the facilitator & volunteer panels --- */
/* Those two pages also reserve `body { padding-bottom }` for it; this sheet is shared with the
   installation home page, which has no such bar, so the reservation can't live here. */
.da-footer {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #013238;
    border-top: 1px solid #0090a0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 500;
}

.footer-instance {
    color: #d6f0f3;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    min-width: 0;
}

.footer-instance-label {
    color: #7fb9c2;
    margin-right: 4px;
}

.footer-btn {
    flex: none;
    background: #00808e;
    color: #fff;
    border: 1px solid #0090a0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

    .footer-btn:hover {
        background: #0090a0;
    }

/* Content freshness, on the Session tab under the session picker. Quiet by design: it is a reassurance
   most of the time, and only earns attention when the check has failed. */
.content-check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #0090a0;
    color: #d6f0f3;
    font-size: 14px;
}

.content-check-label {
    color: #7fb9c2;
}

#content-check-btn {
    background: transparent;
    color: #7fb9c2;
    border: 1px solid #0090a0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
}

    #content-check-btn:hover {
        background: #01474f;
        color: #d6f0f3;
    }

/* A content check that failed: the room may be about to run on stale content, so it is not decoration. */
.content-check-stale {
    color: #ffb4b4;
    font-weight: 700;
}

.da-form-button {
    margin: 1.5rem;
}

    .da-form-button input {
        padding: 1rem;
        border: none;
    }

    .da-form-button button {
        padding: 1rem;
        background-color: #7ac448;
        color: white;
        font-weight: bold;
        border: none;
    }

.action-button {
    cursor: pointer;
    color: white;
}

/*
#title-name {
    border-bottom: 1px solid var(--yellow);
}*/

.jconfirm-box-container {
    margin-left: 50px;
    margin-right: 50px;
}

.jconfirm-box {
    width: fit-content;
}


.ui-state-default {
    background-color: none !important;
    background: #006975 !important;
    border: none !important
}


.ui-tabs a {
    color: #ccc !important;
}

.ui-state-active {
    background-color: none !important;
    background: #0090a0 !important;
    border: none !important;
}

    .ui-state-active a {
        color: white !important;
    }

.ui-widget-content {
    background-color: none !important;
    background: #0090a0 !important;
    border: none !important
}

.ui-widget-header {
    background-color: none !important;
    background: #006975 !important;
    border: none !important
}

.function-group button:hover {
    background-color: green;
}

.function-group {
    vertical-align: top;
    justify-content: center;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
}

    .function-group button {
        height: 100px;
        width: 160px;
        margin: 1rem;
        padding: 1rem;
        font-size: 1.4rem !important;
        cursor: pointer;
        font-weight: bold;
        background-color: #7ac448;
        color: white;
        border: black 0px solid;
        text-shadow: 2px 2px 2px rgba(46,91,173,0.6);
    }

        .function-group button:active {
            background-color: #3f6525 !important;
        }

.input-function-group button {
    margin-left: 10px;
    border: 1px solid black;
}

.input-function-group input {
    width: 100px;
}

.green-button {
    color: white;
    background-color: #7ac448;
    border: black 0px solid;
    padding: 1rem;
}

    .green-button:active {
        background-color: #3f6525 !important;
    }


/* Disabled buttons read as clearly disabled in every state. The :hover/:active
   selectors plus !important are needed to beat .function-group button:hover (green)
   and :active, which would otherwise make a hovered disabled button look active. */
button:disabled,
button[disabled],
button:disabled:hover,
button[disabled]:hover,
button:disabled:active,
button[disabled]:active {
    background-color: #737373 !important;
    cursor: not-allowed !important;
    color: #cfcfcf !important;
    opacity: 0.5;
    text-shadow: none !important;
}

.session-active {
    background-color: #7ac448;
}

    .session-active:hover {
        background-color: #7ac448 !important;
        cursor: initial !important;
    }

.session-button {
    border: 1px solid white;
    cursor: pointer;
    color: white;
    padding: 1rem;
    margin-bottom: 1em;
    text-shadow: 2px 2px 2px rgba(46, 91, 173, 0.6);
}

    .session-button:hover {
        background-color: #3f6525;
    }

.session-ended {
    color: #ffd27a;
    font-style: italic;
    font-size: 0.85em;
    margin-left: 0.4em;
    text-shadow: none;
}

.student-table {
    color: white;
    width: 100%;
    margin-top: 1.5rem;
}

    .student-table th {
        border-bottom: 2px solid white;
        padding: 0.5rem;
    }

    .student-table td:first-child {
        text-align: right;
    }

    .student-table td:not(:first-child) {
        border-bottom: 1px solid #ccc;
        padding: 0.5rem;
        font-size: 1.2rem;
    }

.student-present {
    color: var(--yellow);
}

.roster-summary-table {
    width: 100%;
    color: white;
}

/*
   A group total that is telling the facilitator something is wrong with the rotation -- a six-round
   session with nobody in group F, or students in a group the rotation cannot place. Same treatment as
   a failed content check, because it means the same kind of thing: the room is about to run, or is
   already running, in a shape nobody intended.
*/
.group-warning {
    color: #ffb4b4;
    font-weight: 700;
    cursor: help;
}

#roster-summary {
    padding: 10px;
    color: white;
    font-size: 1.2rem;
}

.roster-totals {
    border-radius: 12px;
    padding: 1rem;
    background-color: #00808e;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

    .roster-totals hr {
        border-top: 1px solid #6b6b6b;
        color: #6b6b6b;
    }

#security-approve input {
    margin-right: 0;
    width: 130px;
    height: 2rem;
    padding: 4px;
    font-size: 1.2rem;
}

#security-approve button {
    height: 3rem;
    margin: 0;
    padding: 0
}