/*! 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
   ========================================================================== */



.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(../../boeing/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: block;
    width: 100%;
    table-layout: fixed;
    height: 100%;
    margin: 20px 0px;
}
.page-content section .form-submit-wrapper .unsub-wrapper {
    vertical-align: middle;
    float: none;
    display: block;
    height: 100%;
    margin-bottom: 15px;
}
.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all label { margin: 0px; }
.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.email-frequency label input[type=radio]:checked + .checkbox-all-wrapper {
    background-color: transparent;
    background-image: url(../../boeing/images/checked.png);
    background-size: cover;
    text-align: center;
}

.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all.email-frequency label input[type=radio]:checked + .checkbox-all-wrapper:before {
    content: "\f00c";
    color: #009bdf;
    font-size: 22px !important;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 30px;
}

/*.page-content section .form-submit-wrapper .unsub-wrapper .unsubscribe-all label .checkbox-all-wrapper.Selected {
    background-color: transparent;
    background-image: url(../../boeing/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;
    }
}

#signup-form-full .sub_prefs{
    clear: both;
    padding-top: 5px;
    margin-bottom: 10px;
}

#signup-form-full .page-content section .preference-item .text-block{
    width: 100% !important;
}
