/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

* {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    background-repeat: no-repeat;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    color: #5b6770;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width:100%;
}
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

h1,h2,h3,h4,h5,h6 {
    letter-spacing: normal;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img {
    height: auto;
    max-width: 100%;
}

button, input {
    border-radius: 0px !important;
}

#header {
    z-index: 300;
    margin:0;
}
#header .navbar {
    margin: 0px;
    background-color: transparent;
    border: 0px;
}
#header .navbar .navWrap .navbar-header {
    border-bottom: 1px solid #009bdf;
    padding: 50px 0 40px;
}
#header .navbar .navWrap .navbar-header #logo {
    z-index: 50;
    padding: 0;
    margin: 0;
    max-width: 88px;
    text-align: center;
    float: left;
}
#header .navbar .navWrap .navbar-header #logo img {
    width:100%;
    display: block;
}
#header .navbar .navWrap .navbar-header .logo-subtitle {
    line-height: 44px;
    font-size:15px;
    margin-left: 30px;
}

.page-content section.validation-block {
    text-align: center;
    margin-top:150px;
}
.page-content section.validation-block .error-title {
    font-size: 28px;
    font-weight: bold;
    margin:0px;
    color:#009bdf;
}
.page-content section.validation-block .initial-loader {
    margin-top:30px;
}
.page-content section.validation-block .error-body {
    font-size: 15px;
    font-weight: normal;
    margin-top:25px;
}
.page-content section.manual-email-section {}
.page-content section.manual-email-section .manual-email-display input {
    line-height: 36px;
    font-size: 14px;
    padding: 0px 20px;
    border: none;
    box-shadow: none;
    background-color: #f4f4f4;
    width: 100%;
    color: #5b6770;
    height: 36px;
}
.page-content section.manual-email-section .manual-email-display .error-message {
    font-size: 12px;
    height: 40px;
    line-height: 40px;
    color: #cd5c5c;
    margin:0px;
}
.page-content section.manual-email-section .manual-email-display .error-message a {
    color: #cd5c5c;
    text-decoration: underline;
    font-weight: bold;
}
.page-content section.manual-email-section #manual-email-link {
    font-size: 12px;
    color: #ffffff;
    background-color: #009bdf;
    padding: 10px 15px;
    border: none;
    box-shadow: none;
    height: 40px;
    margin-top: 15px;
    line-height: 0px;
    text-transform: none;
    font-weight: normal;
    letter-spacing: normal;
}
.page-content section.manual-email-section
.page-content section.manual-email-section

