/* dark theme */
.theme-dark.special-report-article,
.theme-dark.special-report-article .masthead-container.full-bleed .caption,
.theme-dark.special-report-article .masthead-caption,
.theme-dark.special-report-article .list-group-item {
  background-color: #000000 !important;
}
.theme-dark.theme-dark.special-report-article .dek,
.theme-dark .byline-container p,
.theme-dark .blockquote p.quote,
.theme-dark a.article-link,
.theme-dark h6.series-kicker,
.theme-dark h1.series-title,
.theme-dark .popup-gallery .media-items-container .media-item .caption {
  color: #ffffff !important;
}
.theme-dark .article-paragraph.published {
  color: #666666 !important;
}
.theme-dark .caption,
.theme-dark .masthead-caption,
.theme-dark.special-report-article .blockquote-footer {
  color: #999999 !important;
}

.bg-dark {
  background-color: #000000 !important;
}

.logo-container {
  overflow: hidden;
  width: 170px;
}

@media (max-width: 576px) {
  .logo-container {
    width: 120px;
  }
}

.series-title {
  font-weight: 300;
}

.title {
  display: none;
}

@media (min-height: 400px) and (min-width: 768px), @media (min-width: 992px) {
  .masthead-container.background-based-masthead.transparent-title-background .over-image-masthead-title-container {
    background: linear-gradient(transparent 0px, rgba(0, 0, 0, 0.6) 100%, rgba(0, 0, 0, 0) 33%);
    background-color: rgba(0, 0, 0, 0);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
  }
}

