
:root {
  --main-border: 1px solid #ddd;
  --main-border-radius: 15px;
}

html, body {
    --statusbar-height: 1em;
    margin: 0;
}

body {
    display: flex;
    box-sizing: border-box;
    min-height: 100vh;
    flex-direction: column;
    background: #f9f9f9;
    font-family: sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.8em;
    margin-bottom: 0;
}

h2 {
    font-size: 1.2em;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: #3080d0;
}

input[type="checkbox"] {
    margin-right: 0.7ex;
    vertical-align: text-bottom;
    font-size: inherit;
}

form {
    display: inline;
}

.admin {
    background: #ff994410;
}

.title {
    width: 100%;
    margin: 0;
    padding: 1ex 0;
    background: #ededed;
    border-bottom: var(--main-border);
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

.title a {
    text-decoration: none;
    color: #333;
}

.title a:hover {
  color: #3080d0;
}

a.icon-logout img {
    position: absolute;
    right: 0.5rem;
    top: 0.3rem;
    width: 2rem;
    height: 2rem;
}

.menu-horiz {
    display: flex;
    justify-content: flex-start;
    margin-top: 2ex;
    margin-left: 20px;
    font-size: 12px;
}

.menu-horiz a {
    display: inline-block;
    background: transparent;
    border: var(--main-border);
    border-radius: var(--main-border-radius);
    padding: 8px;
    color: #333;
    text-decoration: none;
    width: 15ex;
    text-align: center;
}

.menu-horiz a + a {
    margin-left: 20px;
}

.menu-horiz a:hover {
    background: #eee;
}

.content_area {
    width: 80%;
    min-height: 115dvh;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 3em;
}

markdown img {
    max-width: 91vw;
}

.page_actions {
    display: inline;
    margin-top: 1em;
}

.page_actions label {
    font-size: 11.6px;
    color: #333;
    margin-right: 1ex;
}

.page_actions select {
    background: #f9f9f9;
    max-width: -moz-available;
    max-width: -webkit-fill-available;
    padding: 9px 15px;
    border: var(--main-border);
    border-radius: var(--main-border-radius);
    font-size: 11.6px;
    color: #333;
}

.page_actions input[type="checkbox"],
.page_actions button,
.page_actions .button_link {
    border: 1px solid #ddd;
    border-radius: var(--main-border-radius);
    padding: 8px;
    color: #333;
    text-decoration: none;
    background: transparent;
}

.page_actions .button_link {
    font-size: 12px;
}

.page_actions button:hover,
.page_actions .button_link:hover {
    background: #eee;
}


.bottom_info {
    position: fixed;
    z-index: 1000;
    bottom: 0px;
    display: block;
    height: auto;
    width: 100%;
    background: #ededed;
    margin-top: 3ex;
    padding: 1ex 0 1ex;
    border-top: 1px solid #ccc;
    text-align: center;
    font-size: 12px;
}

.bottom_info span {
    color: #666;
}

.bottom_info [class^="page_link_"] {
    margin-left: 1em;
    margin-right: 1em;
}

.symbolbutton {
    min-width: 5em;
}

.legend {
    font-size: small;
    color: grey;
}
