#tm-newsletter-popup-form:before, #tm-newsletter-popup-form:after {
  display: table;
  content: "";
  line-height: 0;
}
#tm-newsletter-popup-form:after {
  clear: both;
}
#tm-newsletter-popup-form .tm-login-form input {
  font-size: 14px;
}

.newsletter-popup-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(244, 244, 244, 0.7);
  padding-top: 122px;
}

.newsletter-popup {
  position: relative;
  width: 971px;
  margin: 0 auto;
  background-color: #fff;
  background-repeat: no-repeat;
  -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: 51px 99px 47px;
}
.newsletter-popup:before, .newsletter-popup:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup:after {
  clear: both;
}
.newsletter-popup h2 {
  letter-spacing: 0.6px;
  font: 500 24px/24px "Roboto", sans-serif;
  margin: 0;
}
.newsletter-popup h2 + p {
  margin: 24px 0 0;
}
.newsletter-popup p {
  max-width: 370px;
  font-size: 14px;
  line-height: 20px;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 20px;
}
.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: 302px;
  height: 48px;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  padding: 6px 20px;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo + h2 {
  margin-top: 152px;
}
.newsletter-popup .logo img {
  display: inline-block;
}
.newsletter-popup-close-btn {
  background: none;
  outline: none;
  border: none;
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
  background-color: #222;
  display: inline-block;
  width: 50px;
  height: 50px;
}
.newsletter-popup-close-btn:before {
  font-size: 21px;
  line-height: 50px;
}
.newsletter-popup-close-btn:hover {
  color: #75cae5;
}
.newsletter-popup-btn {
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  font-size: 14px;
  line-height: 14px;
  height: 48px;
  font-weight: 700;
  letter-spacing: 2.8px;
  color: #fff;
  background: #222;
  padding: 10px 23px 10px 30px;
  text-transform: uppercase;
  float: left;
  margin-left: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.newsletter-popup-btn i {
  display: none;
}
.newsletter-popup-btn:hover {
  background: #75cae5;
}

.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 (min-width: 992px) and (max-width: 1199px) {
  .newsletter-popup {
    max-width: 910px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .newsletter-popup {
    max-width: 690px;
  }
}
@media (max-width: 767px) {
  .newsletter-popup-wrap {
    display: none !important;
  }
}
