/*
 :::  Reset
-------------------------------------------------- */
html {
  box-sizing: border-box;
  overflow-y: -moz-scrollbars-vertical;
  overflow-y: scroll; }

*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: inherit;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%; }

article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, subhead, summary {
  display: block; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/*-------------------------------------------------- */
@font-face {
  font-family: 'Didoni';
  src: url("../font/d034013dWeb.eot"); }
@font-face {
  font-family: 'Didoni';
  src: url("../font/d034013dWeb.woff") format("woff"); }
/*
:::  Variables
-------------------------------------------------- */
/*
:::  mixins and functions
-------------------------------------------------- */
/*
:::  Basics
-------------------------------------------------- */
::selection {
  background: #fdcf52;
  color: #222;
  text-shadow: none; }

::-moz-selection {
  background: #fdcf52;
  color: #222;
  text-shadow: none; }

body {
  font-family: "pragmatica-web-condensed", sans-serif;
  color: #222;
  text-align: center;
  font-size: 0.875em; }

body.night {
  color: white;
  background: #222; }
  body.night a {
    color: white; }
    body.night a:focus, body.night a:hover, body.night a:active {
      color: #e4b537; }
  body.night footer h1 {
    border-color: white; }

img {
  vertical-align: middle; }

a {
  color: #222; }
  a:focus, a:hover, a:active {
    color: #e4b537; }

/*
:::  Header
-------------------------------------------------- */
header {
  padding: 2em 5.6339%; }
  header h1 {
    font-family: 'Didoni', serif;
    font-size: 2.3571428571em; }
    header h1:focus, header h1:hover, header h1:active {
      color: #fdcf52; }
  header subhead {
    margin-bottom: .5em; }

/*
:::  Main
-------------------------------------------------- */
main img {
  width: 100%;
  max-width: 100%; }
  @media only screen and (min-width: 56.25em) {
    main img {
      padding: 0 5.6339%; } }

section {
  padding: 2em 5.6339%;
  text-align: left;
  line-height: 1.5; }
  @media only screen and (min-width: 37.5em) {
    section {
      font-size: 1.2142857143em; } }
  @media only screen and (min-width: 56.25em) {
    section {
      font-size: 1.4285714286em; } }

/*
:::  Footer
-------------------------------------------------- */
footer {
  padding: 2em 5.6339%; }
  footer h1 {
    padding: 1em 5.6339% 0 5.6339%;
    border-top: 1px solid #222;
    font-family: 'Didoni', serif;
    font-size: 2.3571428571em;
    display: inline-block; }
  footer subhead {
    margin-bottom: 3em; }
  footer address {
    margin-bottom: 3em; }
  footer .legal {
    font-size: 0.8461538462em; }