.page-content section .load-pref {
    margin-top: 15px;
    height: 40px;
    line-height: 40px;
}
.page-content section .section-title {
    font-size: 15px;
    font-weight: normal;
    padding-left: 20px;
    margin-top: 35px;
    margin-bottom: 15px;
}
.page-content section .email-display {
    padding: 10px 20px;
    background-color: #f4f4f4;
}
.page-content section .preference-item {
    margin: 20px 0 0 0;
    padding: 20px;
    background-color: #e5f5fc;
    display: table;
    width: 100%;
    table-layout: fixed;
    height: 100%;
}
.page-content section .preference-item .image-block {
    vertical-align: middle;
    float: none;
    display: table-cell;
    height: 100%;
    padding-right:30px;
}
.page-content section .preference-item .image-block img {
    width:100%;
    height:auto;
    vertical-align: middle;
}
.page-content section .preference-item .text-block {
    vertical-align: top;
    float: none;
    display: table-cell;
    height: 100%;
}
.page-content section .preference-item .text-block .item-title {
    margin: 0px;
    font-size: 15px;
    font-weight: bold;
}
.page-content section .preference-item .text-block .item-desc {
    margin: 10px 0px;
    font-size: 12px;
    line-height: 20px;
}
.page-content section .preference-item .text-block .item-status label {
    margin:0px;
}
.page-content section .preference-item .text-block .item-status label .checkbox-wrapper {
    width: 40px;
    height: 40px;
    position: relative;
    float: left;
    margin-right: 10px;
    background-color: #009bdf;
}
.page-content section .preference-item .text-block .item-status label .checkbox-wrapper.Selected {
    background-color: transparent;
    background-image: url(../images/checked.png);
    background-size: cover;
}
.page-content section .preference-item .text-block .item-status label span {
    float: left;
    line-height: 40px;
}
.page-content section .form-submit-wrapper {
    /*display: table;*/
    width: 100%;
    /*table-layout: fixed;*/
    height: 100%;
    margin: 20px 0px;
}
.page-content section .form-submit-wrapper .unsub-wrapper {
    vertical-align: middle;
    float: none;
    /*display: table-cell;*/
    height: 100%;
    margin-bottom: 10px;
}
.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all h4 {
    font-size: 1.75em;
    font-weight: 500;
}
.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all label { margin: 0 0 10px; }
.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all label .checkbox-all-wrapper {
    width: 40px;
    height: 40px;
    position: relative;
    float: left;
    margin-right: 10px;
    background-color: #eef0f0;
}
.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all label .checkbox-all-wrapper.Selected {
    background-color: transparent;
    background-image: url(../images/checked.png);
    background-size: cover;
}
.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all label span {
    float: left;
    line-height: 40px;
    font-size: 12px;
}
.page-content section .form-submit-wrapper .unsub-link-wrapper {
    vertical-align: top;
    float: none;
    display: table-cell;
    height: 100%;
    text-align: right;
}
.page-content section .form-submit-wrapper .unsub-link-wrapper button {
    font-size: 12px;
    color: #ffffff;
    background-color: #009bdf;
    padding: 10px 15px;
    border: none;
    box-shadow: none;
    height: 40px;
    line-height: 0px;
    margin:0px;
    text-transform: none;
    font-weight: normal;
}
.page-content section .form-submit-wrapper .unsub-link-wrapper .load-pref {
    float: none;
    font-size: 12px;
}
.page-content section .unsubscribe-boeing {
    margin: 50px 0px 75px;
    text-align: center;
    color: #009bdf;
    display: block;
    font-size: 12px;
    text-decoration: underline;
}


#footer {
    padding:0;
    background-color: #1c252c;
    overflow-x: hidden;
    clear:both;
}
#footer.bottom {
    position: fixed;
    width:100%;
    bottom:0;
}
#footer #footer-wrapper {
    margin: auto;
    padding:0;
}
#footer #footer-wrapper > div {
    padding: 25px 0;
}
#footer #footer-wrapper #copyright {
    font-size:14px;
    padding:0;
    text-align: left;
}
@media (max-width: 991px) {
    #footer #footer-wrapper #copyright {
        text-align: center;
    }
}
#footer #footer-wrapper #copyright span {
    color: #566f86;
}
#footer #footer-wrapper #footer-navWrap {
    padding:0px;
}
#footer #footer-wrapper #footer-navWrap .footer-menu {
    margin:0;
    padding:0;
    text-align: right;
    list-style-type: none;
}
@media (max-width: 991px) {
    #footer #footer-wrapper #footer-navWrap .footer-menu {
        width:100%;
        text-align: center;
    }
}
#footer #footer-wrapper #footer-navWrap .footer-menu li {
    display: inline;
}
#footer #footer-wrapper #footer-navWrap .footer-menu li a {
    color: #566f86;
    border: none;
    font-size: 14px;
    text-decoration: none;
}
#footer #footer-wrapper #footer-navWrap .footer-menu li:first-child a {
    padding: 0 8px 0 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

.pull-right { float:right; }
.pull-left { float:left; }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    p:first-letter,
    div:first-letter,
    blockquote:first-letter,
    li:first-letter,
    p:first-line,
    div:first-line,
    blockquote:first-line,
    li:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
