﻿html, body {
    display: block;
    position: relative;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background-color: black;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/vector.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

:root {
    --primary-color: #7cb3ff;  /* #00c8ec; */
    --secondary-color: #156380;
    --primary-color-dark: #156380;
    --accent-color: #0069ff; /* #005bcb; */
    --highlight-color: #ffee9e;
    --header-a-color: #d7d7d7;
    --header-background-color: #424242; /*#2a2a2a;*/
    --label-color: #b9b9b9;
    --background-color: #252525; /* #151515;*/
    --background-color-light: #484848;
    --background-color-dark: #001110;
    --selected-color: #004060;
    --button-back: #003c96; /* #003283; */
    --button-back-hover: #0069ff; /* #005bcb; */
    --button-back-selected: #123506;
    --button-border: 2px solid rgb(255, 255, 255, .20); /* 2px solid rgb(255, 255, 255, .20); */
    --button-padding: 2px; /* 2px 4px */
}

.select {
    display: inline-block;
    position: relative;
    min-width: 30px;
    width: auto;
    height: 24px;
    text-align: left;
    /*font-family: Arial, Helvetica;*/
    font-weight: bold;
    font-size: 9pt;
    margin-bottom: 4px;
    padding-bottom: 0px;
    color: white;
    background-color: black;
    -moz-border-radius: 4px;
    border: none;
    border-radius: 4px;
    text-shadow: 1px 1px Black;
    overflow: hidden;
    cursor: pointer;
}

.input {
    display: inline-block;
    position: relative;
    min-width: 30px;
    width: auto;
    height: 24px;
    text-align: left;
    /*font-family: Arial, Helvetica;*/
    font-weight: bold;
    font-size: 9pt;
    /*margin-bottom: 4px;*/
    padding-bottom: 0px;
    color: white;
    background-color: black;
    -moz-border-radius: 4px;
    border: none;
    border-radius: 4px;
    text-shadow: 1px 1px Black;
    overflow: hidden;
    cursor: pointer;
}

.hidden { 
    display: none;
}

.padded {
    padding: 6px;
}

.flex {
    display: flex;
}

.flex-gap {
    gap: 6px;
}

.flex-column {
    position: relative;
    /*display: flex !important;*/
    flex-direction: column !important;
}

.flex-column-gap {
    gap: 6px;
}

.flex-row {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
}

.flex-grow {
    display: flex;
    flex-grow: 1 !important;
}

.flex-shrink {
    flex-shrink: 1 !important;
}

.flex-align-start {
    align-items: flex-start;
}

.flex-align-center {
    align-items: center;
}

.flex-justify-start {
    justify-content: flex-start;
}

.flex-justify-center {
    justify-content: center;
}

.flex-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

#console {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    height: 95%;
}

#logo {
    width: 200px;
    height: auto;
    margin-top: 100px;
}

#login-container {
    display: block;
    width: 350px;
    text-align: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 6px;
    margin: 0 auto;
    padding: 12px;
}

#Errors {
    color: red;
    font-size: 12px;
    padding-bottom: 12px;
}

.login-input {
    width: 300px;
    font-size: 24px;
    padding: 6px;
    text-align: center;
    border-collapse: collapse;
    border: none;
    border-bottom: 1px solid blue;
    color: white;
    background-color: rgba(0, 0, 0, .75);
    outline: none;
}

.login-label {
    padding: 4px;
    font-weight: bold;
    text-align: center;
    justify-content: center;
}

#login-label {
    justify-content: center;
}

.login-button {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7;
    width: 150px;
    height: 30px;
    outline: none;
    border: 0;
    border-collapse: collapse;
    margin: 0 auto;
    color: white;
    background: darkblue;
    border-radius: 6px;
    cursor: pointer;
}

.page {
    display: flex;
    position: relative;
    flex-flow: row;
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

#titlebar {
    text-align: left;
    min-height: 20px;
    padding: 6px;
    background-color: royalblue;
    border-bottom: 1px solid #050070;
}

