/* ===== Main Element Overrides ===== */

html {
  height: 100%;
}

html, html a {
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

body {
  background-color: #fff;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  min-width: 320px;
  padding-top: 60px;
  height: 100%;
  text-rendering: optimizelegibility;
}
body body {
  margin: 0 !important;
}

.img-responsive {
  width: 100%;
}

h2, #bodyContent h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

h3, #bodyContent h3, #mainContent h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

h3#tagTitle, #bodyContent h3#tagTitle, #mainContent h3#tagTitle {
  margin-top: 1px;
  margin-bottom: 0;
}

h4, #bodyContent h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

h2 a, h3 a, h4 a {
  color: #e85a37;
  word-wrap: normal;
  word-break: normal;
}

h2 a:hover, h2 a:active, h2 a:focus, h3 a:hover, h3 a:active, h3 a:focus {
  color: #e85a37;
  opacity: 0.8;
  text-decoration: none;
}

ol, ul {
  list-style: square;
  padding-left: 15px;
}

.btn-default {
  border-width: 1px;
}

.btn-default:hover {
  background-color: #fcfafa;
}


/* ===== Main Layout ===== */

.container-fluid {
  background: #fff;
  max-width: 1600px;
  overflow: hidden;
}

.hub-back-link {
  margin-top: 10px;
}

.content-wrapper {
  margin-right: 315px;
  overflow: visible;
  position: relative;
}

@media (max-width: 767px) {
  .content-wrapper {
    margin-right: 0;
  }
}

.left-column {
  float: left;
  padding: 0 15px 30px 0;
  width: 100%;
}

@media (max-width: 767px) {
  .left-column {
    padding: 0 0 30px 0;
  }
}

.right-column {
  clear: none;
  float: left;
  margin: 0 -100% 30px 15px;
  width: 300px;
}

@media (max-width: 767px) {
  .right-column {
    clear: both;
    float: left;
    margin: 0 0 30px 0;
    width: 100%;
  }
}

footer {
  background-color: #fa9271;
  color: #fff;
  margin: 0 -15px;
  padding: 15px;
}

/* ===== Layout Details ===== */

/* --- Nav --- */

.navbar-brand svg rect, .navbar .search-o-x .icon-search-open path, .navbar .search-o-x .icon-search-close path {
  opacity: .9;
}

.navbar-brand:hover svg rect, .navbar .search-o-x:hover .icon-search-open path, .navbar .search-o-x:hover .icon-search-close path {
  opacity: 1;
}

.navbar-default .navbar-toggle .icon-bar,
#hdUserName,
.navbar-user li .itemLink,
#hdAdvTitle, #hdAdvQuestion,
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a span,
.navbar-nav > li > ul > li > a {
  opacity: .9;
}

.navbar-default .navbar-toggle:hover .icon-bar,
#hdUserName:hover,
.navbar-user li .itemLink:hover,
#hdAdvTitle:hover, #hdAdvQuestion:hover,
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:hover span,
.navbar-nav > li > ul > li > a:hover {
  opacity: 1;
}

form.search input.form-submit {
  border-width: 1px;
  border-style: solid;
}

form.search input.form-submit:hover {
  background-color: rgba(255,255,255,.25);
}

ol#hdUserNav, ul#hdUserNav {
  list-style: none;
  padding-left: 0;
}

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

.navbar-default .navbar-nav > li > a:hover span {
  margin-left: 2px;
}

.navbar-collapse .divider {
  opacity: .5;
}

/* --- Showacase Image Area --- */

.hub-showcase {
  margin-bottom: 30px;
  position: relative;
}

.hub-showcase h1 {
  font-size: 48px;
  font-weight: 300;
  left: 10%;
  position: absolute;
  text-shadow: 0 1px 2px rgba(255,255,255,1);
  top: 47%;
  -webkit-transform: translateY(-47%);
  -ms-transform: translateY(-47%);
  transform: translateY(-47%);
  width: 40%;
}

@media (max-width: 380px) {
  .hub-showcase h1 {
    font-size: 20px;
    left: 15px;
    width: 60%;
  }
}

@media (min-width: 381px) and (max-width: 767px) {
  .hub-showcase h1 {
    font-size: 24px;
    left: 15px;
    width: 60%;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .hub-showcase h1 {
    font-size: 30px;
    left: 15px;
    width: 50%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hub-showcase h1 {
    font-size: 36px;
  }
}

.hub-social {
  background: rgba(255, 255, 255, 0.8);
  bottom: 0;
  left: 0;
  padding: 10px 15px 7px 15px;
  position: absolute;
  right: 0;
  width: 100%;
}

/* --- Featured Content Carousel --- */

.carousel {
  margin: 0 0 40px 0;
}

.carousel-indicators {
  bottom: auto;
  margin-bottom: 0;
  top: 5px;
}

.carousel-indicators li {
  border: 1px solid #e85a37;
  opacity: 0.5;
}

.carousel-indicators .active {
  background-color: #e85a37;
}

a.carousel-control, a.carousel-control:link, a.carousel-control:visited {
  color: #fff;
}

.feature .carousel-caption {
  background: rgba(255, 255, 255, 0.8);
  bottom: 0;
  left: 0;
  padding: 20px;
  right: 0;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  width: 100%;
  z-index: 10;
}

.feature .carousel-caption h2 {
  font-size: 48px;
  font-weight: 300;
  margin-top: 0px;
  padding: 0;
}

.feature .carousel-caption h2 a, .feature .carousel-caption h2 a:hover, .feature .carousel-caption h2 a:active {
  text-decoration: none;
}

.feature .carousel-caption .content-author {
  color: #666669;
  font-size: 14px;
  font-style: italic;
}

@media (max-width: 991px) {
  .feature .carousel-caption {
    padding: 10px;
  }
  .feature .carousel-caption h2 {
    font-size: 24px;
    margin-bottom: 0;
  }
  .feature .carousel-caption .content-author {
    display: none;
  }
}

@media (max-width: 480px) {
  .feature .carousel-caption h2 {
    font-size: 22px;
    font-weight: 600;
  }
}

/* --- Content Summaries --- */

article {
  margin-bottom: 40px;
}

.image-link {
  position: relative;
  padding-top: 56.25%;
  display: block;
  overflow: hidden;
}

.content-image {
  position: absolute;
  top: 0;
}

article {
  font-size: 16px;
}

article p {
  font-size: 16px;
  margin-top: 20px;
}

article h3 {
  font-size: 36px;
  font-weight: 400;
}

article .content-author {
  font-style: italic;
}

article:hover h3 a {
  opacity: 0.8;
}

article:hover img {
  opacity: 0.8;
}

/* --- Associated Nodes --- */

h1#postTitle {
  color: #e85a37;
}

#bodyContent {
  font-size: 16px;
}

