/* ==========================================================================
   Base
   ========================================================================== */

html, body {
   height: 100%;
   margin-bottom: 0;
   padding-bottom: 0;
}
body {
   background-size: cover;
}
h1,h2,h3,h4,h5,h6 {
  margin: 0;
}


/* =============================================================================
   Pre-header
   ========================================================================== */

.preheader {
   text-align: center;
   line-height: 40px;
   background-color: #333;
   background: rgba(21,21,21,.8);
}
   .preheader p,
   .preheader a {
      color: #eee;
      font-size: 12px;
      text-transform: uppercase;
      text-shadow: 0 1px 0 #111;
   }
   .preheader a:hover { text-decoration: none; }
   .preheader .logo {
      position: relative;
      width: 100px;
      max-width: 100px;
      height: 122px;
      z-index: 20;
      margin-top: -40px; /* Negative preheader height */
      margin-bottom: -122px; /* Negative height of image */
   }

.sitename {
   text-align: right;
}
.sitename p {
   /* Pull site name right */
   margin: 0 -40px 0 0;
}
.sitedescription {
   text-align: left;
}
.sitedescription p {
   /* Pull site description left */
   margin: 0 0 0 -40px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.banner {
   opacity: .8;
   z-index: 1;
}

.navbar .nav,
.navbar .nav > li {
  float: none;
  display: inline-block;
  *display: inline; /* ie7 fix */
  *zoom: 1; /* hasLayout ie7 trigger */
  vertical-align: top;
}

.navbar-inner {
  text-align: center;
}

.dropdown-menu,
.dropdown-menu li {
  background: #222;
}
.dropdown-menu a {
  color: #ddd !important;
  text-shadow: 0 1px 0 #000;
}
.dropdown-menu a:hover,
.dropdown-menu .active a {
  background: #0f0f0f !important;
  color: #fff;
}

.navbar .dropdown-menu::after {
  border-bottom-color: #222 !important;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content {
}



/* ==========================================================================
   Primary Content
   ========================================================================== */

.main { }



/* ==========================================================================
   Homepage
   ========================================================================== */

.home {
   text-align: center;
   color: #eee;
}

.home .page-header { 
   border: 0;
   text-align: center;
}
.home h1 {
  font-size: 87px;
  line-height: 78px;
  font-weight: 100;
  text-shadow: 1px 1px 0 #333;
  margin: 2em auto 0;
}

ul.social {
   list-style-type: none;
}
   ul.social li {
      margin: auto 1em;
      display: inline-block;
   }
   .social a {
    color: #eee;
   }
   .social a:hover {
    text-decoration: none;
   }

   .facebook a:hover {
    color: #3b5998;
   }
   .twitter a:hover {
    color: #00aced;
   }
   .youtube a:hover {
    color: #bb0000;
   }



/* ==========================================================================
   template-custom.php
   ========================================================================== */

.page-template-template-custom-php
  .page-header {
    margin: 0;
    padding: 0;
    color: #fff;
    border-bottom: none !important;
    text-align: center;
  }
.page-template-template-custom-php
  .page-header h1 {
    height: 0;
    font-family: 'Droid Serif', georgia, serif;
    font-size: 5em;
    text-shadow: 1px 1px 0 #333;
    font-weight: lighter;
    margin: -100px 0 100px 0;
  }

.page-template-template-custom-php .main > h2,
.page-template-template-custom-php .main > h3,
.page-template-template-custom-php .main > h4,
.page-template-template-custom-php .main > h5 {
  height: 1em;
  font-family: 'Droid Serif', georgia, serif;
  margin: 13px -13px 0;
  color: #eee;
  padding: .5em 13px;
  font-weight: lighter;
  background: #0D3F57;
}

/* These make the ribbon fold behind the container */
.page-template-template-custom-php .main > h2:before,
.page-template-template-custom-php .main > h3:before,
.page-template-template-custom-php .main > h4:before,
.page-template-template-custom-php .main > h5:before {
  content: ' ';
  position: absolute;
  border-top: 13px solid #061F2B;
  border-left: 13px solid transparent;
  margin-left: -13px;
  margin-top: 1.5em;
  width: 0;
  height: 0;
}
.page-template-template-custom-php .main > h2:after,
.page-template-template-custom-php .main > h3:after,
.page-template-template-custom-php .main > h4:after,
.page-template-template-custom-php .main > h5:after {
  float: right;
  content: ' ';
  border-top: 13px solid #061F2B;
  border-right: 13px solid transparent;
  margin-right: -13px;
  margin-top: 1.5em;
  width: 0;
  height: 0;
}
/* End ribbon */

.heading-top {
/* Remove the top margin so that the ribbon is flush with the element above it */
  margin-top: 0 !important;
}

.page-template-template-custom-php
  .main
  p {
    margin: 0;
    padding: 0;
  }

.page-template-template-custom-php
  .main
  section {
    padding: 1.5em 2em 2em;
  }
  section.inverse {
    color: #fff;
    background: #222;
    box-shadow: inset 0 0 25px #111;
  }

.page-template-template-custom-php
  address {
    margin: 1em;
  }

  .back-to-top {
    color: #155f83;
    text-decoration: none;
    font-size: 12px;
    float: right;
  }
  .back-to-top:hover {
    color: #239EDA;
    text-decoration: none;
  }

.page-template-template-custom-php
  .wrap {
    margin-top: 200px;
  }

.page-template-template-custom-php
  .main {
    background: white;
  }



/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar { }



/* ==========================================================================
   Posts
   ========================================================================== */

.hentry header { }
.hentry time { }
.hentry .byline { }
.hentry .entry-content { }
.hentry footer { }



/* ==========================================================================
   Footer
   ========================================================================== */

.content-info,
.content-info .textwidget {
   height: 60px;
   color: #ccc;
   font-size: 12px;
   vertical-align: middle;
}
.content-info p,
.content-info .textwidget {
  line-height: 60px;
  margin-bottom: 0;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -60px;
}

/* Set the fixed height of the footer here */
#push,
.content-info {
   height: 60px;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
  .content-info {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}



/* ==========================================================================
   WordPress Generated Classes
   See: http://codex.wordpress.org/CSS#WordPress_Generated_Classes
   ========================================================================== */

.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; }
.alignright { float: right; }
figure.alignnone { margin-left: 0; margin-right: 0; }



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 767px) {

}
