/*==================     Subscribe Form     ======================*/
.subscribe-form {
  position: relative;
  display: block;
  text-align: left;
  margin-top: 15px;
  width: 220px;
}
.subscribe-form label {
  display: inline-block;
  position: relative;
  padding: 9px 50px 9px 15px;
  background: #3c3d3f;
  border: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.subscribe-form label.name {
  width: 220px;
}
.subscribe-form label.email {
  width: 220px;
}
.subscribe-form input {
  outline: none;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  border-radius: 0;
  vertical-align: baseline;
  box-shadow: none;
  color: #5d5e61;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  height: 22px;
  letter-spacing: .5px;
}
.subscribe-form a[data-type="submit"] {
  display: block;
  background: no-repeat url(../images/icon-newsletter.png);
  border: none;
  display: inline-block;
  padding: 0;
  outline: none;
  outline-offset: 0;
  cursor: pointer;
  -webkit-appearance: none;
  position: absolute;
  top: 11px;
  right: 12px;
  width: 28px;
  height: 18px;
}
.subscribe-form .error,
.subscribe-form .success {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 10px;
  line-height: 12px;
}
.subscribe-form .error {
  color: #f00;
  overflow: hidden;
  height: 0;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.subscribe-form label.invalid .error {
  height: 21px;
}
.subscribe-form .success {
  display: none;
  color: #0f0;
}
@media (max-width: 979px) {
  .subscribe-form {
    width: 100%;
  }
  .subscribe-form label.name,
  .subscribe-form label.email {
    display: block;
    width: 100%;
  }
}
