.home .messages-container .thanks-message, .newsletter .messages-container .thanks-message {
  color: #fff;
  font-size: 20px;
  line-height: 40px;
  margin: 0;
  padding: 0;
}

.home .messages-container .error-message, .newsletter .messages-container .error-message {
  background-color: #dd4b39;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 11px;
  padding: 5px 2%;
  text-align: center;
  top: 39px;
  width: 95.5%;
}
@media screen and (max-width: 767px) {
  .home .messages-container .error-message, .newsletter .messages-container .error-message {
    border-radius: 0;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
    top: -19px;
    width: 96%;
  }
}

@media screen and (max-width: 767px) {
  .home .newsletter-section {
    padding-bottom: 25px;
  }
}

.home .email-container form, .newsletter .email-container form {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 40px;
  max-width: 454px;
  display: inline;
}

.home .email-container input, .newsletter .email-container input {
  background-color: #fff;
  border-right: 3px solid #CECECE;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  box-sizing: border-box;
  box-shadow: none;
  color: #000;
  width: 70.5%;
  height: 40px;
  font-family: 'Open Sans', arial, sans-serif;
  display: inline-block;
  font-weight: 300;
  font-size: 14px;
  float: left;
  margin: 0 -2px 0 0;
  -webkit-appearance: none;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  padding: 5px 2%;
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
.home .email-container input, .newsletter .email-container input {
    border-right: 0;
    width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin-bottom: 10px;
  }
}
.email-container button {
  font-size: 13px;
  line-height: 15px;
  border: 0;
  padding: 0;
  font-family: arial, sans-serif;
  width: 29%;
  height: 40px;
  font-weight: 700;
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background: #efefef;
  color: #5e94ff !important
}

.email-container button:focus {
  box-shadow: 0 0 5px #fff !important;
}
@media screen and (max-width: 767px) {
  .email-container button {
    width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
  }
}

.newsletter .email-container input {
  width: 20%;
  border: 1px solid #CECECE;
  border-right: 3px solid #CECECE;
}

.newsletter .email-container button {
  width: 10%;
}

.newsletter .messages-container .error-message {
  width:25.8%;
  margin-top:0px !important;
}

.newsletter .messages-container .thanks-message {
  color: #666;
}

.newsletter h1 {
  color: #333 !important;
  padding:0;
}

.newsletter h1.headline {
   max-width: 800px !important;
}

.newsletter .subheadline {
  color: #333;
}

.newsletter .page-header p.subheadline {
 width: 1000px !important;
 padding-bottom: 30px;
}

.newsletter .email-container button {
  border: 1px solid #e1e1e1;
  background: #FCFCFC;
  color: #444 !important;
}

.home .email-container button:hover, .newsletter .email-container button:hover {
  background: #f1f1f1 !important;
}

.home .email-container button:focus {
  background: #f1f1f1 !important;
}

.home ::-webkit-input-placeholder, .newsletter ::-webkit-input-placeholder { /* WebKit browsers */
    color: #222;
    font-weight: 400;
}

.home :-moz-placeholder, .newsletter :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #222;
   font-weight: 400;
   opacity: 1;
}

.home ::-moz-placeholder, .newsletter ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #222;
   font-weight: 400;
   opacity: 1;
}
.home :-ms-input-placeholder, .newsletter :-ms-input-placeholder { /* Internet Explorer 10+ */
   color: #222;
   font-weight: 400;
}

.home .form-content, .newsletter .form-content {
  height:50px;
}

@media screen and (max-width: 767px) {
  #social-footer {
    padding-bottom: 60px;
}
