/******************************************************************************************************************************//*
 * Site layout.
 * Begin with the main elements: #page, #header, #navigation, #main.
*********************************************************************************************************************************/

#page {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  float: left;
  overflow: hidden;
  background: #fff;
}

#header,
#navigation,
#main,
#bottom {
  clear: both;
  *zoom: 1;
}
#header:before, #header:after,
#navigation:before,
#navigation:after,
#main:before,
#main:after,
#bottom:before,
#bottom:after {
  content: "";
  display: table;
}
#header:after,
#navigation:after,
#main:after,
#bottom:after {
  clear: both;
}

.not-front .main,
.constrained {
  max-width: 1250px;
  width: 90%;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .not-front .main,
  .constrained {
    width: 92%;
  }
}
@media (min-width: 800px) {
  .not-front .main,
  .constrained {
    width: 95%;
  }
}

#header .inner {
  width: 100%;
}

#main {
  background: #fff;
}
#main #messages_tabs_area {
  background-color: #fff;
  padding: 0 3%;
  *zoom: 1;
}
#main #messages_tabs_area:before, #main #messages_tabs_area:after {
  content: "";
  display: table;
}
#main #messages_tabs_area:after {
  clear: both;
}

/**
 * Titles.
 */
.node__title,
.block__title,
.comments__title,
.comments__form-title,
.comment__title {
  /* Comment title. */
  margin: 0;
}

/**
 * Blocks.
 */
/* Block wrapper. */
.block {
  margin-bottom: 0;
}

/******************************************************************************************************************************//*
* The content region begins as a full-width item on small screens, then narrows to allow
* one sidebar (if there is one) on medium screens, and finally to allow two sidebars
* (if there are two) on largest screen sizes.
********************************************************************************************************************************/

#content {
  *zoom: 1;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
  background: #fff;
  width: 100%;
}
#content .breadcrumb {
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
  font-size: 0.733333333em;
  padding: 0 0 24px 0;
  text-transform: uppercase;
  line-height: 150%;
}
#content .breadcrumb a {
  padding: 0.25em 0;
}
#content:before, #content:after {
  content: "";
  display: table;
}
#content:after {
  clear: both;
}
.narrow-layout #content {
  max-width: 740px;
  margin: 0 auto;
}
.not-front #content {
  padding-bottom: 2em;
  position: relative;
}
@media (min-width: 800px) {
  .not-front #content {
    padding-bottom: 4em;
  }
}

#content-bottom {
  padding-bottom: 2em;
}
@media (min-width: 800px) {
  #content-bottom {
    padding-bottom: 4em;
  }
}

.content-inner {
  margin: 1.75em 0 0 0;
  *zoom: 1;
}
.content-inner:before,
.content-inner:after {
  content: "";
  display: table;
}
.content-inner:after {
  clear: both;
}
@media (min-width: 930px) {
  .content-inner {
    margin-top: 2.5em;
  }
}
@media (min-width: 800px) {
  .no-sidebars .content-inner {
    width: 100%;
  }
}

/******************************************************************************************************************************//*
* We have two sidebars possible, both to the right of the content on large screens
* (the "secondary", or close right, and "tertiary", or far right). On smaller screens,
* the sidebars will either be below the content, or at least the tertiary sidebar will.
********************************************************************************************************************************/

.sidebar {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  float: left;
}
.sidebar .block {
  border: 1px solid #fff;
  border-left: none;
  width: 100%;
  padding: 1em 5%;
  box-sizing: border-box;
  *zoom: 1;
}
.sidebar .block:before,
.sidebar .block:after {
  content: "";
  display: table;
}
.sidebar .block:after {
  clear: both;
}
.sidebar .block p {
  margin-top: 0;
}

.stories-readers-like-sidebar {
  background-color: #f2f2f2;
  margin: 1.875rem 0;
  padding: 1.875rem 0;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
}

.related-content-sidebar {
  margin: 1.875rem 0;
  padding: 1.875rem 0;
}

.stories-readers-like-sidebar h2,
.related-content-sidebar h2 {
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #480571;
  font-weight: 100;
  margin: 0 0 1rem -2rem;
}

.stories-readers-like-sidebar h2::before,
.related-content-sidebar h2::before {
  display: inline-block;
  width: 2.5rem;
  content: "";
  border-top: 1px solid #480571;
  margin-right: 1rem;
  margin-left: -1rem;
  transform: translateY(-.5rem);
}

.stories-readers-like-sidebar .views-row {
  border-top: thin solid #707070;
  margin: 10px 5%;
  padding: 10px 0;
  padding-top: 20px;
}

.stories-readers-like-sidebar a {
  color: #000;
}

.related-content-sidebar .views-row {
  border-bottom: thin solid #bbb;
  margin: 10px 0;
  padding: 0 10px 10px;
}

#block-views-block-latest-news-block-1 {
  clear: both;
}

.stories-readers-like-sidebar .views-field-counter {
  color: #480571;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 0.3em 0 0.2em;
  clear: both;
}

/******************************************************************************************************************************//*
* Views
********************************************************************************************************************************/

.views-row.stacked {
  padding: 1.25em 0;
  border-top: 1px solid #ddd;
  clear: both;
}

/******************************************************************************************************************************//*
* Set up the breakpoint, starting with mobile first. This will help prevent unexpected
* results when, later, we use sass_media_query_combiner. It combines media queries in
* the order it finds them, so we're doing it mobile-first.
********************************************************************************************************************************/

#page,
.region-sidebar-first,
.region-sidebar-floating,
.region-sidebar-floating.sticky .block,
.sidebar-first #content,
.two-sidebars #content {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#page {
  width: 100%;
  float: left;
}

@media all and (min-width: 800px) {

  .region-footer-first {
    float: left;
    width: 45%;
  }
  .region-footer-second {
    float: right;
    width: 45%;
  }
}
@media all and (min-width: 930px) {
  .region-footer-first {
    width: 30%;
  }
  .region-footer-second {
    width: 65%;
  }
}
@media all and (min-width: 1000px) {
  .region-sidebar-first,
  .region-sidebar-floating {
    width: 25%;
    float: right;
    padding-top: 1rem;
  }
  .sidebar-first #content,
  .two-sidebars #content {
    width: 68%;
    float: left;
  }
}
@media all and (min-width: 1100px) {
  .two-sidebars #content {
    width: 58.33333%;
    float: left;
  }
}

@media all and (min-width: 1250px) {
  .region-footer-first {
    width: 22%;
  }
  .region-footer-second {
    width: 74%;
  }
}

/**
 * Sidebar Ads
 */

#block-dfptagcontent1,
#block-dfptagcontent2-2 {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}
