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

.newsletter-popup {
  position: relative;
  width: 555px;
  margin: 0 auto;
  background-color: #eceff1;
  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: 54px 70px 50px;
  text-align: center;
  border-radius: 0;
}
.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 23px/26px "Rubik", sans-serif;
  color: #000;
  margin: 0;
}
.newsletter-popup h2 + p {
  margin: 18px 0 10px;
  font-size: 17px;
  line-height: 26px;
  color: #757575;
}
.newsletter-popup .tm-login-form {
  border-radius: 0;
  position: relative;
  margin-top: 26px;
}
.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[type="text"] {
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
  border-radius: 0px;
  font-size: 13px;
  line-height: 26px;
  color: #000;
  display: inline-block;
  border: 2px solid #cfd8dc;
  background: #fff;
  height: 40px;
  width: 270px;
}
.newsletter-popup .tm-login-form input[type="text"]:focus {
  outline: none;
}
.newsletter-popup .tm-login-form input[type="text"]::-webkit-input-placeholder {
  color: #b0bec5;
}
.newsletter-popup .tm-login-form input[type="text"]:-moz-placeholder {
  color: #b0bec5;
}
.newsletter-popup .tm-login-form input[type="text"]::-moz-placeholder {
  color: #b0bec5;
}
.newsletter-popup .tm-login-form input[type="text"]:-ms-input-placeholder {
  color: #b0bec5;
}
+ .newsletter-popup .tm-login-form-btn {
  margin-left: 7px;
}
.newsletter-popup .logo {
  display: none;
}
.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: 30px;
  top: 30px;
  color: #000;
  font-size: 31px;
  line-height: 31px;
}
.newsletter-popup-close-btn:hover {
  color: #2196f3;
}
.newsletter-popup-dont-show {
  margin-top: 30px;
  color: #000;
}
.newsletter-popup-dont-show:hover {
  color: #2196f3;
}
.newsletter-popup-btn {
  margin-left: 11px;
  background: none;
  text-transform: uppercase;
  border: 2px solid #000;
  padding: 7.5px 28px 8px;
  display: inline-block;
  letter-spacing: 1px;
  font-weight: 500;
  color: #000;
}
.newsletter-popup-btn i {
  margin-right: 5px;
  display: none;
}
.newsletter-popup-btn:hover {
  color: #fff;
  background: #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 (max-width: 767px) {
  .newsletter-popup-wrap {
    display: none !important;
  }
}
