#fancyboxw-container-1 {
  opacity: 0;
  z-index: -100;
}

.fancyboxw_button {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 50%;
  /*left: 5px;*/
  z-index: 9000;
}

.fancyboxw_button a {
  border: none;
  text-decoration: none;
}

.fancyboxw_button:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.fancyboxw_button img {
  width: 100%;
  /*height: 100%;*/
}

/*animate*/
.fancyboxw_button {
  -webkit-animation: fancyboxw_heartbeat 2.5s ease-in-out infinite both;
  animation: fancyboxw_heartbeat 2.5s ease-in-out infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2018-12-25 17:27:19
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes fancyboxw_heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
@keyframes fancyboxw_heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

/*end animate*/

/* always show close button */
.fancyboxw-toolbar {
  opacity: 1;
  visibility: visible;
}

.fancyboxw-iframe {
  border-radius: 15px;
}

.fancyboxw-slide--iframe .fancyboxw-content {
  width: 960px;
  height: 520px;
  /*max-width  : 960px;*/
  /*max-height : 600px;*/
  margin: 0;
  border-radius: 15px;
}

.fancyboxw-bg {
  background: #212121;
}


@media (max-width: 959px) {
  .fancyboxw-close-small {
    top: 0;
    right: 0;
  }
  .fancyboxw-slide--iframe .fancyboxw-content {
    width: 450px;
    height: 800px;
    max-width: 100%;
  }
  .fancyboxw-slide {
    padding: 6px;
  }
}

@media (min-width: 960px) and (max-width: 1200px) {
    .fancyboxw-slide {
        padding: 0;
    }
}
/* 
@media (max-width: 575px) {
  .fancyboxw-slide--iframe .fancyboxw-content {
    height: 655px;
    width: 100%;
  }  
} */
