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

.newsletter-popup {
  position: relative;
  width: 688px;
  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: 54px 93px;
  text-align: center;
}
.newsletter-popup:before, .newsletter-popup:after {
  display: table;
  content: "";
  line-height: 0;
}
.newsletter-popup:after {
  clear: both;
}
.newsletter-popup h2 {
  font: 400 36px/46px "Ubuntu", sans-serif;
  margin: 0;
  color: #e06a1f;
}
.newsletter-popup h2 + p {
  color: #242424;
  margin: 17px 0 0;
  font-size: 13px;
  line-height: 20px;
  font-weight: 300;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 43px;
}
.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 {
  border-radius: 2px;
  width: 329px;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 50px;
  border: 1px solid #bbbbbb;
}
.newsletter-popup .tm-login-form input::-webkit-input-placeholder {
  color: #282e36;
  opacity: 1;
}
.newsletter-popup .tm-login-form input:-moz-placeholder {
  color: #282e36;
  opacity: 1;
}
.newsletter-popup .tm-login-form input::-moz-placeholder {
  color: #282e36;
  opacity: 1;
}
.newsletter-popup .tm-login-form input:-ms-input-placeholder {
  color: #282e36;
  opacity: 1;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo + h2 {
  margin-top: 30px;
}
.newsletter-popup .logo img {
  display: inline-block;
}
.newsletter-popup-close-btn {
  background: none;
  outline: none;
  border: none;
  position: absolute;
  display: inline-block;
  width: 39px;
  height: 39px;
  background: #e06a1f;
  right: -20px;
  top: -20px;
  color: #fff;
}
.newsletter-popup-close-btn:before {
  font-size: 18px;
  line-height: 23px;
}
.newsletter-popup-close-btn:hover {
  background-color: #c4560f;
}
.newsletter-popup-btn {
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  font-size: 16px;
  line-height: 30px;
  height: 50px;
  color: #fff;
  background: #e06a1f;
  border-radius: 2px;
  padding: 10px 20px 10px 18px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
}
.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: #c4560f;
}

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