/* Base */
/* ----------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}


body {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  line-height: 1.5;
  background-color: #29262f;
  font-weight: 300;
  color: #444444;
}

.btn {
  border-radius: 2px !important;
  padding: 10px 18px !important;
  font-family: 'Roboto', sans-serif !important;
  text-transform: uppercase;
  font-size: 12px !important;
}

/*.btn-primary {
  background-color: #094081 !important;
}*/

.box {
  padding: 0 20px !important;
}

.body-wrapper {
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: 300;
  font-family: 'Roboto', sans-serif !important;
  text-transform: uppercase;
}

.navbar {
  font-family: 'Roboto', sans-serif !important;
}

.navbar img {
  webkit-box-shadow: 0 12px 6px -6px black;
  -moz-box-shadow: 0 12px 6px -6px black;
  box-shadow: 0 8px 12px -6px black;
  float: left;
}

.logo-bar {
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #282461;
  text-align: center;

}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

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

form {
  padding-top: 20px !important;
}

input {
  margin-bottom: 20px !important;
}

textarea {
  margin-bottom: 20px !important;
}


/* Navbar */

.navbar-inverse {
  background-color: #282461 !important;
  border-radius: 0 !important;
  border: 0 !important;
}

.navbar-inverse .navbar-brand {
  color: #a0b2da;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-text {
  color: #a0b2da;
}
.navbar-inverse .navbar-nav > li > a {
  color: #FFF !important;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #080808;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}
.navbar-inverse .navbar-toggle {
  border-color: #445d95 !important;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #445d95 !important;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #fff;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #101010;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #080808;
}
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #9d9d9d;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #fff;
    background-color: transparent;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444;
    background-color: transparent;
  }
}
.navbar-inverse .navbar-link {
  color: #9d9d9d;
}
.navbar-inverse .navbar-link:hover {
  color: #fff;
}
.navbar-inverse .btn-link {
  color: #9d9d9d;
}
.navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link:focus {
  color: #fff;
}
.navbar-inverse .btn-link[disabled]:hover,
fieldset[disabled] .navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link[disabled]:focus,
fieldset[disabled] .navbar-inverse .btn-link:focus {
  color: #444;
}


/* Layout Styles */
/* ----------------------------------------------------------*/


.site-title,
.site-title:hover,
.site-title:visited {
  display: block;
  color: #333;
  font-size: 26px;
  letter-spacing: -1px;
  float: left;
  line-height: 56px;
  position: relative;
  z-index: 1;
}

.site-nav {
  float: right;
  line-height: 56px;
}

.site-nav .menu-icon { display: none; }

.site-nav .page-link {
  margin-left: 20px;
  color: #727272;
  letter-spacing: -.5px;
}

/* Site footer */

.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
  min-height: 300px;
  font-size: 14px;
  line-height: 1.8em;
}

.site-footer li {
  list-style-type: none;
}

.site-footer li .fa {
  width: 16px;
  margin-right: 4px;
}

.site-footer div {
  color: #697296;
}

.footer-heading {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  padding-bottom: 20px;
  margin-bottom: 20px;
  width: 100%;
  border-bottom: 2px solid #3b3448;
}

.footer-signoff {
  border-top: 2px solid #3b3448;
  margin-top: 30px;
  padding: 30px 0 10px;
  font-size: 12px;
  line-height: 1.8em;
}



/* Page Content styles */
/* ----------------------------------------------------------*/

.page-content {
  padding: 30px 0;
  background-color: #fff;
}

.bio-wrapper {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 3px;
  display: block;
}

.page-image {
  border-radius: 3px;
}

.page-date {
  background-color: #b93941;
  padding: 8px;
  color: #fff;
  font-weight: 300;
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
}

.bio-wrapper img {
  max-height: auto;
  width: 100%;
}

.bio-wrapper .title {
  font-size: 20px;
  line-height: 40px;
  font-family: 'Roboto Condensed', Helvetica, Arial;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0px;
  text-transform: uppercase;
  position: absolute;
  background: #b93941;
  width: auto;
  padding: 2px 10px;
  left: 0;
  bottom: 0;
}

.bio-text {
  font-size: 14px;
}

.photo-wrapper {
  position: relative;
  float: left;
  margin-bottom: 15px;
  max-height: 150px;
  overflow: hidden;
  border-radius: 3px;
}

