#tm-newsletter-popup-form:before, #tm-newsletter-popup-form:after {
  display: table;
  content: "";
  line-height: 0;
}
#tm-newsletter-popup-form:after {
  clear: both;
}

.newsletter-popup-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  padding-top: 100px;
}
.newsletter-popup-wrap .newsletter-popup-close-btn {
  background: none;
  outline: none;
  border: none;
  position: absolute;
  right: 25px;
  top: 25px;
  color: #D2CFCF;
  font-size: 31px;
  line-height: 31px;
}
.newsletter-popup-wrap .newsletter-popup-close-btn:hover {
  color: #72c9c1;
}
.newsletter-popup-wrap .newsletter-popup-dont-show {
  margin-top: 15px;
}

.newsletter-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -350px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 700px;
  background-color: #fff;
  color: #8d8d8d;
  -webkit-box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.15);
  padding: 71px 76px 29px 115px;
}
.newsletter-popup:before, .newsletter-popup:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup:after {
  clear: both;
}
.newsletter-popup h2 {
  font-size: 48px;
  line-height: 48px;
  font-weight: 300;
  letter-spacing: 9.6px;
  color: #cfd8dc;
  text-transform: uppercase;
  margin-bottom: 0;
}
.newsletter-popup h2 + p {
  margin-top: 34px;
  font-size: 16px;
  line-height: 24px;
  max-width: 450px;
  margin-bottom: 6px;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 18px;
}
.newsletter-popup .tm-login-form:before, .newsletter-popup .tm-login-form:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup .tm-login-form:after {
  clear: both;
}
.newsletter-popup .tm-login-form input {
  height: 50px;
  max-width: 470px;
}
.newsletter-popup .tm-login-form input:focus {
  box-shadow: none;
  outline: none;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo + h2 {
  margin-top: 25px;
}
.newsletter-popup .logo {
  display: none;
}
.newsletter-popup .logo img {
  display: inline-block;
}
.newsletter-popup-btn {
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  font-size: 16px;
  line-height: 30px;
  height: 50px;
  color: #fff;
  background: #72c9c1;
  padding: 10px 20px 10px 18px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 3px 3px 8px 0px rgba(50, 50, 50, 0.2);
  -moz-box-shadow: 3px 3px 8px 0px rgba(50, 50, 50, 0.2);
  box-shadow: 3px 3px 8px 0px rgba(50, 50, 50, 0.2);
}
.newsletter-popup-btn i {
  font-size: 26px;
  line-height: 30px;
  margin-right: 5px;
  height: 30px;
}
.newsletter-popup-btn:hover {
  background: #455a64;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.newsletter-popup .newsletter-error, .newsletter-popup .newsletter-success {
  display: block;
  text-align: center;
  margin-top: 5px;
  font-size: 16px;
  line-height: 20px;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.newsletter-error {
  color: #D4323D;
}

.newsletter-success {
  color: #55C65E;
}

@media (max-width: 767px) {
  .newsletter-popup-wrap {
    display: none !important;
  }
}
