body.path-frontpage .modal-backdrop,
body.path-frontpage .ui-widget-overlay {
  background: black;
  opacity: 0.3;
  z-index: 510;
}

.narrative-home .narrative-modal-actions {
  display: block;
  height: 30px;
  bottom: 10px;
  right: 15px;
  position: absolute;
  width: 33px;
  padding: 0.1em 0 0.1em;
  background: rgba(255,255,255,.6);
  border: 0;
  border-radius: 3px;
  z-index: 600;
}
.narrative-home .narrative-modal-actions .ui-button-icon-primary,
.narrative-home .narrative-modal-actions .ui-button-text {
  padding: 0;
}
#narrative-popup img {
  display: block;
  max-width: 100%;
}
#narrative-popup .modal-dialog {
  display: inline-block;
  width: auto;
  padding: .2em;
  min-height: 50px;
  min-width: 250px;
}

.narrative-home .narrative-modal-actions .ui-button {
  background: none;
  border: none;
  padding: 0;
  height: 22px;
}

.narrative-home .narrative-modal-actions .ui-state-hover,
.narrative-home .narrative-modal-actions .ui-state-focus,
.narrative-home .narrative-modal-actions .ui-icon,
.narrative-home .narrative-modal-actions .narrative-modal-actions-close {
  background: none;
  border: none;
  font-family: Georgia,"Times New Roman","Bitstream Vera Serif",serif;
  font-weight: normal;
  padding: 1px;
  color: red !important;
  text-indent: 0;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0 auto;
  height: auto;
  width: auto;
}
.narrative-home .narrative-modal-actions .ui-state-hover {
  text-decoration: underline;
}

.narrative-home .narrative-modal-actions-close span {
  color: red !important;
  background: none !important;
  text-indent: 0 !important;
}

.ui-dialog.narrative-home {
  border-radius: 0;
  border: 0;
  z-index: 600;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto;
  max-width: 519px;
}
.narrative-popup-bottom,
.narrative-popup-bottom * {
  box-sizing: border-box;
}

.narrative-popup-bottom .offcanvas-header {
  justify-content: right;
}
.narrative-popup-bottom .offcanvas-header,
.narrative-popup-bottom .offcanvas-body {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
.narrative-popup-bottom .offcanvas-header {
  padding-bottom: 0;
}
.narrative-popup-bottom .offcanvas-body {
  padding-top: 0;
}
.narrative-popup-newsletter_popup .offcanvas-body {
  display: flex;
  align-items: center;
}
.narrative-popup-bottom .offcanvas-body .image {
  text-align: center;
  align-self: center;
}
.narrative-popup-newsletter_popup .offcanvas-body .image {
  text-align: left;
  padding: 5px 0 0 42px;
}
.narrative-popup-newsletter_popup .offcanvas-body .text .call-to-action-top {
  font-size: 36px;
  line-height: 36px;
  font-family: Georgia, serif;
  padding: 5px 0;
}
.narrative-popup-newsletter_popup .offcanvas-body .text .call-to-action-bottom {
  padding: 10px 0 5px 0;
  line-height:20px;
}
.narrative-popup-newsletter-form-elements-wrapper label.error {
  display: none !important;
}
.narrative-popup-bottom .offcanvas-body .confirmation {
  text-align: center;
  display: none;
}
.narrative-popup-bottom .offcanvas-body .confirmation a,
.narrative-popup-bottom .offcanvas-body .confirmation a:link,
.narrative-popup-bottom .offcanvas-body .confirmation a:visited {
  color: #fff;
  text-decoration: underline;
}
.narrative-popup-newsletter-form-elements-wrapper {
  display: flex;
  margin: 0 19px 0 0;
  padding-top: 5px;
}
.narrative-popup-bottom .offcanvas-body label.disclaimer {
  font-size: 12px;
  font-weight: normal;
}
.narrative-popup-bottom .offcanvas-body label.disclaimer.error-msg {
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}
.narrative-popup-bottom .offcanvas-body .disclaimer a,
.narrative-popup-bottom .offcanvas-body .disclaimer a:link,
.narrative-popup-bottom .offcanvas-body .disclaimer a:visited {
  color: #fff;
  text-decoration: underline;
}
.narrative-popup-bottom #narrative-popup-newsletter-email {
  width: 100%;
  margin-right: 5px;
}
.narrative-popup-bottom #narrative-popup-newsletter-submit {
  background: #000;
  color: #fff;
  font-weight: 600;
  padding: 10px;
  border: 0;
}
.narrative-popup-bottom #narrative-popup-newsletter-email {
  padding: 8px;
}
.offcanvas.narrative-popup-newsletter_popup {
  background: #de4f4f;
  font-family: Montserrat, Arial, sans-serif;
  color: #fff;
}
.offcanvas.offcanvas-bottom.narrative-popup-bottom {
  height: 27vh;
  min-height: 20vh;
  border-top: 1px solid #333;
  z-index: 9999999;
}
.offcanvas.offcanvas-bottom.narrative-popup-newsletter_popup {
  height: 13vh;
}

@media screen and (max-width: 640.98px) {
  .narrative-popup-bottom .offcanvas-body .col-sm-6 {
    width: 100%;
  }
}

@media screen and (max-width: 360.98px) {
  .offcanvas.offcanvas-bottom.narrative-popup-bottom {
    z-index: 1000000;
  }
}
