/* ::: HTML5 display definitions ::: */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

/* ::: Base ::: */
/**
 * Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  -ms-text-size-adjust: 100%;
  /*-webkit-text-size-adjust: 100%;*/
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* ::: Links ::: */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

/* ::: Typography ::: */
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/* ::: Embedded content ::: */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}
/* -- end of abridged normalize -- */



/* GENERAL (APPLIED DIRECTLY TO ELEMENTS MOSTLY)
------------------------------------------------ */
body {
  font: 100%/1.2 Georgia, "Times New Roman", serif;
  padding-left: 15px;
  padding-right: 15px;
}

* {
  -webkit-box-sizing: border-box; /* Android <= 2.3, iOS <= 4 */
  -moz-box-sizing: border-box; /* Firefox 1+ */
  box-sizing: border-box; /* Chrome, IE 8+, Opera, Safari 5.1 */
}

h1 {
  color: #ad0808;
  font-family: 'Lato', sans-serif;
  font-size: 0.5em;
  font-weight: 300;
  letter-spacing: -2px;
  line-height: .975;
  margin-bottom: .4125em;
}

.about h2,
.mod h2,
.nav-main a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  /* text-transform: uppercase; */
}

.about h2,
.mod h2 {
  font-size: .875em; /* 15px/16px */
}


ol {
  list-style: none;
}

a {
  color: #1162a4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.more:after {
  content: ' »';
}

img {
  border: 0;
}

.page {
  /* these declarations combine to center entire page in browser */
  margin: 0 auto;
  max-width: 960px;
}

.post-photo,
.post-photo-full,
.about img,
.map {
  max-width: 100%;
}


/* MASTHEAD
------------------------------------------ */
.masthead {
  padding-top: 12px;
}

.logo {
  font-size: 10px;
  line-height: 1;
  margin-bottom: -8px;
  margin-top: 0;
}

.logo,
.social-sites,
.nav-main li {
  text-align: center;
}

/* ::: Main Navigation ::: */
.nav-main {
  border-bottom: 1px solid #c7c7c8;
  border-top: 5px solid #019443;
  margin-top: 0;
  padding: .45em 0 .5em;
}

.nav-main a {
  color: #292929;
  font-size: 1.125em; /* 18px/16px */
}

.nav-main a:hover {
  color: #029443;
  text-decoration: none;
}

.nav-main .current-page,
.nav-main .current-page:hover {
  color: #224f74;
  cursor: default;
}


/* MAIN CONTENT
------------------------------------------ */
main > .post:first-child > h1 {
  margin-top: 0.769em;
}

.footer p {
  color: #3a3a3a;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.688em;
}

.footer p small {
  font-size: inherit;
}

/* ::: Pagination Links Below Blog Posts ::: */
.pagination {
  margin: 30px 0 0;
  padding: 0;
}

.pagination li {
  display: inline-block;
  font: 0.875em arial, helvetica, sans-serif;
  margin-right: 0.25em;
}


/* FOOTER
--------------------------------- */
footer {
  border-top: 1px solid #104cf1;
}

table {
  border: collapse;
  color: #535455;
  margin-left: 10%;
  width: 80%;
}

th {
  font-size: 2em;
  color: #104cf1;
  text-align: left;
  border-bottom: 1px solid #ad0808;
}

td {
  border-bottom: 1px solid #ad0808;
}
td:last-child {
  border-bottom: collapse;
}


/* ===================== MEDIA QUERIES ===================== */

/* 320+ 
------------------------------------------ */
@media only screen and (min-width: 20em) {
  /* Masthead */
  .nav-main li {
    border-left: 1px solid #c8c8c8;
    display: inline-block;
    text-align: left;
  }

  .nav-main li:first-child {
    border-left: none;
  }

  .nav-main li:last-child a {
    padding-right: 0;
  }

  .nav-main a {
    display: inline-block;
    font-size: 1em;
    padding: .5em .9em .5em 1.15em;
  }

}


/* 480+ 
------------------------------------------ */
@media only screen and (min-width: 30em) {
  /* Masthead */
  .masthead {
    position: relative;
  }

  .logo {
    margin-bottom: 8px;
    text-align: left;
  }

  .nav-main a {
    font-size: 1.125em; /* 18px/16px */
    padding-left: 1.4em;
    padding-right: 1.15em;
  }

 
  /* Main Content */
  .post-photo {
    float: left;
    margin-bottom: 2px;
    margin-right: 3.67%;
    max-width: 61.667%;
  }

  .post-footer time {
    display: inline;
    margin-top: 0;
  }

  .post-footer time:before {
    content: '•  ';
  }

}


/* 480-767-only 
------------------------------------------ */
@media only screen and (min-width: 30em) and (max-width: 47.9375em) {
 
  .about img {
    float: left;
    margin-right: 15px;
  }
}


/* 768+ 
------------------------------------------- */
@media only screen and (min-width: 48em) {
  h1 {
    font-size: 2.25em;
  }

  /* Masthead */
  .masthead {
    padding-top: 10px;
  }

  .nav-main {
    margin-bottom: 0;
  }

  /* Main Content */
  .container {
    padding-bottom: 1.9375em;
  }

  main {
    float: left;
    width: 62.5%;
  }

  main > .post:first-child > h1 {
    margin-top: 0.904em;
  }

  .post-blurb p {
    font-size: 1em;
    line-height: 1.4;
  }

  .post-footer {
    padding-bottom: .7em;
    padding-top: .7em;
  }

  .footer p {
    font-size: 0.8em;
  }

  .pagination {
    margin-top: 45px;
  }

  
  .about p {
    font-size: 0.813em;
  }

  /* Page Footer */
  footer[role="contentinfo"] {
    border-top: 1px solid #cacbcb;
  }
}
/* --- end media queries ---- */


/* html5boilerplate.com Clearfix
--------------------------------- */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  zoom: 1;
}
