.presenter-slide {
    display: flex;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    transition: opacity 1s;
    position: absolute;
    top: 0;
    left: 0;
}

.presenter-slide.hidden {
    opacity: 0;
}

.presenter-slide #messageText {
    color: red;
    font-weight: bold;
    font-size: 2rem;
    margin: 2rem;
    text-align: center;
}

#clock {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2rem;
    margin: .5rem;
    background: #FFFFFF7F;
}

#slide-group-timer {
    position: absolute;
    bottom: 0;
    font-size: 5rem;
    padding: 1rem;
    line-height: 5rem;
    background: #FFFFFFAF;
    border-radius: 1rem;
    transition: opacity 1s;
}

#slide-group-timer.hidden {
    opacity: 0;
}

#slide-group-timer.hidden-override {
    opacity: 0;
}

.slide-clock {
    display: flex;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-clock.hidden {
    opacity: 0;
}

.slide-clock #huge-clock {
    font-size: 30vh;
    padding: 6vh;
    line-height: 20vh;
    background: #FFFFFFDD;
    border-radius: 6vh;
}

#slide-group-slot table {
    font-size: 14px;
}

#slide-group-slot th {
    background: red !important;
    color: white !important;
}

#slide-group-score table {
    font-size: 14px;
}

#slide-group-score th {
    background: red !important;
    color: white !important;
}

#slide-finals-score table {
    font-size: 14px;
}

#slide-finals-score th {
    background: red !important;
    color: white !important;
}

#modal-spinner {
    display: flex;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    transition: opacity 1s;
    position: absolute;
    top: 0;
    left: 0;
}

#modal-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

#team-game-template {
    display: none !important;
}

#team-games {
    width: 100%;
}

.team-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-game {
    width: 100%;
    border: 1px solid #777;
}

.team-game .header {
    text-align: center;
    background: #808080;
    color: white;
    width: 100%;
}

.team-game .header.active {
    background: red;
}

.team-page th {
    background: red !important;
    color: white !important;
}

.finals-game {
    width: 100%;
    border: 1px solid #777;
}

.finals-game .header {
    text-align: center;
    background: #808080;
    color: white;
    width: 100%;
}

.finals-game .header.active {
    background: red;
}
