
/* 360 template styles */


/* Hide video controls for inline videos */

.kowhai_vr dl8-video [class^="PlayerHudView_root"] {
  display: none !important;
}

#dl8-content-container .PlayerHudView_root_1Ws .PlayerHudView_overlay_BoC {
  display: flex !important;
}

#dl8-content-container .PlayerHudView_root_1Ws .PlayerHudView_overlay_BoC br {
  display: block;
}

.kowhai_vr dl8-video {
  height:100vh !important;
}

/* Fix z-index */ 

.scrolling-sections div.full-bleed {
  position: relative;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.scrollmagic-pin-spacer {
  margin-bottom:300px !important;
}

.poty-voting #content {
  height: 100%;
  min-height: 100dvh !important; /* modern Safari/iOS */
}

@supports not (height: 1dvh) {
  .poty-voting #content { 
    min-height: -webkit-fill-available;
  }
}

p.full-bleed, img.full-bleed {
  object-fit: cover;
}

html, body { background:#000; }

@media(orientation: portrait) { 
  p.full-bleed img.portrait {
    object-fit: cover !important;
  }
  p.full-bleed img.landscape {
    object-fit: contain !important;
  }
}
@media(orientation: landscape) { 
  p.full-bleed img.portrait {
    object-fit: contain !important;
  }
  p.full-bleed img.landscape {
    object-fit: contain !important;
  }

  .poty-voting #content {
    position: fixed;
    width: 100vw;
    top: 0;
  }
}

div.full-bleed div#section-1.delight-pannable {
  height: auto;
}

div.full-bleed div.delight-pannable img {
    object-fit: cover;
    position: relative;
    width: 140vw;
    height: 140vh;
    left: -20vw;
    top: -20vh;
    transition: 1s all ease;
}

div.full-bleed div.delight-pannable.container-hidden {
    left: -1000vw !important;
}

.transparent {
    opacity: 0;
}

div.delight-pannable p {
  display: none;
}

div.delight-pannable .loading-container {
    text-transform: uppercase;
    padding: 8px;
    opacity: 1;
    color: white;
    display: inline-block;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

div.loading-circle {
  margin: 10px auto;
}

div.full-bleed div.delight-pannable img.vr-loading {
  width: 100%;
  height: auto;
  max-width: 400px;
  position: static;
}

div.full-bleed .delight-blind-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
  height: auto;
  width: auto;
}

.kowhai_vr .dl8-loading-overlay, .loader-wrapper, .PlayerHudView_overlay_8Ud.loaderWrapper {
  z-index: 0;
  display: none !important;
}

body.scrolling-sections {
  padding-top: 0 !important;
  overscroll-behavior: none;
}

body.scrolling-sections #header {
  position: static;
}

body.scrolling-sections div.full-bleed {
  margin-bottom: 0; 
  z-index:20;
}

body.scrolling-sections {
  height: auto;
}

#section-2 .archive-intro {
  padding-top: 0;
  margin-top: 0;
}

#scroll_sections {
  display: none;
}

@media (orientation: landscape) and (max-width: 800px) {
  body.single-kowhai_vr #dl8-content-container {
    position: fixed !important;
    display: block !important;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: 1000;
  }
  body {
    position: fixed;
    overflow: hidden;
  }

}

#wrapper {
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 100vh)) !important;
  min-height: 100dvh !important; /* modern Safari/iOS */
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

footer {
  padding-bottom: 100px;
}
div.delight-pannable p.mode-select {
    top: 60%;
    /* Disabled for now */
    display: none;
    
    height: 100px;
    position: absolute;
    width: 100%;
}

div.full-bleed div.delight-pannable p.mode-select img {
  width: 70px;
  height: auto;
  left: 0;
  top:0;
  object-fit: contain;
}

.PlayerHudView_overlay_BoC {
  display: none !important;
}


.kowhai-rotate-screen-message {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width:100%;
  height:100%;
  display:none;
  z-index: 10000;
  background: black;
  color: white;
  text-align: center;
  padding-top: 50%;
}

.kowhai_vr div.pre-transition {
  transition: none;
  z-index: 25 !important;
  position: fixed;
  width: 100%;
}

