/* ------------------------- */
/*  COMMON STRUCTURE MODIFIED FROM LONGFORM    */
/* ------------------------- */
body, html {
  font-family: Open Sans, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #262626;
  overscroll-behavior: none;
}

.remove {display:none;}

#maincontent {
  display: block;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
}

body.has-modal {
  overflow-y: hidden;
}

a, a:visited {
  color: #737373;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

figure {
  display: block;
  position: relative;
  box-sizing: border-box;
}
figure img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}
figure figcaption {
  margin: 0 auto;
  position: relative;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #737373;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5 {
    color: #262626;
}

h1,
.subsection h2 {
  font-size: 3rem;
  line-height: 4.5rem;
  font-weight: 800;
  margin: 2rem auto 1rem auto;
}
h2,
.subsection h3 {
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}
h3,
.subsection h4 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem 0;
}
h4,
.subsection h5 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
}
h5 {
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
}

.a11y-heading {
  display: block;
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  padding: 0 !important;
  margin: 0 !important;
  width: 1px !important;
  height: 1px !important;
}

.viafoura .vf-share-bar {
  margin: 0 auto !important;
  display: block !important;
}

div.entry-element-container.medium.newslinks > div.entry-element {
    margin-bottom:1rem;
    color:#262626;
} 

div.entry-element-container.medium.newslinks div.entry-element a.newslink:hover,
div.entry-element-container.medium.newslinks div.entry-element a.newslink:visited {
    font-weight:700;
    color: #262626;
}

div.entry-element-container.medium.newslinks {
    margin-top: 3rem;
    margin-bottom: 1rem;
}


.content-holder {
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  grid-column-gap: 0;
  grid-row-gap: 0;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

.entry-element-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  clear: both;
}
.entry-element-container.entry-header {
    margin: 3rem auto 1rem auto;
}

.entry-element {
  display: block;
  position: relative;
  width: 100%;
  max-width: 42.5rem;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.entry-element p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 150%;
  color: #262626;
  overflow-wrap: break-word;
}
.entry-element p a {
  text-decoration: underline;
  font-weight: 600;
}
.entry-element p a:hover {
  text-decoration: underline;
  color: #737373;
}
.entry-element ul {
  margin-left: 2rem;
}

.entry-byline {
    display: block;
    position: relative;
    margin: 1rem auto;
    text-align: center;
    color: #737373;
}
.entry-byline.primary {
  font-size: 1.0625rem;
  line-height: 1.25rem;
}
.entry-byline.secondary {
    font-weight: 100;
    font-size: 1rem;
    line-height: 1.25rem;
}

.entry-date {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: block;
    position: relative;
    margin: 1rem auto;
    text-align: center;
    color: #737373;
}

/* ========= AD CONTAINERS ========= */

.longform-big-box {
  padding: 0 1rem;
  background-color: #f0f0f0;
  min-height: 250px;
  margin-bottom: 1rem;
}

/* ========= MEDIA CONTAINERS ========= */

.media-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 1rem 0;
  padding: 0;
  background-color: inherit;
}
.media-container .media-content {
  display: block;
  position: relative;
  width: 100%;
  height: 0px;
  padding-bottom: 56.25%;
  z-index: 2;
}
.media-container .media-content.square {
  padding-bottom: 100% !important;
}
.media-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.media-container .video-loading-icon {
  display: block;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin-left: -3rem;
  margin-top: -1.5rem;
  width: 6rem;
  height: auto;
  opacity: 0.42;
}
.media-caption {
  display: block;
  width: 100%;
  height: auto;
  margin:.5rem auto 1rem auto;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  line-height: 130%;
  color: #737373;
  padding: 0.5rem 0 0 0;
}


/* ========= CODE BLOCKS ========= */

.code-block {
    display: block;
    position: relative;
    margin: 0;
}
.code-block .twitter-tweet {
    margin: auto;
}
.code-block iframe {
  display: block;
  position: relative;
  margin: 0.5rem auto !important;
}

