/* ==========================================================================
   Newsletter section styles
   Extracted from style.css for use on pages that don't load the full stylesheet.
   ========================================================================== */

/* Base styles */
.footernewsletter {
    clear: both;
    padding: 71px 0 57px 0;
    background-color: #f6f6f6;
}
.footernewsletterarea {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 10px;
}
.footernewsletterarea .widget_text {
    clear: both;
    margin: 0;
    padding: 0;
    text-align: center;
}
.footernewsletterarea .widget_text:after {
    content: "";
    display: table;
    clear: both;
    width: 100%;
}
.footernewsletterarea .widget_text > div.widget-title {
    display: block;
    margin: 10px 0;
    padding: 0;
    color: #3f4864;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    vertical-align: middle;
    text-transform: none;
    float: left;
}
.footernewsletterarea .widget_text > .textwidget {
    display: block;
    vertical-align: middle;
    width: 800px;
    float: right;
}
.footernewsletterarea div.hbspt-form div.submitted-message {
    margin: 16px 0 0 0;
    line-height: 1.5;
}

/* mc4wp form */
.footernewsletterarea .widget_text > .textwidget div.mc4wp-form { margin: 0; }
.footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form {
    display: block;
    margin: 0;
    padding: 0 230px 0 0;
    position: relative;
}
.footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form:after {
    content: "";
    display: table;
    clear: both;
    width: 100%;
}
.footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form input[type=email] {
    margin: 0;
    padding: 15px 15px;
    border: 2px solid #3f4864;
    height: auto;
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
    color: #3f4864 !important;
    font-size: 16px;
    border-radius: 0;
    width: 100%;
    display: block;
    float: left;
    font-weight: 400;
}
.footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form input[type=submit] {
    display: block;
    float: right;
    background-color: #3f4864 !important;
    border-color: #3f4864;
    line-height: 1;
    font-family: "Open Sans", sans-serif;
    color: #fff;
    font-size: 20px;
    padding: 17px 15px;
    border-radius: 0;
    border-width: 2px;
    position: absolute;
    right: 0;
    top: 0;
    width: 230px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form input[type=submit]:hover {
    font-size: 20px;
    line-height: 1;
    text-indent: 0;
    height: auto;
    background-color: #37b3a8 !important;
    color: #fff !important;
    border-color: #37b3a8;
}

/* HubSpot form */
.footernewsletterarea .hbspt-form form.hs-form {
    position: relative;
    padding: 0 230px 0 0;
    text-align: left;
}
.footernewsletterarea .hbspt-form form.hs-form > .hs-form-field {
    width: 100%;
    padding: 0;
    margin: 0;
}
.footernewsletterarea .hbspt-form form.hs-form > .hs-form-field > div.input input[type=email] {
    margin: 0;
    padding: 15px 15px;
    border: 2px solid #3f4864;
    height: auto;
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
    color: #3f4864 !important;
    font-size: 16px;
    border-radius: 0;
    width: 100%;
    display: block;
    font-weight: 400;
}
.footernewsletterarea .hbspt-form form.hs-form > .hs_submit input[type=submit] {
    display: block;
    float: right;
    background-color: #3f4864 !important;
    border-color: #3f4864;
    line-height: 1;
    font-family: Montserrat, sans-serif;
    color: #fff;
    font-size: 20px;
    height: auto;
    text-indent: 0;
    padding: 19px 15px;
    font-weight: 700;
    border-radius: 0;
    border-width: 2px;
    position: absolute;
    right: 0;
    top: 0;
    width: 230px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.footernewsletterarea .hbspt-form form.hs-form > .hs_submit input[type=submit]:hover {
    background-color: #37b3a8 !important;
    color: #fff !important;
    border-color: #37b3a8;
}
.footernewsletterarea .hbspt-form form.hs-form > .hs-form-field > ul.no-list { margin: 5px 0; }
.footernewsletterarea .hbspt-form form.hs-form > .hs-form-field > label { display: none; }
.footernewsletterarea .hbspt-form form.hs-form > .hs_error_rollup { padding: 0; margin: 0; }

/* Responsive: max-width 1200px */
@media screen and (max-width: 1200px) {
    .footernewsletterarea .widget_text > div.widget-title { width: 100%; text-align: center; }
    .footernewsletterarea .widget_text > .textwidget { max-width: 710px; margin: 0 auto; float: none; clear: both; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs-form-field > ul.no-list { text-align: center; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs_error_rollup > ul.no-list > li { text-align: center; }
}

/* Responsive: max-width 860px */
@media screen and (max-width: 860px) {
    .footernewsletterarea .widget_text > .textwidget { width: 100%; }
    .footernewsletterarea { padding: 0 10px; }
    .footernewsletter { padding: 30px 0; }
    .footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form input[type=email] { padding: 10px 10px; }
    .footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form input[type=submit] { padding: 12px 15px; }
    .footernewsletterarea .widget_text > div.widget-title { font-size: 22px; }
    .footernewsletterarea .hbspt-form form.hs-form { padding: 0; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs-form-field { margin: 0; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs-form-field > div.input input[type=email] { padding: 7px 10px; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs_submit input[type=submit] { position: relative; top: auto; right: auto; width: 100%; padding: 10px 15px; font-size: 18px; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs_submit:after { content: ""; display: table; clear: both; width: 100%; }
    .footernewsletterarea .hbspt-form form.hs-form > .hs_submit { padding: 0; margin: 10px 0 0 0; width: 100%; float: left; }
    .footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form { padding: 0 130px 0 0; }
    .footernewsletterarea .widget_text > .textwidget div.mc4wp-form > form input[type=submit] { width: 130px; }
}