.kowhai_vr div.pre-transition.up {
  bottom:0;
}

.kowhai_vr div.pre-transition.down {
  top:0;
}

.kowhai_vr div.offscreen-top {
  transform: translateY(-100%);
}

.kowhai_vr div.offscreen-bottom {
  transform: translateY(100%);
}

.kowhai_vr div.transition-in {
  transform: translateY(0%);
  transition: 1s all ease;
}

.scroll-section {
  width:100%;
  min-height:100%;
}

.kowhai_vr div.full-bleed {
  height: 100%;
}


@media(orientation: portrait) {
  body.vr-mode-playing .kowhai-rotate-screen-message {
    display: block;
  }

  body.vr-mode div.full-bleed div.delight-pannable, .tap-to-begin {
    z-index: 1000;
  }

  body.vr-mode .delight-pannable.transparent {
    opacity: 1;
  }
}


.kowhai-rotate-screen-message {
  position: fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width:100%;
  height:100%;
  display:none;
  z-index: 10000;
  background: black;
  color: white;
  text-align: center;
  padding-top: 50%;
}

.scrolling-sections .pre-transition {
  transition: none;
  z-index: 25 !important;
  top: 0;
  position: fixed !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.scrolling-sections .offscreen-top {
  transform: translateY(-100%);
}

.scrolling-sections .offscreen-bottom {
  transform: translateY(100%);
}

.scrolling-sections .transition-in {
  transform: translateY(0%);
  transition: 1s all ease;
}

.scrolling-sections.poty-voting .transition-in {
  transition: .6s all ease;
}

.scroll-section {
  width:100%;
  min-height: 100vh;
  min-height: calc(var(--vh, 100vh)) !important;
  background: black;
}

.scroll-section.portrait {
  text-align: center;
}

.portrait .content-container {
  text-align: left;
}

.scrolling-sections .break-overlay button {
    border-radius: 500px;
    color: white;
    background: none;
    height: 120px;
    width: 120px;
    text-transform: uppercase;
    margin: 1.5rem;
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.scrolling-sections {
  font-family: "proxima-nova";
}

@media(orientation: portrait) {

  body.vr-mode-playing .kowhai-rotate-screen-message {
    display: block;
  }

  body.vr-mode div.full-bleed div.delight-pannable, .tap-to-begin {
    z-index: 1000;
  }

  body.vr-mode .delight-pannable.transparent {
    opacity: 1;
  }
}

.break-overlay p.tap-to-begin { 
  display: inline-block;
    padding: 20px;
    border-radius: 100px;
    border: 1px solid white;
    width: 60px;
    height: 60px;
    font-weight: normal;
    line-height: 1.2rem;
    position: relative;
    margin-top: 60px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

.tap-to-begin span {
  top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 70px;
    font-size: 0.75rem;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.video-attach video {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

@media(min-width:1000px){
  .video-attach video {
    bottom:-30%;
  } 
}

@media(orientation:portrait) {
  .video-attach video {
    object-fit: none;
    bottom:0;
    top:0;
    object-position: 50% 50%;
    height: 100vh;
  }
  .vr-mode-playing .content-container {
    display: none !important;
  }
}


.break-overlay {
    width: 100%;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    margin:0 auto;
    text-align: center;
    color:white;
    perspective: 1000px;
    min-height: 250px;
}

.break-overlay img {
    width: 60%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.single-kowhai_vr .break-overlay img {
  max-width: 160px;
}

.single-kowhai_vr .break-overlay img.nzvr-logo {
  max-width: 250px;
}

.break-overlay img.logo {
  padding: 0 60px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.break-overlay p {
  margin: 20px auto;
  letter-spacing: .3px;
  font-weight: 400;
  width: 60%;
  max-width: 500px;
  line-height: 1.5rem;
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .break-overlay p {
    width: 80%
  }
}

.break-overlay h4 {
  text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #1dafec;
    margin:1rem;
}

.scrolling-sections .w960 {
  max-width: 760px;
}

@media (max-width:600px) {

  .break-overlay h4 {
      font-size: 1.2rem;
    margin: 1rem;
    margin-bottom: 2.5rem;
  }

  .single-kowhai_vr .break-overlay img {
    max-width: 100px;
  }

  .break-overlay p {
      line-height: 1.1rem;
      font-size: 0.9rem;
  }
}

.single-kowhai_vr .break-scroll-down p {
  margin-top:30px;
}

.break-scroll-down p {
  text-align: center;
    width: 100%;
    color: white;
    font-size: 0.6rem;
}

.poty-voting .break-scroll-down {
  position: absolute;
  width: 100%;
}

.break-scroll-down img {  
    width: 10px !important;
    margin-top: 10px;
}

.scroll-section .align-bottom {
  position: absolute;
  bottom: 0;
  padding: 25px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.scroll-section .align-bottom .sponsors {
  max-width: 300px;
  margin:0 auto;
  display: block;
}

.kowhai_vr .scroll-section .align-bottom .sponsors {
  display: none;
}

.scroll-section .align-bottom .sponsors.sponsors-desktop {
  display: none;
}

@media (min-width:768px) {
  .scroll-section .align-bottom .sponsors.sponsors-desktop {
    display: block;
      max-width: 1300px;
      width: 90%;
  }
  .scroll-section .align-bottom .sponsors.sponsors-mobile {
    display:none;
  }
}

.sponsors-content {
  padding-top: 10px;
}

.scroll-section-break {
  background: white;
}

.poty-voting .scroll-section-break {
  background: black;
}

.scroll-section-break .content-container {
  display: none !important;
}

.section-break .break-overlay {
  z-index: 1000;
}

.kowhai_vr .section-break .break-overlay {
  color: white;
}

.scrolling-sections {
  font-size: 1.1rem;
}

.scrolling-sections .medium {
  font-size:1.5rem;
}

div.scroll-section, p.scroll-section {
  min-height: 0;
}

@media (max-width:1000px) and (orientation: landscape) {

  body.scrolling-sections div.content-container {
    width: 720px;
    max-width: 100%;
    left:50%;
    transform: translateX(-50%);
  }

}

.scrolling-sections div.content-container { 
  transition: opacity 1s ease-in-out;
  opacity: 1;
  background: none;
}

.scrolling-sections.hide-controls div.content-container {
  opacity: 0;
  pointer-events: none;
}
.scroll-section .content-container .content-block, .vr-toolbar {
  color: white;
  background: rgba(0,0,0,0.5);
  box-sizing: border-box; 
}

.content-container .w960.vr-toolbar {
  text-align: center;
  padding:0px 20px;
  height: 45px;
}

.full-bleed .vr-toolbar img {
  width: 23px !important;
  height: auto;
    margin-right: 4px;
    position: relative;
    top: 3px;
}

.scroll-section section {
  background: none;
}

article .scroll-section .content-block p {
  width: 100%;
  background: none;
    font-size: 0.7rem;
    line-height: 1.1rem;
}

.kowhai_vr div.full-bleed div.delight-pannable {
  top: 0;
  position: absolute !important;
  width: 100%;
  height: 100%;
}

div.delight-pannable .loading-container {
    text-align: center;
    width: 100%;
}

.section-header h2 {
    font-size: 1.7rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: 500;
    clear:both;
}

.section-header h4 {
  font-size: 0.6rem;
  color: #00aeef;
  padding-bottom:10px;
    text-transform: uppercase;
  float:left;
  font-weight: 500;
}

.section-header h4 i, .poty-voting section.content-block a i { 
  margin-right: 3px;
}

.section-header h4.photographer {
  color: #fee470;
  float: right;
}

.poty-voting section.content-block a {
  color: #fee470;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 500;
}

@media (max-width:767px) {
  .section-header h4.photographer, .poty-voting section.content-block a {
    display: none;
  }
}

.scrolling-sections .read-more {
    display: block;
    color: white;
    text-transform: uppercase;
    font-size: .7rem;
    padding-bottom: 5px;
}

div.read-more {
    text-align: left;
    position: absolute;
    font-size: 1rem;
}

@media (max-width:767px) {
  p.full-bleed .vr-toolbar div.read-more img {
    top: 4px;
  }
}

div.full-bleed .delight-blind-container {
  z-index: 100;
}

.scrolling-sections .delight-blind-container dl8-video {
  height: auto !important;
  top: 0;
  bottom: 0;
  position: absolute !important;
}

.scrolling-sections div.content-container { 
  position:absolute;
  bottom:0;
  left: 0;
  right: 0;
  width:auto;
  height:auto;
  z-index: 100000;
}

div.jwplayer.jw-flag-aspect-mode {
  height:100% !important;
}

section.content-block { 
  max-height: 60vh;
  transition: .6s max-height ease-out;
}

@media screen and (max-width:800px) {
  section.content-block {
    max-height: 66vh;
  }
}

.content-block {
  margin-top:5%;
  height:80%;
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: none;
}

.closed section.content-block {
  max-height:85px;
  overflow: hidden;
  padding-bottom:0px;
}


.content-container .w960 {
  box-sizing: border-box;
  padding: 20px;
  padding-bottom: 0;
}

.map_container {
  height: auto !important;
  box-sizing: border-box;
  background: none !important;
  position: relative;
    width: calc(100% + 40px) !important;
    left: -20px;
}

#animation_container_VR_map.map_container {
    width: auto !important;
    height: 100% !important;
    position: absolute;
}

.map_container canvas {
  height: auto !important;
    width: 100% !important;
    position: static !important;
}

#animation_container_VR_map.map_container canvas {
    height: 100% !important;
    object-fit: contain;
}

#water {
  top: 0;
    position: fixed;
    z-index: 10000;
}

.video-controls {
  float:right;
  color:white;
  font-size: 2rem;
}

.vr-toggle {
  display: none;
}

.vr-available .vr-toggle {
  display: inline-block;
}

.video-controls a {
  display: inline-block;
  width:50px;
  height:50px;
}

.video-controls a img {
  width: 100%;
}

.vr-enabled .video-controls a.vr-toggle, .audio-enabled .video-controls a.audio-toggle {
  background-position-y: -50px;
}

.video-controls a.vr-toggle {
  background-position-x: 0;
}

.audio-enabled a.audio-toggle-off, a.audio-toggle-on  {
  display: inline-block;
}

.audio-enabled a.audio-toggle-on,  a.audio-toggle-off  {
  display: none;
}

audio.soundtrack {
  display: none;
}

img.nzvr-logo {
  width:300px; 
  height: auto;
  max-width: 50%;
}

body.kowhai_vr {
  background: black;
}

body.ios-no-overscroll {
  position: absolute;
  overflow: hidden;
  width:100%;
}

body.scrolling-sections #wrapper {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

body.scrolling-sections #wrapper.loaded {
  opacity: 1;
}

.scrolling-sections div.full-bleed, .scrolling-sections figure.full-bleed, .scrolling-sections p.full-bleed {
  margin-bottom: 0;
  position: absolute;
}

body.scrolling-sections div.full-bleed, body.scrolling-sections p.full-bleed {
  position: absolute;
  height: 100vh;
  height: calc(var(--vh, 100vh)) !important;
}



.scrolling-sections img.full-bleed {
  margin: 0 !important;
  height: 100vh;
  height: calc(var(--vh, 100vh)) !important;
}

.poty-voting .video-controls {
  display: none;
}

.scrolling-sections .like {
    position: absolute;
    top: 0px;
    left: 8px;
    text-shadow: 0 0px 5px rgba(0,0,0,.5);
    color: white;
    z-index: 100000;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 17px;
}

.scrolling-sections .like i {
  font-size: 1.5rem;
  position: relative;
  top:3px;
}

@media (orientation:landscape) {
  .scrolling-sections .rotate-hint {
    display:none;
  }
}

.scrolling-sections .rotate-hint {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  z-index:100000;
}

.scrolling-sections .rotate-hint img {
    height: auto;
    width: 32px !important;
}

.tool-tip {
    top: 45px;
    position: absolute;
    width: 500px !important;
    height: auto;
    transition: 1s opacity ease;
    opacity: 0;
}

@media (max-width:500px) {
  .tool-tip {
    width: 300px !important;
  }
}

.tool-tip.show {
  opacity: 1;
}

.tool-tip-rotate {
    right: 36px;
}

.tool-tip-vote {
    left: 36px;
}

.tool-tip-photostory {
    right: 36px;
  top: 55%;
}

.liked .like i {
  font-weight: 900;
  position: relative;
}

#corner-logo img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1000000;
  width:70px;
}

.poty-screen {
  display: block;
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    left: 10%;
    z-index: 1000;
    color: white;
    background: rgba(0,0,0,.5);
    padding: 25px;
    width: 80%;
    margin: 0 auto;
    box-sizing: border-box;
}

#poty-vote-screen {
  z-index: 1000000000;
}

#poty-vote-screen input {
  display: block;
}

#poty-vote-screen input {
    width: 40%;
    border: none;
    box-sizing: border-box;
    margin: 15px 0;
    padding: 15px;
    border-radius: 5px;
}

