/*! HTML5 Boilerplate v6.0.1 | 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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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;
}

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

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

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

#headMenu{
    float:left;
    text-align:right;
}

.link{
    color: #0EBDC6 !important;
}

.text-muted{
    font-style: italic;
}

#hero{
    position:relative;
    z-index:5;
}

#video{
    position: relative;
    z-index: 4;
}

#lab{
    position: relative;
    z-index: 3;
}

#cartridge{
    position: relative;
    z-index: 0;
}

#app{
    position: relative;
    z-index: 1;
}

#cloud{
    position: relative;
    z-index: 2;
}

.snpRow{
    height: 380px;
}

.badge-pill{
    margin-right:   10px;
    border-radius: 0px !important;
}

.badge-heading{
    margin-top:15px;
}


.deviceRow{
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;

}

.deviceBanner{
    float: left;
    margin-top: 20px;
}

.deviceText{
    float: left;
    margin-top: 20px;
}

.deviceCaptions{
    font-size: 13px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
    margin-right: 30px;
    line-height:20px;
    color: #555555;
    float: left;
}

.fullBanner{
    float: left;
    padding-bottom: 15px;
}

.bannerImage{
    height:210px;
}

.bannerTitle{
    font-size: 24px;
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
    margin-bottom: 20px;
    line-height:30px;
    color: #555555;
}

.xRow{
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
}

.aRow{
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
}

#xNavLogo{
    margin-top: 27px;
    margin-bottom: 27px;
}

.xNav{
    height: fit-content;
}

.xHero{
    background-image: url("../img/hero_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    background-position: right;
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
}

.heroPill{
    display: inline-block;
    background-color: #ffec07;
    font-size: 14px;
    padding: 5px 12px;
    font-family: 'Karla', sans-serif;
    margin-bottom:  10px;
}

.xNav-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    padding-right: 50px;
    padding-top: 28px;
    padding-bottom: 18px;
    font-family: 'Karla', sans-serif;
}

.heroTitle{
    font-size: 55px;
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
    margin-top: 70px;
    line-height:55px;
    color: #555555;
}

.heroText{
    float: left;
    margin-bottom: 30px;
}

#heroImage{
    width: 600px;
}

.heroSub{
    font-size: 18px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin-top: 20px;
    line-height:25px;
    color: #555555;
}

.heroImage{
    float: right;
    margin-top:30px;
}

.viceTitle{
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
    line-height:16px;
    color: #555555;
}

.xVice{
    background-image: url("../img/diagonal_grid.png");
    background-repeat: no-repeat;
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
    height: 400px
}

.xLab{
    background-image: url("../img/diagonal_grid_flipped.png");
    background-repeat: no-repeat;
    height: 400px;
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
    background-size: cover;
    background-position: bottom;
}

.xApp{
    background-image: url("../img/diagonal_grid_flipped_thrice.png");
    background-repeat: no-repeat;
    height: 400px;
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
    background-size: cover;
    background-position: bottom;
}

.xButton{
    border-radius: 2em !important;
    background-color: #0EBDC6 !important;
    border-color: #0EBDC6 !important;
    font-family: 'Karla', sans-serif !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.yPlayer{
    margin-top:60px;
    margin-bottom:60px;
    float: left;
}

.yFrame{
    position:relative;
    padding-bottom:50%;
    padding-top:20px;
    height:0;
    overflow:hidden;
}

.yFrame iframe, .yFrame object, .yFrame embed{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.yCaptions{
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin-top: 120px;
    margin-bottom: 50px;
    line-height:30px;
    color: #555555;
    float: left;
}

.labCaptions{
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin-top: 30px;
    margin-bottom: 50px;
    line-height:30px;
    color: #555555;
    float: left;
}

.cartridgeCaptions{
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin-top: 90px;
    margin-bottom: 50px;
    line-height:30px;
    color: #555555;
    float: left;
}

.cloudCaptions{
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin-top: 30px;
    margin-bottom: 50px;
    line-height:30px;
    color: #555555;
    float: left;
}

.yTitle{
    font-size: 26px;
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 20px;
    line-height:30px;
    color: #555555;
}

.labImage{
    float: left;
    margin-top:20px;
    margin-left:-30px;
}

.cartridgeImage{
    float: right;
    margin-top:0px;
}

.cloudImage{
    float: right;
    margin-top:0px;
}

#labImage{
    width: 395px;
}

#appImage{
    height: 470px;
}

.appImage{
    float: left;
    margin-top:-70px;
}

#cartridgeImage{
    float: right;
    margin-right: -30px;
    height: 400px;
}

#cloudImage{
    float: right;
    margin-right: -30px;
    height: 400px;
}

#portalImage{
    float: right;
    margin-right: -30px;
    height: 460px;
    margin-top: -60px;
}


.xCartridge{
    background-image: url("../img/diagonal_grid_flipped_twice.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    background-position: top;
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
}

.xPortal{
    background-image: url("../img/diagonal_grid.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    background-position: top;
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
}

.xDownload{
    border-bottom: solid;
    border-bottom-color: #cccccc;
    border-bottom-width: 1px;
}

.xFooter{
    background-image: url("../img/diagonal_grid_flipped_thrice.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    background-position: bottom;
    padding-top: 70px;
}

.snpFooter{
    font-size: 14px;
    font-family: 'Karla', sans-serif;
}

.ipStatement{
    margin-right: 70px;
    float: left;
}

.footMenu{
    float: left;
}

.viceSub{
    width:500px;
}

.xForm{
    font-size: 14px;
    padding: 5px;
}

.xButton{
    font-size:14px !important;
}

#mc_embed_signup_scroll{
    width:100%;
}

.mc-field-group{
    float: left;
}

/*hide replacement images*/

