/*   
Theme Name: Custom
Theme URI: http://erikwmarshall.com
Description: My Custom Template for Wordpress -- WordPress v2.9.1
Author: Erik Marshall
Author URI: http://erikwmarshall.com
Version: 1
*/



/* Variables */
/* Mixins */
/* @ Yo' Font Face */
@font-face {
  font-family: 'ralewayLight';
  src: url('fonts/Raleway-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ralewayMedium';
  src: url('fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ralewayBold';
  src: url('fonts/Raleway-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ralewayRegularItalic';
  src: url('fonts/Raleway-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'robotoLight';
  src: url('fonts/Roboto-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'robotoRegular';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* Styles overriding foundation */
.row {
  max-width: 80em;
}
/* Styles for appearance of the site */
* {
  -webkit-transition: font 1s ease, padding 1s ease, margin 1s ease;
  -moz-transition: font 1s ease, padding 1s ease, margin 1s ease;
  -o-transition: font 1s ease, padding 1s ease, margin 1s ease;
  -ms-transition: font 1s ease, padding 1s ease, margin 1s ease;
}
body {
  font-size: 16px;
  line-height: 1.1;
  min-height: 100%;
  font-family: "ralewayMedium", "helvetica neue", Arial, sans-serif;
}
body strong {
  font-family: "ralewayBold", "helvetica neue", Arial, sans-serif;
}
body em {
  font-family: "ralewayRegularItalic", "helvetica neue", Arial, sans-serif;
}
body a {
  color: #444444;
  text-decoration: none;
  color: #0066cc;
  outline: 0;
}
body a:hover {
  text-decoration: underline;
}
body p {
  font-size: 20px;
  line-height: 1.4;
  color: #222;
}
@media only screen and (max-width: 40em) {
  body p {
    font-size: 16px;
  }
}
body h1 {
  font-size: 64px;
  line-height: 40px;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
}
body h1 small {
  font-size: 28px;
  font-family: "ralewayMedium", "helvetica neue", Arial, sans-serif;
}
@media only screen and (max-width: 40em) {
  body h1 {
    font-size: 32px;
  }
  body h1 small {
    font-size: 16px;
    display: inline-block;
    line-height: 1.1;
  }
}
body h2 {
  font-size: 40px;
  line-height: 32px;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
}
body h2 small {
  font-size: 24px;
  color: #aaa;
  font-weight: normal;
  font-family: "ralewayMedium", "helvetica neue", Arial, sans-serif;
}
@media only screen and (max-width: 40em) {
  body h2 {
    font-size: 28px;
    line-height: 24px;
  }
  body h2 small {
    font-size: 16px;
    line-height: 16px;
  }
}
body h3 {
  font-size: 24px;
  border-bottom: 4px double #eeeeee;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
  margin-top: 40px;
}
body h4 {
  font-size: 24px;
  font-family: "ralewayMedium", "helvetica neue", Arial, sans-serif;
}
body h4 small {
  color: #aaaaaa;
  font-size: 16px;
  font-family: "ralewayLight", "helvetica neue", Arial, sans-serif;
  display: block;
  line-height: 1.1;
}
@media only screen and (max-width: 40em) {
  body h4 small {
    font-size: 14px;
  }
}
body img {
  width: 100%;
}
body ul,
body ol {
  padding-left: 32px;
}
body ul li,
body ol li {
  line-height: 1.5;
}
@media only screen and (max-width: 40em) {
  body ul,
  body ol {
    padding-left: 16px;
  }
}
body button,
body .button {
  margin: 0;
  color: #fff;
}
body figure {
  margin: 1em;
}
body figure pre.prettyprint {
  background-color: #222;
  white-space: pre;
  overflow-x: auto;
  margin: 0;
  padding: 12px;
  border-radius: 4px;
  min-width: 100%;
}
body figure figcaption {
  font-size: 12px;
  margin-top: 8px;
}
@media only screen and (max-width: 40em) {
  body figure {
    margin: 1em 0;
  }
}
body table {
  width: 100%;
}
body table tr td,
body table tr th {
  padding: 8px;
  text-align: center;
  border-right: 1px solid #aaaaaa;
}
body table tr td.left,
body table tr th.left {
  text-align: left;
}
body table tr td.right,
body table tr th.right {
  text-align: right;
}
body table tr td:last-child,
body table tr th:last-child {
  border-right: none;
}
body table tr td:first-child,
body table tr th:first-child {
  text-align: left;
}
body table tr th {
  font-weight: bold;
  border-bottom: 3px solid #444444;
}
body table tr td {
  border-bottom: 1px solid #aaaaaa;
}
body table tr:last-child td,
body table tr.last-group td {
  border-bottom: 3px solid #444444;
}
body #header {
  width: 100%;
  overflow: auto;
  position: fixed;
  z-index: 100;
  background-color: #ffffff;
  opacity: 0.9;
  border-bottom: 2px solid #ccc;
  top: 0;
  padding: 2px 0;
}
body #header a {
  color: #444;
}
body #header h1 {
  font-size: 28px;
  margin: 12px 0;
  line-height: 1;
  font-family: "ralewayLight", "helvetica neue", Arial, sans-serif;
}
body #header h1 a span {
  display: inline-block;
  transition: all 0.5s ease;
}
body #header h1 a:hover {
  opacity: 0.8;
  text-decoration: none;
}
body #header h1 a:hover span {
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
body #header ul,
body #header li {
  list-style-type: none;
  margin: 14px 0;
  padding: 0;
}
body #header ul li,
body #header li li {
  display: inline;
  padding: 0 8px;
  font-size: 20px;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
}
body #header ul li a,
body #header li li a {
  text-decoration: none;
  padding: 4px 8px;
  margin: 0;
}
body #header ul li a:hover,
body #header li li a:hover {
  border-bottom: 2px solid #444444;
}
body #header ul li.current a,
body #header li li.current a {
  border-bottom: 1px dotted #444444;
}
body #header ul li.current a:hover,
body #header li li.current a:hover {
  border-bottom: 2px dotted #444444;
}
@media only screen and (max-width: 40em) {
  body #header h1 {
    font-size: 16px;
    margin: 8px 0;
  }
  body #header ul,
  body #header ol {
    margin: 0;
    padding: 8px 0 0 0;
    text-align: right;
  }
  body #header ul li,
  body #header ol li {
    padding: 0 4px;
    font-size: 14px;
  }
  body #header ul li a,
  body #header ol li a {
    padding: 0;
  }
}
body .large-banner {
  overflow: auto;
  height: 480px;
}
body .large-banner.title h1 {
  margin-top: 360px;
  margin-bottom: 0;
  text-align: center;
  font-family: "robotoLight", "helvetica neue", Arial, sans-serif;
  text-shadow: 2px 2px #eee;
}
body .large-banner + section {
  border-top: none;
}
@media only screen and (max-width: 40em) {
  body .large-banner {
    height: 160px;
  }
  body .large-banner.title h1 {
    margin-top: 56px;
  }
}
body section {
  padding: 32px 16px 64px 16px;
  border-top: 1px solid #aaaaaa;
}
body section .row.list ul,
body section .row.list ol {
  padding: 0;
}
body section .row.list ul li.article,
body section .row.list ol li.article {
  display: block;
  overflow: auto;
  border-left: 2px solid transparent;
  margin: 32px 0;
}
body section .row.list ul li.article:hover,
body section .row.list ol li.article:hover {
  border-left: 2px solid #444444;
}
body section .row.list ul li.article h4,
body section .row.list ol li.article h4 {
  font-size: 32px;
  line-height: 1.3;
  margin: 0;
}
body section .row.list ul li.article h4 a,
body section .row.list ol li.article h4 a {
  color: #444;
}
body section .row.list ul li.article h4 a:hover,
body section .row.list ol li.article h4 a:hover {
  color: #666;
}
@media only screen and (max-width: 40em) {
  body section .row.list ul li.article h4,
  body section .row.list ol li.article h4 {
    font-size: 24px;
  }
}
body section .row.list ul li.article .details,
body section .row.list ol li.article .details {
  color: #888;
  line-height: 1.1;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
}
body section .row.tiles ul,
body section .row.tiles ol {
  padding: 0;
}
body section .row.tiles ul li h4,
body section .row.tiles ol li h4 {
  margin: 4px 0 24px 0;
  font-size: 20px;
  text-align: center;
}
@media only screen and (max-width: 40em) {
  body section .row.tiles ul li h4,
  body section .row.tiles ol li h4 {
    font-size: 16px;
  }
}
body section .row.tiles ul li img,
body section .row.tiles ol li img {
  opacity: 0.9;
}
body section .row.tiles ul li a,
body section .row.tiles ol li a {
  color: #444;
}
body section .row.tiles ul li a:hover,
body section .row.tiles ol li a:hover {
  text-decoration: none;
}
body section .row.tiles ul li a:hover img,
body section .row.tiles ol li a:hover img {
  opacity: 0.7;
}
body section .row.tiles ul li a:hover h4,
body section .row.tiles ol li a:hover h4 {
  opacity: 0.7;
}
body section .row h3 + time {
  color: #aaa;
}
body section .fixedOnScroll {
  right: 0;
  position: sticky;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  top: 35px;
  color: #888;
  -webkit-transition-property: top;
  -webkit-transition-duration: 0.5s;
}
body section .fixedOnScroll.fixed {
  position: fixed;
}
body section .fixedOnScroll a {
  color: #444;
}
body section .fixedOnScroll ul,
body section .fixedOnScroll ol {
  padding-left: 16px;
}
body section .fixedOnScroll ul li,
body section .fixedOnScroll ol li {
  padding: 4px 0;
}
body section.title {
  border-top: none;
}
body section.title h1 {
  line-height: 1.1;
}
body section.title p {
  font-size: 24px;
  color: #888;
  line-height: 1.2;
  margin: 16px 0;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
}
body section.title time {
  font-size: 16px;
  color: #aaa;
  margin: 8px 0;
  font-family: "robotoRegular", "helvetica neue", Arial, sans-serif;
}
@media only screen and (max-width: 40em) {
  body section {
    padding: 16px 16px 32px 16px;
  }
  body section.title {
    padding-top: 35px;
  }
  body section.title p {
    font-size: 16px;
  }
  body section .large-9.columns,
  body section .large-3.columns {
    padding: 0;
  }
}
body footer {
  background-color: #222;
  overflow: auto;
  color: #ccc;
  font-size: 12px;
}
body footer ul,
body footer ol {
  list-style-type: none;
  margin: 4px 0;
}
body footer ul li,
body footer ol li {
  display: inline;
  padding: 0 8px;
}
body footer ul li a,
body footer ol li a {
  text-decoration: none;
  padding: 4px 4px;
  color: #ccc;
}
body footer ul li a:hover,
body footer ol li a:hover {
  border-bottom: 2px solid #ccc;
}
body footer .copyright ul {
  padding-left: 0;
}
body#home {
  margin-top: 0;
}
body.admin-bar #header{
  top:32px;
}