/**
 * Custom Stylesheet for Story Main and Detail Page Templates
 */
.page-template-stories,
.single-storyteller {
  background: #000;
  color: #fff;
}
.story-banner {
  position: relative;
  margin-bottom: 50vh;
  padding: 48px;
  height: calc(100vh - 100px);
  overflow: hidden;
}
.story-banner__bg {
  border-radius: 16px;
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.story-banner__bg::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  opacity: 0.5;
  z-index: 1;
}
.story-banner__bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-banner__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 700px;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  pointer-events: none;
}
.story-banner__logo {
  margin-bottom: 30px;
}
.story-banner__title {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}
.story-banner__bottom {
  display: flex;
  position: absolute;
  padding: 0 64px;
  left: 48px;
  bottom: 104px;
  width: calc(100% - 96px);
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}
.btn-story-video {
  padding: 12px 24px;
  font-size: 11px;
  line-height: 20px;
  color: #fff;
  border-color: #fff;
  border-radius: 100px;
  transition: all .3s ease-in-out;
}
.story-banner__bg:hover ~ .story-banner__bottom .btn-story-video,
.btn-story-video:hover {
  background-color: #fff;
  color: #000;
}
.btn-story-video svg {
  margin-right: 10px;
}
.story-banner__bg:hover ~ .story-banner__bottom .btn-story-video path,
.btn-story-video:hover path {
  fill: #000;
}
.btn-scroll-next {
  padding: 0 !important;
  appearance: none !important;
  background: transparent !important;
  border: none !important;
  transition: all .3s ease-in-out;
}
.btn-scroll-next img {
  transition: transform .3s ease-in-out;
  will-change: transform;
}
.btn-scroll-next:hover img {
  transform: translateY(5px) !important;
}
.story-detail {
  margin: 0 0 100px;
  padding-top: 50px;
}
.story-detail .container {
  display: flex;
}
.story-detail__left {
  flex: 0 0 486px;
  margin-right: 126px;
}
.story-detail__heading {
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0;
}
.story-detail__meta {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  font-weight: 700;
  font-size: 11px;
  line-height: 20px;
  font-family: 'Gotham A', 'Gotham B', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.story-detail__meta p {
  margin-bottom: 0;
}
.story-detail__meta .sep {
  margin-left: 5px;
  margin-right: 5px;
  font-weight: 400;
  color: #777;
}
.story-detail__content {
  font: 400 16px/1.6 'Gotham A', 'Gotham B', sans-serif;
}
.story-detail__blockquote p {
  position: relative;
  margin-bottom: 24px;
  font: 400 32px/1.4 'Gotham A', 'Gotham B', sans-serif;
}
.story-detail__blockquote p::before, .story-detail__blockquote p::after {
    display: none;
}
.story-detail__blockquote p i {
    font-style: italic;
}
/*
.story-detail__blockquote p::before {
  position: absolute;
  left: -20px;
  content: '“';
}
.story-detail__blockquote p::after {
  content: '”';
}
*/
.story-detail__cite {
  padding-top: 0;
  font: 700 12px/20px 'Gotham A', 'Gotham B', sans-serif;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.recent-stories {
  margin-top: 74px;
  margin-bottom: 120px;
}
.recent-stories__heading {
  margin-bottom: 32px;
  font: 700 12px/2 'Gotham A', 'Gotham B', sans-serif;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #72aeff;
}
.recent-stories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 24px;
}
.loop-story {
  display: block;
  position: relative;
  height: 348px;
  border-radius: 16px;
  overflow: hidden;
}
.loop-story::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all .3s ease-in-out;
}
.loop-story__image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loop-story__detail {
  position: absolute;
  display: flex;
  padding: 0 24px;
  left: 0;
  bottom: 32px;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
  z-index: 2;
}
.loop-story__content {
  position: relative;
  flex-grow: 1;
}
.loop-story__title {
  font: 700 24px/32px 'Gotham A', 'Gotham B', sans-serif;
  color: #fff;
  letter-spacing: 0;
}
.loop-story__duration {
  margin-left: 20px;
  margin-bottom: 0;
  padding: 4px 20px;
  border: 1px solid #fff;
  border-radius: 30px;
  flex-shrink: 0;
  white-space: nowrap;
  font: 700 11px/20px 'Gotham A', 'Gotham B', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.loop-story__excerpt {
  position: absolute;
  margin-top: 14px;
  font: 400 16px/1.6 'Gotham A', 'Gotham B', sans-serif;
  color: #f2f1ef;
  opacity: 0;
  transition: all .3s ease-in-out;
}
.loop-story__excerpt p {
  margin-bottom: 0;
}
.loop-story:hover .btn-story-video {
  background-color: #fff;
  color: #000;
}
.loop-story:hover .btn-story-video path {
  fill: #000;
}
.loop-story:hover .loop-story__excerpt {
  position: static;
  opacity: 1;
}
.loop-story .btn-story-video {
  display: none;
}
@media only screen and (min-width: 992px) {
  .loop-story::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.00) 100%);
    height: 100%;
    transition: all 0.25s ease;
  }
  .loop-story:hover::before {
    height: 150%;
    top: -50%;
  }
  .loop-story__detail {
    top: 32px;
  }
  .loop-story__content {
    position: absolute;
    bottom: 32px;
    width: calc(100% - 148px);
    transform: translateY(100%);
    transition: all .3s ease-in-out;
  }
  .loop-story:hover .loop-story__content {
    bottom: 0;
    transform: none;
  }
  .loop-story__title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .loop-story__excerpt {
    position: static;
    opacity: 1;
  }
  .loop-story__duration {
    margin-left: auto;
  }
}
@media only screen and (max-width: 1439px) {
  .story-banner {
    padding: 24px;
  }
  .story-detail__left {
    flex-basis: 45%;
    margin-right: 5%;
  }
  .story-banner__bottom {
    padding: 0 32px;
    left: 24px;
    bottom: 52px;
    width: calc(100% - 48px);
  }
}
@media only screen and (max-width: 991px) {
  .story-detail__heading {
    font-size: 24px;
    line-height: 33.6px;
  }
  .story-detail__blockquote p {
    font-size: 24px;
    line-height: 33.6px;
  }
  .loop-story {
    height: 500px;
  }
  .loop-story::before {
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.00) 50%) !important;
  }
  .loop-story__detail {
    padding: 32px;
    top: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .loop-story__content {
    flex-grow: 0;
  }
  .loop-story__excerpt {
    position: static;
    margin-bottom: 14px;
    font-size: 14px;
    opacity: 1;
  }
  .loop-story__duration {
    margin-left: 0;
  }
  .loop-story .btn-story-video {
    margin-top: auto;
    display: flex;
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .story-banner {
    margin-bottom: 0;
  }
  .story-banner__logo {
    margin-bottom: 15px;
  }
  .story-banner__bottom {
    justify-content: center;
  }
  .story-banner__bottom div {
    width: 100%;
    text-align: center;
  }
  .story-banner__title { 
    font-size: 8px;
  }
  .btn-story-video {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 500px;
  }
  .story-banner__content {
    max-width: 300px;
    width: 100%;
  }
  .story-banner__bottom > div:last-child {
    display: none;
  }
  .story-detail .container {
    display: block;
  }
  .story-detail {
    margin-bottom: 50px;
    padding-top: 50px;
  }
  .story-detail__content {
    margin-bottom: 48px;
  }
  .story-detail__left {
    margin-right: 0;
  }
  .story-detail__right {
    margin-top: 48px;
  }
  .story-detail__blockquote p::before {
    left: -15px;
  }
  .story-detail__cite {
    display: none;
  }
  .recent-stories {
    margin-top: 88px;
    margin-bottom: 54px;
  }
  .recent-stories__grid {
    display: block;
  }
  .loop-story:not(:last-child) {
    margin-bottom: 32px;
  }
}

/* Stories Style */
.story-banner--stories {
  padding: 64px;
}
.story-banner--stories .story-banner__bg::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.00) 50.06%), linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%);
  opacity: 1;
}
.story-banner__bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-banner--stories .story-banner__bottom {
  justify-content: center;
}
.story-banner--stories .story-banner__title {
  display: none;
}
.story-banner--stories .story-banner__logo {
  margin-bottom: 0;
}
.stories-content {
  padding-top: 25px;
  margin-bottom: 96px;
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
  font-family: 'Gotham A', 'Gotham B', sans-serif;
  color: #f2f1ef;
}
.stories-content__inner {
  max-width: 590px;
  margin-left: auto;
  margin-right: auto;
}
.featured-story h6 {
  margin-bottom: 32px;
  font: 700 12px/2 'Gotham A', 'Gotham B', sans-serif;
  color: #72aeff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}
.featured-story .loop-story {
  height: 615px;
}
.featured-story .loop-story__detail {
  display: block;
  top: auto;
  padding: 5px 32px 0;
}
.featured-story .loop-story__content {
  max-width: 556px;
  position: static;
  width: 100%;
  transform: none;
}
.featured-story .loop-story__detail .btn-story-video {
  position: absolute;
  right: 32px;
  bottom: 32px;
}
.featured-story .loop-story__duration {
  display: inline-block;
  margin-top: 14px;
  margin-left: 0;
}
.featured-story .loop-story__excerpt {
  position: static;
  opacity: 1;
}
.featured-story .loop-story .btn-story-video {
  display: flex;
}
.page-template-stories .recent-stories {
  margin-bottom: 148px;
}

@media only screen and (max-width: 1439px) {
  .story-banner--stories {
    padding: 24px;
  }
}
@media only screen and (max-width: 991px) {
  .stories-content {
    padding-top: 62px;
    margin-bottom: 62px;
    font-size: 20px;
  }
  .featured-story .loop-story {
    height: 500px;
  }
  .featured-story .loop-story__detail {
    display: flex;
    padding: 32px;
    top: 0;
    flex-direction: column;
  }
  .featured-story .loop-story__detail .btn-story-video {
    position: static;
  }
}
@media only screen and (max-width: 767px) {
  .page-template-stories .recent-stories {
    margin-bottom: 122px;
  }
}

.page-template-stories .fancybox-button--close,
.single-storyteller .fancybox-button--close {
  margin-top: 10px;
  margin-right: 10px;
  padding: 12px 24px !important;
  border: 1px solid #fff !important;
  border-radius: 100px !important;
  color: #fff !important;
  width: 125px !important;
  visibility: visible;
}
.page-template-stories .fancybox-button--close::after,
.single-storyteller .fancybox-button--close::after {
  content: 'Close';
  font: 700 11px/20px 'Gotham A', 'Gotham B', sans-serif;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-template-stories .fancybox-button--close path,
.single-storyteller .fancybox-button--close path {
  fill: #fff !important;
}
@media only screen and (max-width: 991px) {
  .page-template-stories .fancybox-toolbar,
  .single-storyteller .fancybox-toolbar {
    width: 100%;
    text-align: center;
  }
  .page-template-stories .fancybox-button--close,
  .single-storyteller .fancybox-button--close {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-template-stories .featured-story {
  margin-top: 74px;
  margin-bottom: 74px;
}

/**/

.sform {
    padding: 20px 0 100px;
}

.sform__heading {
    color: #fff;
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 50px;
    text-align: center;
}

.sform__form {
    display: block;
    margin: 0 auto;
    max-width: 590px;
    width: 100%;
}

.sform__form .frm_style_formidable-style.with_frm_style .form-field {
}

.sform__form .frm_style_formidable-style.with_frm_style .form-field > .frm_primary_label {
    color: #fff;
    font-family: 'Gotham A', 'Gotham B', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.25;
    margin-bottom: 10px;
}

.sform__form .frm_style_formidable-style.with_frm_style .form-field input[type="text"], .sform__form .frm_style_formidable-style.with_frm_style .form-field input[type="email"] {
    background: none;
    border: 1px solid #50504E;
    border-radius: 8px;
    color: #fff;
    font-family: 'Gotham A', 'Gotham B', sans-serif;
    font-size: 16px;
    height: auto;
    line-height: 1;
    padding: 20px 24px;
}

.sform__form .frm_style_formidable-style.with_frm_style .form-field input[type="text"]:focus, .sform__form .frm_style_formidable-style.with_frm_style .form-field input[type="email"]:focus {
    background: none;
    border: 1px solid #fff;
    box-shadow: none;
    color: #fff;
}

.sform__form .frm_style_formidable-style.with_frm_style .form-field textarea {
    background: none;
    border: 1px solid #50504E;
    border-radius: 8px;
    color: #fff;
    font-family: 'Gotham A', 'Gotham B', sans-serif;
    font-size: 16px;
    height: auto;
    line-height: 1;
    min-height: 190px;
    padding: 20px 24px;
}

.sform__form .frm_style_formidable-style.with_frm_style .form-field textarea:focus {
    background: none;
    border: 1px solid #fff;
    box-shadow: none;
}

.sform__form .frm_style_formidable-style.with_frm_style .frm_submit {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.sform__form .frm_style_formidable-style.with_frm_style .frm_submit button {
    background-color: rgba(255 255 255 / 10%);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    color: #fff;
    display: block;
    font-family: 'Gotham A', 'Gotham B', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    max-width: 360px;
    padding: 24px 30px;
    width: 100%;
}

.sform__form .frm_style_formidable-style.with_frm_style .frm_submit button:hover {
    background-color: rgba(255 255 255 / 20%);
    color: #fff;
}

.sform__form .frm_style_formidable-style.with_frm_style .frm_message {
    background-color: #468847;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 15px;
}

.sform__form .frm_style_formidable-style.with_frm_style .frm_message p {
    color: #fff;
    font-family: 'Gotham A', 'Gotham B', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
}

.sform__form .frm_style_formidable-style.with_frm_style .frm_error {
    color: #f00;
    font-family: 'Gotham A', 'Gotham B', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    margin: 5px 0 0;
}

@media (max-width: 767px) {
    .sform {
        padding: 30px 0 50px;
    }
    .sform__heading {
        margin-bottom: 30px;
    }
    .sform__form .frm_style_formidable-style.with_frm_style .frm_submit button {
        font-size: 14px;
    }
    .sform__form .with_frm_style .frm_message p {
        font-size: 14px;
    }
}

/**/

.single-storyteller .fancybox-bg {
    background-color: #000;
    opacity: 1;
}

.single-storyteller .fancybox-slide {
    padding: 65px 40px;
}

@media only screen and (min-width: 768px) {
  .story-detail,
  .stories-content {
    position: relative;
  }
  .stories-content::before,
  .story-detail::before {
    position: absolute;
    content: '';
    top: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: #000;
  }
}