/* Bibblio - global classes */

.bib__link {
  font-family: "proxima-nova", Helvetica, Arial, sans-serif;
  font-weight: 400;
  position: relative;
}

.bib__link,
.bib__title,
.bib__name {
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1); /* $ease-out-expo */
}
.bib__link:hover,
.bib__link:hover .bib__title,
.bib__link:hover .bib__name {
  color: #2fa6df; /* $color-turquoise */
}

.bib__info {
  display: flex;
  flex-wrap: wrap;
  line-height: 1;
  position: static!important;
}

[class*="bib--split"] a.bib__link .bib__info {
  color: #1b1b1b;
  padding-top: 12px;
}

.bib__custom-value.bib__custom1--value {
  color: #551192;
  margin-top: 0;
}

.bib__custom-item {
  display: inline;
  margin-bottom: 0; /* Maybe for children, after patch deployed? */
}

.bib__title {
  font-family: "proxima-nova-condensed", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  text-rendering: geometricPrecision;
  padding-top: 2px;
}

.bib__takeover .bib__modal-sheet {
  right: -314px;
}

.bib__takeover .bib__modal-sheet-panel {
  width: 314px !important;
  padding-top: 75px;
  z-index: 1;
}

@media screen and (max-width: 599px) {
  .bib__takeover .bib__modal-sheet-panel {
    padding-top: 30px;
  }

  .headroom--pinned + main .bib__takeover .bib__modal-sheet-panel,
  .headroom--top + main .bib__takeover .bib__modal-sheet-panel {
    padding-top: 75px;
  }
}

.bib__modal-sheet-tab {
  font-family: "proxima-nova", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  right: 285px !important;
  bottom: 90px;
  width: 100px;
  border-radius: 15px 15px 0 0;
  padding: 15px 10px 10px 10px;
  background-color: #1b1b1b;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.bib__takeover.bib--open .bib__modal-sheet-tab {
  background-color: #1b1b1b;
}

.bib__module.bib--car-6[class*="bib--split"] a.bib__link,
.bib__module.bib--car-6[class*="bib--split"] a.bib__link:nth-of-type(6) {
  padding-right: 15px !important;
}

.bib--nxt-title {
  box-shadow: 0 0 0 0 !important;
}

.bib--nxt-title a.bib__link .bib__info {
  background-color: #f6f6f6 !important;
  border-top: 1px solid #c6c6c6;
  padding: 12px 15px 25px !important;
}

.bib--nxt-title a.bib__link .bib__info .bib__title::before {
  display: block;
  padding-bottom: 10px;
  font-family: "proxima-nova", Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 14px;
  content: "Read next:";
}

.bib--nxt-title.bib--custom2-value-show
  .bib__custom2[data-value="Video"]
  ~ .bib__title::before {
  content: "Watch next:";
}

.bib--nxt-title a.bib__link .bib__info .bib__title::after {
  display: none;
}

/* Custom 1 - access - gated icon */
.bib--custom1-value-show .bib__custom1[data-value="Gated"] .bib__custom-value {
  float: left;
  width: 14px;
  height: 17px;
  margin: 0 10px 0 0;
  text-indent: 14px;
  overflow: hidden;
  background-image: url("../icon-padlock.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.bib--split-left.bib--custom4-value-show
  .bib__custom1[data-value="Gated"]
  .bib__custom-value {
  top: 0;
  left: 6.7%;
}
.bib--custom1-value-show
  .bib__custom1.bib--has-value[data-value="Gated"]
  ~ .bib__custom1.bib--has-value {
  text-indent: 22px;
}

/* Custom 2 - content format - podcast icon */
.bib--custom2-value-show .bib__custom2[data-value="Podcast"] .bib__custom-name {
  display: inline-block;
  position: absolute;
  top: -39px;
  right: 7px;
  width: 52px;
  height: 32px;
  text-indent: -1000px;
  overflow: hidden;
  background-color: #1b1b1b;
  background-image: url("../icon-podcast.png");
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
}

.bib__custom-item.bib--has-value,
.bib__custom-item.bib--has-value .bib__custom-value{
  display: inline;
  color: #551192;
}

.bib__custom-item.bib--has-value[data-name="source"] {
  display: none;
}

.bib__custom-item.bib--has-value[data-name="topic"] {
  margin-left: 1px;
}

.bib__custom-item.bib--has-value[data-name="topic"]::before {
  content: "";
  display: inline-block;
  border-right: 1px solid #551192;
  margin-right: 1px;
  width: 1px;
  height: 10px;
  vertical-align: middle;
  margin-top: -3px;
}

#bibblio-videohub-side-tabbed-popular-desktop .bib__custom-item.bib--has-value {
  display: none;
}

#bibblio-videohub-side-tabbed-recommended-desktop .bib__custom-item.bib--has-value .bib__custom-value {
  color: white;
}