/* ========= CONTENT EMBED ========= */

.content-embed {
    display: block;
    position: relative;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.content-embed .twitter-tweet {
    margin: auto;
}
.content-embed iframe {
    margin: 0.5rem auto !important;
    display: block;
}
.content-embed.full iframe {
    margin: 0.5rem 0 !important;
    display: block;
    width: 100%
}
.content-embed.full .entry-element {max-width:none;}
.skipembed {
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}
a.skipembed:focus {
    overflow: visible;
    width: inherit;
    margin-left: 25.5vw;
    text-decoration: underline;
    color: #013ACE;
    width: fit-content;
}

/* ========= MODIFIERS ========= */

.fullwidth.entry-element-container,
.fullwidth .entry-element {
  width: 100% !important;
  max-width: 100% !important;
}
.fullwidth .entry-element.media-caption {
  max-width: calc(100% - 2rem) !important;
}
.fullwidth .media-caption {
  max-width: calc(100% - 2rem) !important;
}
.medium .entry-element {
  max-width: 42.5rem;
}
.large .entry-element {
  max-width: 66.25rem;
}
.small .entry-element {
  max-width: 21.25rem;
  min-width: 13.75rem;
}

.centre {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}


/* ========= MODAL WINDOWS ========= */

#lfp_modal {
  display: flex;
  position: fixed;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.73);
  z-index: 99;
}
.lfp-modal-window {
  display: block;
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #F9F6EE;
  color: #0A0102;
}
.lfp-modal-window-text {
  display: block;
  position: relative;
  max-width: 16rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5rem;
}
.lfp-modal-window-text p {
  margin-bottom: 0.5rem;
}
.lfp-modal-window-buttons {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}
.lfp-modal-button {
  display: block;
  position: relative;
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.5rem;
}


/* ========= BIG BOX AD ========= */

.entry-element-container.big-box-ad {
    margin-bottom: 2rem;
}

.entry-element-container.big-box-ad .entry-element {
    text-align: center;
}

.entry-element-container.big-box-ad .ad-slug {
    font-size: 0.5rem;
    line-height: 0.75rem;
    text-align: center;
    color: #999;
    text-transform: uppercase;
}

/* ========= HIGH CONTRAST ========= */

.high-contrast .content-holder { background-color: #0A0102; color: #F9F6EE; }

.high-contrast a, .high-contrast a:visited {
  color: #D7D5CB;
}
.high-contrast .entry-element p a:hover {
  color: #D7D5CB;
}

.high-contrast figure figcaption {
  color: #D7D5CB;
}

.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5 {
    color: #EAEAE6;
}

.high-contrast .entry-byline,
.high-contrast .entry-date {
  color: #999999;
}
.high-contrast .entry-element p {
  color: #F9F6EE;
}

.high-contrast .media-caption {
  color: #D7D5CB;
}

/* ========= MEDIA QUERIES ========= */

@media only screen and (max-width: 57rem) { /* 2rem past LARGE max */
  .large .entry-element {
    max-width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;  
  }
}

@media only screen and (max-width: 44.5rem) { /* 2rem past MEDIUM max */
  .medium .entry-element,
  .entry-element-container.content-embed .entry-element {
    max-width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;  
  }
}

@media only screen and (max-width: 42.5rem) { /* 680 px */
  .media-caption {
    max-width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;  
  }
  
  .image-collage .media-caption {
    width: calc(100% - 2rem);
    margin: 0 auto;
   }

  .storyContainer {
    display: grid;
    margin: 0 0 2.5rem 0;
    grid-row-gap: 1vw;
  }
  .storyGrid-item {
    height: auto;
    flex-basis: 100%;
    padding-bottom: 1.5rem;
  }
    
}

@media only screen and (max-width: 30rem) { /* 480 px */
  .entry-element ul {
    margin-left: 1rem;
  }
}

@media only screen and (max-width: 23.25rem) { /* 2rem past .small max, to keep width consistent */
  .small .entry-element {
    max-width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
  }
}