:root {
--default-hero-subtitle-font-size: 1.375rem;
--default-hero-subtitle-font-size-minwidth: 1.125rem;
--default-hero-subtitle-line-height: 1.2;
--default-hero-subtitle-overlay-colour: #f0f0f0;
--default-hero-subtitle-colour: #0A0102;
--default-hero-subtitle-high-contrast-colour: #EAEAE6;
}

/* ================================= */
/*             HERO IMAGE            */
/* ================================= */

.entry-element-container.hero-image {
  max-width: 100% !important;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-row-gap: 0;
}

.media-caption.hero-image {   
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
  grid-row-start: 3;
  grid-row-end: 4;
  margin: 1rem auto;
  max-width: 42.5rem;
}
.above_video .media-caption.hero-image,
.below .media-caption.hero-image {
  grid-row-start: 2;
  grid-row-end: 3;
}

.hero-video {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  max-width: 55rem;
  width: 100%;
  height: auto;
}
.hero-video.fullscreen {
  max-width: 100%;
}
.hero-video.large {
  max-width: 55rem;
}

.hero-image-media {
  aspect-ratio: 16/9;
  box-sizing: border-box;
  overflow: hidden;
}

.video-relative-container {width:100%;}

.title-block {
    width: 46%;
}

.hero-image .scroll-trigger {
  grid-row-start: 1;
  grid-row-end: 1;
}

.overlay_clear .title-block {
  margin: 0 auto;
}
.overlay_clear .title-block h1,
.overlay_clear .title-block h2 {
  color: #fafafa;
}
.overlay_clear .hero-image-title-container {
  padding-top: 3rem;
}

.hero-image-title h1,
.hero-image-title h2 {
  font-weight: var(--default-h1-font-weight);
  font-size: var(--default-h1-font-size);
  line-height: var(--default-h1-line-height);
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.overlay_shading .hero-image-title h1,
.overlay_shading .hero-image-title h2 {
  font-size: var(--default-h1-font-size);
  color: #fff;
  text-align: left;
}

.above .hero-image-title h1,
.above .hero-image-title h2 {
  font-size: var(--default-h1-font-size);
  color: #fff;
  text-align: left;
}

.hero-image-title .heading-subtitle {
  width: 46%;
  font-size: var(--default-hero-subtitle-font-size);
  line-height: var(--default-hero-subtitle-line-height);
  color: var(--default-hero-subtitle-overlay-colour);
  text-align: left;
}
.above_video .hero-image-title .heading-subtitle,
.below .hero-image-title .heading-subtitle {
  padding-top: 0;
  font-size: var(--default-hero-subtitle-font-size);
  color: var(--default-hero-subtitle-overlay-colour);
  text-align: center;
}
.overlay_clear .hero-image-title .heading-subtitle {
  padding-top: 0;
  font-size: var(--default-hero-subtitle-font-size);
  opacity: .85;
  max-width: 75%;
  text-align: center;
}

.hero-title-background {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.7;
}

.hero-figure {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 2;
  overflow: hidden;
}
.overlay_clear .hero-figure,
.overlay_shading .hero-figure {
  grid-row-start: 1;
  grid-row-end: 2;
}
.below .hero-figure {
  display: flex;
  align-items: center;
  max-height: 70vh;
  grid-row-start: 1;
  grid-row-end: 2;
}
.above .hero-figure,
.overlay_shading .hero-figure {
  display: flex;
  flex-wrap: wrap;
}
.hero-image-title {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 1;
  grid-column-end: 2;
}
.overlay_clear .hero-image-title,
.overlay_shading .hero-image-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #013ACEB2;
}
.overlay_clear .hero-image-title {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .8));
}

.above .hero-image-title {
  position: relative;
  bottom: unset;
  padding-bottom: 2rem;
  top: 0;
  color: #fff;
  background-color: #013ACEB2;
}
.above_video .hero-image-title,
.below .hero-image-title {
  grid-row-start: 3;
  grid-row-end: 4;
  margin-top: 1rem;
}


