/**
 * Article Lists and Pages
 */

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

.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-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-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;
  padding-top: 4px;
  padding-right: 10px;
  padding-left: 3px;
  margin-bottom: 0;
  padding-bottom: 0;
}

body[class*=" page-opinion-francis"] .dropcap > p:first-child:first-letter {
  float: none;
  font-size: 1rem;
  font-weight: 300;
  line-height: 150%;
  padding-top: inherit;
  padding-right: inherit;
  padding-left: inherit;
  margin-bottom: inherit;
  padding-bottom: inherit;

}


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

.is-article .field--name-field-cut-line {
  color: #666666;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  size: 0.75em;
  line-height: 150%;
  margin-bottom: 2rem;
}

.paragraph--type--full-width-image img,
.field--name-field-lead-media-image img {
  width: 100%;
}

.paragraph--type--one-third-width-image {
  margin-left: 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-image: url(../../images/share-circle-twitter.svg);
  background-repeat: no-repeat;
  margin-right: 10px;
  vertical-align: middle;

}

.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;
}


.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;
}


.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;
}

.is-article .join-conversation h3 a {
  color: #00A3D9;
}

/******************************************************************************************************************************//*
* 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;
}

.social-share a.facebook {
  background-image: url(../../images/share-circle-facebook.svg);
}

.social-share a.twitter {
  background-image: url(../../images/share-circle-twitter.svg);
}

.social-share a.email {
  background-image: url(../../images/share-circle-email.svg);
}

.social-share a.print {
  background-image: url(../../images/share-circle-print-large.svg);
}

/*****************************************************************************************************************************
* Printer icon
******************************************************************************************************************************/
/* QUIQUI TEST CODE */
.print__link.print__link--pdf {
  background-image: url(http://d9.ncronline.org/themes/custom/ncr/images/share-circle-print.svg);
  background-repeat: no-repeat;
  background-color: pink;
}
a.print__link.print__link--pdf {
  text-indent: -9999px;
  display: block;
  height: 25px;
  width: 25px;
  background-size: 25px;
  position: absolute;
  right: 0;
}



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

.paragraph--type--advertisement {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}


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

#google_image_div {
  margin-top: 1rem;
}

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

.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: #00A3D9;
  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 #00A3D9;
  margin-right: 1rem;
  margin-left: -1rem;
  transform: translateY(-.5rem);
}

.stories-readers-like-sidebar .view {
  padding: 0 3%;
}

.stories-readers-like-sidebar .views-row {
  border-top: thin solid #707070;
  margin: 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: #00A3D9;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 0.3em 0 0.2em;
  clear: both;
}

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

@media all and (min-width: 480px) {
  .paragraph--type--one-third-width-image {
    margin-left: 1em;
  }
  .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 .author-profile {
    float: left;
    width: 22%;
  }
  .is-article .feature-series-name,
  .is-article .printversion,
  .is-article .dateline-share,
  .is-article .paragraphs-items,
  .is-article .node .field--name-body {
    float: right;
    clear: right;
    width: 75%;
  }

  .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;
  }
}

@media all and (min-width: 1250px) {
  .stories-readers-like-sidebar {
    font-size: 1.3rem;
  }
  .related-content-sidebar {
    font-size: 1.2rem;
  }
}
