body,div,form,.border-box {
    box-sizing: border-box;
}
@media screen {
    body {
	width:100svw;
	height:100svh;
	font-size:10pt;
	background: #ccccff;
	margin:0pt;
	display: flex;
	flex-direction: column;
    }
}
.bold {font-weight:bold}
#page-heading,#page-menu {
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    border: 5px #bbb inset;
    font-size: 150%;
    font-weight: bold;
    background: #eee;
    text-align: center;
    margin:2px;
    margin-right:6px;
}
#page-menu a,.link a,.small-link a,#page-menu input,#page-menu a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: normal;
    border: .5ex #0f0 outset;
    font-family: sans-serif;
    padding: 2px;
    background: #ccccff;
}
.submenu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 2px;
}
#scrolling-hint {
    width: 100%;
    border: 1px solid black;
    border-radius: 4ex;
    background: #ddd;
    text-align:center;
    margin-left:-1px;
    font-size:80%;
    font-weight:normal;
}

#page-payload {
    overflow: auto;
    padding: 3px;
    width: 100%;
    border: 5px #bbb inset;
    background: #eee;
    margin:2px;
    margin-right:6px;
    padding:2px;
    flex-grow:1;
}
#page-payload > div {
    height:auto;
}
.hidden {display:none;}    
#dismiss {
    z-index: 10;
    position: fixed;
    right: 1ex;
    top: 1ex;
    background: red;
    color: white;
    font-size: 15px;
    font-weight: bold;
    font-style: italic;
    font-family: sans-serif;
    text-decoration: none;
    width: 9ex;
    border: solid white 1pt;
    border-radius:5px;
}
#hint {
    z-index: 10;
    position: fixed;
    left: 40%;
    background: red;
    color: white;
    font-size: 15px;
    font-family: sans-serif;
    text-decoration: none;
    width: 30ex;
    font-style: italic;
    text-align: center;
    border: solid white 1pt;
    border-radius:5px;
}
.popup-head,#events {
    font-weight: normal;
    border: .5ex #0f0 outset;
    font-family: sans-serif;
    padding: 2px;
    background: #ccccff;
    font-size:15px;
}
.popup {
    overflow: hidden;
    z-index:2;
    height:0pt;
    position:relative;
}
.popup .container {
    display: grid;
    background: #ccccff;
    border:solid 1px red;
}
.popup .container a {
    display: grid;
}
.popup .container label {
    font-size: 75%;
    font-style: italic;
}
.popup.show-popup {
    overflow:visible;
}
#nl-ctl.submenu,#scrolling-hint.submenu{
    height:auto;
    margin:0pt;
    padding:0pt;
}
#categories {max-width:400px;}
