/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author: @mcsheffrey
   ========================================================================== */

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

@font-face {
  font-family: 'Pictos';
  src: url('fonts/pictos-web.eot');
  src: local('☺'), url('fonts/pictos-web.woff') format('woff'), url('fonts/pictos-web.ttf') format('truetype'), url('fonts/pictos-web.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'TradeGothicLTStdBdCnNo20';
    src: url('fonts/tradegothicltstd-bdcn20-webfont.eot');
    src: url('fonts/tradegothicltstd-bdcn20-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/tradegothicltstd-bdcn20-webfont.woff') format('woff'),
         url('fonts/tradegothicltstd-bdcn20-webfont.ttf') format('truetype'),
         url('fonts/tradegothicltstd-bdcn20-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'JustVector';
    src: url('fonts/justvectorv2-webfont.eot');
    src: url('fonts/justvectorv2-webfont.eot#iefix') format('eot'),
         url('fonts/justvectorv2-webfont.woff') format('woff'),
         url('fonts/justvectorv2-webfont.ttf') format('truetype'),
         url('fonts/justvectorv2-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}

/* =============================================================================
   General
   ========================================================================== */

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #000;
  color: #2c2c2c;
  font-family: 'ff-bau-web' sans-serif;
  font-size: 13px;
  padding-top: 134px;
}

body.home {
  padding-top: 67px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-weight: normal;
  text-transform: uppercase;
}

.container {
  margin-left: auto;
  margin-right: auto;
  width: 1040px;
}


/* =============================================================================
   Header
   ========================================================================== */

#top-bar {
  background: #282828; /* Old browsers */
  background: -moz-linear-gradient(top, #282828 0%, #333333 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#282828), color-stop(100%,#333333)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #282828 0%,#333333 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #282828 0%,#333333 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #282828 0%,#333333 100%); /* IE10+ */
  background: linear-gradient(top, #282828 0%,#333333 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#282828', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
  border-bottom: 1px solid #484848;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
     -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
          box-shadow: 0 0 5px rgba(0,0,0,.5);
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 101;
}

#top-bar .container {
  position: relative;
}

#top-bar-twitter {
  float: left;
}

.twitter-widget {
  background: url(../img/twitter-bird.png) no-repeat left 50%;
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  float: left;
  height: 18px;
  margin: 8px 0 0 0;
  padding: 2px 0 2px 50px;
  position: relative;
}

.twitter-widget a {
  color: #18b4d7;
  text-decoration: none;
}

#twitter {
  background: rgb(24,24,24); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(24,24,24,1) 0%, rgba(49,49,49,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(24,24,24,1)), color-stop(100%,rgba(49,49,49,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(24,24,24,1) 0%,rgba(49,49,49,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(24,24,24,1) 0%,rgba(49,49,49,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(24,24,24,1) 0%,rgba(49,49,49,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(24,24,24,1) 0%,rgba(49,49,49,1) 100%); /* W3C */
  border: 1px solid #000;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.2);
     -moz-box-shadow: 0 0 10px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.2);
          box-shadow: 0 0 10px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.2);
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  display: none;
  left: 39px;
  padding: 10px;
  position: absolute;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
  top: -1px;
  width: 325px;
  z-index: 9999;
}

#twitter ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#twitter a {
  color: #18b4d7;
  text-decoration: none;
}

#twitter a:hover {
  color: #fff;
}

#top-bar form {
  display: inline-block;
  float: right;
  margin: 0 35px 0 0;
  position: relative;
  width: 275px;
}

#top-bar fieldset {
  float: left;
  margin: 0;
  width: 100%;
}

#top-bar fieldset label {
  display: none;
}

#top-bar fieldset legend {
  border-bottom: 0;
  color: #fff;
  float: left;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  margin: .5em 0;
}

#top-bar input[type="text"] {
  background: #161616; /* Old browsers */
  background: -moz-linear-gradient(top, #161616 0%, #2c2c2c 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#161616), color-stop(100%,#2c2c2c)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #161616 0%,#2c2c2c 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #161616 0%,#2c2c2c 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #161616 0%,#2c2c2c 100%); /* IE10+ */
  background: linear-gradient(top, #161616 0%,#2c2c2c 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#161616', endColorstr='#2c2c2c',GradientType=0 ); /* IE6-9 */
  border: 1px solid #484848;
  -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.5);
     -moz-box-shadow: inset 0 0 3px rgba(0,0,0,.5);
          box-shadow: inset 0 0 3px rgba(0,0,0,.5);
  color: #fff;
  float: right;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  margin: 0;
  padding: 7px 11px;
}

#register-submit {
  background: url(../img/register-icon.png) 0 1px no-repeat;
  border: 0;
  display: block;
  height: 14px;
  padding: 0;
  position: absolute;
  right: 10px;
  text-indent: -9999px;
  top: 10px;
  width: 14px;
}

#bar-nav {
  float: right;
  margin-right: 3.846153846154%;
}

#bar-nav a {
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  text-decoration: none;
}

.facebook-reg a {
  background: url(../img/facebook-register.png) no-repeat right top;
  display: block;
  height: 25px;
  padding: 7px 42px 0 0;
}

.facebook-reg a:hover {
  background-position: right -32px;
}

