/*  Reset ♥
    http://meyerweb.com/eric/tools/css/reset/
    v2.0 | 20110126
    License: none (public domain)
------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline;
  }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display:block;
}
body { line-height:1; background-color: #000;}
ol, ul { list-style:none;  }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing:0; }
/* remember to define focus styles. Hee Haw */
:focus { outline:0; }

/* Inline Elements & Typography
------------------------------------------------------- */

body,
input,
textarea {
  color:#333;
  font:15px/1.6667 'Source Sans Pro', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin:0;
  font-weight:700;
}

h1 {
  font-size:24px;
  margin-bottom:20px;
  line-height:1.5em;
  font-weight: 400;
}

h2,
.blog-surface h1 {
  font-family: 'Merriweather',Georgia,serif;
  font-weight: 700;
  font-size:18px;
  margin-bottom:20px;
  line-height:1.5em;
}

h3 {
  font-size:15px;
  margin-bottom:20px;
  line-height:1.5em;
}

h4, h5 {
  font-size:12px;
  margin-bottom:10;
  line-height:1.5em;
}

p {
  margin:0 0 20px;
}
p:last-child { margin-bottom:0;}

/* Links */
a {
  color:#579e36;
  text-decoration:none;
}
a:visited {
  color:#579e36;
}
a:hover, a:active {
  color:#7bc459;
}

abbr {
  border-bottom:1px dotted #000;
  cursor:help;
}

address { font-style:italic;}
small   { font-size:12px; line-height: 1.5;}
strong  { font-weight:700;}
em      { font-style:italic;}

hr {
  margin:0 0 20px;
  border:0;
  height:1px;
  background:#f8f8f8;
}

/* Block Quotes */
blockquote, q {
  quotes:none;
  font-style:italic;
  padding-left:20px;
  border-left: 10px solid #e8e8e8;
  margin: 20px 0;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content:'';
}

/* Code Blocks & Pre */
code,
pre {
  padding:5px;
  font-family:Menlo, Bitstream Vera Sans Mono, Monaco, Consolas, monospace;
  font-size:12px;
  border-radius:3px;
}
code {
  padding:5px;
  background:#f8f8f8;
  border:1px solid #ddd;
}
pre {
  display:block;
  padding:10px;
  margin-bottom:10px;
  font-size:12px;
  word-break:break-all;
  word-wrap:break-word;
  white-space:pre;
  white-space:pre-wrap;
  background:#f8f8f8;
  border:1px solid #ddd;
  border-radius:3px;
}
pre code {
  padding:0;
  color:inherit;
  background-color:transparent;
  border:0;
}
.pre-scrollable {
  max-height:300px;
  overflow-y:scroll;
}

/* sub/superscripts */
sup,
sub {
  height:0;
  line-height:1;
  vertical-align:baseline;
  _vertical-align:bottom;
  position:relative;
  font-size:75%;
}
sup {
  bottom:1em;
}

label {
  display:block;
}
select,
textarea,
input[type=text] {
  display:inline-block;
  height:30px;
  width:95%;
  max-width:400px;
  margin-bottom:10px;
  font-size:13px;
  font-weight:500;
  line-height:20px;
  color:#a0a0a0;
  vertical-align:middle;
  padding:4px 6px;
  -webkit-border-radius:1px;
          border-radius:1px;
}
textarea,
input[type=text] {
  background-color:#fff;
  border:1px solid #ccc;
  -webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.1);
     -moz-box-shadow:1px 1px 2px rgba(0,0,0,0.1);
          box-shadow:1px 1px 2px rgba(0,0,0,0.1);
  -webkit-transition:border linear .2s, box-shadow linear .2s;
     -moz-transition:border linear .2s, box-shadow linear .2s;
       -o-transition:border linear .2s, box-shadow linear .2s;
          transition:border linear .2s, box-shadow linear .2s;
}
textarea:focus,
input[type=text]:focus {
  outline:thin dotted\8; /* ie8 below */
  color:#404040;
  border-color:#00395D;
  border-width:1px;
}

textarea {
  height:200px;
  max-width:none;
}
input[type=submit] {
  background-color:#00395D;
  cursor:pointer;
  color:#fff;
  font-weight:bold;
  text-transform:uppercase;
  border:none;
  padding:9px 20px;
  -webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.1);
     -moz-box-shadow:2px 2px 4px rgba(0,0,0,0.1);
          box-shadow:2px 2px 4px rgba(0,0,0,0.1);
}
input[type=submit]:hover {
  background-color:#002f4c;
}
input[type=submit]:active {
  position:relative;
  top:1px;
}

table {
  width:100%;
  background-color:transparent;
  border-collapse:collapse;
  border-spacing:0;
  margin-bottom:20px;
  table-layout:fixed;
}
th, td {
  padding:4px 0;
  line-height:20px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid #d5d5d5;
}
th {
  font-weight:bold;
}
thead th {
  vertical-align:bottom;
  color:#57594D;
}

/* Read content styling */
.blog-surface ul,
.blog-surface ol {
  list-style:disc;
  margin-bottom: 20px;
}
.blog-surface ol {
  list-style:decimal;
}

