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

.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: 85px 0px 147px 100px;
}
.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-aside {
  float: left;
  width: 42.5%;
}
.newsletter-popup .box-content {
  float: right;
  width: 57.5%;
  padding-top: 11px;
}
.newsletter-popup h2 {
  font: 400 24px/30px "Roboto Condensed", sans-serif;
  margin: 0;
}
.newsletter-popup h2 + p {
  margin: 18px 0 0;
  max-width: 350px;
  font-size: 14px;
  line-height: 20px;
}
.newsletter-popup .tm-login-form {
  position: relative;
  margin-top: 18px;
}
.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;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  height: 48px;
  margin-right: 14px;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo + h2 {
  margin-top: 25px;
}
.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: 31px;
  line-height: 31px;
}
.newsletter-popup-close-btn:hover {
  color: #f57a43;
}
.newsletter-popup-btn {
  margin-top: 0;
  border: none;
  outline: none;
  display: inline-block;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1.4px;
  color: #FFF;
  background: #f57a43;
  padding: 17px 26px;
  text-transform: uppercase;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 3px 3px 8px 0px rgba(50, 50, 50, 0.2);
  -moz-box-shadow: 3px 3px 8px 0px rgba(50, 50, 50, 0.2);
  box-shadow: 3px 3px 8px 0px rgba(50, 50, 50, 0.2);
}
.newsletter-popup-btn:hover {
  background-color: #fff;
  color: #f57a43;
}
.newsletter-popup .newsletter-popup-dont-show {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 19px 0;
  background-color: #f57a43;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}
.newsletter-popup .newsletter-popup-dont-show:hover {
  background-color: #fff;
  color: #f57a43;
}

.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: 738px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .newsletter-popup .tm-login-form input {
    width: 200px;
  }
  .newsletter-popup .box-content {
    width: 52%;
  }
}
@media (max-width: 767px) {
  .newsletter-popup-wrap {
    display: none !important;
  }
}