.mobile-top-bar {
  display: none;
  float: right;
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

.mobile-top-bar li {
  float: left;
}

.mobile-top-bar li + li {
  margin-left: 5px;
}

.mobile-top-bar li a {
  background: rgb(44,44,44); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(44,44,44,1) 0%, rgba(20,20,20,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(44,44,44,1)), color-stop(100%,rgba(20,20,20,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(44,44,44,1) 0%,rgba(20,20,20,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(44,44,44,1) 0%,rgba(20,20,20,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(44,44,44,1) 0%,rgba(20,20,20,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(44,44,44,1) 0%,rgba(20,20,20,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c2c2c', endColorstr='#141414',GradientType=0 ); /* IE6-9 */
  border: 1px solid #000;
  -webkit-box-shadow: inset 0px 0px 2px 2px rgba(0, 0, 0, .2);
          box-shadow: inset 0px 0px 2px 2px rgba(0, 0, 0, .2);
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
  display: block;
  font-family: 'JustVector';
  font-size: 25px;
  height: 35px;
  padding: 2px 4px 2px 6px;
  left: 0;
  line-height: 35px;
  text-decoration: none;
  width: 35px;
}

.mobile-top-bar li.email a {
  font-family: 'Pictos';
  padding: 0px 4px 2px 5px;
}

.mobile-top-bar li.facebook a {
  padding: 0px 4px 2px 6px;
}

body.open-mail {
  top: 43px;
  position: relative;
}

/* =============================================================================
   Home Page Slider
   ========================================================================== */

#home-slider {
  background: rgba(8,22,42,.95);
  height: auto;
  max-height: 447px;
  position: relative;
  width: 100%;
}

#home-slider-container {
  height: auto;
  margin: 0 auto;
  max-height: 450px;
  max-width: 1200px;
  position: relative;
  width: 100%;
}

#home-slider-container a {
  color: #202020;
  text-decoration: none;
}

#home-slider ul {
  list-style: none;
  margin: 0 auto;
  max-height: 450px;
  max-width: 1200px;
  padding: 0;
  height: auto;
  width: 100%;
}

#home-slider > ul > li {
  display: none;
  height: 442px;
}

#home-slider li:first-child {
  display: block;
}

#home-slider li section {
  background: rgba(255,255,255,.85);
  position: absolute;
  right: 10%;
  text-transform: uppercase;
  top: 20%;
  width: 375px;
  z-index: 1;
}

#home-slider li section h2 {
  background: none;
  color: #202020;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 2.8em;
  font-weight: normal;
  line-height: 1em;
  margin: 0;
  padding: 25px;
}

#home-slider li footer {
  background: #2e343c;
  width: 100%;
}

#home-slider li time {
  color: #fff;
  display: block;
  font-size: 15px;
  float: left;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  padding: 10px 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

.categories {
  background: #e12121;
  display: inline-block;
  color: #fff;
  float: right;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  padding: 10px 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#main article a {
  color: #fff;
}

#main article .more-link {
  background: #e12121;
  display: inline-block;
  color: #fff;
  float: right;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  font-size: 30px;
  line-height: 20px;
  padding: 8px 15px 14px 15px;
  width: auto;
}

.flex-control-paging {
  background: #202020;
  bottom: 8%;
  display: inline-block;
  left: 15%;
  padding: 10px;
  position: absolute;
  z-index: 98;
}

.flex-control-paging li {
  float: left;
}

.flex-control-paging li a {
  background: #2e343c;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 30px;
     -moz-border-radius: 30px;
          border-radius: 30px;
  cursor: pointer;
  display: block;
  height: 15px;
  text-indent: -9999px;
  width: 15px;
}

.flex-control-paging li + li {
  margin-left: 5px;
}

.flex-control-paging a.flex-active {
  background: #949fae;
}

/* =============================================================================
   Menu
   ========================================================================== */

body #banner {
  background: #202020;
  position: fixed;
  top: 66px;
  width: 100%;
  z-index: 101;
}

body.home #banner {
  position: relative;
  top: auto;
}

body #banner.stick-it {
  position: fixed;
  top: 66px;
}

#banner .brand {
  background: url(../img/yg-network-logo.png) no-repeat;
  bottom: -37px;
  display: block;
  height: 155px;
  left: 50%;
  margin-left: -72px;
  position: absolute;
  text-indent: -9999px;
  width: 155px;
  z-index: 9999;
}

#nav-main {
  margin: 0 0 0 40px;
}

.navbar-inner {
  height: 100%;
  margin: 0 auto;
  position: relative;
  width: 1040px;
}

.navbar .nav > li {
  float: left;
}

.navbar .nav-left {
  float: left;
}

.navbar .nav-right {
  float: right;
}

.navbar .nav > li > a {
  color: #fff;
  display: block;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.5em;
  padding: 20px 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
     -moz-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
      -ms-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
       -o-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
          transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
  position: relative;
  z-index: 100;
}

.navbar .nav > li.mouseover > a {
  background: #2e343c;
}

.navbar .nav > li.mouseover > .sub-menu {
  display: block;
  opacity: 1;
  z-index: 95;
}

.navbar .nav > li.active > a {
  color: #18b4d7;
}

.navbar .nav > li.nth-child-3 {
  margin-right: 228px;
}

.navbar .nav > li > ul.sub-menu {
  background: #2e343c;
  /*url(../img/nav-about-dropdown.png) left bottom no-repeat*/
  -webkit-box-shadow: 0 5px 20px rgba(0,0,0,.5);
     -moz-box-shadow: 0 5px 20px rgba(0,0,0,.5);
          box-shadow: 0 5px 20px rgba(0,0,0,.5);
  display: none;
  margin: 0 40px;
  min-height: 240px;
  padding: 40px 50px 25px 50px;
  position: absolute;
  left: 0;
  opacity: 0;
  width: 860px;
}

.navbar .nav > li > ul.sub-menu > li > a {
  display: none;
}

/*#nav-main .about .dropdown-menu {
  display: block;
  opacity: 1;
}*/

.navbar .nav .sub-menu li {
  border-right: 1px dotted #515356;
  float: left;
  margin-right: 2%;
  padding-right: 2%;
  width: 30.5%;
}

.navbar .nav .sub-menu li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.navbar .nav .sub-menu li .sub-menu li {
  border-right: 0;
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}

