html, body, .nopad, .nopad th, .nopad tr, .nopad thead, .nopad tbody, .nopad td, .nopad form, .nopad fieldset {
    border: 0;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

body {
    background-color: #bbbbbb;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
    font-size: 17px;
    text-align: justify;
}

h1, h2 {
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
    margin: 8px 0;
    margin-top: 24px;
}

h1 {
    font-size: 30px;
    font-weight: bold;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    display: inline;
}

small {
    font-size: 16px;
}

#wrapper {
    width: 1100px;
    min-height: 1480px;
    background-color: #ffffff;
    margin: 0 auto;
    position: relative;
}

#header {
    width: 1100px;    
}

#content {
    margin: -60px 100px auto 100px;
}

#titles {
    text-align: center;
    font-size: 18px;

}

#details, #declarations, #required, #datetime, #footnotes {
    margin-top: 15px;
}

table {
    width: 90%;
    empty-cells: show;
    border-spacing: 0;
    vertical-align: middle;
    border-collapse: collapse;
    display: table;
}

td.firsttd {
    text-align: right;
    width: 220px;
    height: 20px;
    padding-right: 8px;
    font-size: 18px;
}

td.secondtd {
    white-space: nowrap;
    width: auto;
    height: 22px;
}

td.inputtd {
    white-space: nowrap;
    display: block;
    width: auto;
    height: 22px;
}

td.check {
    white-space: nowrap;
    width: auto;
    padding-left: 8px;
    height: 22px;
}

form td.inputtd, form td.secondtd, form td.inputtd, form td.check {
    height: auto;
}

div.checkcontainer {
    width: 100%;
    display: table;
}

div.check {
    white-space: normal;
    width: 135px;
    display: table-cell;
    padding-right: 8px;
}

input[type="radio"] + span, input[type="checkbox"] + span, .fakecheck {
    margin: 0px 3px 0px 3px;
    height: 8px;
    width: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    padding: 2px;
    display: inline-block;
}

input[type="radio"] + span span, input[type="checkbox"] + span span, .fakecheck span {
    margin: 0;
    padding: 0;
    border-style: solid;
    border-color: #ffffff;
    border-width: 4px;
    display: block;
}

input[type="radio"]:checked + span span, input[type="checkbox"]:checked + span span, .fakecheck span {
    border-color: black;
}

input[type="checkbox"], input[type="radio"] {
    display: none;
}

div.other {
    white-space: normal;
    padding-right: 8px;
    padding-left: 20px;
    width: 40px;
    display: table-cell;
}

div.secondtd {
    white-space: nowrap;
    width: auto;
    display: table-cell;
}

div.inputcontainer {
    width: auto;
    white-space: nowrap;
}

td input[type="text"] {
    width: 100%;
    padding: 1px 0px;
    margin: 2px 0px;
}

#details .secondtd, #datetime .secondtd {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #000000;
}

.it {
    font-style: italic;
}

.amp {
    font-family: Arial, Helvetica, sans-serif;;
}

ol {
    margin: 0;
}

li {
    padding-left: 16px;
}

li > ol {
    padding-left: 30px;
}

#datetab {
    width: 425px;
    float: left;
}

#datetime {
    margin-left: 50px;
    height: 60px;
}

td.date {
    text-align: right;
    width: 175px;
    padding-right: 8px;
}

#footnotes {
    clear: both;
    margin-left: 30px;
}

#controls {
    margin: 10px 100px 0 100px;
    border-style: solid;
    border-radius: 10px;
    border-color: black;
    border-width: 1px;
    padding: 5px;
}

#errortext {
    color: #ff0000;
}

#extranotes {
    border-style: none;
    border-top-style: solid;
    border-width: 2px;
    border-color: black;
    padding-top: 8px;
    margin: 100px 100px 0px 100px;
}

#controls + #extranotes {
    margin-top: 10px;
}

#tablehack {
    display: table;
}

#tablehack > div {
    display: table-cell;
}

#sidecheckboxes {
    vertical-align: bottom;
    padding-left: 20px;
}

#sidecheckboxes > div {
    margin-top: 10px;
}

#bluebar {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
    background-color: #6491b0;
    color-adjust: exact;
}

@page {
    size: A4;
    margin: 0;
}