/* Popup container - can be anything you want */
.popup {
  position: absolute;
  top: 20px;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  width: 1240px;
  margin-left: -620px;
  height: 480px;
  /* overflow-y: scroll;*/
  visibility: hidden;
  background-color: #eee;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #aaa;
  padding: 18px;
  position: absolute;
  z-index: 100;
  top: 0px;
  left: 50%;
  line-height: 1.1em;
}

/* content */
.popup .popuptext iframe{
width: 100%;
height: 90%;
}
.popup .popuptext button{
width: 25%;
height: 10%;
  border-radius: 10px;
  border: 1px solid #aaa;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

* {
  box-sizing: border-box;
}


@media screen and (min-width: 993px) and (max-width: 1280px) {
  .popup .popuptext {
  width: 840px;
  margin-left: -420px;
  }
}

@media screen and (min-width: 651px) and (max-width: 992px) {
  .popup .popuptext {
  width: 640px;
  margin-left: -320px;
  }
}

@media screen and (max-width: 650px) {
  .popup .popuptext {
  width: 420px;
  margin-left: -210px;
  }

}

@media only screen and (max-width: 600px) {
  #btn-form
  {
    padding: 10px 0!important;
  }

}