.navbar .nav .sub-menu li .sub-menu li + li {
  margin-top: 2em;
}

.navbar .nav .sub-menu a {
  color: #fff;
  display:block;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.5em;
  line-height: 1.2em;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  margin: 0 0 .5em 0;
  width: 100%;
}

.navbar .nav .sub-menu span { 
  color: #dccec0;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

.navbar .nav .sub-menu p {
  color: #dccec0;
}

.navbar .nav .sub-menu a:after {
  content: '»';
  color: #e12121;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.5em;
  margin: 0 0 0 5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  vertical-align: -2px;
}

#banner-overlay {
  background: #202020;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 99;
}

#show-menu {
  bottom: 0;
  color: #fff;
  display: none;
  left: 0;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.5em;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  text-decoration: none;
  text-transform: uppercase;
  padding: 20px 30px;
  z-index: 100;
}

/* Related Posts */

#related-posts-container {
  background: #212020;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  display: inline-block;
  clear: both;
  margin: 45px 15px 0 15px;
  position: relative;
  width: 960px;
}

#related-posts-slider {
  width: 960px !important;
}

#related-posts-container li {
  background: url(../img/bg-stripe-large.png);
  float: left;
  margin: 0 30px 0 0;
  width: 300px;
}

#related-posts-container li:last-child {
  margin-right: 0;
}

#related-posts-container li a {
  text-decoration: none;
}

#related-posts-container h2 {
  background: none;
  color: #fff;
  font-size: 2.3em;
  height: 100px;
  line-height: 1.2em;
  margin: 30px;
  padding: 0;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#related-posts-container h3 {
  background: #2e343c;
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  margin: 0;
  position: relative;
  padding: 10px 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  overflow: hidden;
  white-space: nowrap;
}

#related-posts-container h3 .more-arrow {
  background: rgb(225, 33, 33);
  display: inline-block;
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-weight: normal;
  font-size: 30px;
  line-height: 20px;
  padding: 8px 15px 14px 15px;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  top: 0;
}

#related-posts-container .entry-content {
  color: #dccec0;
  line-height: 1.4em;
  margin: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#related-posts-container .more-link {
  background: #e12121;
  display: inline-block;
  color: #fff;
  float: right;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  padding: 10px 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#related-posts-container .related-nav {
  background: #a9bcc0;
  border: 0;
  color: #1c2025;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 30px;
  margin-top: -35px;
  padding: 20px 10px 25px 10px;
  position: absolute;
  top: 50%;
  z-index: 97;
}

#related-posts-container #related-prev {
  left: 0;
}

#related-posts-container #related-next {
  right: 0;
}

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

#wrap.container {
  background: rgba(255,255,255,.85);
}

.content-blocks article {
  background: #222;
}

.content-block, .span4 {
  float: left;
  margin: 15px;
  width: 300px;
}

.content-blocks article.column-break {
  margin-right: 0;
}

#content article h2 {
  font-size: 2em;
  height: 4em;
  line-height: 1em;
  margin: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  overflow: hidden;
}

body.home #content article h2 {
  background: none;
  height: auto;
  padding: 0;
}

#content article h2 a {
  color: #fff;
}

#content article footer {
  background: #2e343c;
  width: 100%;
}

body.home #content article p {
  color: #dccec0;
  margin: 0 30px 30px 30px;
}

body.home article {
  height: 260px;
  position: relative;
}

body.home article a {
  text-decoration: none;
}

.video-entry {
  position: relative;
}

body.home article a.video-thumb {
  display: block;
  height: 260px;
  width: 300px;
}

body.home article footer {
  bottom: 0;
  position: absolute;
}

#content article footer time {
  color: #fff;
  float: left;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  padding: 10px 15px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#content article footer .categories {
  background: #e12121;
  display: inline-block;
  float: right;
  padding: 10px 15px;
}

#content article footer .categories a {
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

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

#content{
  padding: 40px 25px;
  text-align: center;
}

#main {
  display: inline-block;
  text-align: left;
}

#main img,
#main video {
  height: auto;
  max-width: 100%;
}

#main iframe {
  max-width: 100%;
}

.page-header {
  background: #4b5869;
  padding: 53px 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
}

.page-header h1 {
  color: #fff;
  font-size: 50px;
  font-weight: normal;
  line-height: 1em;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,.85);
  width: 980px;
}

.page .page-header {
  background: #4b5869 url(../img/about-banner.jpg) center top no-repeat;
}

.page .page-header h1 {
  font-size: 100px;
}

.page-template-page-issues-php .page-header {
  background-image: url(../img/issues-banner.jpg);
}

.page-template-page-events-php .page-header {
  background-image: url(../img/events-banner.jpg);
}

.page-template-page-news-php .page-header {
  background-image: url(../img/newsroom-banner.jpg);
}

.single .page-header {
  background: #4b5869 url(../img/banner-bg.jpg);
}

.single .page-header h1 {
  float: left;
  width: 70%;
}

.page-header footer {
  color: #a9bcc0;
  clear: both;
  display: inline-block;
  font-size: 15px;
  margin: 1em 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .85);
  text-transform: uppercase;
}

.page-header time {
  color: #fff;
}

.page-header footer a {
  color: #ccc1a7;
  text-decoration: none;
}

.page-header .share-this {
  display: block;
  float: right;
  height: 90px;
  margin-top: 20px;
  width: 138px;
}

.share-this h3 {
  color: #fff;
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 .5em 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,.85);
}

.share-this span {
  background: url(../img/header-social-sprite.png);
  cursor: pointer;
  display: block;
  float: left;
  height: 28px;
  margin-right: 10px;
  width: 29px;
}

.share-this span:last-child {
  margin-right: 0;
}