#poty-vote-screen input[type=text] {
  background: #666;
  color: white;
}

#poty-vote-screen input[type=submit], .poty-screen a.vote-button {
  background: #00aeef;
  color: white;
  text-transform: uppercase;
    margin: 15px 0 0 0;
    padding: 15px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    width:40%;
}

.poty-screen .images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.poty-screen .images img{
    object-fit: cover;
}

@media (max-width: 767px) {
  #poty-vote-screen input[type=submit], .poty-screen a.vote-button, #poty-vote-screen input[type=text] {
    width:100%;
    box-sizing: border-box;
  }

  .poty-screen .images {
      position: relative;
      display: flex;
      justify-content: space-between;
  }

  .poty-screen {
    left: 4%;
    width: 92%;
  }
}


@media (orientation: landscape) {

  .mobile #poty-vote-screen input#poty-email {
      width: 60%;
      display: inline-block;
  }
  
  .mobile #poty-vote-screen input#poty-submit {
      width: 35%;
      margin-left: 20px;
      display: inline-block;
  }

  .share-buttons {
      display: flex;
      justify-content: space-between;
  }

  .poty-screen a.vote-button {
    width: 30%;
  }
}

@media (orientation: landscape and max-height: 600px) {
  .poty-screen .images {
    display: none;
  }
}

