* {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html{
    --button_fill_color: rgb(60, 63, 250);
    --plot_line_1: rgb(28, 134, 238);
    --plot_line_2: rgb(255, 165, 0);
    --plot_line_3: rgb(102, 205, 0);
    --plot_line_4: rgb(255, 0, 0);
    --plot_line_5: rgb(255, 0, 255);
    --plot_line_6: rgb(0, 255, 255);
}

html.dark {
    --button_fill_color: rgb(2, 98, 177);
    --background_color: #3f3e3f;
    --font_color: #9b9d9b;
    --plot_bg_color: var(--background_color);
    --plot_font_color: var(--font_color);
    --plot_grid_color: #6d6b6d;
    --plot_zeroline_color: #9d9b9d;
}

html.dark body {
    color: var(--font_color);
    background: var(--background_color);
}

h1 {
    color: rgb(2, 5, 177);
}

html.dark h1 {
    color: rgb(2, 98, 177);
}

.button {
    position: relative;
    background-color: var(--button_fill_color);
    border: none;
    font-size: 16px;
    color: #FFFFFF;
    padding: 15px 32px;
    /* width: 200px; */
    text-align: center;
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
}

.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button:hover {
    background-color:rgb(2, 5, 177);
    color: white;
}

.button:after {
    content: "";
    background: #f1f1f1;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -32px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s
}

.button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
}

.input_ok:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.input_err:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

.input_warn:focus {
    outline: none;
    border-color: #ffff00;
    box-shadow: 0 0 10px #ffff00;
}

.gaugeinput {
    font-size: 24px;
}

html.dark .gaugeinput {
    color: #121212;
    background-color: #888888;
    border-style: solid;
}

.gaugeinput {
    font-size: 24px;
}

.tab_button {
    position: relative;
    background-color: var(--button_fill_color);
    border: none;
    font-size: 16px;
    color: #FFFFFF;
    padding: 15px 32px;
    margin-top: 3px;
    /* width: 200px; */
    text-align: center;
    transition-duration: 0.4s;
    /* text-decoration: none; */
    /* overflow: hidden; */
    cursor: pointer;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-right: 2px;
    vertical-align: bottom;
}

.tab_button:hover {
    background-color:rgb(2, 5, 177);
    color: white;
}

a .tab_button::before {
    display: block;
    content: attr(title);
    font-weight: bold;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

a[aria-current="page"] .tab_button {
    font-weight: bold;
    /* background-color: rgb(2, 5, 177); */
    padding: 18px 32px;
    margin-top: 0px;
    /* font-size: 20px; */
}

.color-mode-div {
    display: block;
    float: right;
}

.color-mode-button {
    height: 2.5em;
    width: 2.5em;
    border-radius: 1.25em;
    border-style: solid;
    border-color: black;
    border-width: 1pt;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark .color-mode-button {
    background-color: var(--background_color);
    color: var(--font_color);
    border-color: var(--font_color);
}