.share-this .st_facebook_custom:hover { background-position: 0 -28px; }
.share-this .st_twitter_custom { background-position: 0 -56px; }
.share-this .st_twitter_custom:hover { background-position: 0 -84px; }
.share-this .st_google_bmarks_custom { background-position: 0 -112px; }
.share-this .st_google_bmarks_custom:hover { background-position: 0 -140px; }

#content.two-col h2 {
  background: url(../img/bg-stripe.png);
  color: #000;
  padding: 10px 15px;
}

#content.two-col a {
  color: #2C2C2C;
}

#content.two-col #main {
  float: left;
  margin: 0 1.5%;
  width: 63%;
}

body.home #main {
  margin: 0;
  width: 100%;
}

#sidebar {
  float: left;
  margin: 1.5%;
  text-align: left;
  width: 30%;
}

#sidebar section:first-child h3 {
  margin-top: 0;
}

body.page-template-page-issues-php #main {
  margin: 0;
  width: 100%;
}

body.page-template-page-issues-php #content article {
  text-align: center;
}

body.page-template-page-issues-php #content article h2 {
  background: url(../img/divider.png) center bottom no-repeat;
  font-size: 43px;
  height: auto;
  margin: 0;
  min-height: 2em;
  padding: 0 0 1em 0;
  text-shadow: none;
}

body.page-template-page-issues-php #content article a {
  color: #000;
  text-decoration: none;
}

body.page-template-page-issues-php #content article .entry-content {
  background: url(../img/divider.png) center bottom no-repeat;
  padding: .5em 0 1em 0;
}

body.page-template-page-issues-php #content article footer {
  background: transparent url(../img/issues-footer.png) center bottom no-repeat;
  color: #6a6a6a;
  padding-bottom: .75em;
}

body.page-template-page-issues-php #content article footer a {
  color: #4c6b93;
}

body.page-template-page-issues-php .entry-content {
  text-align: center;
}

.entry-content strong {
  color: #1594b0;
}

#content.two-col .entry-content a {
  color: #b20c26;
  font-weight: bold;
}

.single #content article .entry-content h2 {
  background: url(../img/bg-stripe.png);
  margin: .5em 0;
  padding: 10px 15px;
}

blockquote {
  background: url(../img/blockquote.png) left top repeat-x, url(../img/blockquote.png) left bottom repeat-x;
  float: left;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 25px;
  line-height: 26px;
  margin: 0 1em 1em 0;
  padding: 0 30px;
  text-transform: uppercase;
  width: 240px;
}

.single article h3 {
  background: url(../img/bg-stripe.png);
  margin: .5em 0;
  padding: 10px 15px;
  font-weight: normal;
}

#click-to-load {
  background: #2e343c;
  color: #fff;
  cursor: pointer;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  margin: 0 auto;
  position: relative;
  padding: 10px 15px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  width: 270px;
}

#click-to-load span {
  background: rgb(225, 33, 33) url(../img/click-to-load.png) 0 0;
  display: inline-block;
  height: 100%;
  position: absolute;
  -webkit-transition: background 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
     -moz-transition: background 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
      -ms-transition: background 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
       -o-transition: background 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
          transition: background 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); /* easeInOutCubic */
  top: 0;
  width: 40px;
}

#click-to-load:hover span {
  background-position: 0 40px;
}

#click-to-load .left-arrow {
  left: 0;
}

#click-to-load .right-arrow {
  right: 0;
}

.women-buttons {
  clear: both;
  list-style: none;
}

.women-buttons li {
  float: left;
}


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

#sidebar h3 {
  background: url(../img/bg-stripe.png);
  color: #000;
  font-size: 1.8em;
  font-weight: normal;
  padding: 10px 15px;
}

#sidebar section {
  display: inline-block;
  width: 100%;
}

.textwidget {
  margin: 1em 15px;
}

/* Author Sidebar */

.multiwidget_author_avatars a {
  text-decoration: none;
}

.multiwidget_author_avatars .name {
  color: #b20c26;
}

.multiwidget_author_avatars .biography {
  color: #5e5e5e;
  text-shadow: 0 1px 1px rgba(255,255,255,.75);
}

.multiwidget_author_avatars span.avatar {
  margin: 0 .5em 0 0;
}

.multiwidget_author_avatars .avatar img {
  background: url(../img/bg-stripe.png);
  padding: 10px;
}

.multiwidget_author_avatars .author-list .with-biography .avatar {
  margin: 0 .5em 0 0;
}

/* Related Posts */

.widget_yarpp_widget ol {
  list-style: none;
  padding: 0;
  text-align: center;
}

.widget_yarpp_widget li {
  background: url(../img/issues-footer.png) center bottom no-repeat;
  border-bottom: 0;
  margin: 0 0 30px 0;
  padding: 0 0 25px 0;
}

.widget_yarpp_widget h4 {
  background: url(../img/videos-divider.png) left bottom repeat-x;
  display: block;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 25px;
  font-weight: bold;
  margin: .5em 0;
  padding: 0 25px 35px 25px;
  line-height: 26px;
  text-transform: uppercase;
}


.widget_yarpp_widget a {
  text-decoration: none;
}

#content.two-col .widget_yarpp_widget a:hover  {
  color: #b20c26;
}

.widget_yarpp_widget .entry-content {
  margin: 0 25px;
}

/* Recent posts */
.advanced_recent_posts_widget .section-header {
  background: url(../img/bg-stripe.png);
}

#sidebar .advanced_recent_posts_widget h2 {
  background: none;
  font-size: 25px;
  float: left;
  padding: 10px 15px;
}

