/*! 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
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    color: #383736;
}

.grid-container {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.content-module__section-subhead {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 1em;
    text-align: center;
}

/* Header */

.content-module--header {
    background-color: #383736;
    color: #fff;
}

.site-header {
    float: left;
}
@media screen and (max-width: 768px) {
    .site-header {
        float: none;
    }
}

.site-header h1 {
    margin: 0;
}

.site-header h1 a {
    text-indent: -9999em;
    display: block;
    height: 128px;
    width: 145px;
    background: url('https://d24cdstip7q8pz.cloudfront.net/t/t20151110172348/content/common/images/usbc-logo_145x90.png') center center no-repeat;
}
@media screen and (max-width: 768px) {
    .site-header h1 a {
        margin: 0 auto;
    }
}

.header-content {
    float: right;
    font-size: 16px;
    font-weight: 700;
    line-height: 128px;
}
@media screen and (max-width: 768px) {
    .header-content {
        float: none;
        width: 100%;
        text-align: center;
        line-height: 48px;
        padding-bottom: 20px;
    }
}

.header-content img {
    padding: 0 10px;
}
.header-content a {
    color: #fff;
}

.btn {
    color: #fff;
    background-color: silver;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 28px;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1.5px;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 500;
    line-height: 40px;
    height: 40px;
    padding: 0 30px;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    border: 0; 
}
.btn:hover {
    color: #fff; 
}
.btn a {
    text-decoration: none;
    color: #fff; 
}
.btn a:hover {
    color: #fff; 
}
.btn--light {
    background-color: #00c9e1; 
}
.btn--dark {
    background-color: #5c1d93; 
}


/* Headline module */

