/* Reset */

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

:root {
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    position: relative;
    font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
    min-height: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    font-size: 100%;
    line-height: 1.5;
}

input,
textarea,
button {
    font-size: inherit;
    font-family: inherit;
}

/* main */
html {
    font-size: calc(12px + 1vw);
}

body {
    font-family: "HelveticaNeue-Medium", Helvetica, Arial, sans-serif;
    background-color: #093838;
    color: #D8D9DA;
    margin: 0;
    padding: 0;
}

h1 {
    padding-top: 1vh;
    font-size: 5vw;
}

h2 {
    padding-top: 1vh;
    font-size: 2.7vw;
}

h3 {
    padding-top: 1vh;
    font-size: 2.2vw;
}

li {
    padding-left: initial;
}

ol, ul {
    padding-top: 1vh;
    padding-inline-start: 4vw;
}

main {
    margin: 2vh;
    padding: 2vh;
}

/* Links */
a {
    color: #01bdbd;
}

a:visited {
    color: #01bdbd;
}

/* Link styled buttons */
.linkaction {
    display: inline;
}

.linkaction > input {
    background: none;
    border: none;
    color: #01bdbd;
    text-decoration: underline;
    cursor: pointer;
    font-size: 2vmin;
}

.linkaction > input:focus {
    outline: none;
}

.linkaction > input:active {
    color: red;
}

/* Form alignment */
div.settings {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-gap: 5px;
}

div.settings label {
    text-align: left;
}

div.settings label:after {
    content: " ";
}

/* Navi */
nav ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

nav li {
    float: left;
}

nav ol li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
nav ol li a:hover {
    background-color: #111;
}

nav .active {
    background-color: #04AA6D;
}

li.navbar-brand {
    float: right;
    padding: 0.2rem 1rem;
}

.navbar-brand img {
    padding-left: 1rem;
    padding-top: 0.2rem;
    max-height: 1.5rem;
}

.css-1m01c8l {
    padding-top: 0.1rem;
    height: 1.2rem;
    width: 1.2rem;
    box-sizing: content-box;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 600px;
    background-color: black;
    color: #fff;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Flash */
.flash-error {
    color: deeppink;
}