.advanced_recent_posts_widget .view-all {
  float: right;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.advanced_recent_posts_widget .post-title {
  font-weight: normal !important;
}

.advanced_recent_posts_widget article {
  background: none;
  margin: 1em 0;
}

#sidebar .advanced_recent_posts_widget .post-entry {
  padding: 1em 15px;
 }

#sidebar .advanced_recent_posts_widget footer time {
  color: #979ea7;
}

#sidebar .advanced_recent_posts_widget footer .categories {
  color: #fff;
  font-size: 30px;
  line-height: 20px;
  padding: 7px 15px 11px 15px;
  text-decoration: none;
}

#sidebar .advanced_recent_posts_widget footer .read-more {
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  float: right;
  padding: 10px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

#sidebar .advanced_recent_posts_widget h3 {
  background: none;
  text-align: center;
  font-weight: normal;
}

#sidebar .advanced_recent_posts_widget .post-title {
  color: #000;
  font-size: 25px;
  line-height: 26px;
  text-decoration: none;
}

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

.hentry header { }
.hentry h2 a { text-decoration: none; }
.hentry time { display: block; }
.hentry p.byline { }
.hentry footer { clear: both; }

.fb_iframe_widget {
  margin-top: 15px;
}

/* Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/ */

/* This element holds injected scripts inside iframes that in 
some cases may stretch layouts. So, we're just hiding it. */

#fb-root {
  display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
  width: 100% !important;
}

.gallery {
display: block;
clear: both;
overflow: hidden;
margin: 0 auto;
}
.gallery .gallery-row {
display:block;
clear: both;
overflow: hidden;
margin: 0;
}
.gallery .gallery-item {
overflow: hidden;
float: left;
margin: 0;
text-align: center;
list-style: none;
padding: 0;
position: absolute
bottom: 0
}
.gallery .gallery-item img, .gallery .gallery-item img.thumbnail {
max-width: 89%;
height: auto;
padding: 1%;
margin: 0 auto;
}
.gallery-caption {
margin-left: 0;
}

/* =============================================================================
   Post Comments / Forms
   ========================================================================== */

#comments, #respond, #submit { clear: both; display: block; }

ol.commentlist img.avatar { 
  background: url(../img/bg-stripe.png);
  padding: 10px;
  float: left; 
  margin-right: 10px;
  width: auto;
}

.commentlist {
  list-style: none;
  margin-bottom: 2em;
  padding: 0;
}

.commentlist li {
  background: url(../img/blockquote.png) left bottom repeat-x;
  display: inline-block;
  padding-bottom: 30px;
  margin-bottom: 1em;
  width: 100%;
}

.commentlist li:last-child {
  margin-bottom: 0;
}

.commentlist li cite a {
  color: rgb(178, 12, 38);
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
}

.commentlist li time a {
  color: #5E5E5E;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
}

input, textarea {
  background: #dedcdb;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #c2bfbe;
  color: #969696;
  margin-bottom: 1em;
  padding: 15px;
}

.gform_wrapper input[type="text"], 
.gform_wrapper input[type="url"], 
.gform_wrapper input[type="email"], 
.gform_wrapper input[type="tel"], 
.gform_wrapper input[type="number"], 
.gform_wrapper input[type="password"] {
  font-size: 12px;
  padding: 15px;
}

.gform_wrapper .ginput_complex .ginput_left, 
.gform_wrapper .ginput_complex .ginput_right, 
.gform_wrapper .ginput_complex .ginput_full {
  margin-bottom: 1em;
}

.gfield {
  margin-bottom: 1em;
}

#respond input {
  width: 50%;
}

#respond textarea {
  height: 100px;
  width: 100%;
}

#respond input[type='submit'], 
#content.two-col a.button, 
.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type="submit"] {
  background: #2e343c;
  color: #fff;
  display: inline-block;
  padding: 15px 25px;
  margin: .5em 1em .5em 0;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

#content.two-col a.button {
  padding: 15px 2.5%;
  margin: .5em 0;
  text-align: center;
  width: 44%;
}

#content.two-col a.button:last-child {
  float: right;
  margin-right: 0;
}

/* =============================================================================
   Events
   ========================================================================== */

#events-slider {
  height: 350px;
  position: relative;
}

#events-slider ul {
  height: 350px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 1040px;
}

#events-slider li section {
  background: -moz-linear-gradient(left, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0.9)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  bottom: 5%;
  position: absolute;
  right: 5%;
  text-align: center;
}

#events-slider li a {
  text-decoration: none;
}

#events-slider li section h2 {
  color: #b2021e;
  font-size: 80px;
  font-weight: normal;
  line-height: 1em;
  margin: 20px 15px 0 15px;
  padding: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#events-slider li section .event-meta {
  color: #fff;
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 10px 0;
  text-align: center;
  text-transform: uppercase;
}

#events-slider li section footer {
  background: #2e343c;
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  line-height: 1em;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

#events-slider li section footer span {
  float: left;
  margin: 10px;
}

.page-template-page-events-php #content article a {
  color: #000;
  text-decoration: none;
}

.page-template-page-events-php #content article .event-meta {
  color: #484848;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
}

.page-template-page-events-php #content article footer span {
  color: #fff;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 15px;
  float: left;
  margin: 10px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

.page-template-page-events-php #content article h2 {
  color: #000;
  font-size: 40px;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-shadow: none;
}

.page-template-page-events-php #related-posts-container {
  background: transparent;
}

.page-template-page-events-php #related-posts-container h2, .page-template-page-events-php #related-posts-container p {
  color: #000;
  text-shadow: none;
}

.page-template-page-events-php #main > h2 {
  background: url(../img/bg-stripe.png);
  color: #000;
  font-size: 1.8em;
  padding: 10px 15px;
}

/* =============================================================================
   Newsroom
   ========================================================================== */

body.page-template-page-news-php .content-block {
  margin: 0;
  width: 100%;
}