.facebook-share,.twitter-share {
  position: relative;
  top: 7px;
}

.content-container.closed .facebook-share, .content-container.closed .twitter-share {
  display: none;
}

.scrolling-sections #wpadminbar {
  display: none;
}

.scrolling-sections div.content-container {
    padding: 0 20px;
}


.read-more i {
  font-size: 1.5rem;
  position: relative;
  top:5px;
  display: inline-block;
  margin-right: 8px;
}

.read-more span {
  font-size: 0.6rem;
  letter-spacing: 0.2px;
  font-weight: 500;
}

article .scroll-section .content-block p {
  font-family: "proxima-nova";
  font-size: 1rem;
  line-height: 1.3rem;
}

.poty-voting article .scroll-section .content-block p span.three-words {
  text-transform: none;
  font-family: "proxima-nova";
  font-weight:inherit;
}

.square-outer {
  width: 19%; 
  margin-top:15px;
}

@media (max-width:767px) and (orientation: landscape) {
  .square-outer {
    width: 30%;
  }

  .images:after {
    content: "";
    width: 30%;
  }
}

.square-inner {
  padding-top:100%;
  height:0;
  position: relative;
}

.square-inner img {
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
}

.photostory {
  position: absolute;
  transition: 0.6s transform ease;
  transform: translateX(0vw);
  height: 100%;
}

 p.full-bleed .photostory img.full-bleed {
  top: 0;
  display:inline-block;
  width:100vw !important;
}

