/**
 * Article Lists and Pages
 */

/******************************************************************************************************************************//*
* General styling
********************************************************************************************************************************/

.node .field--name-body ul,
.node .paragraphs-items ul,
.node .field--name-body ol,
.node .paragraphs-items ol {
  padding-left: 2rem;
}
.node .paragraphs-items .paragraph--type--image-slideshow ul,
.node .paragraphs-items .paragraph--type--image-slideshow ol {
  padding-left: 0;
}
.field--name-field-gsr-section .field__item,
.field--name-field-ncr-section .field__item,
.section-subsection-slug .field__item {
  float: left;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.field--name-field-gsr-section .field__item:before,
.field--name-field-ncr-section .field__item:before,
.section-subsection-slug .field__item:before {
  content: " \00A0\00A0\00A0\002F\00A0\00A0"; /* Slash as channel divider */
}
.field--name-field-gsr-section .field__item:first-child:before,
.field--name-field-ncr-section .field__item:first-child:before,
.section-subsection-slug .field__item:first-child:before {
  display: none; /* Remove slash for first item */
}
.feature-series-name,
.printversion {
  margin: 1rem 0 0 0;
  padding: 1rem 0 0 0;
  font-style: italic;
}
.feature-series-name:before,
.printversion:before {
  display: block;
  border-top: 1px solid #aaa;
  width: 2rem;
  height: 0;
  content: "";
  transform: translateY(0.75rem);
  margin-left: -3rem;
}
.field--name-field-byline {
  clear: left;
}
.is-article .author-profile {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 300;
}
.is-article .author-profile h3 {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}
.is-article .dropcap > p:first-child:first-letter {
  color: black;
  float: left;
  font-size: 3rem;
  font-weight: 700;
  line-height: 3rem;
  margin-bottom: 0;
  padding: 4px 10px 0 3px;
}
body[class*=" page-opinion-francis"] .dropcap > p:first-child:first-letter {
  float: none;
  font-size: 1rem;
  font-weight: 300;
  line-height: 150%;
  margin-bottom: inherit;
  padding: inherit;
}

/*****************************************************************************************************************************//*
* Paragraphs items
********************************************************************************************************************************/

/* Images. */
.is-article .field--name-field-cut-line {
  color: #666666;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  line-height: 150%;
  margin-bottom: 2rem;
}
.paragraph--type--full-width-image img,
.field--name-field-lead-media-image img {
  width: 100%;
}
.paragraph.paragraph--type--one-third-width-image,
.paragraph.paragraph--type--right-floated-image {
  float: none;
  margin: 0;
}

/* Pull quotes */
.paragraph--type--pull-quote {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color: #6A6A6A;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-align: center;
}
.paragraph--type--pull-quote p {
  font-size: 1.25rem;
}
.paragraph--type--pull-quote .tweet_this {
  margin: 0;
  vertical-align: middle;
}
.paragraph--type--pull-quote .tweet_this a {
  color: #21406e;
  vertical-align: middle;
  font-size: .75rem;
  text-transform: uppercase;
}
.paragraph--type--pull-quote .tweet_this a::before {
  display: inline-block;
  width: 20px;
  height: 20px;
  content: "";
  background-repeat: no-repeat;
  margin-right: 10px;
  vertical-align: middle;
}

/* Read-next suggestion */
.paragraph--type--read-next-suggestion {
  background-color: #f2f2f2;
  margin: 1.875rem 0;
  padding: 1.875rem;
  border-left: medium solid #00A3D9;
}

/* File Attachment Style */
.paragraph--type--file-attachment {
  background-color: #f2f2f2;
  margin: 1.875rem 0;
  padding: 1.875rem;
  border-left: medium solid #00A3D9;
}

/* Full Width Image */
.paragraph--type--full-width-image {
  margin-left: -5%;
  width: 110%;
}
.paragraph--type--full-width-image .field--name-field-cut-line {
  margin: 0 auto 1rem auto;
  width: 91%;
  border-bottom: 1px dotted #aaa;
}

/* Book Review Style */
.paragraph--type--book-review {
  margin-bottom: 1.5rem;
}
.paragraph--type--book-review .field--name-field-media-image img {
  width: 14rem;
  margin-right: 1.5rem;
}
.paragraph--type--book-review .media--type-image {
  float: left;
}
.paragraph--type--book-review .field--name-field-cut-line {
  font-size: .75rem;
}
.paragraph--type--book-review .field--name-field-book-review-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.paragraph--type--book-review .field--name-field-book-review-author {
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Infographic */
.paragraph--type--infographic {
  width: 35%;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.paragraph--type--infographic p {
  font-size: .8rem;
  text-align: center;
}

/* 3rd Party Media */
.paragraph--type--media-third-party- {
  padding: 1rem 0;
}

/* Sidebar content */
.paragraph--type--sidebar-content {
  background-color: #f2f2f2;
  margin-left: -1rem;
  padding: 1rem;
  margin-right: 1rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  border-left: medium solid #00A3D9;
}
.paragraph--type--sidebar-content h3 {
  margin-bottom: 1rem;
  margin-top: 0;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
}

/* Editor's Note */
.is-article .field--name-field-editors-note-text {
  font-style: italic;
  border-top: thin solid #707070;
  border-bottom: thin solid #707070;
  margin-bottom: 1rem;
}
.is-article .field--name-field-editors-note-text p {
  margin-top: 1rem;
}

/*****************************************************************************************************************************//*
* Author Sidebar
********************************************************************************************************************************/

.is-article .author-profile {
  width: 100%;
}
.is-article .author-profile .author-wrapper {
  margin-bottom: 0.5rem;
}
.is-article .author-profile p {
  margin-bottom: 0;
}
.is-article .author-profile .name {
  display: inline-block;
  width: 50%;
  margin-top: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 0;
  line-height: 1rem;
  border-bottom: 1px solid black;
}
.is-article .author-profile img {
  float: left;
  margin-right: .5rem;
  margin-bottom: 1rem;
}
.is-article .paragraphs-items {
  clear: right;
}
.is-article img.author-picture {
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
}
.is-article .author-profile {
  font-size: .8rem;
}
.is-article .join-conversation {
  margin-top: 1rem;
  margin-bottom: 1rem;
  clear: both;
  font-size: .8rem;
  padding-bottom: 1rem;
  border-bottom: 1px dotted #aaa;
}
.is-article .join-conversation p {
  line-height: 1.2rem;
}
.is-article .join-conversation h3 {
  font-size: .8rem;
  font-weight: 700;
}
.is-article .author-profile .twitter,
.is-article .author-profile .author-email {
  display: none;
}

/*****************************************************************************************************************************//*
* Dateline and Share This Social Buttons
********************************************************************************************************************************/

.is-article .dateline {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: .8rem;
  float: left;
}

.social-share {
  float: right;
}

.social-share:before, .social-share:after {
  content: "";
  display: table;
}

.social-share:after {
  clear: both;
}

.social-share a {
  float: left;
  text-indent: -9999px;
  display: block;
  height: 25px;
  width: 25px;
  background-size: 25px;
  background-repeat: no-repeat;
  margin-left: 15px;
  margin-bottom: 1.5rem;
}

/*****************************************************************************************************************************//*
* Ad styles
********************************************************************************************************************************/

.block-dfp,
.paragraph--type--advertisement {
  text-align: center;
}
.paragraph--type--advertisement p {
  font-size: .6rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/*****************************************************************************************************************************//*
* Right sidebar
********************************************************************************************************************************/

.block.stories-readers-like-sidebar {
  background-color: #f2f2f2;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
}
.block.stories-readers-like-sidebar,
.block.related-content-sidebar {
  margin: 1.875rem -4.5%;
  padding: 2rem 0;
}
.stories-readers-like-sidebar h2,
.related-content-sidebar h2 {
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight: 100;
  margin: 0 5% 1rem;
}
.stories-readers-like-sidebar h2::before,
.related-content-sidebar h2::before {
  display: inline-block;
  width: 2rem;
  content: "";
  margin-right: 0.75rem;
  transform: translateY(-.5rem);
}
.stories-readers-like-sidebar .view {
  padding: 0 5%;
}
.stories-readers-like-sidebar .views-field-title,
.ncr-prefooter-recirculation .views-field-title {
  font-size: 1.2rem;
  font-weight: 400;
}
.stories-readers-like-sidebar a {
  color: #000;
}
#block-views-block-latest-news-block-1,
.stories-readers-like-sidebar .views-field-counter {
  clear: both;
}

/******************************************************************************************************************************//*
* Media queries
********************************************************************************************************************************/

@media all and (min-width: 480px) {
  .paragraph.paragraph--type--one-third-width-image {
    margin-left: 1em;
  }
  .paragraph.paragraph--type--right-floated-image {
    float: right;
    margin: 0 0 1em 1em;
  }
  .stories-readers-like-sidebar .views-field-field-lead-media-image {
    display: none;
  }
}

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

  /**
   * Basic widths
   */
  .is-article .with-byline .feature-series-name,
  .is-article .with-byline .printversion,
  .is-article .with-byline .dateline-share,
  .is-article .with-byline .paragraphs-items,
  .is-article .with-byline.node .field--name-body,
  .is-article .with-byline #block-dfptagcontent4 {
    float: right;
    clear: right;
    width: 75%;
  }
  .is-article .with-byline .author-profile {
    float: left;
    width: 22%;
  }
  .is-article .author-profile .name {
    width: 100%;
    margin-top: 0;
  }

  /**
   * Responsive paragraph styles
   */
  .paragraph--type--full-width-image {
    margin-left: -33%;
    width: 133%;
  }
  .paragraph--type--full-width-image .field--name-field-cut-line {
    width: 100%;
    margin-bottom: 0;
    border-bottom: none;
  }
  .paragraph--type--sidebar-content {
    float: left;
    max-width: 50%;
  }
  .paragraph--type--image-left-sidebar {
    margin-left: -33%;
    width: 29%;
    float: left;
  }

  /**
   * Misc.
   */
  .is-article .author-profile img {
    float: none;
    margin-bottom: 0;
  }
  .is-article .author-profile .twitter,
  .is-article .author-profile .author-email {
    display: block;
  }
  .is-article .join-conversation {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media all and (min-width: 1000px) {
  .stories-readers-like-sidebar .views-field-field-lead-media-image {
    display: block;
  }
  .block.stories-readers-like-sidebar {
    background-color: transparent;
    margin: 1.875rem 0;
    padding: 0 0 1.5rem;
  }
  .stories-readers-like-sidebar .view {
    padding: 0;
  }
  .stories-readers-like-sidebar h2,
  .related-content-sidebar h2 {
    margin: 0 0 1rem;
  }
  .stories-readers-like-sidebar .views-field-title,
  .ncr-prefooter-recirculation .views-field-title {
    font-size: 1.1rem;
  }
}

@media all and (min-width: 1250px) {
  .stories-readers-like-sidebar .views-field-title {
    font-size: 1.3rem;
  }
  .related-content-sidebar {
    font-size: 1.2rem;
  }
  .block.stories-readers-like-sidebar {
    background-color: #f2f2f2;
    padding: 1.5rem 0;
  }
  .stories-readers-like-sidebar h2,
  .related-content-sidebar h2 {
    font-size: 1.4rem;
    padding: 0 5%;
  }
  .stories-readers-like-sidebar .view {
    padding: 0 5%;
  }
}