.content-block.category-video {
  position: relative;
}

.content-block.category-video .video-entry {
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  width: 100%;
}

body.page-template-page-news-php .content-block.category-video .video-entry {
  height: 160px;
}

.category-video .video-overlay {
  background: url(../img/video-overlay.png) center center no-repeat;
  display: block;
  height: 53px;
  left: 50%;
  margin: -26px 0 0 -26px;
  position: absolute;
  top: 50%;
  width: 53px;
  z-index: 10;
}

.category-video img {
  height: auto;
  width: 100%;
}

body.page-template-page-news-php #main .section-header {
  background: url(../img/bg-stripe.png);
  color: #000;
  display: inline-block;
  padding: 10px 5%;
  width: 90%;
}

body.page-template-page-news-php #main .section-header h2 {
  float: left;
  font-size: 1.8em;
  margin: 0;
  padding: 0;
}

body.page-template-page-news-php #main .section-header .view-all {
  color: #2c2c2c;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 14px;
  float: right;
  margin: 7px 0 0 0;
  text-decoration: none;
  text-transform: uppercase;
}

.page-template-page-news-php #content article footer time {
  color: #979ea7;
  line-height: 1em;
  padding: 10px;
  text-shadow: none;
}
.page-template-page-news-php #content article footer .categories {
  font-size: 30px;
  line-height: 20px;
  padding: 6px 15px 10px 15px;
}

.content-block {
  margin-bottom: 1em;
}

.content-block h3 {
  font-size: 25px;
  line-height: 1em;
  text-align: center;
  font-weight: normal;
}

.content-block h3 a {
  color: #000;
  font-weight: normal;
}

.content-block h3 a:hover {
  color: #b20c26;
}

.content-block a {
  color: #4c6b93;
  text-decoration: none;
}

.tweets {
  list-style: none;
  margin: 2em;
  padding: 0;
}

.col {
  float: left;
  margin: 0 15px;
  width: 300px;
}

#content article footer time, #content article footer .content-block-subtitle {
color: white;
float: left;
font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
font-size: 15px;
padding: 10px 15px;
text-transform: uppercase;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
}

/* Flickr */

#flickr-photostream {
  float: right;
  margin-right: 15px;
  margin-left: 15px;
  width: 630px;
  margin-top: 15px;
}

#flickr-photostream .flickrImage {
  display: block;
  float: left;
  margin-right: 17px;
  margin-bottom: 17px;
}

#photoAlbum {
  margin-top: 15px;
}

#flickr-photostream .flickrImage:last-child {
  margin-right: 0;
}

body.page-template-page-news-php .post-overlay {
  display: none;
}

body.page-template-page-news-php #main article a {
  color: #2C2C2C;
}

body.page-template-page-news-php #main article a.more-link {
  color: #fff;
}

body.page-template-page-news-php .video-section article.category-video:first-child {
  background: url(../img/videos-divider.png) left bottom repeat-x;
  padding-bottom: 15px;
  margin-bottom: 10px;
}

.blog-section-header, .video-section-header {
  margin-bottom: 1em;
}

body.page-template-page-news-php #content article .post-content {
  height: 150px;
  margin-bottom: 15px;
}

body.page-template-page-news-php #content article footer .more-link {
  padding: 5px 15px 10px 15px;
}

body.page-template-page-news-php #click-to-load {
  display: none;
}

/* =============================================================================
   Archives
   ========================================================================== */

body.archive .content-block {
  background: #242322;
  float: left;
  margin: 15px;
  width: 300px;
}

body.archive .content-block h3 {
  font-size: 31px;
  font-weight: normal;
  margin: 1em 30px .5em 30px;
  text-align: left;
}

body.archive .content-block h3 a {
  color: #fff;
  text-align: left;
  font-weight: normal;
}