.photostory-prev {
  position: absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  text-shadow: 0px 0px 10px white;
  transition: opacity 1s ease;
  font-size: 4rem;
  padding: 1rem;
  opacity: 1;
}
.photostory-next {
  position: absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  transition: opacity 1s ease;
  text-shadow: 0px 0px 10px white;
  font-size: 4rem;
  padding: 1rem;
  opacity: 1;
}

.photostory-prev, .photostory-next, .tool-tip {
  transition: 1s ease-in-out opacity;
}


.hide-controls .photostory-prev, .hide-controls .photostory-next, .hide-controls .tool-tip, .hide-controls .top-sponsors {
  opacity: 0;
}

.poty-voting .scroll-section .jwplayer, .poty-voting .scroll-section>.jw-error {
  position: absolute;
  top:0;
}


.poty-voting .scroll-section .video-hint {
    position: absolute;
    top: 50%;
    width:100%;
    text-align: center;
    transform: translateY(-50%);
    display: none;
}

.poty-voting .scroll-section .video-hint img {
  width: 30%;
}

@media (orientation: portrait) {
  .poty-voting .scroll-section .jwplayer, .poty-voting .scroll-section>.jw-error {
    display:none;
  }
  .poty-voting .scroll-section .video-hint {
    display: block;
  }
}

