body {
    background: #ffd;
    text-align: center;
}
html,
body {
    padding-top: 0;
    margin-top: 0;
}
.dep50 {
    opacity: 0.3;
}
.subject img {
    max-height: 90pt;
}
.subject {
    width: 90pt;
}
body.cert,
body.cert svg,
body.cert ins {
    margin: 0;
    padding: 0;
}
dl {
    display: inline-block;
}
dt {
    text-align: left;
    font-weight: bold;
}
dd {
    padding-left: 0;
    margin-left: 0.5em;
}
input[type="search"] {
    border-radius: 0;
}
td b {
    color: rgb(0, 128, 0);
}
td b > s + span,
td b ins {
    color: red;
    text-decoration: none;
}
td b s {
    color: black;
}
.button {
    display: inline-block;
}
button,
.button,
select,
input[type="submit"] {
    border-radius: 4pt;
    background: #eee;
    border: 1pt black solid;
    padding: 0.5em;
    text-decoration: none;
}
h1 {
    text-align: center;
    font-size: 24pt;
    margin: 10pt;
}
.ib {
    display: inline-block;
    margin-left: 1em;
}
.ib:first-child {
    margin-left: 0;
}
button,
.button {
    margin: 0 0 0.5em 0.5em;
}
.ib button:first-child {
    margin-left: 0;
}
table.info td {
    text-align: left;
    padding-right: 5pt;
}
table.info th {
    text-align: right;
    padding-left: 5pt;
}
table.info {
    border: 1px black solid;
    border-radius: 4pt;
    margin: auto auto 10pt auto;
    background: #fff;
}
table.timed td,
table.timed input {
    font-size: 40pt;
    text-align: center;
}
table.timed sup,
table.timed sub {
    font-size: 20pt;
}
p,
div,
form {
    text-align: center;
}
a {
    color: #000;
}
.div3 {
    width: 33%;
}
.div2 {
    width: 50%;
}
div.set {
    vertical-align: top;
}
div.set table,
body,
select,
input,
button {
    font-family: "Comic Sans MS", sans-serif;
    font-size: 14pt;
}
div.set table {
    border-spacing: 0;
    margin: auto;
}
div.set table input[type="text"]:focus,
div.set table input[type="search"]:focus,
div.set table input[type="number"]:focus {
    background: #ffc;
}
div.set table td:first-child {
    text-align: right;
    padding-left: 0pt;
}
div.set table td:nth-child(3),
div.set table td:nth-child(5) {
    text-align: left;
}
div.set table td,
p.result,
table.timed {
    text-align: center;
    background: #fff;
    border: 1px black solid;
}
div.set table td {
    padding: 4pt;
    border: none;
}
div.set table td:last-child {
    text-align: left;
    padding-right: 0pt;
}
div#set div,
div#set div input {
    font-size: 40pt;
    margin-top: 0.2em;
}
table.timed caption,
h2,
div.set table caption,
span.head {
    font-weight: bold;
    font-size: 20pt;
    text-align: center;
    width: 100%;
}
div.set table caption,
h3,
div.set table span.head,
button,
select {
    font-size: 16pt;
}
input {
    font-size: 14pt;
}
input.sup,
b.sup {
    font-size: 10pt;
    vertical-align: top;
    margin-top: -4pt;
}
input.sup {
    margin-bottom: 9pt;
}
table.timed {
    margin: 0 auto 0 auto;
}
table.timed caption {
    margin-bottom: 3px;
}
h3,
h2,
h4 {
    margin: 0;
}
h4 {
    font-size: 12pt;
}
div.set table sup,
div.set table sub {
    font-size: 7pt;
}
#footer {
    text-align: center;
    padding-top: 1em;
}
#c {
    font-family: Impact, "Comic Sans MS", sans-serif;
}
.error {
    font-size: 14pt;
    font-weight: bold;
    color: red;
}

div.group {
    display: inline-block;
}
div.set,
div.timed {
    display: inline-block;
    text-align: center;
    background: #fff;
    border: 1px black solid;
    border-radius: 4pt;
    padding: 5pt;
    margin: 5pt;
    width: 17em;
}
div.timed {
    width: 31em;
}
div.set caption,
div.timed caption {
    width: 28em;
    background: #ff0;
}

div.wide {
    width: 20em;
}
input[type="number"] {
    width: 4em;
}
p.small {
    font-size: 9pt;
    margin: 1em 0 0 0;
    padding: 0;
}

body.about p,
body.about ul li {
    text-align: justify;
}

body.cert div.fb {
    text-align: left;
    margin-top: 0.3em;
}
body.cert svg {
    margin-bottom: 0.3em;
}
#fb {
    height: 14pt;
    vertical-align: middle;
}
.print {
    display: none;
}
td.blank {
    width: 8em;
}

div.twocol {
    width: 56em;
}

@media print {
    div.set table,
    body {
        font-size: 10pt;
        border-collapse: collapse;
        background: #fff;
    }
    div.set,
    div.wide {
        width: 18em;
        padding: 0 0 1pt 0;
    }
    div.wide {
        width: 18em;
    }
    div.twocol {
        width: 36em;
    }
    table.timed caption,
    h2,
    div.set table caption,
    span.head {
        font-size: 15pt;
    }
    div.set table table caption,
    h3,
    div.set table span.head,
    button,
    .button,
    input[type="submit"],
    select {
        font-size: 13pt;
    }
    p.small {
        font-size: 6pt;
    }
    input {
        font-size: 8pt;
    }
    ins,
    iframe,
    .noprint {
        display: none !important;
    }
    h1 {
        margin: 0 0 2pt 0;
    }
    body,
    html {
        margin: 0;
        padding: 0;
    }
    table.info {
        margin-bottom: 2pt;
    }
    #footerPrint {
        display: initial;
    }
}

.hidden {
    display: none;
}
span.esmall {
    font-size: 11pt;
}