#bodyContent p {
  font-size: 16px;
  line-height: 1.5em;
  margin: 0 0 20px;
}

.hub-link, a.hub-link {
  border: solid 1px #e85a37;
  clear: both;
  color: #e85a37;
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 10px;
  text-align: center;
}

.hub-link:hover, a.hub-link:hover {
  background-color: #e85a37;
  color: #fff;
  text-decoration: none;
}

#relatedPosts > div:hover .itemLink, #relatedPosts > div:active .itemLink {
  color: #e85a37;
  opacity: 1;
}

#relatedPosts a.itemLink {
  color: #e85a37;
  opacity: 0.8;
}

#relatedPosts a.itemLink:hover {
  color: #e85a37;
  opacity: 1;
}

.author {
  font-size: 100%;
}

#tagTitle {
  margin-top: 0;
}

/* --- Right rail --- */
.right-column .block, #bodyContent .block { /* Also styles block when displayed associated content body area */
  background: none;
  background-color: #ddd;
  border: none;
  margin-bottom: 30px;
  padding: 15px;
}

.right-column #sticky-wrap > .block:last-of-type {
  margin-bottom: 0;
}

.right-column .block h2, #bodyContent .block h2 {
  border-bottom: 1px solid #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
  padding-bottom: 5px;
  text-transform: uppercase;
}

#hubRelatedContent {
  margin-top: 30px;
}

#hubRelatedContent h3 {
  font-size: 24px;
  margin: 10px 0 30px 0;
}

#hubRelatedContent h3 a {
  color: #e85a37;
}

.right-column .block .hub-link, .right-column .block a.hub-link {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .right-column #htmlBlock2 {
    width: 300px;
  }
}

/* --- Footer --- */
footer .row {
  margin-bottom: 20px;
}

footer h3 {
  border-bottom: 1px solid #fff;
  font-size: 18px;
  font-weight: 300;
  padding-bottom: 5px;
  text-transform: uppercase;
}

footer ul {
  margin: 0;
  padding: 0;
}

footer ul li {
  list-style: none;
}

footer li a, footer li a:link, footer li a:visited, footer li a:hover, footer li a:active {
  text-decoration: none;
}

footer li a:hover, footer li a:active {
  opacity: 0.8;
}

footer span {
  display: block;
  font-size: 12px;
  text-align: center;
}

/* ===== Ads ===== */

#adTop {
  margin-top: 15px;
}

#adRightTop {
  margin-bottom: 30px;
}

body.responsive .relatedContentAd #div-gpt-ad-1429823341605-3 {
  background: url(/sites/all/themes/blackwell/images/ad-label-horz.gif) no-repeat 0 bottom;
  margin: 0;
}

#adHubInstream {
  background-color: #eeeeee;
  border:#ddd solid 1px;
  clear: both;
  margin: 0 15px 40px 15px;
  text-align: center;
}

.adHubInstreamHtml {
  font-size: 12px;
  height: 150px;
  overflow: auto;
  padding: 15px;
  text-align: left;
}

#div-gpt-ad-1429823341605-10 {
  background: url(/sites/all/themes/blackwell/images/ad-label-horz.gif) no-repeat 0 bottom;
  display: inline-block;
  margin: 15px 0 9px 0;
  overflow: hidden;
  padding:0 0 6px 0;
}

/* ===== Admin ===== */
#adminNav h2 { font-size: 18px; margin-top: 5px; }

#alertTabs {
  margin: 10px 0 0 0;
}

ul.primary {
  border-collapse: collapse;
  padding: 0 0 0 1em;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  height: auto;
  line-height: normal;
  border-bottom: #eee 1px solid;
}

ul.primary li {
  display: inline;
}

ul.primary li a {
  background-color: #efefef;
  border-color: #eee;
  border-radius: 4px 4px 0 0;
  border-width: 1px;
  border-style: solid solid none solid;
  float: left;
  height: auto;
  margin-right: 0.5em;
  padding: 0 1em;
  text-decoration: none;
}

ul.primary li.active a {
  background-color: #fff;
  border: 1px solid #eee;
  border-bottom: #fff 1px solid;
  margin-bottom: -1px;
}

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

#edit-body-wrapper textarea {
  height: 140px;
}

#edit-field-instream-ad-img-0-ahah-wrapper, #edit-field-instream-ad-url-0-value-wrapper {
  display: none;
}