p.full-bleed.portrait img.full-bleed {
  width:auto !important;
}

.jwplayer.jw-stretch-uniform video {
  object-fit: cover;
}

.poty-voting .jw-controlbar {
  display: none;
}

.music {
  position: absolute;
  bottom:20px;
  right: 20px;
}

.music img {
  width: 20px;
}

#standfirsts {
  display: none;
}

video::-webkit-media-controls, video::-moz-media-controls, video::-o-media-controls, video::-ms-media-controls { display: none !important; }

/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */

*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

.IIV::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button {
    opacity: 0;
    pointer-events: none;
    width: 5px;
}

.PlayerView_root_1NY canvas {
  filter: none;
}

@media (orientation: portrait) {
  .vr-toggle-active .PlayerView_root_1NY canvas {
    filter: blur(15px);
  }
}

.scrolling-sections .enews-container { 
  display: none !important;
}

html body.vr-toggle-active.x-dl8-fullscreen.x-dl8-mobile {
  position: static !important;
  overflow: auto !important;
}

#wrapper {
  overflow: hidden;

}

article.kowhai_vr  .scroll-section .content-block p {
  font-size: .8rem;
  line-height: 1.2rem;
  font-family: Merriweather;
}

.kowhai_vr section h4 {
  font-size: 0.9rem;
  text-transform: none;
  font-style: italic;
}

.flipper {
  transform-style: preserve-3d;
}

.front, .back {
    position: absolute;
    top: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.back {
  transform: rotateY(180deg);
  z-index: 1; 
}

.flipper.flipped {
  transform: rotateY(180deg); 
}


.poty-voting .break-scroll-down {
  width: 100%;
}

.poty-voting .break-overlay {
  min-height: none;
}


.break-overlay .mobile-scroll-down {
  display:none;
}
.break-overlay .desktop-scroll-down {
  display:block;
}


.mobile .break-overlay .mobile-scroll-down {
  display:block;
}
.mobile .break-overlay .desktop-scroll-down {
  display:none;
}

.break-scroll-down img {  
    width: 15px !important;
    margin: 10px auto 20px auto;
}

.mobile .break-scroll-down img {
  transform: rotate(180deg);
} 

.steps li {
  width:33.3%;
  display: inline-block;
}

.photostory-frame { 
  width: 100vw; 
  display: inline-block;
}

p.full-bleed.portrait .photostory-frame img.full-bleed  {
  object-fit: cover;
  width:100vw !important;
}

p.full-bleed.portrait .photostory-frame img.full-bleed.portrait {
  object-fit: contain;
}


.poty-voting .flipper {
  height: 150px;
}

.poty-voting .flipper img {
  height:60px;
  width: auto;
  max-width: none;
}

.top-sponsors {
    opacity: 1;
    transition: all 1s ease-in-out;
    position: absolute;
    top:0;
    left: 50%;
    transform: translatex(-50%);
    z-index: 100;
}

body.scrolling-sections {
    touch-action: manipulation;
}

article .content-block p, figure.wp-caption, div.department-image, .paragraph-width {
  width: 620px !important;
  max-width: 100%;
}

.wp-caption img, article p img {
  width: 100%;
  height: auto;
}
