.img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%; 
  color: transparent;
  white-space: nowrap;
}
.bts-popup, .bts-popup1 {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  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: 999;
}
.bts-popup.is-visible, .bts-popup1.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;
  
}

.bts-popup-container, .bts-popup1-container {
  
  padding: 4% 2% 4% 2%;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 15em auto;
  background: #7baa9b;
  border-radius: 0.7rem; 
  
  /* box-shadow: 0 0 10px #8cc7b3; */
  -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;
}
.bts-popup-container img, .bts-popup1-container img {
  padding: 20px 0 0 0;
  filter: drop-shadow(0 0 10px #4d665e);
}
.bts-popup-container hr, .bts-popup1-container hr{
  border-top: 1px solid #676767;
  width: 80%;
}


.bts-popup-container h1, .bts-popup1-container h1{
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 25px;
  letter-spacing: 1px;
  text-align: center;
  color: rgb(255, 235, 181);
  font-weight: bold;
}
.bts-popup-container p, .bts-popup1-container p {
  text-align: center;
  color: rgb(0, 0, 0);
  line-height: 40px;
  font-weight: bold;
  font-size: 18px;
}
.bts-popup-container p span, .bts-popup1-container p span{
  font-weight: bold;
}
.bts-popup-container .bts-popup-button, .bts-popup1-container .bts-popup1-button {
  padding: 5px 25px;
  border: 2px solid white;
	display: inline-block;
  margin-bottom: 10px;
}

.bts-popup-container a, .bts-popup1-container a {
  color: rgb(0, 0, 0);
  text-transform: uppercase;
}






.bts-popup-container .bts-popup-close, .bts-popup1-container .bts-popup1-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.bts-popup-container .bts-popup-close::before, .bts-popup-container .bts-popup-close::after,
.bts-popup1-container .bts-popup1-close::before, .bts-popup1-container .bts-popup1-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 16px;
  height: 3px;
  background-color: white;
}
.bts-popup-container .bts-popup-close::before, .bts-popup1-container .bts-popup1-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, .bts-popup1-container .bts-popup1-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, .is-visible .bts-popup1-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (max-width: 1024px) {
  .bts-popup-container, .bts-popup1-container {
     margin: 4em auto; 
     max-width: 480px;
  }
}
@media only screen and (max-width: 480px) {
  .bts-popup-container, .bts-popup1-container {
    padding: 10% 2% 4% 2%;
    max-width: 300px;
  }
  .bts-popup-container h1, .bts-popup1-container h1{
    font-size: 18px;
  }
  .bts-popup-container p, .bts-popup1-container p {
    line-height: 26px;
}
}
@media only screen and (max-width: 375px) {
  .bts-popup-container, .bts-popup1-container {

    max-width: 300px;
  }
  .bts-popup-container h1, .bts-popup1-container h1{
    font-size: 16px;
  }
}

