html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, p {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

@viewport {
    width: device-width;
    zoom: 1;
}

body {
    font-family: "Atkinson Hyperlegible Next", "Source Sans 3", sans-serif;
    font-size: 13pt;
    font-weight: 300;
    line-height: 150%;
    text-align: left;
    background-color: #fcfcfc;
    background-color: #dddddd;
    color: #111111;
}

strong {
    font-weight: 600;
}

.footnote {
    font-size: 10pt;
    font-weight: 300;
}

a {
    font-weight: 400;
}

a:link, a:visited {
    text-decoration: none;
    color: #334477;
}

a:hover, a:active {
    text-decoration: underline;
    color: #334499;
}

p, table, ul {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.footer {
    background-color: #334477;
    color: #fcfcfc;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.7em;
    text-align: center;
    overflow: auto;
}

.footer a {
    color: #fcfcfc;
}

.footer a:hover {
    text-decoration: underline;
}

.mainlink a {
    font-weight: bold;
}

.topmenu {
    overflow: hidden;
    float: left;
    top: 0px;
    padding-left: 15%;
    padding-right: 15%;
    width: 100%;
    background-color: #333333;
    text-align: center;
    clear: both;
}

.topmenutext {
    float: left;
    display: block;
    color: #cccccc;
    font-weight: 400;
    text-align: center;
    padding: 1em;
}

.topmenu a {
    float: left;
    display: block;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    padding: 1em;
    text-decoration: none;
}

.topmenu a:hover {
    background-color: #8899cc;
    color: #ffffff;
}

#topmenuselected {
    background-color: #6677aa;
}

.box {
    position: absolute;
    left: 0;
    margin-left: 15%;
    margin-right: 15%;
    width: 70%;
    background-color: #fcfcfc;
    clear: both;
}

.block {
    clear: both;
    margin: 1em;
    overflow: auto;
    background-color: #fcfcfc;
}

.innerblock {
    display: flex;
}

.halfwidthleft {
    width: calc(50% - 10px);
    height: 100%;
    padding-right: 10px;
}

.halfwidthright {
    width: calc(50% - 10px);
    height: 100%;
    padding-left: 10px;
}

.thirdwidthleft {
    width: calc(33% - 10px);
    height: 100%;
    padding-right: 10px;
}

.thirdwidthmiddle {
    width: calc(34% - 20px);
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.thirdwidthright {
    width: calc(33% - 10px);
    height: 100%;
    padding-left: 10px;
}

.twothirdswidthleft {
    width: calc(33% - 10px);
    height: 100%;
    padding-right: 10px;
}

.twothirdswidthright {
    width: calc(67% - 10px);
    height: 100%;
    padding-left: 10px;
}

h1, h2, h3, h4 {
    text-align: left;
    font-weight: 400;
    color: #112266;
}

h1 {
    font-size: 2em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

h2 {
    font-size: 1.5em;
    padding-top: 0.5em;
    padding-bottom: 0.25em;
}

h3 {
    font-size: 1em;
    padding-top: 0.33em;
    padding-bottom: 0.25em;
}

h4 {
    font-size: 0.75em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.block img {
    float: right;
    padding-left: 1em;
    margin: 0px;
}

dd {
    padding: 0pt 30pt 7pt 30pt;
}

td {
    padding: 0pt 10pt 0pt 0pt;
}

.table td, tr {
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
}

ul, ol {
    margin-left: 20pt;
}

.lispacing li {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.buttonlinkrow {
    width: 100%;
    text-align: center;
}

.buttonlink, .buttonlinkvar {
    display: inline-block;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
}

.buttonlink a, .buttonlinkvar a {
    display: inline-block;
    width: 200px;
    font-weight: 600;
    text-align: center;
    padding: 1em;
    text-decoration: none;
    border: 3px solid #2b3b8a;
}

.buttonlink a {
    background-color: #2b3b8a;
    color: #fcfcfc;
}

.buttonlink a:hover {
    background-color: #4080f0;
}

.buttonlinkvar a:hover {
    background-color: #aaccff;
}

.buttonlinkspacer {
    float: left;
    width: 20pt;
    height: 0;
    padding: 0;
    margin: 0;	
}

.bookimage {
    display: inline-block;
    float: right;
    width: 300px;
    padding: 0px;
    margin: 0px;
}

.bookimage img {
    width: 300px;
}

@media (max-width: 1024px) {
  .box {
    width: 100%;
    margin: 0;
  }
  .topmenu {
    padding: 0;
  }
  .bookimage img {
    display: block;
    margin: auto;
  }
}

@media (max-width: 650px) {
  .bookimage {
    width: 100%;
    float: left;
    display: flex;
    clear: both;
    justify-content: center;
    overflow: hidden;
  }
}

@media (min-width: 1463px) {
  .box {
      width: 1024px;
      margin-left: calc((100% - 1024px)/2);
      margin-right: calc((100% - 1024px)/2);
  }
  .topmenu {
      padding-left: calc((100% - 1024px)/2);
      padding-right: calc((100% - 1024px)/2);
  }
}
