body { margin: 0px; }
#page {
    display: flex;
    flex-direction: column;
    height: 100%;
}
header {
    background-color: black;
    color: white;
    font-size: xx-large;
    font-weight: bolder;
    text-align: center;
}
object {
    width: 100%;
    height: 5em;
}
main {
    margin: 8px;
    flex-grow: 1;
}
menu {
    display: flex;
    font-size: larger;
    flex-direction: row;
    background-color: grey;
    padding: 0 40px;
    margin-block-start: 0;
}
menu space {
    flex-grow: 1;
}
#login {
    background-color: lightgreen !important;
    color: black !important;
}
menu a {
    padding: .25em .5em;
    text-decoration: none;
    font-weight: bolder;
    color: white;
}
menu a:visited {
    color: white;
}
menu a:hover {
    color: white !important;
    background-color: #484848 !important;
}
menu .active {
    background-color: black !important;
}
flex {
    display: flex;
}
flexItem {
    flex-grow: 1;
    max-width: 75%;
}
#cameras {
    display: flex;
    flex-wrap: wrap;
}
.tile {
    display: inline-block;
    text-align: center;
    padding: 5px;
    margin: 5px;
    width: 80px;
}
img.mini {
    width: 80px;
    height: 60px;
}
#sample {
    max-width: 50%;
    float: right;
}
footer {
    border-top: black solid 1px;
    text-align: center;
    bottom: 0;
    margin-top: auto;
}
buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
}
buttons space {
    flex-grow: 1;
}
label {
    display: inline-block;
    width: 5em;
    text-align: left;
}
warning {
    display: none;
}
#lightBox { width: 400px; }
#outerLightBox {
    background-color: rgba(150, 150, 150, 0.5);
    overflow: hidden;
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 1000;
    display: none;
}
#innerLightBox {
    background-color: rgb(255, 255, 255);
    width: fit-content;
    position: static;
    margin: 20px auto;
    padding: 20px;
    top: 110px;
    overflow: hidden;
    z-index: 1001;
    text-align: center;
    box-shadow: 0px 3px 8px rgba(34, 25, 25, 0.4);
}
