/* globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
    font-size: 16px;
}
body { min-height: 100vh; }
h1, h2, h3, h4, h5, h6 { font-weight: bolder; }
input, select, textarea, button {
    border: 1px solid gray;
    border-radius: 5px;
}
input, textarea {
    padding: 5px;
    background-color: transparent;
}
textarea { resize: none; }
input[type=date] { padding: 4px 5px; }
input[type=file] { padding: 2.5px 5px; }
input[type=button], input[type=submit], button {
    color: black;
    margin: 5px;
    padding: 10px 5px;
    min-width: 180px;
    min-height: 50px;
    text-align: center;
}
select {
    padding: 8px 5px;
    background-color: transparent;
}
label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}
button label { margin: 0; }
a.button { text-decoration: none; }
.header, .footer {
    left: 0;
    right: 0;
    display: block;
    line-height: 1.0;
}
.header {
    position: fixed;
    top: 0;
    border-bottom: 1px solid gray;
}
.header img {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 200px;
}
.header span {
    font-size: 18px;
    font-weight: bolder;
    padding: 15px;
    display: inline-block;
}
.header button {
    position: absolute;
    border: none;
    border-radius: 0;
    top: 0;
    right: 0;
    margin: 0;
    padding: 15px;
    background-color: transparent;
}
.header button:hover { background-color: lightgray; }
.title {
    font-size: 28px;
    font-weight: bold;
    margin: 5px 20px;
}
.footer {
    bottom: 0;
    padding: 1px;
    /*border-top: 1px solid gray;*/
}
.footer, .footer div, .footer span {
    font-size: 10px;
    text-align: center;
}
.footer div {
    display: inline-block;
    margin-bottom: 5px;
}
.section, .privacy {
    padding: 10px;
    display: inline-block;
    width: 1000px;
}
.privacy td, .privacy a { font-size: 12px; }
.privacy td {
    padding: 5px;
    vertical-align: top;
}
.privacy input { margin: 3px; }
.field-column label {
    margin-left: 3px;
    margin-bottom: 1px;
}
.input-field, .email-field, 
.number-field, .file-field {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}
.input-field { text-transform: uppercase; }
.number-field { text-align: right; }
.check-field, .radio-field {
    height: 18px;
    width: 18px;
    margin: 5px;
}
.required { color: red; }
.loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: auto;
    display: none;
    text-align: center;
    overflow: hidden;
}
@media only screen and (max-width: 1100px) {
    .section, .privacy, .footer { width: 95%; }
}
@media only screen and (max-width: 600px) {
    body, div, span, label, a, input, select, textarea, button {
        font-size: 14px;
    }
}
@media only screen and (max-width: 500px) {
    input[type=button], input[type=submit], button, .button {
        margin: 10px 2px;
        min-width: 140px;
    }
}
@media only screen and (max-width: 400px) {
    .footer div { display: block; }
}
