.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: rgba(33, 33, 33, 0.8);
    transform: translateY(60%) scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.exit-intent-popup.visible {
    transform: translateY(0) scale(1);
}


/* Popup-specific styles */
.newsletter {
    background: #FFF;
    padding: 10px;
    border-radius: 20px;
}

.close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.5;
    transform: translate(50%, -60%);

  }
  .close:hover {
    opacity: 1;
  }
  .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
  }
  .close:before {
    transform: rotate(45deg);
  }
  .close:after {
    transform: rotate(-45deg);
  }


.newsletter {
    padding: 80px 50px;
    background: #f3f5fa;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 15px;
    color: #444444;
  }
  
.newsletter h4 {
    font-size: 24px;
    text-align: top;
    margin: 0 0 20px 0;
    transform: scale(1) translate(0%, -300%);
    line-height: 1;
    font-weight: 600;
    color: #37517e;
  }

  .newsletter h6 {
    font-size: 10px;
    text-align: top;
    margin: 0 0 20px 0;
    transform: scale(1) translate(0%,900%);
    line-height: 1;
    font-weight: 600;
    color: #37517e;
  }
  
.newsletter p{
    line-height: 15px;
    font-size: 17px;
    margin-bottom: 0;
    transform: scale(1) translate(0%, -550%);
 }

.newsletter form {
    margin-top: 90px;
    width: 80%;
    background: #fff;
    padding: 6px 10px;
    position: absolute;
    border-radius: 5px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
    transform: scale(1) translate(0%, -70%);

  }
  /*
.newsletter form input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
  }*/
  
.newsletter form input[type=submit] {
    position: absolute;
    top: 60%;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 20px;
    background: #47b2e4;
    color: #fff;
    transition: 0.3s;
    border-radius: 20px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }
  
.newsletter form input[type=submit]:hover {
    background: #209dd8;
  }