#titlebar-title {
    font-weight: bold;
    font-size: 12pt;
    padding: 2px 2px 2px 6px;
}

#user-info {
    display: block;
    float: right;
    font-weight: bold;
    font-size: 12pt;
    padding: 2px 6px 2px 2px;
}

.float-center   {margin: 0px auto; text-align: center;}

.log-out {
    font-weight: normal;
    font-size: 12pt;
    cursor: pointer;
}

#menu-area {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 230px;
    font-size: 11pt;
    background-color: #151515;
    border-right: 1px solid #3c3c3c;
    padding: 12px;
}

.menu-section-desc {
    font-size: 9pt;
    font-weight: normal;
    color: #9d9d9d;
    margin-bottom: 8px;
}

.menu-section-title {
    font-weight: bold;
    border-bottom: 1px solid royalblue;
}

.menu-section {
    padding: 4px;
}

.menu-item {
    padding-left: 4px;
}

.dialog-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .75);
    padding-top: 50px;
    margin: 0 auto;
    z-index: 5000;
}

.dialog-title {
    display: block;
    font-weight: bold;
    font-family: Arial, Helvetica;
    font-size: 16px;
    height: 20px;
    padding-top: 4px;
    text-align: center;
    background-image: url('/images/fade-header.png');
    background-color: blue;
    background-size: contain;
    background-repeat: repeat-x;
    border-bottom: 1px solid #535baa;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.dialog-subheader {
    text-align: center;
    vertical-align: top;
    font-size: 9pt;
    font-weight: bold;
    color: #c4c4c4;
    padding: 6px;
    border-bottom: 1px solid #393939;
    background: linear-gradient(to bottom, black, rgba(9,9,121,1));
}

.dialog-buttons {
    padding-top: 6px;
    text-align: center;
    border-top: 1px solid #393939;
}

#chart-menu {
    /*height: 40px;*/
    display: flex;
    text-align: left;
    background-color: #101010;
    border-bottom: 1px solid #3c3c3c;
    padding: 6px;
}

#chart-area {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#session-chart {
    flex-direction: column;
    flex-grow: 1;
    padding: 8px;
}

.w100 { width: 100px !important; }
.w200 { width: 200px !important; }
.w300 { width: 300px !important; }

.btn {
    display: flex;
    font-weight: bold;
    font-size: 0.8750em !important; 
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
    min-width: 80px;
    height: 24px;
    color: white;
    padding: var(--button-padding);
    border: var(--button-border);
    border-radius: 4px;
    background-color: darkblue;
    text-shadow: 1px 1px 2px #000000;
    cursor: pointer;
}
.btn:hover {
    filter: brightness(125%) !important;
}

.btn.button-green {
    background-color: darkgreen;
}
.btn.button-gold {
    background-color: darkgoldenrod;
}
.btn.button-red {
    background-color: darkred;
}

.option-label {
    display: flex;
    justify-content: center;
    align-content: baseline;
    min-width: 80px;
    padding-right: 6px;
    font-weight: bold;
    font-size: 10pt;
    color: #dcd698
}

.option-area {
    display: flex;
    color: white;
    background-color: #121348;
    border: 1px solid #3a49a4;
    border-radius: 4px;
}
.option-item {
    display: flex;
    justify-content: center;
    width: 80px;
    padding: 4px 0 4px 0;
    cursor: pointer;
}
    .option-item:not(:last-child) {
        border-right: 1px solid #3a49a4;
    }
.option-item.selected {
    font-weight: bold;
    background-color: #27298d;
    cursor: unset;
}

.label {
    display: inline-block;
    width: 80px;
    font-size: 9pt;
    color: #acacac;
}

.data {
    display: inline-block;
}

.data-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 2px;
}

.input {
    width: 140px;
}
input.bad {
    /*background-color: #ffd5d5;*/
    border: 1px Solid Red;
}