.label-bottle {
    padding-top: 240px;
}

#gallery {
    height: 848px;
    background-image: url(/img/snaphighball/bottle_preview.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 470px;
    margin-top: 40px;
    margin-left: 0px;
    z-index: 3;
}

.preview {
    display: block;
    width: 450px!important;
    height: auto;
    background-color: #fff;
    position: absolute;
    left: 50%;
    margin-left: -235px;
    top: 320px;
    border-radius: 0px 0px 140px 140px / 0px 0px 8px 8px;
}

#gallery .shadow {
    display: block;
    width: 450px!important;
    height: 504px;
    background-color: yellow;
    position: absolute;
    left: 50%;
    margin-left: -235px;
    top: 320px;
    z-index: 2;
    background: -webkit-linear-gradient(
            left,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 6%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.2) 65%,
            rgba(0, 0, 0, 0.6) 100%
    );
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 6%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.2) 65%,
            rgba(0, 0, 0, 0.6) 100%
    );
    border-radius: 0px 0px 140px 140px / 0px 0px 8px 8px;
}

.bottle {
  padding: 1px;
  background-image: url(/img/snaphighball/bottle.webp);
  background-repeat: no-repeat;
  background-size: 220px auto;
  background-position-x: 50%;
  background-position-y: 170px;
  height: 540px;
}


.shadow {
  display: block;
  width: 200px;
  height: 250px;
  background-color: yellow;
  position: absolute;
  z-index: 100;
  background: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 6%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.2) 65%,
    rgba(0, 0, 0, 0.6) 100%
  );
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 6%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.2) 65%,
    rgba(0, 0, 0, 0.6) 100%
  );
  border-radius: 0px 0px 74px 74px / 0px 0px 8px 7px;
}


@media screen and (max-width: 500px) {

#preview_wrapper {
  height: 100%;
   /*z-index: 1;
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  overflow-y:clip!important;
  -webkit-overflow-scrolling: touch;
 
	background-color: #222;
	background: rgba(0,0,0, 0.85);
	
  visibility: hidden;*/
}


#gallery {
    height: 700px;
    background-image: url(/img/snaphighball/bottle_preview.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%!important;
    margin-top:0px;
    margin-left: 0px;
    z-index: 3;
}

.preview {
   display: block;
   width: 375px !important;        
   height: auto;
   background-color: #fff;
   position: absolute;
   left: 50%!important;
   margin-left: -189px!important;
   top: 252px!important;
   border-radius: 0px 0px 140px 140px / 0px 0px 8px 8px;
}

#gallery .shadow {
    display: block;
    width: 375px !important; 
    height: 420px!important; 
    position: absolute;
    left: 50%!important;
    margin-left: -189px!important;
    top: 252px!important;
    z-index: 2;
    background: -webkit-linear-gradient(
            left,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 6%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.2) 65%,
            rgba(0, 0, 0, 0.6) 100%
    );
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 6%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.2) 65%,
            rgba(0, 0, 0, 0.6) 100%
    );
    border-radius: 0px 0px 140px 140px / 0px 0px 8px 8px;
}
}


@media screen and (max-width: 375px) {

.preview {
   display: block;
   width: 345px !important;        
   height: auto;
   background-color: #fff;
   position: absolute;
   left: 54% !important;
   margin-left: -175px;
   top: 226px!important;
   border-radius: 0px 0px 140px 140px / 0px 0px 8px 8px;
}

#gallery .shadow {
    display: block;
    width: 345px !important; 
    height: 390px!important; 
    position: absolute;
    left: 54% !important;
    margin-left: -175px;
    top: 224px!important;
    z-index: 2;
    background: -webkit-linear-gradient(
            left,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 6%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.2) 65%,
            rgba(0, 0, 0, 0.6) 100%
    );
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 6%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.2) 65%,
            rgba(0, 0, 0, 0.6) 100%
    );
    border-radius: 0px 0px 140px 140px / 0px 0px 8px 8px;
}
}