@import url(skel.css);

html, body {
  height: 100%;
}

body {
  font-family: 'PT Sans', sans-serif;
  color: #2c2c2c;
}

.wrap-all {
  height: 100%;
}

.wrap {
  /** for sticky footer **/
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -8em;
}

header, section, footer {
  width: 960px;
  margin: 0 auto;
}

/** header **/

header {
  border-bottom: 1px solid #3c3c3c;
  color: black;
  margin-bottom: 2em;
  padding: 1.5em 2em;
  position: relative;
}

header h1 {
  display: inline-block;
  font-size: 1.25em;
  text-transform: uppercase;
  margin: 0;
}

header small {
  display: block;
  text-transform: uppercase;
  color: #444;
  font-size: 0.7em;
  margin: 0;
  margin-bottom: -19px;
}

header img {
  display: block;
  margin: 0 auto 4px;
  vertical-align: top;
}

header .logo-title {
  display: inline-block;
  text-align: center;
  width: 150px;
}

/** header nav **/

nav {
  position: absolute;
  right: 5.5em;
  top: 4.5em;
}

nav a {
  color: black;
}

nav a.active {
  border-top: 3px solid #407cc0;
}

nav a {
  border-top: 3px solid gray;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-left: 2em;
  text-align: center;
  width: 8em;
  vertical-align: top;
  padding: 8px;
}

nav a:hover {
  background-color: rgba(180, 180, 180, 0.3);
  text-decoration: none;
}

nav a small {
  text-transform: none;
  text-decoration: none;
  display: block;
  color: gray;
}

/** footer **/

footer {
  font-size: 0.9em;
  padding: 2em 2em 1em;
  border-top: 1px solid #3c3c3c;
  text-align: center;
  height: 4em;
}

footer .copyright:after {
  content: ' \2014 ';
}

footer a {
  color: black;
}

/** content **/

section {
  /** for sticky footer **/
  overflow: auto;
  padding-bottom: 10em;
}

section > div, article {
  margin-left: 220px;
  margin-right: 125px;
}

article {
  margin-top: 3em;
}

article:first-child {
  margin-top: 0;
}

article h1, article h2 {
  color: black;
}

article aside {
  font-size: 0.9em;
  text-align: right;
  float: left;
  width: 150px;
  margin: 3px 0 0 -180px;
}

article aside time {
  display: block;
}

a {
  color: #407cc0;
}

a.author {
  color: black;
}

ul.articles a.article {
  font-size: 1.1em;
}

ul.articles {
  list-style-type: none;
  padding: 0;
}

ul.articles li {
  margin-bottom: 1em;
  border-left: 1px solid gray;
  padding-left: 1em;
}

ul.articles .summary {
  margin-top: 0.5em;
}

time {
  color: gray;
  font-size: 0.9em;
}

.spaced li {
  margin-top: 1em;
}

.spaced li:first-child {
  margin-top: 0;
}

a.cta {
  font-weight: bold;
}

div.cta {
  background-color: LightGray;
  padding: 1em;
}

/** pagination */

.pagination {
  margin-top: 3em;
}

.pagination .page-nav {
  font-size: 1.1em;
  margin: 0 0.25em;
}

.pagination .page-current {
  font-weight: bold;
}

.pagination a.page-nav {
  text-decoration: none;
}

/** subscribe */
.share-box {
  border-top: 1px solid gray;
  margin-top: 3em;
}

.share-box input {
  display: inline;
  margin-right: 1em;
}

.share-box > div {
  margin-bottom: 1.5em;
}

.button.atom-feed {
  padding: 3px 5px;
}

.button.atom-feed img {
  margin-bottom: -1px;
}

.subscribe-box {
  margin-top: 0.75em;
}

.subscribe-box > div {
  margin-top: 0.5em;
}

.feed-box button {
  font-size: 0.8em;
  margin: 0;
  padding: 2px;
}

/** mobile */
@media only screen and (max-width: 640px) {
  header {
    padding: 1.5em 0;
    text-align: center;
  }

  header .logo-title {
    width: 100%;
  }

  footer {
    padding: 1.5em 0;
  }

  nav {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 3em;
  }

  nav a {
    margin-left: 0;
    padding-bottom: 1em;
  }

  header, section, footer {
    width: 100%;
    margin: 0 auto;
  }

  article aside {
    font-size: 1em;
    text-align: left;
    float: none;
    width: 100%;
    margin: 0;
  }

  article aside time, article aside div {
    display: inline;
  }

  article aside .subscribe-box {
    display: none;
  }

  section > div, article {
    margin-left: 30px;
    margin-right: 30px;
  }
}
