#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.3);
  padding-top: 0px;
}

.newsletter-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 721px;
  height: 592px;
  margin-left: -360.5px;
  margin-top: -296px;
  background-color: #000;
  background-repeat: no-repeat;
  letter-spacing: 0.75px;
  -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: 94px 50px;
  text-align: center;
}
.newsletter-popup:before, .newsletter-popup:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup:after {
  clear: both;
}
.newsletter-popup, .newsletter-popup h2 {
  color: #fff;
}
.newsletter-popup .box-content {
  text-align: left;
}
.newsletter-popup h2, .newsletter-popup p {
  max-width: 405px;
}
.newsletter-popup h2 {
  font: 500 30px/30px "Open Sans", sans-serif;
  font-weight: 300;
  margin: 0;
}
.newsletter-popup h2 + p {
  margin: 24px 0 0;
  color: #fff;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 25px;
}
.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 {
  width: 301px;
  float: left;
  height: 48px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
}
.newsletter-popup .tm-login-form .newsletter-popup-btn {
  margin-left: 20px;
}
.newsletter-popup .logo {
  padding: 0 25px;
}
.newsletter-popup .logo + .box-content {
  margin-top: 52px;
}
.newsletter-popup .logo img {
  display: inline-block;
}
.newsletter-popup-close-btn {
  background: none;
  outline: none;
  border: none;
  position: absolute;
  right: 25px;
  top: 25px;
  color: #D2CFCF;
  font-size: 20px;
  line-height: 20px;
}
.newsletter-popup-close-btn:hover {
  color: #e74c3c;
}
.newsletter-popup-dont-show {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e74c3c;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 19px 0;
}
.newsletter-popup-dont-show:hover {
  background: #6e241d;
  color: #fff;
}
.newsletter-popup-btn {
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  color: #fff;
  background: #e74c3c;
  padding: 14px 20px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.newsletter-popup-btn:hover {
  background: #6e241d;
}

.newsletter-popup .newsletter-error, .newsletter-popup .newsletter-success {
  display: block;
  text-align: center;
  margin-top: 5px;
  font-size: 16px;
  line-height: 20px;
  position: absolute;
  top: 100%;
  -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;
  }
}
