.newsletter-form {
  -webkit-transition: all 2s ease;
  transition: all 2s ease;
  position: relative;
  display: inline-block;
  /* Error message style */
  /* Error message appears */
}
.newsletter-form #form1 {
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}
.newsletter-form .btn-default {
  display: inline-block;
  margin-left: 31px;
}
@media (max-width: 767px) {
  .newsletter-form .btn-default {
    display: block;
    margin-left: 0;
    margin-top: 10px;
  }
}
.newsletter-form .success {
  position: absolute;
  font-size: 11px;
  line-height: 14px;
  bottom: -22px;
  left: 0;
  color: #ff9700;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .newsletter-form .success {
    font-size: 10px;
    line-height: 11px;
    bottom: -20px;
  }
}
@media (max-width: 767px) {
  .newsletter-form .success {
    bottom: -40px;
  }
}
.newsletter-form input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font: 400 14px/24px "Lato", sans-serif;
  color: #acacac;
  padding: 11px 15px;
  width: 480px;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  border: 1px solid #c1c7c1;
  background: #ffffff;
  height: 49px;
  text-transform: none;
}
@media (max-width: 1199px) {
  .newsletter-form input {
    width: 428px;
  }
}
@media (max-width: 979px) {
  .newsletter-form input {
    width: 270px;
  }
}
@media (max-width: 767px) {
  .newsletter-form input {
    width: 100%;
    margin-left: 0;
  }
}
.newsletter-form input:focus {
  outline: none;
}
.newsletter-form .name {
  position: relative;
}
.newsletter-form .email {
  position: relative;
}
.newsletter-form .error {
  text-align: left;
  font-size: 9px;
  line-height: 9px;
  position: absolute;
  top: 2px;
  right: 5px;
  display: none;
  color: #ff5654;
}
.newsletter-form .invalid .error {
  display: block;
}
