::-webkit-scrollbar {
    display: none;
}

body {
  margin: 0;
  background: #f5f0ea;
  overflow-x: hidden;
  background-position:center;
  background-size:cover;
  background-attachment:fixed;
}

iframe {
  display: block;
}

#close-btn{
  position: fixed;
  width:24px;
  right:2px;
  z-index: 10;
}

#creative_top,
#creative_top_placeholder {
  transition: height .5s;
  height: 0;
  position: relative;
  display: block;
  cursor: pointer;
  z-index: 2;
  display:none;
}
#creative_top_placeholder {
  position: absolute;
  top:0;
  height:0;
  z-index: 10;
  width:100%;
}

#creative_main,
#creative_main_placeholder {
  width: 100%;
  position: relative;
  margin: 0 auto;
  display: block;
  z-index: 0;
  cursor: pointer;
  transform-origin: left top;
}

#creative_main_placeholder {
  z-index: 10;
}

#creative_bottom,
#creative_bottom_placeholder{
  position: fixed;
  left: 0;
  right: 0;
  z-index: 2;
  height: 0;
  transition: height .3s, top .3s;
  cursor: pointer;
}
#creative_bottom_placeholder{
  z-index: 10;
}

#creative_bottom_holder {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 4;
  height: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

#creative_bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  bottom: 0;
  transition: height .3s, transform .3s;
  transform:translateY(100%);
  pointer-events: auto;
}

.ad-bar {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 11px;
  padding: 1px 0;
  position: relative;
  z-index: 1;
  color: white;
  background: black;
  text-align: center;
  width: 100%;
}


.ad-bar .triangle {
  width: 0;
  height: 0;
  border-top: 8px solid white;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 0 solid transparent;
  box-sizing: border-box;
  display: inline-block;
  margin: 2px 20px;
}


.ad-bar .triangle:nth-of-type(1) {
  float: left;
}

.ad-bar .triangle:nth-of-type(2) {
  float: right;
}

.ad-bar-container {
  position: relative;
  overflow: hidden;
  z-index: 4;
}

.ad-bar-container.top-ad-bar {
  z-index: 4;
}

.ad-bar-container.bottom-ad-bar {
  z-index: 5;
}

#website_top, #website_bottom, #website {
  position: relative;
  width: 100%;
  height: 800px;
  border: none;
  z-index: 2;
  display: block;
}

#website_bottom {
  height: 100%;
}

#bottom_container {
  position: relative;
  overflow: hidden;
  height: 1000px;
  z-index: 1;
}

#cascade_creative_top{
  height: 0;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  width: 332px;
  z-index: 3
}

#cascade_creative_bottom {
  height: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  width: 332px;
  overflow: hidden;
  z-index: 3;
}

#sticky_creative{
  position: fixed;
  width: 324px;
  left:0;
  bottom:0;
  height:0;
  z-index: 3;
  border: 2px solid #afaeae
}

.qrcode-container{
  display:none;
  position: fixed;
  top: 53%;
  left: 30%;
  width:20%;
  max-width: 240px;
  min-width: 140px;
  transform: translate(-50%, -50%);
  font-family:Cambria,serif;
  color:white;
  text-align: center;
}

.qrcode-container p{
  font-size: 26px;
  padding: 4px;
}

.qrcode-container img{
  width:100%;
}

.device {
  position: fixed;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 326px;
    height: 688px;
  overflow: hidden;
  /* z-index: 10; */
}

.device .screen {
  position: absolute;
  background: #393939;
  overflow-x: hidden;
  overflow-y: scroll;
  top: 0;
  bottom: 0;
  left: 0;
  right: -15px;
  /* width:100%; */
  pointer-events: all;
  /* transform: skew(0.001deg); */
  clip-path: inset(1px round 40px);
}

.device-image {
  pointer-events: none;
  width: 370px;
  /* height:760px; */
  top: 53%;
  left: 50%;
  position: fixed;
  transform: translate(-50.05%, -49.95%);
}

.display-with-qrcode{
  left:70%;
}

@media screen and (max-height:900px) {
  .device {
    width: 273px;
    height: 577px;
  }
  .device-image {
    width: 310px;
  }
  .device .screen {
    clip-path: inset(1px round 33px);
  }
  #cascade_creative_top,
  #cascade_creative_bottom,
  #sticky_creative{
    width: 272px;
  }
}
