﻿:root {
    --cita-blue: #0099b6;
    --cita-gray: #6b6556;
    --cita-gray-contrast: #403d37;
    /* --color-status-open: #a6deb3; */
    --color-status-open: #65f0a3;
    --color-status-closed: #e94828;
    --color-status-partial: #ed9b2e;
    --color-status-unknown:#adadad;
    --color-status-selected:#50cbdb;
    /* --link-color:#04558f; */
    --link-color:#007c94;
    --text-background-color-alert: #eee795;
    --text-color-alert:#908f8f;
    --text-color-loading:#aeaeae;
    --text-color-trail-alert-title:#ff1919;
    --button-link-bg-color: #d7f8ff;
    --size-1: 0.4rem;
    --size-2: 0.6rem;
    --size-3: 0.8rem;
    --size-4: 1.0rem;
    --size-5: 1.2rem;
}


* {
    margin: 0;
    padding: 0;
}

body {
    /* font-family: Geneva, Tahoma, Verdana, sans-serif; */
    font-family:ui-sans-serif, sans-serif;
    padding: 10px;
    display: flex;
    flex: 1 0 auto;
    flex-direction:column;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: var(--link-color);
}

.alert-message {
    text-align: center;
    background-color: var(--text-background-color-alert);
    color: var(--text-color-alert);
    font-weight: bold;
    font-size: 0.8em;
}

.header {
    text-align: center;
}

.page-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
  align-items: center;
  justify-content: center;
  gap:8px;
}

.loading {
    color: var(--text-color-loading);
    font-size: 0.8em;
}

.logo {
    vertical-align: middle;
    width: 35px;
}

.title-bar {
    font-size: 0.8em;
    background-color: #dedede;
    margin: 3px;
    padding: 2px;
    border-bottom: 1px solid #808080;
    border-top: 1px solid #5a7a96;
    color: var(--cita-blue);
}

.title-bar-flex {
    display:flex;
    justify-content:center
}

.last-updated {
    font-size: 0.75em;
    color: #bababa;
}

button {
    padding: 5px;
    font-weight: bold;
}

.button-link {
    border-radius: 8px;
    font-weight:bold;
    padding:0.8rem;
    border: 1px solid var(--cita-gray-contrast);
    background-color: var(--button-link-bg-color);
    color: var(--cita-gray-contrast);
}

.badge {
    font-weight: bold;
    font-size: 1.2em;
    border: 1px solid #363636;
    padding: 0.4rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    width: 60%;
}

.badge.closed {
    background-color: var(--color-status-closed);
    color: #ededed;
}

.badge.open {
    background-color: var(--color-status-open);
}

.badge.partial {
    background-color: var(--color-status-partial);
}

.badge.unknown {
    background-color: var(--color-status-unknown);
}

.badge-selected {
    background-color: var(--color-status-selected);
}

.trail-summary {
    margin: 15px 0px 30px 10px;
    text-align: left;
    width: 100%;
}

.trail-summary a {
    color: #000000;
}

ul.status-entry {
    list-style-type: none;
    display: table;
    width: 100%;
}

.status-entry li {
    text-align: left;
    display: table-cell;
    width: 35%;
    padding-bottom: 8px;
}

.status-entry .nav-arrow {
    float: right;
    margin-right: 2rem;
}

.status-entry .status {
    text-transform: uppercase;
    font-weight: bold;
}

.status-entry .status.closed {
    color: var(--color-status-closed);
}

.status-entry .status.open {
    color: var(--color-status-open);
}

.status-entry .status.partial {
    color: var(--color-status-partial);
}

.status-entry .status.unknown {
    color: var(--color-status-unknown);
}

.status-entry .relative-time {
    font-size: 0.5em;
    color: #363636;
}

/* trail detail */

.trail-info {
    font-size: 0.9em;
    margin: 7px;
}

.header .logged-in-user {
    font-size: 0.8em;
}

.trail-update-entry {
    margin: 20px 0px 10px 10px;
    text-align: left;
    border-bottom: 1px solid #adadad;
}

.trail-updates .last-updated {
    font-size: 0.9em;
}

.trail-updates .notes {
    font-size: 0.8em;
    padding: 10px 0 0 5px;
}

.trail-updates .signature {
    font-size: 0.6em;
}

.title-bar.trail-alert {
    color: var(--text-color-trail-alert-title);
    font-weight: bold;
}

.trail-alert-detail {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Trail updates */

.update-status-container {
    display: none;
}

.current_status_display {
    font-weight: bold;
}

.update-trail-list {
    margin: 20px 0px 20px 10px;
    text-align: left;
}

.update-status-form {
    padding-top: 15px;
    text-align: center;
}

.update-status-form .update-button {
    padding: 5px;
    font-weight: bold;
}

.update-status-form .comment-default {
    font-size: 0.9em;
    color: #909090;
}

.update-status-form .comment-entry {
    font-size: 0.9em;
    color: #000000;
}

.update-status-form .badge {
    line-height: 2em;
}

.badge-selected.open {
    background-color: var(--color-status-open);
}

.badge-selected.closed {
    background-color: var(--color-status-closed);
}

.badge-selected.partial {
    background-color: var(--color-status-partial);
}

.update-status-form .condition-options {
    display: none;
}

.credits {
    font-size: 0.7em;
    color: #bebebe;
}

div.logged-in-user {
    font-size: 0.8em;
}

.login-identity-info {
    display: none;
}

.logged-in-user .username {
    font-weight: bold;
}

.info {
    margin: 15px;
}

.auth-verify {
    display: none;
}

.form-label {
    font-weight: bold;
}

span.alias {
    display: none;
}

.auth-entry {
    border-color: #dadada;
    padding: 2px;
    font-size: medium;
}

.service-login-buttons {
    display: none;

}

.service-login-buttons-container {
    display:inline-flex;
    flex-direction: column;
    flex: 1 0 auto;
    justify-content: center;
    font-size: 0.9rem;
}

div.request-code-box {
    display:flex;
    flex-direction:column;
    align-items: start;
    border: 1px solid var(--cita-gray);
    border-radius:8px;
}

.p-1 {
    padding: var(--size-1);
}

.p-2 {
    padding: var(--size-2);
}

.p-3 {
    padding: var(--size-3);
}

.p-4 {
    padding: var(--size-4);
}

.p-5 {
    padding: var(--size-5);
}

.py-1 {
    padding-top: var(--size-1);
    padding-bottom: var(--size-1);
}

.py-2 {
    padding-top: var(--size-2);
    padding-bottom:var(--size-2);
}

.py-3 {
    padding-top: var(--size-3);
    padding-bottom:var(--size-3);
}

.py-4 {
    padding-top: var(--size-4);
    padding-bottom:var(--size-4);
}

.py-5 {
    padding-top: var(--size-5);
    padding-bottom:var(--size-5);
}

.pl-1 {
    padding-left: var(--size-1);
}

.pl-2 {
    padding-left: var(--size-2);

}

.pl-3 {
    padding-left: var(--size-3);

}

.pl-4 {
    padding-left: var(--size-4);

}

.pl-5 {
    padding-left: var(--size-5);

}

div .form-small {
    color: #9c9a9a;
}

div.darker {
    color:var(--cita-gray-contrast);
}

div.form-small {
    font-size: 0.8em;
}

div.form-smaller {
    font-size: 0.7em;
    color: #9c9a9a;
}

.text-bold {
    font-weight:bold;
}