#bibblio-videohub-side-tabbed-recommended-desktop .bib__custom-item.bib--has-value[data-name="topic"]::before {
  border-color: white;
}

/* Custom 4 - duration */

.bib__custom-item.bib--has-value[data-name="duration"] {
  display: block!important;
  position: absolute;
  bottom: 0;
  transform: translateX(calc(-100% - 26px));
  background-color: black;
  padding: 0.5em 0.75em;
  font-size: 11px;
  font-weight: bold;
}

.bib__custom-item.bib--has-value[data-name="duration"] .bib__custom-value {
  color: white;
}

#bibblio-videopost-footer-related-desktop .bib__info,
#bibblio-videopost-footer-related-mobile .bib__info {
	position: relative!important;
}

#bibblio-videopost-footer-related-desktop .bib__custom-item.bib--has-value[data-name="duration"],
#bibblio-videopost-footer-related-mobile .bib__custom-item.bib--has-value[data-name="duration"] {
	right: 0;
	bottom: unset;
	top: 0;
	transform: translate(0, -100%);
	font-weight: bold;
}

/* Custom 4 - source */
.bib--custom4-value-show .bib__custom4.bib--has-value .bib__custom-value {
  position: absolute;
  top: -36px;
  left: 0;
  height: 30px;
  padding: 9px 20px 0;
  background-color: #2a5091;
  color: white;
  font-size: 11px;
  text-transform: uppercase;
}

/* Custom 5 - duration */
.bib--custom5-value-show .bib__custom5.bib--has-value {
  position: absolute;
  top: -31px;
  right: 7px;
}
.bib--custom5-value-show .bib__custom5.bib--has-value .bib__custom-value {
  display: inline-block;
  height: 24px;
  padding: 3px 7px 0;
  background-color: #1b1b1b;
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Custom 5 - duration - split-left */
.bib--split-left.bib--custom5-value-show .bib__custom5.bib--has-value {
  top: 0;
  right: 102%;
  bottom: -14px;
  display: flex;
  align-items: center;
}
.bib--split-left.bib--custom5-value-show
  .bib__custom5.bib--has-value
  .bib__custom-value {
  height: 18px;
  padding: 0 5px;
  margin-top: 42px;
}

#bibblio-simple-right-desktop [class*=bib--split-].bib--col-3 a.bib__link:nth-of-type(4),
#bibblio-simple-right-desktop [class*=bib--split-].bib--col-3 a.bib__link:nth-of-type(5),
#bibblio-videopost-side-related-desktop [class*=bib--split-].bib--col-5 a.bib__link:nth-of-type(6) {
  display: flex!important;
}

/* Image-top classes */

@media (min-width: 600px) {
  .bib__image--ratio {
    padding-top: 66.67% !important;
  }

  .l-bibblio-content-read-more .bib__image--ratio {
    padding-top: 50% !important;
  }
}

/* Image-left classes */

@media (min-width: 600px) {
  .bib--split-left a.bib__link {
    margin-bottom: 7% !important;
  }

  .l-sidebars__right-column .bib--split-left a.bib__link .bib__image--ratio {
    width: 25%;
    padding-top: 25% !important;
  }

  .bib--split-left a.bib__link .bib__info {
    width: 66.7%;
    padding: 0 0 0 6.7%;
  }
}
@media (max-width: 599px) {
  .bib--split-left a.bib__link {
    margin-bottom: 25px !important;
  }

  .bib--split-left a.bib__link .bib__image--ratio {
    padding-top: 22.2%;
  }

  .bib--split-left a.bib__link .bib__info {
    padding: 0;
    margin-left: 5px;
    padding-left: 10px;
  }
}

.bib--split-left .bib__custom5 {
  position: absolute;
}

/* frontpage mobile title */
.bibblio-home-side-tabbed-popular__title {
  opacity: 0;
  visibility: hidden;
}

.bib--open .bibblio-home-side-tabbed-popular__title {
  visibility: visible;
  opacity: 1;
  margin-bottom: 20px;
}
