.bg-wg-modal {
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  /*padding-top: 100px;*/
  z-index: 9999;
}
.bg-wg-modal .wg-modal {
  display: block;
  width: 830px;
  max-width: 80%;
  position: relative;
  border: 8px solid #3e9400;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}
.bg-wg-modal.closing .wg-modal {
  -webkit-animation-name: animatetopHide;
  -webkit-animation-duration: 0.4s;
  -webkit-animation-fill-mode: forwards;
  animation-name: animatetopHide;
  animation-duration: 0.4s;
  animation-fill-mode: forwards;
}
.bg-wg-modal.closing {
  -webkit-animation-name: bgAnimatetopHide;
  -webkit-animation-duration: 0.4s;
  -webkit-animation-fill-mode: forwards;
  animation-name: bgAnimatetopHide;
  animation-duration: 0.4s;
  animation-fill-mode: forwards;
}
.wg-modal.verticalCentering {
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.wg-modal {
  display: none;
  margin: 100px auto;
  background: url("../images/floral-bg.png") repeat 0 0;
  padding: 0;
}
.wg-modal.innerScroll .wg-content {
  max-height: calc(100vh - 240px);
  overflow-y: auto;
}
.wg-modal .wg-modal-close {
  position: absolute;
  right: 2px;
  top: 2px;
  font-weight: bold;
  line-height: 100%;
  cursor: pointer;
  height: 37px;
  width: 37px;
  text-align: center;
  z-index: 1;
  font-size: 0;
  background: url(../images/popup-close.jpg) no-repeat 0 0;
}
.wg-modal .wg-header {
  background-color: #eee;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
}

.popup_left {
  width: calc(100% - 470px);
  float: left;
  padding: 30px 60px;
  border-right: 8px solid #fff;
}

.popuptitle {
  width: 100%;
  text-align: center;
  font-size: 53px;
  color: #333333;
  font-family: "Engagement";
}

.popup_right {
  float: right;
  width: 470px;
}
.popup_right img {
  width: 100%;
  float: left;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@-webkit-keyframes animatetopHide {
  from {
    top: 0;
    opacity: 1;
  }
  to {
    top: -300px;
    opacity: 0;
  }
}
@keyframes animatetopHide {
  from {
    top: 0;
    opacity: 1;
  }
  to {
    top: -300px;
    opacity: 0;
  }
}

@-webkit-keyframes bgAnimatetopHide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes bgAnimatetopHide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
