#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: 10005;
  background: rgba(0, 0, 0, 0.5);
  padding-top: 138px;
}

.newsletter-popup {
  position: relative;
  width: 830px;
  height: 403px;
  margin: 0 auto;
  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: 46px 0px 0px 322px;
  text-align: center;
}
.newsletter-popup:before, .newsletter-popup:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup:after {
  clear: both;
}
.newsletter-popup h2 {
  margin: 0;
  color: #000;
  font-size: 48px;
  line-height: 48px;
}
.newsletter-popup h2 span {
  display: block;
  font-weight: 100;
  color: #158423;
}
.newsletter-popup h2 + p {
  margin: 18px 0 0;
  color: #777;
  padding: 0 20%;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 24px;
  margin-left: 85px;
}
.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: 217px;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 40px;
  border: none;
  background-color: #eeeeee;
  border: 1px solid #d6d6d6;
}
.newsletter-popup .tm-login-form input::-webkit-input-placeholder {
  color: #777;
  opacity: 1;
}
.newsletter-popup .tm-login-form input:-moz-placeholder {
  color: #777;
  opacity: 1;
}
.newsletter-popup .tm-login-form input::-moz-placeholder {
  color: #777;
  opacity: 1;
}
.newsletter-popup .tm-login-form input:-ms-input-placeholder {
  color: #777;
  opacity: 1;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo {
  display: none;
}
.newsletter-popup-close-btn {
  background: none;
  outline: none;
  border: none;
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #158423;
  right: 0px;
  top: 0px;
  color: #fff;
}
.newsletter-popup-close-btn:before {
  font-size: 18px;
  line-height: 23px;
}
.newsletter-popup-close-btn:hover {
  background-color: #000;
}
.newsletter-popup-btn {
  float: left;
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  font-size: 14px;
  line-height: 14px;
  height: 40px;
  color: #FFF;
  background: #158423;
  padding: 7px 23px 7px 13px;
  margin-left: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.newsletter-popup-btn, .newsletter-popup-btn i {
  vertical-align: middle;
}
.newsletter-popup-btn i {
  font-size: 28px;
  line-height: 28px;
  margin-right: 12px;
}
.newsletter-popup-btn:hover {
  background-color: #000;
}

.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: 768px) and (max-width: 991px) {
  .newsletter-popup {
    width: 720px;
    padding-left: 245px;
  }
}
@media (max-width: 767px) {
  .newsletter-popup-wrap {
    display: none !important;
  }
}
