.img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
  z-index: 99999999999;
}

.bts-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #5EA6EC80;
  /* background-color: rgba(0, 0, 0, 0.5); */
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 99999999999;
}

.bts-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
  z-index: 99999999999;
}

.bts-popup-container {
  position: relative;
  width: 90%;
  max-width: 300px;
  /*margin: 4em auto;*/
  background: #transparent;
  border-radius: none;
  text-align: center;
  /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);*/
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
  z-index: 99999999999;
}

.bts-popup-container img {
  padding: 0 0 0 0;
  z-index: 99999999999;
}

.bts-popup-container p {
  /*color: white;*/
  padding: 0px 0px;
  /*  padding: 10px 40px; */
  z-index: 99999999999;
}

.bts-popup-container .bts-popup-button {
  padding: 0 0;
  /*border: 2px solid white;*/
  display: inline-block;
  margin-bottom: 0;
}

.bts-popup-container a {
  color: white;
  text-decoration: none;
}

.bts-popup-container .bts-popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 22px;
}

.bts-popup-container .bts-popup-close::before,
.bts-popup-container .bts-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 32px;
  height: 6px;
  background-color: #f0f3f3;
}

.bts-popup-container .bts-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}

.bts-popup-container .bts-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 6px;
  top: 13px;
}

.is-visible .bts-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

@media only screen and (min-width: 1170px) {
  .bts-popup-container {
    margin: 20em auto;
  }
}

.img-bts-popup {
  width: 100%;
}