.iconsvg {
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.iconsvg.pre-text {
  margin: 0 5px;
}

.button-label {
  height: 100%;
  font-size: 12px;
  vertical-align: top;
}

/* Layout
------------------------------------------------------- */
.container {
  max-width:1200px;
  margin:0 auto 0 auto;
  overflow:hidden;
  background: #e8e8e8;
}

/* Columns
------------------------------------------------------- */
.col0    { float:left; width:04.1666%; }
.col1    { float:left; width:08.3333%; }
.col2    { float:left; width:16.6666%; }
.col3    { float:left; width:25.0000%; }
.col4    { float:left; width:33.3333%; }
.col5    { float:left; width:41.6666%; }
.col6    { float:left; width:50.0000%; }
.col7    { float:left; width:58.3333%; }
.col8    { float:left; width:66.6666%; }
.col9    { float:left; width:75.0000%; }
.col10   { float:left; width:83.3333%; }
.col11   { float:left; width:91.6666%; }
.col12   { width:100%; }
.margin0  { margin-left:04.1666%; }
.margin1  { margin-left:08.3333%; }
.margin2  { margin-left:16.6666%; }
.margin3  { margin-left:25.0000%; }
.margin4  { margin-left:33.3333%; }
.margin5  { margin-left:41.6666%; }
.margin6  { margin-left:50.0000%; }
.margin7  { margin-left:58.3333%; }
.margin8  { margin-left:66.6666%; }
.margin9  { margin-left:75.0000%; }
.margin10 { margin-left:83.3333%; }
.margin11 { margin-left:91.6666%; }
.margin12 { margin-left:100.0000%; }

/* Padding
------------------------------------------------------- */
.pad1    { padding:10px; }
.pad2    { padding:20px; }
.pad4    { padding:40px; }

.marg-full {
  margin: 40px -40px;
  width: auto;
}

/* Additional Utility Classes
------------------------------------------------------- */
.fr           { float:right; }
.fl           { float:left; }
.show         { display:block; }
.hide         { display:none; }
.deemphasize  { color:#888; }
.center       { text-align:center; }

.fill-full {background-color: white;}
.fill-trans {background-color:rgba(255,255,255,0.5);}
.green-bottom {border-bottom: 5px solid #7bc459;}

.tip-top:after,
.tip-right:after,
.tip-bottom:after,
.tip-left:after {
  content:'';
  border-width:0 5px 5px;
  border-style:solid;
  position:absolute;
  border-color:#333 transparent;
}
.tip-bottom:after {
  border-width:5px 5px 0;
}
.tip-left:after {
  border-width:5px 5px 5px 0;
  border-color:transparent #333;
}
.tip-right:after {
  border-width:5px 0 5px 5px;
}

.bottom-buffer{
  margin-bottom:40px;
}

/* Buttons
------------------------------------------------------- */

a.button {
  background: white;
  color: #363636;
  display: block;
  font-size: 12px;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

a.button.active,
a.button:hover {
  background: #fbfbfb;
}

/* Header
------------------------------------------------------- */
.headernav {
  z-index: 100;
  position: fixed;
  top: 0; left: 0; right: 0;
  border-bottom: 5px solid #363636;
  max-width:1200px;
  margin: auto;
  display: flex;
  flex-flow: row nowrap;
}

.headernav li {
  flex: 0 1 100%;
}

.headernav li a {
  border-right: 1px solid rgba(0, 0, 0, .2);
  height: 100%;
}

.headernav li.donate a {
  background: #7bc459;
}

.headernav li.donate a.active,
.headernav li.donate a:hover {
  background: #8cd06c;
}

/* icon above labels */
@media only screen and ( max-width:1024px ) {
  .headernav li a {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }
  .headernav li a svg, .headernav li a span {
    flex: 1 0 50%;
  }
}

/* Banner
------------------------------------------------------- */
.banner {
  background: url(img/banner.png) left 50% no-repeat;
  background-size: cover;
}
.banner .center {
  float: none;
}

.banner h2 {
  color: white;
}

/* Front Page
------------------------------------------------------- */
.osm-titlesvg {
  fill: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 66px;
  height: 64px;
  margin-bottom: 20px;
}

.section{
  position: relative;
  height:800px;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  border-bottom: 1px solid white;
}

.section h1 {
  margin-bottom: 0;
}

.sec1 {background: url(img/section-1.jpg) 50% 0 no-repeat fixed; background-size: cover;}
.sec2 {background: url(img/section-2.jpg) 50% 0 no-repeat fixed; background-size: cover;}
.sec3 {background: url(img/section-3.jpg) 50% 0 no-repeat fixed; background-size: cover;}

.ie8 .sec1, .ie8 .sec2, .ie8 .sec3 { background:#e6e6e6;}
.ie8 .section{}

.top-sec{
  min-width: 500px;
  position: absolute;
  top:120px;
  left: 0;
  right: 0;
  margin: auto;
}

.top-sec h1{
  display: block;
}

.dead-center{
  min-width: 500px;
  position: absolute;
  top:240px;
  left: 0;
  right: 0;
  margin: auto;
}

.mid{z-index: 50;}

.recent{
  margin-bottom: 30px;
}

.recent-post{
  margin-bottom: 15px;
}

.recent h3 {
  margin-bottom: 0px;
}

.large-link{
  display: block;
  background-color: rgba(177, 221, 137, 1.0);
  border-bottom: 1px solid white;
}

.large-link:hover{
  opacity: .8;
}

.large-link-text{
  float:left;
  width:66.6666%;
}

.large-link h2, .large-link em{
  color:rgba(54, 54, 54, 1.0);
}

.large-link:after {
  content:' ';
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}

.arrow-right {
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid rgba(54, 54, 54, 1.0);
  float: right;
}

/* Blog Landing
------------------------------------------------------- */

.blog-surface {
  background: #e8e8e8;
  padding: 40px 0;
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.blog-surface img{
  max-width: 100%;
  height: auto;
  width: auto;
  border: solid 10px hsl(0, 0%, 21%);
}

.blog-surface li {
  list-style: disc;
  margin-left: 20px;
}

.blog-post {
  position: relative;
  float: none;
  border-bottom: 5px solid #7bc459;
}

.date {
  margin-right: 10px;
}

.comments {
  text-align: right;
}

.blog-action {
  margin-bottom: 40px;
}

/* About
------------------------------------------------------- */
.board-members img {
  max-width: 50%;
  margin: 0px auto 10px auto;
  display: block;
}

.board-members p {
  margin-bottom: 40px;
}


/* Blog Post
------------------------------------------------------- */
.blog-splash {
  height: 300px;
  float: none;
  background-size: cover;
  background-position: 50%;
}

.blog-header {
  padding-bottom: 40px;
}

#disqus_thread {
  margin-top: 40px;
}

.entry-content img{
  max-width: 100%;
  height: auto;
}

/* 404
------------------------------------------------------- */
.notfound {
  padding: 100px 100px;
  text-align: center;
  color: #999;
  text-shadow: 1px 1px 2px #eee;
  font-size: 25px;
}
.notfound h1 {
  font-size: 50px;
}

/* Footer
------------------------------------------------------- */
.footer {
  border-top: 5px solid #0f0f0f;
  margin-top: 0px;
  display: flex;
  flex-flow: row nowrap;
  background-color: #000;
}

.footernav {
  flex: 0 0 auto;
  display: flex;
  flex-flow: row wrap;
  width: 75%;
}
.social {
  flex: 0 0 auto;
  display: flex;
  flex-flow: row wrap;
  width: 25%;
}

.footernav .footer-item {
  flex: 1 0 33%;
}
.social .footer-item {
  flex: 1 0 100%;
}

.footer .button {
  border-bottom: 1px solid #0f0f0f;
  text-align: left;
}

.footer .footernav .button {
  background: #363636;
  border-right: 1px solid #0f0f0f;
  color: white;
}

.footer .button:hover {
  background: #272727;
}
.footer .button.twitter {
  background: #77c3ce;
}
.footer .button.twitter:hover {
  background: #68a3ac;
}
.footer .button.facebook {
  background: #83abdb;
}
.footer .button.facebook:hover {
  background: #7393b9;
}
.footer .button.linkedin {
  background: #0088c6;
}
.footer .button.linkedin:hover {
  background: #0077b5;
}

.smallprint {
  margin-top: 10px;
  color: white;
  font-size: 10px;
}
.smallprint p {
  margin: 0px;
}

/* Mobile Layout
------------------------------------------------------- */
@media only screen and (max-width:640px) {
  .col1,
  .col2,
  .col3,
  .col4,
  .col5,
  .col6,
  .col7,
  .col8,
  .col9,
  .col10,
  .col11,
  .col12 { width:100%; max-width:100%; }

  .margin0,
  .margin1,
  .margin2,
  .margin3,
  .margin4,
  .margin5,
  .margin6,
  .margin7,
  .margin8,
  .margin9,
  .margin10,
  .margin11,
  .margin12 { margin-left:0; }

  .comments { float: left; clear: both; }
  .blog-action { width: 50%; margin-left: 25%; }
  .banner { margin-top: 0px; }
  .headernav .button-label { display: none; }
  .top-sec, .dead-center { top: 0; min-width: unset; }

  .footer {
    display: flex;
    flex-flow: row wrap;
  }
  .footernav, .social {
    flex: 0 0 100%;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
  }
  .footernav .footer-item, .social .footer-item {
    flex: 1 0 100%;
    width: 100%;
  }
}

/* fixed background not supported on iOS, so set to scroll and adjust position */
@supports (-webkit-overflow-scrolling: touch) {
  .sec1 {background: url(img/section-1.jpg) 50% 0 no-repeat scroll; background-size: cover;}
  .sec2 {background: url(img/section-2.jpg) 50% 0 no-repeat scroll; background-size: cover;}
  .sec3 {background: url(img/section-3.jpg) 50% 100% no-repeat scroll; background-size: cover;}
}