.photo-wrapper .title {
  font-size: 24px;
  line-height: 40px;
  font-family: 'Roboto Condensed', Helvetica, Arial;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0px;
  text-transform: uppercase;
  position: absolute;
  background: #0a9de2;
  width: auto;
  padding: 2px 10px;
  left: 0;
  bottom: 0;
}

.photo-wrapper .post-date {
  font-size: 14px;
  line-height: 30px;
  font-family: 'Roboto Condensed', Helvetica, Arial;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0px;
  text-transform: uppercase;
  position: absolute;
  background: #b93941;
  width: auto;
  padding: 2px 10px;
  left: 0;
  bottom: 0;
}

.photo-wrapper img {
  max-height: auto;
  width: 100%;
/*c*/
}

/*.photo-wrapper img:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}*/

.post-teaser {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
}


/* Home styles */
/* ----------------------------------------------------------*/

.home {
  margin-top: -20px;
}

.home h1 {
  margin-bottom: 25px;
}

.home-intro {
  margin-bottom: 30px;
}

.home-intro .callout {
  text-align: left;
  margin-top: 0;
  margin-bottom: 40px;
}

.home-intro .callout img {
  text-align: center;
  /*margin: 0 auto 10px;*/
  margin-bottom: 15px;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

.home-intro .callout a {
  margin-top: 25px;
}

.post-container {
  margin-bottom: 40px;
  border-bottom: 2px solid #dddddd;
  min-height: 340px;
}

.post-container .post-link {
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 1;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  color: #444444;
  font-weight: 900;
  margin-bottom: 50px;
}

.post-container .post-link:hover {
  text-decoration: none;
  color: #000000;
  border-bottom: 1px solid #000000;
}

.post-header {
  position: relative;
  float: left;
  max-height: 420px;
  overflow: hidden;
  border-radius: 3px;
}

.post-header img {
  max-height: auto;
  width: 100%;
}
.post-header .post-date {
  font-size: 18px;
  line-height: 40px;
  font-family: 'Roboto Condensed', Helvetica, Arial;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0px;
  text-transform: uppercase;
  position: absolute;
  background: #b93941;
  width: auto;
  padding: 2px 10px;
  left: 0;
  bottom: 0;
}


.welcome {
  height: 420px;
  margin-bottom: 20px;
  font-size: 21px;
  background-position: top right;
  background-size: cover;
  background-repeat: no-repeat;
}

.welcome-wrapper {
  margin-top: 125px;
}

h1 .image-headline {
  font-family: 'Roboto Condensed', Helvetica, Arial;
  text-transform: uppercase;
  line-height: 60px;
  font-size: 44px;
  margin: 0;
  font-weight: 300;
  color: #ffffff ;
  background-color: rgba(41,37,98,1);
  box-shadow: 10px 0 0 rgba(41,37,98,01), -10px 0 0 rgba(41,37,98,1);
  color: #ffffff ;
  padding: 2px 2px;
}

.declaration-box {
  background-color: #b93941;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: -20px;
  margin-bottom: 20px;
  text-align: center;
}


.declaration-box h3 {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 300;
  font-size: 22px;
  text-transform: uppercase;
  margin: 0;
}

.section-header {
  width: 100%;
  text-transform: uppercase;
  border-bottom: 2px solid #ddd;
  line-height: 72px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  color: #b93941;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 30px;
  padding: 0;
}

/* Shared styles */
/* ----------------------------------------------------------*/

.subpage-header {
  height: 420px;
  margin-bottom: 20px;
  font-size: 21px;
  margin-top: -20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.subpage-wrapper {
  margin-top: 100px;
}

.subpage-header h1 .image-headline {
  font-family: 'Roboto Condensed', Helvetica, Arial;
  text-transform: uppercase;
  line-height: 60px;
  font-size: 44px;
  margin: 0;
  font-weight: 300;
  color: #ffffff ;
  background-color: rgba(9,64,129,0.85);
  box-shadow: 10px 0 0 rgba(9,64,129,0.85), -10px 0 0 rgba(9,64,129,0.85);
  color: #ffffff ;
  padding: 2px 2px;
}


/* Post styles */
/* ----------------------------------------------------------*/

.post {
  margin-bottom: 30px;
  margin-top: -20px;
}

.post img {
  width: 100%;
  height: auto;
}

.post-header {
  margin: 0 0 20px;
}

.post-title h1 {
  font-size: 38px;
  letter-spacing: -1.75px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 20px;
}

.post-content { margin: 0 0 30px; }

.post-content > * { margin: 20px 0; }


.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  line-height: 1;
  font-weight: 900;
  margin: 40px 0 20px;
}

.post-content h2 {
  font-size: 32px;
  letter-spacing: -1.25px;
}

.post-content h3 {
  font-size: 26px;
  letter-spacing: -1px;
}

.post-content h4 {
  font-size: 20px;
  letter-spacing: -1px;
}

.post-content blockquote {
  line-height: 36px;
  font-style: italic;
  font-size: 20px;
  margin: 0 0 0 -35px;
  font-weight: 600;
  color: #ffffff ;
  background-color: #00abb7;
  color: #ffffff ;
  padding: 10px 20px;
  border-left: 0;
}


.post-content ul,
.post-content ol { padding-left: 20px; }

.post pre,
.post code {
  border: 1px solid #d5d5e9;
  background-color: #eef;
  padding: 8px 12px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 15px;
}

.post code { padding: 1px 5px; }

.post pre code { border: none; }

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.post pre.terminal code { background-color: #333; }


/* Home styles */
/* ----------------------------------------------------------*/

ul.sidebar {
  list-style-type: none;
}

ul.sidebar > .category {
  font-weight: 900;
  font-size: 14px;
  padding-bottom: 6px;
  padding-top: 20px;
}

ul.sidebar > .category:first-child {
  padding-top: 0;
}

ul.sidebar li {
  list-style-type: none;
  line-height: 16px;
  font-size: 14px;
  padding: 4px 0;
}

li.sidebar-link {
  border-left: 2px solid white;
}

li.sidebar-link > a {
  padding: 0 0 0 18px;
  display: list-item;
}

li.sidebar-link > a.active {
  font-weight: 900;
  color: #b93941 !important;
}

li.sidebar-link > a.active:before {
  content: '+';
  position: absolute;
  left: 26px;
}


/* Social Share */
/* ----------------------------------------------------------*/

.social-share {
  float: right;
  text-align: right;
  line-height: 72px;
}

.social-share a {
  display: inline-block;
  width: 36px;
  line-height: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  font-size: 14px;
  margin: 0 2px;
  color: #cccccc;
  text-align: center;
  border: 2px solid #cccccc;
  background-color: #fff;
}

.social-share a:hover {
  border-color: #999999;
  color: #999999;
}


/* media queries */
/* ----------------------------------------------------------*/

@media screen and (max-width: 1024px) {

  h1 .image-headline {
    line-height: 48px;
    font-size: 32px;
  }

  .subpage-header h1 .image-headline {
    line-height: 48px;
    font-size: 32px;
  }

}

@media screen and (max-width: 768px) {

  .navbar .navbar-nav {
      display: inline-block;
      float: none;
      vertical-align: top;
  }

  .navbar .navbar-collapse {
      text-align: left !important;
  }

  .welcome-wrapper {
    margin-top: 240px;
    text-align: center !important;
  }

}

@media screen and (max-width: 480px) {

  .wrap { padding: 0 12px; }


  .site-nav {
    position: fixed;
    z-index: 10;
    top: 14px; right: 8px;
    background-color: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e8e8e8;
  }

  .site-nav .menu-icon {
    display: block;
    font-size: 24px;
    color: #505050;
    float: right;
    width: 36px;
    text-align: center;
    line-height: 36px;
  }

  .site-nav .menu-icon svg { width: 18px; height: 16px; }

  .site-nav .trigger {
    clear: both;
    margin-bottom: 5px;
    display: none;
  }

  .site-nav:hover .trigger { display: block; }

  .site-nav .page-link {
    display: block;
    text-align: right;
    line-height: 1.25;
    padding: 5px 10px;
    margin: 0;
  }

  .post-header h1 { font-size: 32px; }
  .post-content h2 { font-size: 28px; }
  .post-content h3 { font-size: 22px; }
  .post-content h4 { font-size: 18px; }
  .post-content blockquote { padding-left: 10px; }
  .post-content ul,
  .post-content ol { padding-left: 10px; }

  .social-share {
    text-align: center;
  }

  .social-share p  {
    display: none;
  }

  .welcome-wrapper {
    margin-top: 240px;
    text-align: center !important;
  }


}