#circleApp{
    display: none;
}

#circleCartridge{
    display: none;
}

#circleLab{
    display: none;
}

#circleCloud{
    display: none;
}

.topFix{
    margin-top:95px !important;
}


@media only screen
and (max-device-width : 736px)  {


    /*hide troublesome divs*/


    /*unhide replacement images */

    #circleApp{
         display: initial;
         width:100%;
     }

    #appImage{
        display: none;
    }

    #circleCartridge{
        display: initial;
        width:100%;
        margin-top: -30px;
        margin-bottom: 20px;
    }

    #cartridgeImage{
        display: none;
    }

    #circleLab{
        display: initial;
        width:100%;
        margin-top: 20px;
        margin-bottom: -20px;
    }

    #circleCloud{
        display: initial;
        width:100%;
        margin-top: 20px;
        margin-bottom: -20px;
    }

    /*manipulate image column divs*/

    .cartridgeImage{
        /*display: none;*/
    }

    .bannerImage{
        height:300px;
    }

    .appImage{
        float: none;
        margin-top:20px;
        /*display: none;*/
    }

    .labImage{
        display: none;
    }

    .heroImage{
        float: none;
    }

    #heroImage{
        width: inherit !important;
    }

    #portalImage{
        display: none;
    }



    /*remove div heights and backgrounds*/

    .xHero{
        height: auto!important;
    }

    .xVice{
        height: auto!important;
        background: none;
    }

    .xLab{
        height: auto!important;
        background: none;
    }

    .xCartridge{
        height: auto!important;
        background: none;
    }

    .xApp{
        height: auto!important;
        background: none;
    }

    .xPortal{
        height: auto!important;
        background: none;
    }

    .xFooter{
        height: auto!important;
        background: none;
    }

    /*fix margins*/

    .cartridgeCaptions{
        margin-top: 50px;
    }

    .heroTitle {
        margin-top: 30px;
    }

    .ipStatement{
        margin-right: 0px;
        margin-bottom: 20px;
    }

    .xNav-link{
        padding-right: 20px
    }

    .xButton{
        margin-left:0px !important;
    }

    .yCaptions{
        margin-top:0px;
    }

    /* clear floats */

    .labCaptions{
        float: none;
    }

    .cartridgeCaptions{
        float: none;
    }

    .cloudCaptions{
        float: none;
    }

    .yPlayer{
        margin-bottom:30px;
    }


    /*other fixes*/

    #headMenu{
        float:left;
        text-align:left;
    }

    .xNav-link{
        padding-top: 15px;
    }
    #xNavLogo{
        margin-bottom: 0px;
    }
    #heroImage{
        width: 380px;
    }

    .xHero{
        border-bottom: none;
    }

    .xButton{
        font-size: 12px !important;
        margin-left: 10px !important;
    }

    .xForm{
        font-size: 12px !important;
    }

    .viceSub{
        width:auto;
    }



    .heroPill{
        font-size:12px;
    }

    .bannerTitle{
        font-size: 32px !important;
    }

    .fullBanner{
        margin-bottom: 30px;
        background-color: #efefef;
    }

    .xRow{
        border-bottom: none;
    }

}


/* iPads */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)  {

   .yCaptions{
       margin-top:90px;
   }

    .bannerTitle{
        font-size: 22px !important;
    }

    .heroTitle{
        font-size: 37px;
        font-family: 'Zilla Slab', serif;
        font-weight: 500;
        margin-top: 50px;
        line-height:37px;
        color: #555555;
    }

    .heroSub{
        font-size: 14px;
        font-family: 'Karla', sans-serif;
        font-weight: 400;
        margin-top: 20px;
        line-height:16px;
        color: #555555;
    }

    .viceSub{
        width:500px;
    }





    #heroImage{
        width: 550px;
    }

    .bannerImage{
        height:180px;
    }


    .heroImage{
        overflow: hidden;
        margin-right: -15px;
    }

    #labImage{
        width: 370px;
    }

    .cartridgeImage{
        margin-right: -15px;
        overflow: hidden;
    }

    #cartridgeImage{
        margin-right: -140px;
        height: 380px;
    }

    .cloudImage{
        margin-right: -15px;
    }

    #portalImage{
        margin-right: -15px;
        height: 360px;
        margin-top: 20px;
    }

    #appImage{
        height: 350px;
        margin-top: 30px;
        margin-left: -75px;
    }

    .appImage{
        margin-top:0px;
    }

    /* resize captions */


    .deviceCaptions{
        line-height: 15px;
    }

    .labCaptions{
        font-size: 14px;
        line-height: 18px;
    }

    .cartridgeCaptions{
        font-size: 14px;
        line-height: 18px;
    }

    .cloudCaptions{
        font-size: 14px;
        line-height: 18px;
        margin-top: 10px;
    }

    .snpRow{
        height: 380px;
        background: none;
    }

    .smallPrint{
        font-size: 10px;
    }

    .ipStatement{
        line-height: 14px;
    }

    #logoBlack{
        padding-bottom: 15px;
    }

    /*hide replacement images*/

    #circleApp{
        display: none;
    }

    #circleCartridge{
        display: none;
    }

    #circleLab{
        display: none;
    }

    #circleCloud{
        display: none;
    }
}













/* ==========================================================================
   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);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    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;
    -webkit-clip-path: none;
    clip-path: none;
    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;
}

/*
 * 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 {
        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;
    }
}