body.archive .content-block .entry-content {
  color: #dccec0;
  margin: 0 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

.post-content {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.post-overlay {
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(34,33,32,0) 95%, rgba(36,35,34,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(95%,rgba(34,33,32,0)), color-stop(100%,rgba(36,35,34,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(34,33,32,0) 95%,rgba(36,35,34,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(34,33,32,0) 95%,rgba(36,35,34,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(34,33,32,0) 95%,rgba(36,35,34,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(34,33,32,0) 95%,rgba(36,35,34,1) 100%); /* W3C */
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* =============================================================================
   Timeline
   ========================================================================== */

#timeline-container {
  padding-bottom: 20px;
  position: relative;
  text-align: center;
}

.continues {
  background: url(../img/continues.png) no-repeat;
  background-size: 100% 100%;
  color: #fff;
  display: block;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 20px;
  line-height: 1em;
  padding: 15px 0 30px 0;
  text-align: center;
  width: 100%:
}

.item {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  margin: 15px 2% 5px 2%;
  float: left;
  border-top: 1px dotted #2e343c;
  min-height:50px;
  text-align:justify;
  padding: 10px;
  word-wrap:break-word;
  width: 46%;
}

/*#timeline-container.item:nth-child(even) {
  float:right;
}*/

.item time {
  color: #b20822;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 20px;
  float: left;
  width: 30px;
}

.item .item-content {
  float: left;
  width: 85%;
}

.item .item-content p {
  margin-top: 0;
}

.timeline-bar {
  margin: 0 auto;
  background-color: #b9bdc1;
  display: block;
  float: left;
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0;
  width: 2px;
  z-index: 1;
}

.page-template-page-timeline-php h3 {
  background: #9298a1;
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: normal;
  margin: 0;
  padding: 10px 0;
  position: relative;
  text-align: center;
  z-index: 2;
}

.page-template-page-timeline-php h4 {
  background: #9298a1;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 50px;
     -moz-border-radius: 50px;
          border-radius: 50px;
  color: #fff;
  display: inline-block;
  font-size: 15px;
  font-weight: normal;
  line-height: 1em;
  margin: 1em auto 0 auto;
  text-align: center;
  padding: 7px 20px;
  position: relative;
  z-index: 2;
}

.timeline {
  display: inline-block;
  width: 100%;
}

.page-template-page-timeline-php .item img {
  background: #9298a1;
  margin-bottom: 1em;
  max-width: 96%;
  padding: 2%;
}

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

#social-footer {
  background: #2e343c;
  width: 100%;
}

#social-footer .container {
  width: 560px;
}

.social-footer {
  clear: both;
  display: inline-block;
  list-style: none;
  margin: 1em 0;
  padding: 0;
  width: 100%;
}

.social-footer li {
  float: left;
}

.social-footer li a {
/*  background: url(../img/social-sprite.png) no-repeat;*/
  color: #a9bcc0;
  display: block;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  height: 27px;
  padding-left: 40px;
  position: relative;
  line-height: 28px;
  text-decoration: none;
}

.social-footer li a:before {
  background: #a9bcc0;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  color: #2e343c;
  display: block;
  font-family: 'JustVector';
  font-size: 25px;
  height: 28px;
  padding: 2px 0 0 6px;
  position: absolute;
  left: 0;
  line-height: 1em;
  top: -1px;
  width: 28px;
}

.social-footer li.facebook a:before {
  content: "F";
}

.social-footer li.twitter a:before {
  content: "t";
  padding: 4px 0 0 4px;
}

.social-footer li.youtube a:before {
  content: "y";
   padding: 2px 0 0 4px;
}

.social-footer li.flickr a:before {
  content: "n";
  padding: 7px 0 0 4px;
}

.social-footer li a:hover {
  text-decoration: none;
}

.social-footer li a:hover:before {
  background: #fff;
}

.social-footer li + li {
  margin-left: 70px;
}

#footer {
  background: #1c2025;
  display: inline-block;
  padding: 30px 0 25px 0;
  width: 100%;
}

#footer .container {
  width: 880px;
}

#footer-nav ul {
  display: inline-block;
  list-style: none;
  margin: 0;
}

.footer-nav  {
  width: 100%;
}

.footer-nav li {
  line-height: 1.2em;
}

.footer-nav a {
  color: #a9bcc0;
  font-size: .8em;
  text-decoration: none;
}

.footer-nav > li {
  float: left;
  margin-right: 8%;
}

.footer-nav > li:last-child {
  margin-right: 0;
}

.footer-nav > li > a {
  color: #fff;
  display: block;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  margin: .5em 0;
  text-transform: uppercase;
}

.footer-nav > li > ul {
  margin: .5em 0;
}

#content-info {
  background: #1c2025;
  padding: 35px 0 36px;
  width: 100%;
}

#content-info p small { font-size: 13px; }

#footer-copyright {
  background: #000;
  color: #717171;
  padding: 30px 0;
  text-align: center;
  width: 100%;
}

#footer-copyright .widget {
  font-size: .8em;
  margin: 0 auto;
  width: 35%;
}

#lower-footer-nav {
  float: right;
}

#lower-footer-nav ul {
  list-style: none;
}

#lower-footer-nav li a {
  color: #717171;
  font-family: 'TradeGothicLTStdBdCnNo20', Sans-serif;
  font-size: 1.2em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.aligncenter { display: block; margin: 0 auto; }
.alignleft { margin: 0 20px 20px 0; float: left; }
.alignright { margin: 0 0 20px 20px; float: right; }

figure.alignnone { margin-left: 0; margin-right: 0; }


/* ==|== media queries ======================================================
   iPad (768px - 1024px)
   ========================================================================== */

@media  (max-width: 1040px) {

  body,
  body.home {
    padding-top: 0;
  }

  body #banner {
    position: relative;
    top: 0;
  }

  /* Header */

  #banner .brand {
    background-size: 100% 100%;
    height: 130px;
    margin-left: -65px;
    width: 130px;
  }

  .container {
    width: 100%;
  }

  .navbar-inner {
    width: 100%;
  }

  #nav-main {
    margin: 0;
  }

  #top-bar {
    position: relative;
    top: 0;
  }

  .page-header h1 {
    width: 100%;
  }

  /* Content */

  #main,
  body.home #main {
    width: 660px;
  }

  #wrap.container {
    text-align: center;
  }

  article {
    text-align: left;
  }

  .navbar .nav > li > a {
    padding: 20px;
  }

  .navbar .nav > li > ul.sub-menu {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    width: 100%;
  }

  #top-bar-twitter {
    margin-left: 1.846153846154%;
  }

  #bar-nav {
    margin-right: 1.846153846154%;
  }

  #top-bar form {
    margin: 0 15px 0 0;
  }

  #home-slider li section {
    width: 325px;
  }

  #home-slider li section h2 {
    font-size: 2.2em;
  }

  /* Sidebar */
  .advanced_recent_posts_widget .view-all,
  #sidebar .advanced_recent_posts_widget footer .read-more {
    display: none;
  }

  /* Footer */

  #footer .container {
    width: 790px;
  }

  .footer-nav > li {
    margin-right: 6%;
  }
}

/* ==|== media queries ======================================================
   iPhone (767px)
   ========================================================================== */

@media (max-width: 767px) {

  body,
  body.home {
    -webkit-transition: top 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
       -moz-transition: top 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
        -ms-transition: top 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
         -o-transition: top 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); 
            transition: top 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000); /* easeInOutCubic */
    padding-top: 0;
  }
  
  #banner-overlay,
  #top-bar-twitter,
  #home-slider,
  #bar-nav,
  #footer {
    display: none;
  }

  /* Header */

  #top-bar {
    position: relative;
    top: 0;
  }

  body #banner,
  body.home #banner {

  }

  #home-slider {
    top: 159px;
  }

  #wrap {
    position: relative;
 
  }

  #banner .brand {
    background-size: 100% 100%;
    bottom: -30px;
    height: 120px;
    margin: -60px 0 0 -60px;
    width: 120px;
  }

  #banner {
