#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: 280px;
}

.newsletter-popup {
  position: relative;
  width: 570px;
  margin: 0 auto;
  background-color: #FFF;
  background-repeat: no-repeat;
  border-radius: 3px;
  -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: 50px 0 65px 0;
  text-align: center;
}
.newsletter-popup:before, .newsletter-popup:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup:after {
  clear: both;
}
.newsletter-popup h2 {
  text-transform: uppercase;
  font: 500 20px/24px "Open Sans", sans-serif;
  margin: 0;
}
.newsletter-popup h2 + p {
  margin: 18px 0 0;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 16px;
  color: #242424;
}
.newsletter-popup .box-content {
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 34px;
}
.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: 330px;
  height: 60px;
  background: #f6f6f6;
  font-size: 18px;
  color: #727272;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo + h2 {
  margin-top: 26px;
}
.newsletter-popup .logo img {
  display: inline-block;
}
.newsletter-popup-close-btn {
  outline: none;
  border: none;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 14px;
  background: #ca5353;
}
.newsletter-popup-close-btn:before {
  line-height: 30px;
  color: #fff;
}
.newsletter-popup-close-btn:hover {
  background: #358a36;
}
.newsletter-popup-close-btn:hover:before {
  color: #fff;
}
.newsletter-popup-dont-show {
  position: absolute;
  bottom: 0;
  height: 24px;
  left: 0;
  right: 0;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff !important;
  background: #4e7dc4;
}
.newsletter-popup-dont-show:hover {
  color: #fff;
  background: #358a36;
}
.newsletter-popup-btn.button {
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  font-size: 18px;
  line-height: 60px;
  font-weight: 700;
  height: 60px;
  color: #FFF;
  background: #358a36;
  padding: 0 30px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.newsletter-popup-btn.button:after {
  background: #276528;
}
.newsletter-popup-btn.button i {
  font-size: 26px;
  line-height: 30px;
  margin-right: 5px;
  height: 30px;
}
.newsletter-popup-btn.button:hover {
  background: #ca5353;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.newsletter-popup-btn.button:hover:after {
  background: #b33737;
}

.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;
  }
}
