.has-fullscreen:not(.article) .row, .has-fullscreen:not(.article) .wrap-background {
  z-index: 100;
  position: relative;
}

.has-fullscreen:not(.article) .row.fullbleed, .has-fullscreen:not(.article) .wrap-background.fullbleed {
  max-width: none;
  padding: 0;
  z-index: 90 !important;
}

.article.has-fullscreen .articleHeader,
.article.has-fullscreen .blogshout-wrapper,
.article.has-fullscreen .header,
.article.has-fullscreen .main.article>.row {
  z-index: 101;
  position: relative;
  clear: both;
}

.article.has-fullscreen .main.article>.ad-container::before,
.has-fullscreen .row.fullbleed .ad-container::before,
.ad-slug.doubleclickAd[data-google-query-id]>div::after {
  content: ' ';
  background: url("//static.klikk.no/common/img/adlabel_mobile.png") no-repeat center;
  display: block;
  text-align: left;
  height: 21px;
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 100;
}

.ad-slug {
  position: relative;
}

.ad-slug.doubleclickAd[data-google-query-id]>div::after {
  top: -20px;
}

.has-fullscreen .ad-fullscreen {
  height: 100vh !important;
  padding: 0;
  width: 100% !important;
  margin: 0;
}

.has-fullscreen .ad-fullscreen::after,
.has-fullscreen .ad-fullscreen::before {
  background: #FFF;
  content: ' ';
  display: block;
  height: 150vh;
  position: relative;
  top: -150vh;
  width: 100%;
  z-index: 91;
  padding: 0;
}

.article.has-fullscreen .ad-fullscreen::after,
.article.has-fullscreen .ad-fullscreen::before {
  left: calc(50% - 50vw);
}

.has-fullscreen .ad-fullscreen::after {
  top: -50vh;
}

.has-fullscreen .ad-fullscreen>div {
  left: 0;
  position: fixed;
  top: 0;
  overflow: hidden;
  -webkit-transform: translate3d(-100vw, 0, 0);
  transform: translate3d(-100vw, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  z-index: 90;
}

.has-fullscreen .ad-fullscreen.active>div {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.has-fullscreen .ad-fullscreen>div,
.has-fullscreen .ad-fullscreen>div iframe {
  width: inherit !important;
  height: inherit !important;
}

.ad-fullscreen::after, .ad-fullscreen::before {
  left: inherit;
}

.wrap-background.ad-container {
  z-index: 1;
  width: 100%;
}

.cascade-box>div.ad-container {
  padding: 0;
}

@media (min-width: 600px) {
  .cascade-box>div.ad-container {
    padding: .33rem;
  }
}
