/* STYLES FOR WTDHPL.INFO */

/* License:  WTDHPL (http://wtdhpl.info/) */

/* So that our files may be to some extent both human- and
   machine-readable, we do not "minify" or "obfuscate" files.
   We strive to make things understandable for purposes such
   as study and scholarship. */

body {
    font-family: sans-serif;
    background-color: #f0f0f0;
}

/* qaq and qaa are q&a-question and q&a-answer */
*.qaq {
    font-weight: bold;
}

*.qaa {
    margin-left: 40px;
}

/* Show the license in a box, in monospaced font */
*.license {
    font-family: monospace;
    display: grid;
    margin-top: 8px;
    border: 2px solid;
    padding: 5px;
    background-color: #fafafa;
}

/* displaying forms inline removes auto <br> before/after submit button */
form {
    display: inline;
}

/* Set apart our navigation box floating left with a thick border */
div.nav {
    background-color: #e0e0e0;
    float: left;
    margin: 15px;
    padding: 5px;
    border: 6px solid;
}

/* Show the suggested legal text in a box, in monospaced font */
div.legal {
    border: 2px solid;
    margin: 30px;
    font-family: monospace;
    padding: 5px;
}

/* Show the main body in a thinly outlined box */
div.mainbody {
    border: 1px solid;
    padding: 5px;
}

*.smallfont {
    font-size: small;
}

*.smallerfont {
    font-size: x-small;
}

/* Make the timing date unobtrusive */
*.timing {
    font-size: small;
    color: grey;
    text-align: center;
    font-style: italic;
}

*.navbot {
    text-align: center;
}

.ctrimg {
    margin: auto;
    display: block;
}

/* Ack: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Responsive_Design */
/* This makes media items fit their containers, even on mobile devices. */
img,
picture,
video {
    max-width: 100%;
}