/**
 * Global Styling
 */

body { 
  font: 300 16px 'proxima-nova', sans-serif;
  line-height: 1.7em;
  color: rgb(66, 64, 60);
} 
main { 
  line-height: 1.5em; 
}
footer {
  font-size: .8em;
  line-height: 1.3em;
}
h1, h2, h3, h4 {
  font-family: 'proxima-nova', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #444;
  line-height: 1em;
}
h1 { 
  font-size: 1.6em;
  margin: 2em auto .7em;
  line-height: .95em;
}
h2 { 
  font-size: 1.5em;
  margin-bottom: .8em; 
}
h3 { 
  font-size: 1.3em;
  letter-spacing: 1px;
  margin-top: 1em;
  margin-bottom: .6em;
}
h4 { font-size: 1.1em; }

p {
  margin: .375em auto .5em auto;
}

strong {
  font-weight: bold;
}
em {
  font-style: italic;
}


a {
  color: #a20935;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

iframe {
  max-width: 100%;
  display: block;
  margin-left: auto; margin-right: auto;
}

/**
* Classes that get universal styling
*/

a.box-link, .more-link a {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-size: .8em;
  letter-spacing: 3px;
  border: 1px solid #000;
  border-radius: 3px;
  padding: .5em 1.2em;
}

a.box-link:hover, .more-link a:hover {
  color: #fff;
  background: #a20935;
  border-color : #a20935;
}

.clear-both {
  clear: both;
}


/** Just style the lists in the main section - the header list will be navigation links **/
main ul,
main ol { 
  list-style: disc outside none;
  margin: .5em auto 1.25em auto;
  padding-left: 1.8em;
  font-size: .95em;
}
main ol { list-style-type: decimal; }
ol ol { list-style-type: lower-latin; }

blockquote {
  max-width: 660px;
  margin: .875em auto 1.25em auto;
  padding: .35em .5em;
  font-size: .95em;
  line-height: 1.6em;
  position: relative;
  color: rgb(86, 84, 79);
}
blockquote:before {
  position: absolute;
  display: block;
  left: -30px;
  top: 25px;
  font-size: 5em;
  color: #d9d9d9;
  content: "\201C";
}
blockquote p {
  margin-bottom: .125em;
}
cite {
  display: block;
  font-style: italic;
  font-size: .95em;
  padding-left: .5em;
  margin-top: 0.5em;
  margin-bottom: .125em;
}

sup, sub {
  font-size: .8em;
  vertical-align: baseline;
  position: relative;
  top: -.4em;
}
sub { top: .4em; }

hr {
  border-bottom: 1px solid #d9d9d9;
  margin: 1.6em auto 1.2em auto;
}

pre {
  font-family: courier;
  font-size: .8em;
  background: #eee;
  padding: .2em 1em;
}

/** Image Styling **/

img { max-width: 100%; height: auto; }
img.align-left, img.align-right { /* Align module sets the floats on these */
  max-width: calc(50% - 10px);
  padding-bottom: 20px;
}
img.align-left {
  padding-right: 20px;
}
img.align-right {
  padding-left: 20px;
}
@media screen and (max-width: 767px) {
  img.align-left, img.align-right {
    padding: 20px 0;
    margin: 0 auto;
    float: none;
    display: block;
    max-width: 70%;
  }
}

/** General Form Styles **/
 
input {
  margin-bottom: 1em;
  margin-top: .1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 6px;
  max-width: 100%;
}
input.form-submit {
  color: #fff;
  background: #d49b01;
  border: none;
  cursor: pointer;
}
label { font-size: 16px; }

textarea {
  border: 1px solid #ccc;
}

/**
 * @media rules
 */

@media screen and (min-width: 768px) {
  body { font-size: 17px; }
  main { line-height: 1.6em; }
  h1 { font-size: 2.2em; }
  h2 { font-size: 1.6em; }
}

@media screen and (min-width: 1280px) {
  body { font-size: 18px; }
  main { line-height: 1.7em; }
}