/*    -webkit-transition: height 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
       -moz-transition: height 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
        -ms-transition: height 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
         -o-transition: height 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
            transition: height 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */*/
  }

  #nav-main {
    bottom: 0;
    -webkit-transition: height 0.35s ease;
    -moz-transition: height 0.35s ease;
    -ms-transition: height 0.35s ease;
    -o-transition: height 0.35s ease;
    transition: height 0.35s ease;
    margin: 0;
    position: relative;
  }

  .navbar-inner {
    width: 100%;
  }

  .navbar ul.nav {
    padding: 0 10px;
    float: none;
  }

  .navbar .nav > li {
    display: block;
    float: none;
  }

  .navbar .nav > li.mouseover > a {
    background: none;
  }

  .navbar .nav > li.nth-child-3 {
    margin-right: 0;
  }

  .navbar .nav > li > a {
    font-size: 2em;
    margin: .25em 0;
    padding: 0;
  }

  .navbar .nav > li > ul.sub-menu {
    background: none;
    -webkit-box-shadow: 0 0 0 #000;
       -moz-box-shadow: 0 0 0 #000;
            box-shadow: 0 0 0 #000;
    margin: 0 0 0 15px;
    min-height: 0;
    padding: 0;
    position: relative;
    left: auto;
    opacity: 1;
    width: auto;
  }

  .navbar .nav .sub-menu li {
    border-right: 0;
    float: none;
    width: auto;
  }

  .navbar .nav .sub-menu a {
    font-family: 'ff-bau-web' sans-serif;
    font-size: 1.3em;
  }

  .navbar .nav .sub-menu li .sub-menu li + li {
    margin-top: 0;
  }

  .navbar .nav .sub-menu .nav-desc {
    display: none;
  }

  .navbar .nav > li > a:hover {
    background: none;
  }

  .navbar .nav > li.mouseover > .sub-menu {
    display: none;
    opacity: 0;
  }

  .navbar .nav > li.active > .sub-menu {
    display: block;
    opacity: 1;
  }


  #show-menu {
    display: block;
  }

  .nav-collapse #nav-main {
    -webkit-transform: translate3d(0, 0, 0);
    height: 0;
    overflow: hidden;
  }

  /*#banner.nav-collapse {
    height: 75px;
  }*/

  /*#banner {
    height: 540px;
  }*/

  .mobile-top-bar {
    display: block;
  }

  #top-bar #subForm {
    background: #282828; /* Old browsers */
    background: -moz-linear-gradient(top, #282828 0%, #333333 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#282828), color-stop(100%,#333333)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #282828 0%,#333333 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #282828 0%,#333333 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #282828 0%,#333333 100%); /* IE10+ */
    background: linear-gradient(top, #282828 0%,#333333 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#282828', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
    border-bottom: 1px solid #484848;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
       -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
            box-shadow: 0 0 5px rgba(0,0,0,.5);
    padding: 0;
    width: 100%;
    z-index: 102;
    margin: 0;
    top: -55px;
    position: absolute;
  }

  /* Slider */
  #home-slider li section {
    top: 5%;
    right: 5%;
  }

  #home-slider li section h2 {
    font-size: 2.2em;
  }

  /* Content */
  .page .page-header h1 {
    font-size: 50px;
  }

  #content {
    padding: 30px 0;
  }

  .content-block {
    margin: 15px 10px;
  }

  #main,
  body.home #main {
    width: 330px;
  }

  #content.two-col #main {
    float: none;
    width: 96%;
  }

  #sidebar {
    float: none;
    width: auto;
  }

  #respond input {
    width: 100%;
  }

  .col {
    float: none;
    margin: 0 5px;
  }

  /* Single */
  .page-header {
    padding: 40px 10px 10px 10px;
  }

  .single .page-header h1,
  .page-header .share-this {
    float: none;
    width: auto;
  }

  .single .page-header h1 {
    font-size: 30px;
  }

  .page-header .share-this {
    height: 35px;
  }

  .share-this h3 {
    float: left;
    margin-right: .5em;
  }

  /* Timeline */
  .timeline-bar {
    display: none;
  }

  .item {
    border-top: 0;
    width: 100%;
  }

  .page-template-page-timeline-php #content.two-col #main {
    width: 97%;
  }

  .continues {
    margin-bottom: 40px;
  }

  #top-bar form {
    margin: 0 10px 0 0;
  }

  #flickr-photostream {
    display: inline-block;
    float: none;
    margin: 15px 2%;
    width: 90%;
  }

  #photoAlbum {
    margin-left: 7%;
  }

  /* Footer */
  #social-footer {
    text-align: center;
  }

  #social-footer .container {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    width: auto;
  }

  #social-footer li {
    text-indent: -9999px;
  }

  .social-footer li + li {
    margin-left: 35px;
  }

  .social-footer li a::before {
    text-indent: 0;
  }

  #footer .container {
    width: 100%;
  }

  #footer-nav {
    margin: 0 10%;
  }

  .footer-nav > li {
    float: none;
    margin-bottom: 5%;
    margin-right: 0;
  }

  #footer-nav .sub-menu {
    margin-left: 5%;
  }

  #footer-copyright .widget {
    width: auto;
  }

}

/* ==|== non-semantic helper classes ======================================== */

.ir { border: 0; font: 0/0 a; text-shadow: none; color: transparent; background-color: transparent; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles ======================================================= */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}