.above .hero-image-title .hero-image-title-container,
.overlay_shading .hero-image-title .hero-image-title-container {
    max-width: 58rem;
    padding: 1.25rem 3.75rem;
    width: calc(100% - 7.5rem);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.above_video .hero-image-title .hero-image-title-container,
.below .hero-image-title .hero-image-title-container {
    display: block;
    position: relative;
    max-width: 42.5rem;
    width: calc(100% - 7.5rem);
    margin: 0 auto;
}
.above_video .title-block,
.below .title-block {
  width: 100%;
}
.above_video div.title-button,
.below div.title-button {
  margin: 0 auto;
}

.above .hero-image-title .hero-image-title-container {
    padding: 3rem 0 1rem 0;
}


.with-button.hero-image-title-container .title-button a,
.with-button.hero-image-title-container .title-button a:visited {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    display: block;
    color: #fff;
}
.with-button.hero-image-title-container .title-button a:hover,
.with-button.hero-image-title-container .title-button a:focus {
    text-decoration: underline;
}

button.t-button a:visited,
button.t-button {
  border: 0;
  box-shadow: none;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  display: block;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
}
button:hover.t-button,
button:focus.t-button {
    text-decoration: underline;
}

.title-button {
  border-radius: 2px;
  text-transform: uppercase;
}

button.t-button {
  display: flex;
  align-items: center;
  justify-contents: center;
  height: 2rem;
  border-radius: 2px;
  background: rgba(10, 1, 34, 0.5);
  text-transform: uppercase;
}

.overlay_clear .title-button {
    margin: 0 auto;
}

.above>hero-image-title-container>.title-button>button.t-button,
.overlay_shading>hero-image-title-container>.title-button>button.t-button {
    margin: 0 auto;
    background: rgba(10, 1, 34, 0.85);
}

.heading-subtitle {
    width:46%;
    padding-bottom: 2.5rem;
    padding-top: 1rem;
    display:block;
    margin: 0 auto;
}
.hero-image-title .hero-image-title-container .heading-subtitle {width:90%;}
.with-button.hero-image-title-container .title-block .title-button {
  width: max-content;
  margin: 0 auto;
}

.above .with-button.hero-image-title-container .title-block .title-button,
.overlay_shading .with-button.hero-image-title-container .title-block .title-button {
  margin: 0;
}

.above .with-button.hero-image-title-container .heading-subtitle,
.overlay_shading .with-button.hero-image-title-container .heading-subtitle {
  padding-top: 3rem;
  padding-left: 1rem;
}
.with-button.hero-image-title-container h1,
.with-button.hero-image-title-container h2 {
    margin: 0 auto;
}
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image > div.hero-image-title,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .hero-image-title {
    position:relative;
    background:none;
}

body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .title-block h1,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .title-block h1 {
    font-size: var(--default-h1-font-size);
}
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .title-block h1, 
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .title-block h2,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .title-block h1, 
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .title-block h2,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .hero-image-title .hero-image-title-container .heading-subtitle,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .title-block h1, 
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .title-block h2,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .hero-image-title .hero-image-title-container .heading-subtitle,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .hero-image-title .hero-image-title-container .heading-subtitle
{
    color: var(--default-hero-subtitle-colour) !important;
}
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .title-block h1, 
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .title-block h2,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .title-block h1, 
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .title-block h2,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .hero-image-title .hero-image-title-container .heading-subtitle,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.below .hero-image-title .hero-image-title-container .heading-subtitle,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .title-block h1, 
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .title-block h2,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .hero-image-title .hero-image-title-container .heading-subtitle,
body.high-contrast.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .hero-image-title .hero-image-title-container .heading-subtitle
{
    color: var(--default-hero-subtitle-high-contrast-colour) !important;
}
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_clear .title-block {
    width: 85%;
}
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading .title-block, 
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above .title-block {
    width: 100%;
}
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.overlay_shading > .hero-image-title .heading-subtitle,
body.no-hero-image > div.content-holder > main > .above .hero-image-title h1,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image.above > .hero-image-title .heading-subtitle {
    text-align: center;
}
body.no-hero-image > div.content-holder > main > .overlay_clear .hero-image-title,
body.no-hero-image > div.content-holder > main > .overlay_shading .hero-image-title,
body.no-hero-image > div.content-holder > main > .above .hero-image-title {
    background-color: transparent !important;
}
body.no-hero-image > div.content-holder > main > .above .hero-image-title .hero-image-title-container, 
body.no-hero-image > div.content-holder > main > .overlay_shading .hero-image-title .hero-image-title-container {
    display:block;
    max-width: 42.5rem;
}
body.no-hero-image > div.content-holder > main > .overlay_shading .hero-image-title h1, 
body.no-hero-image > div.content-holder > main > .overlay_shading .hero-image-title h2,
body.no-hero-image > div.content-holder > main > div.entry-element-container.hero-image > div.hero-image-title {
    text-align: center;
    margin-top:3rem;
}
body.no-hero-image > div.content-holder > main > .above_video .hero-image-title .hero-image-title-container,
body.no-hero-image > div.content-holder > main > .below .hero-image-title .hero-image-title-container {
    padding: 3rem 0 1rem 0;
}
body.no-hero-image > div.content-holder > main > .overlay_clear .hero-image-title .hero-image-title-container {
    display: block;
    position: relative;
    max-width: 42.5rem;
    width: calc(100% - 7.5rem);
    margin: 0 auto;
}
@media only screen and (max-width: 620px) {
  .hero-image-title h1,
  .hero-image-title h2 {
    font-size: var(--default-h1-font-size-minwidth) !important;
    text-align: center !important;
    color: #0A0102 !important;
  }
  .hero-image-title .hero-image-title-container .heading-subtitle {
    font-size: var(--default-hero-subtitle-font-size-minwidth) !important;
    padding-top: 2rem !important;
    color: #0A0102 !important;
    text-align: center !important;
    padding-left: 0 !important;
    max-width: unset;
    opacity: 1;
  }
  .high-contrast .hero-image-title .hero-image-title-container .heading-subtitle,
  .high-contrast .hero-image-title h1,
  .high-contrast .hero-image-title h2 {
    color: #EAEAE6 !important;
  }

  .above .hero-image-title h1,
  .above .hero-image-title h2,
  .above .hero-image-title .hero-image-title-container .heading-subtitle {
    color: #f0f0f0 !important;
  }
  
  .overlay_clear .media-caption.hero-image,
  .overlay_shading .media-caption.hero-image {
    grid-row-start: 2;
    grid-row-end: 3;
  }
  .overlay_clear .hero-figure,
  .overlay_shading .hero-figure {
    grid-row-start: 1;
    grid-row-end: 2;
  }
  .overlay_clear .hero-image-title,
  .overlay_shading .hero-image-title {
    grid-row-start: 3;
    grid-row-end: 4;
    margin-top: 1rem;
    position: relative !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    background: unset !important;
  }
  .hero-image-title .hero-image-title-container {
    display: block !important;
    position: relative !important;
    max-width: 58rem !important;
    width: calc(100% - 7.5rem) !important;
    margin: 0 auto !important;
  }

  .title-block {
    width: 100% !important;
  }
  .title-button {
    margin: 0 auto !important;
  }
}
@media only screen and (max-width: 620px) {
.entry-element-container.entry-header {
    margin: 0 auto 1rem auto;
}
}
@media only screen and (max-width: 42.5rem) {
  .media-caption.hero-image {
    max-width: calc(100% - 1rem);
  }
}