@media (min-width: 996px) {
  .masthead-container.full-bleed .masthead-title-container {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .special-report .series-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

/*
----prevent masthead image cropping----- 
    .masthead-container.background-based-masthead
    .image-container-x
    .image-container-y
    .masthead-image {
        background-position-y: 100%;
    }
    .masthead-container.background-based-masthead.full-bleed .image-container-x {
        min-height: calc(64vw + 58px);
    }
*/

/* mobile headline display */
@media (max-width: 767.9999px) {
  .masthead-title-container.under-image-masthead-title-container {
    background: inherit !important;
    margin-top: 1.5rem;
  }
  .series-title {
    text-align: left;
    color: #333333 !important;
  }
  .series-kicker {
    text-align: left;
    color: #999999 !important;
  }
  body.centered-rail .dek {
    text-align: left !important;
    color: #666666 !important;
    margin-top: 1.5rem;
  }
  .masthead-container.background-based-masthead {
    margin-bottom: -2rem;
  }
}

/* The Wider Image button */

.masthead-container.full-bleed .series-kicker,
.theme-dark h6.series-kicker,
h6.series-kicker,
.masthead-container.background-based-masthead.positioned-title-container .over-image-masthead-title-container .series-kicker {
  border-radius: 50px;
  border: 1px solid #fff;
  display: inline-block;
  flex: none;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  margin-bottom: 0.6rem;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 16px;
  text-transform: none;
  transition: 0.5s background;
  width: auto !important;
}
h6.series-kicker:hover,
.theme-dark h6.series-kicker:hover {
  background: #fff;
  color: #000;
  text-shadow: none;
}
h6.series-kicker:hover a,
.theme-dark h6.series-kicker:hover a {
  color: #000;
}
h6.series-kicker a,
.theme-dark h6.series-kicker a {
  color: #fff;
  background: none;
  transition: 0.5s color;
}
h6.series-kicker a:hover,
.theme-dark h6.series-kicker a:hover {
  text-decoration: none;
}

/* End  Wider Image button */

#dotcom-header .logo-container {
  width: auto;
}

/* reorder caption structure for mobile */
@media (max-width: 767.9999px) {
  .masthead-container {
    display: flex;
    flex-direction: column;
  }
  .masthead-container div.image-container-x {
    order: 1;
  }
  .masthead-container div.masthead-caption {
    order: 2;
  }
  .masthead-container div.masthead-title-container {
    order: 3;
  }
}

a.article-link {
  color: #333333;
  border-bottom: 1px dotted;
  padding-bottom: 1px;
}
a:hover.article-link {
  color: #000000;
  border-bottom: 1px solid;
  text-decoration: none;
  padding-bottom: 1px;
}

/* byline container switch */
.meta-container {
  display: none;
}
.byline-container {
  margin: 3.5rem 0 3.5rem 0;
  text-align: center;
}
@media (max-width: 767.9999px) {
  .byline-container {
    text-align: left;
    margin-left: -1rem;
  }
}
.byline-container p {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  margin: 0.25rem;
}
.byline-container p.published {
  color: #bbbbbb;
}

.dropcap:first-letter {
  color: #999999;
  float: left;
  font-family: Knowledge, "Source Sans Pro", Arial, sans-serif;
  font-weight: 300;
  font-size: 103px;
  line-height: 73px;
  padding-top: 5px;
  padding-right: 3px;
  padding-left: 0px;
}

.article-paragraph {
  font-family: Knowledge, Source Sans Pro, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
}

.article-subhead {
  margin-top: 2.6rem;
  margin-bottom: 1.6rem;
  font-size: 2rem;
  line-height: 1.1;
  text-align: center !important;
  color: #999999 !important;
}
@media (max-width: 767.9999px) {
  .article-subhead {
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .sidebar.small .sidebar-title {
    padding-top: 0rem;
    border-top: 0rem;
  }
}

@media (max-width: 996px) {
  .sidebar.small {
    margin-top: 0rem;
    margin-bottom: 2rem;
  }
}
.sidebar.small.number .sidebar-title {
  color: #999999 !important;
  font-weight: 300;
  font-size: 10rem; /* size may change related to number */
  letter-spacing: -6px;
  margin-bottom: -0.6rem;
}

.video figcaption::before,
.carousel .carousel-caption .caption::before {
  vertical-align: 0em;
}

@media (max-width: 768px) {
  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    margin-bottom: 5rem;
  }
  .carousel .carousel-caption {
    margin-bottom: 1rem;
  }
}

.interactive {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .interactive.offset-lg-1 {
    margin-left: 20.7777%;
  }
}

@media (min-width: 992px) {
  .duo-full {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media (min-width: 996px) {
  body.centered-rail .image.medium {
    margin-left: 16.6666%;
    max-width: 66.6666%;
  }
}

@media (min-width: 996px) {
  body.centered-rail .video.medium {
    margin-left: 15.8%;
    max-width: 68.4%;
  }
}

/* video mashead overflow fix */
.masthead-container.background-based-masthead.full-bleed .image-container-x {
  overflow: hidden;
}

/* cover image height fix */
@media (min-width: 992px) and (min-height: 600px) {
  .image.cover .media-container {
    min-height: 1280px;
  }
}

@media (min-width: 992px) {
  #margin-img.col-lg-4 {
    max-width: 20.6666%;
  }
}

@media (min-width: 768px) and (max-width: 991.9999px) {
  #margin-img.col-md-6 {
    max-width: 33.3333%;
  }
}

@media (max-width: 767.9999px) {
  #margin-img.col-md-6 {
    max-width: 50%;
    float: right;
  }
}

@media (min-width: 996px) {
  body.centered-rail .image.medium {
    margin-left: 15.8%;
    max-width: 68.4%;
  }
}

.masthead-container.full-bleed .caption {
  color: #666666;
}

figcaption.caption,
.carousel .carousel-caption {
  color: #666666;
  padding-top: 0.5rem;
}

.duo-full {
  margin-top: -1rem;
}

.popup-gallery.media-items-container.media-item.caption {
  color: #ffffff !important;
}

.video figcaption.caption {
  padding-top: 0rem !important;
}

.blockquote {
  text-align: center;
}
.blockquote p.quote {
  color: #000000;
  font-weight: 400;
}
.blockquote-footer {
  color: #666666;
}

.signoff .article-paragraph {
  font-weight: 400;
}

.theme-dark.special-report-article .list-group-item,
.fa,
figcaption:before {
  color: #aaaaaa !important;
}

.other-stories-container {
  display: none !important;
}