.diagonal-container {
    position: relative;
    overflow: hidden;
    background-color: #383736;
}
.diagonal-container .diagonal-text-panel {
    position: relative;
    background-color: transparent;
    background-image: linear-gradient(120deg, #195c9d 0%, #42cca2 55%, transparent 55%);
    z-index: 2;
    color: #fff;
}
@media screen and (max-width: 768px) {
    .diagonal-container .diagonal-text-panel {
        background-image: linear-gradient(120deg, #195c9d, #42cca2);
    }
}

.diagonal-text-panel .content-inner {
    padding: 60px 50% 50px 0;
}
@media screen and (max-width: 980px) {
    .diagonal-text-panel .content-inner {
        padding: 45px 50% 30px 0;
    }
}
@media screen and (max-width: 768px) {
    .diagonal-text-panel .content-inner {
        padding: 32px 0 16px;
    }
}

.diagonal-container .diagonal-image-panel {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 55%;
    text-align: right;
}
@media screen and (max-width: 768px) {
    .diagonal-container .diagonal-image-panel {
        position: static;
    }
}

.diagonal-image-panel img {
    display: block;
    width: 100%;
}
@media screen and (max-width: 1200px) {
    .diagonal-image-panel img {
        transform: translateX(60px);
    }
}
@media screen and (max-width: 980px) {
    .diagonal-image-panel img {
        transform: translateX(130px);
    }
}
@media screen and (max-width: 768px) {
    .diagonal-image-panel img {
        transform: none;
    }
}

.content-module__section-head {
    margin: 0 0 25px;
    font-size: 42px;
    line-height: 50px;
    font-weight: 700;
}
@media screen and (max-width: 980px) {
    .content-module__section-head {
        margin: 0 0 20px;
        font-size: 36px;
        line-height: 40px;
    }
}

.diagonal-container .content-module__dek {
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 1em;
    padding: 0 110px 0 0;
}
@media screen and (max-width: 980px) {
    .diagonal-container .content-module__dek {
        font-size: 16px;
        padding: 0;
    }
}

.content-module__bullet-list--checkmarks {
    padding: 0;
}
.content-module__bullet-list--checkmarks li {
    font-size: 16px;
    line-height: 32px;
    font-weight: bold;
    list-style: none;
    background: url('https://d24cdstip7q8pz.cloudfront.net/t/t20151110172348/content/common/images/ico-check-mark_22x22.png') left center no-repeat;
    padding: 0 0 0 32px;
}


/* Testimonials */
.content-module--testimonials {
    background-color: #f7f8fa;
    padding: 85px 0 75px;
}
.testimonials__container {
    width: 420px;
}
@media screen and (max-width: 980px) {
    .testimonials__container {
        margin: 0 auto;
    }
}
@media screen and (max-width: 480px) {
    .testimonials__container {
        width: 100%;
    }
}

.testimonial {
    border: 3px solid #00c9e1;
    position: relative;
    text-align: center;
    padding: 70px 50px 45px;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    margin-top: 25px;
}
.testimonial::before {
    content: "\f122";
    font-family: 'Dashicons';
    font-size: 30px;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    background-color: #00c9e1;
    border-radius: 25px;
}
.testimonial .quote {
    font-weight: 300;
    margin: 0 0 6px;
}
.testimonial .attribution {
    font-weight: 700;
    color: #18beda;
    margin: 0;
}

.slick-prev, .slick-next {
    width: 30px;
    height: 25px;
    background: #fff;
    border-radius: 15px;
    z-index: 5;
}
.slick-next {
    right: -13px;
}
.slick-prev {
    left: -13px;
}
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    background: #fff;
}
.slick-prev::before, .slick-next::before {
    font-size: 30px;
    opacity: 1;
    color: #5a7081;
}

/* Contact Form */

.content-module--contact-form .grid-container {
    position: relative;
    height: 50px;
}
@media screen and (max-width: 980px) {
    .content-module--contact-form .grid-container {
        height: auto;
    }
}

.content-module--contact-form__inner-container {
    width: 350px;
    box-sizing: border-box;
    box-shadow: 0px 0px 35px 15px rgba(0,0,0,0.1);
    position: absolute;
    right: 20px;
    bottom: 0;
    z-index: 3;
    background-color: #fff;
}
@media screen and (max-width: 980px) {
    .content-module--contact-form__inner-container {
        position: static;
        margin: 3em auto 0;
    }
}
@media screen and (max-width: 480px) {
    .content-module--contact-form__inner-container {
        width: 100%;
    }
}

.content-module--contact-form__inner-container .gradient-bar {
    background-color: #5c1d93;
    background-image: linear-gradient(to right, #3023ae, #c86dd7);
    font-size: 0;
    width: 100%;
    height: 7px;    
}
.contact-form__content {
    padding: 35px 20px 20px;
    box-sizing: border-box; 
}
@media screen and (max-width: 480px) {
    .contact-form__content {
        padding: 35px 5px 20px;
    }
}

.form-item {
    float: left;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
}
@media screen and (max-width: 480px) {
    .form-item {
        padding: 0 5px;
    }
}

.form-item--first-name,
.form-item--last-name,
.form-item--company-name,
.form-item--industry {
    width: 50%;
}
.form-item--phone {
    width: 67%;
}
.form-item--zip {
    width: 33%;
}

.form-item label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 24px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    display: block;
    background-color: #f6f6f6;
    border: 1px solid #e6e6e6;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    box-sizing: border-box;
}

select {
    width: 100%;
    display: block;
    border: 1px solid #e6e6e6;
    padding: 0 34px 0 8px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f6f6f6 url("https://d24cdstip7q8pz.cloudfront.net/t/t20151110172348/content/common/images/ico-form-select.png") right top no-repeat;
    box-sizing: border-box;
    height: 32px;
    line-height: 32px;
}

.form-item--submit {
    text-align: center;
    margin: 0;
}
.form-item--submit input {
    max-width: 175px;
    width: 100%;
    box-sizing: border-box;
    letter-spacing: 0.1333em;
}

/* Helping You */

.content-module--helping-you {
    padding: 90px 0 75px;
    text-align: center;
}

.content-module__dek {
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    margin: 0 auto 2em;
    width: 100%;
    max-width: 480px;
}

.content-module--helping-you__panel {
    display: inline-block;
    padding: 0 40px;
    width: 230px;
}
@media screen and (max-width: 480px) {
    .content-module--helping-you__panel {
        padding: 0 20px;
    }
}


/* Location Bar */
.content-module--location-bar {
    background-color: #195c9d;
    background-image: linear-gradient(90deg, #195c9d, #42cca2);
    color: #fff;
    padding: 20px 0 24px;
}

.content-module--location-bar .content-module__section-subhead {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 21px;
    margin: 0 0 1em;
}
.content-module--location-bar p {
    font-weight: 700;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0.1333em;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 790px;
}


/* Compare Module */

.content-module--compare {
    padding: 40px 0 60px;
}
.content-module--compare--inner {
    border: 3px solid #00c9e1;
    display: table;
}
@media screen and (max-width: 980px) {
    .content-module--compare--inner {
        display: block;
    }
}

.content-module--compare--left {
    display: table-cell;
    width: 40%;
    vertical-align: middle;
    padding: 0 20px 0 50px;
    box-sizing: border-box;
}
@media screen and (max-width: 980px) {
    .content-module--compare--left {
        display: block;
        width: 100%;
        padding: 20px;
    }
}
.content-module--compare .content-module__section-subhead {
    text-align: left;
}
@media screen and (max-width: 980px) {
    .content-module--compare .content-module__section-subhead {
        text-align: center;
    }
}

.content-module--compare .content-module__dek {
    margin: 0 0 1em;
    width: 100%;
    max-width: 305px;
}
@media screen and (max-width: 980px) {
    .content-module--compare .content-module__dek {
        margin: 0 auto 1em;
        max-width: 600px;
    }
}

.content-module--compare--right {
    display: table-cell;
    width: 60%;
    vertical-align: middle;
    padding: 8px 12px 0 8px;
    box-sizing: border-box;
}
@media screen and (max-width: 980px) {
    .content-module--compare--right {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/* About Us */

.content-module--about {
    background-color: #f7f8fa;
    padding: 85px 0 75px;
}

.content-module--about--left {
    width: 50%;
    float: left;
    padding-right: 4%;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .content-module--about--left {
        width: 100%;
        float: none;
        padding: 0;
        text-align: center;
    }
}
.content-module--about--right {
    width: 50%;
    float: right;
    padding-left: 4%;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .content-module--about--right {
        width: 100%;
        float: none;
        padding: 0;
    }
}

.affiliate-logos__container {
    padding: 25px 0 0;
}
.content-module__section-subhead--small {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 36px;
    text-align: center;
}
.affiliate-logos {
    display: block;
    text-align: center;
    line-height: 100px;
    padding: 0;
}
.affiliate-logos li {
    display: inline-block;
    width: 110px;
    padding: 0 10px;
    box-sizing: border-box;
}

.about-text__container {
    width: 100%;
    max-width: 485px;
    border: 3px solid #00c9e1;
    background-color: #fff;
    padding: 40px 32px 14px;
    box-sizing: border-box;
    margin: 50px auto;
}
.about-text__subhead {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    margin: 0 0 36px;
}
@media screen and (max-width: 768px) {
    .about-text__subhead {
        text-align: center;
    }
}
.about-text__content {
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    margin: 0 0 1em;
}

/* Footer */

.site-footer {
    background-color: #383736;
    color: #fff;
    padding: 35px 0 125px;
}

.site-footer__logo {
    float: left;
    line-height: 140px;
    padding: 0 50px 0 0;
}
@media screen and (max-width: 768px) {
    .site-footer__logo {
        float: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }
}

.site-footer__address {
    float: left;
    height: 140px;
}
@media screen and (max-width: 980px) {
    .site-footer__address {
        float: right;
    }
}
@media screen and (max-width: 768px) {
    .site-footer__address {
        float: none;
        width: 100%;
        text-align: center;
        height: auto;
    }
}

.site-footer__telephone {
    float: right;
    line-height: 140px;
}
@media screen and (max-width: 980px) {
    .site-footer__telephone {
        float: none;
        clear: both;
        text-align: center;
        line-height: 100px;
    }
}

.site-footer__telephone h4 {
    margin: 0;
}
.site-footer__telephone img {
    padding: 0 10px;
}
.site-footer__telephone a {
    color: #fff;
}


/* Thank You Page */
.content-module--thank-you .content-module__section-head {
    position: relative;
    padding-bottom: 26px;
    margin-bottom: 20px;
}

.content-module--thank-you .content-module__section-head:after {
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    background-color: #fff;
    width: 78px;
    height: 2px;
}

.content-module--thank-you .content-module__bullet-list--checkmarks {
    position: relative;
    padding-bottom: 26px;
    margin-bottom: 20px;
}

.content-module--thank-you .content-module__bullet-list--checkmarks:after {
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    background-color: #fff;
    width: 78px;
    height: 2px;
}

.content-module--thank-you .btn--dark {
    margin: 0 -5px;
    padding: 0 22px;
    font-weight: 700;
}

.content-module--thank-you.diagonal-container .diagonal-text-panel {
    background-image: linear-gradient(120deg, #195c9d 0%, #42cca2 50%, transparent 50%);
}
@media screen and (max-width: 980px) {
    .content-module--thank-you.diagonal-container .diagonal-text-panel {
        background-image: linear-gradient(120deg, #195c9d 0%, #42cca2 56%, transparent 56%);
    }
}
@media screen and (max-width: 768px) {
    .content-module--thank-you.diagonal-container .diagonal-text-panel {
        background-image: linear-gradient(120deg, #195c9d, #42cca2);
    }
}

@media screen and (max-width: 1200px) {
    .content-module--thank-you .diagonal-text-panel .content-inner {
        padding: 45px 50% 30px 0;
    }
}
@media screen and (max-width: 768px) {
    .content-module--thank-you .diagonal-text-panel .content-inner {
        padding: 32px 0 16px;
    }
}

.content-module--thank-you .diagonal-image-panel {
    min-width: 70%;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * 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;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * 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,
    *:first-letter,
    *: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,
    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;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
