* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #34495e;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: rgb(0, 62, 126);
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: rgb(0, 62, 126);
    color: #fff;
    border-radius: 5px;
    font-size: 120%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */



.apbs-social-grp {
    border-left: 1px solid #ddd;
}

/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background: #1f8dd6;
    background-image: url("../../img/conference-keynote-xl.jpg");
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    
    width: 100%;
    height: 88%;
    top: 0;
    left: 0;
    position: fixed !important;
    
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    background: rgb(30, 30, 30,0.5);
    padding: 1em 2em 3em 2em;
    border: 1px solid transparent;
    border-radius: 4px;
    margin: auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: 200;
    color:white;
    background:  rgb(210, 69, 30, 0.9);
    border: 1px solid rgb(210, 69, 30);
    padding: 0.6em 0.4em;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
    text-transform: uppercase;
}

#apbs-sub-subhead {
    text-transform: none;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 87%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

#apbs-logo-sm {
    margin: 0.4em auto 0 auto;
    text-align: center;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the dark-background areas. */
.ribbon {
    background: rgb(0, 62, 126);
    color: white;
}

.ribbon a,
.ted-carr-link {
    text-decoration: none;
    color: rgb(210, 69, 30);
}

.ribbon a:hover {
    color: #fefefe;
}

.ted-carr-link:hover {
    color:#34495e;
}

p.apbs-getting-started, a.apbs-getting-started-link {
    font-size:20px;
    color: white;
    display:block;
    text-align: center;
    margin-right:1.2em;
    margin-top:0.4em;
}

a.apbs-getting-started-link:hover {
    color: rgb(210, 69, 30);
}

a.apbs-news-link {
    text-decoration:none;
    color: #34495e;
}

a.apbs-news-link:hover {
    text-decoration:underline;
    color: rgb(210, 69, 30);
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    /*
    .home-menu {
        text-align: left;
    }
    .home-menu ul {
        float: right;
    }
    */

    
    .splash-container {
        height: 500px;
    }

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 200%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }


}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 250%;
    }

    
    #ted-carr {
        margin-top: 4em;
    }

    #apbs-news {
        margin-top: 2em;
    }

    a.apbs-getting-started-link {
        display: inline-block;
        text-align: left;
        margin-left: 1em;
        margin-right: 2em;
    }

    a.apbs-getting-started-link.left-border {
        border-left: 2px solid white;
        padding-left: 2em;
    }
    
}

@media (min-width: 92em) {
    .splash-subhead {
        font-size: 200%;
    }

    #apbs-sub-subhead {
        font-size: 20px;
    }
}
