/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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
   ========================================================================== */

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

.scrollstory {
    margin: 0 0 0 0;
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

.scrollstory h1 {
    margin: 0;
    font-family: Brunel-Deck-Semibold,Georgia,serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
}

.scrollstory h2,
.scrollstory p.sub-title {
    margin: 0;
    font-family: Georgia,serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.scrollstory h3 {
    margin: 0;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.scrollstory h4 {
    margin: 0;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.scrollstory p {
    margin: 0 0 16px 0;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.scrollstory span.lede-in {
    display: block;
    margin: 0 0 45px 0;
    font-size: 18px;
}

.scrollstory span.firstletter {
    font-family: Brunel-Deck-Semibold,Georgia,serif;
    float: left;
    font-size: 96px;
    line-height: 9px;
    padding: 0 8px 36px 3px;
}

.scrollstory #page-introduction {
    position: relative;
    left: 0;
    top: 0;
    width: 100vw;
    min-height: 100vh;
    background-color: #262626;
    -webkit-transition-duration: 1s;
         -o-transition-duration: 1s;
            transition-duration: 1s;
}

.scrollstory .introduction {
    position: absolute;
    width: calc((100% / 12) * 10);
    max-width: 1000px;
    height: 80%;
    left: 50%;
    top: 47%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.scrollstory .introduction span.intro-text {
    display: block;
    margin: 0 0 16px;
    font-family: Georgia,serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    color: #A5A5A5;
    display: none;
    -webkit-transition-duration: .5s;
         -o-transition-duration: .5s;
            transition-duration: .5s;
    -webkit-animation-name: fadeUp;
            animation-name: fadeUp;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
}

.scrollstory .introduction-continue {
    margin: 0 auto;
    width: 200px;
    display: none;
    -webkit-transition-duration: .5s;
         -o-transition-duration: .5s;
            transition-duration: .5s;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
}

.scrollstory .introduction-continue p,
.scrollstory p.contiued-below {
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
    color: #A5A5A5;
}

.scrollstory .introduction-continue p {
    text-align: center;
}

.scrollstory #mute-button {
    position: fixed;
    display: none;
    width: 35px;
    height: 35px;
    right: 15px;
    top: 85px;
    border-radius: 100%;
    background-color: #A5A5A5;
    z-index: 20;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
    -webkit-transition-duration: .7s;
         -o-transition-duration: .7s;
            transition-duration: .7s;
}

.scrollstory #mute-button.mute {
    background-color: #BF8973;
}

.scrollstory #mute-button img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.scrollstory #mute-button img:nth-child(1) {
    width: 16.63px;
    height: 22.75px;
}

.scrollstory #mute-button img:nth-child(2) {
    width: 20.58px;
    height: 22.75px;
}

.scrollstory #mute-button img:nth-child(1),
.scrollstory #mute-button.mute img:nth-child(2) {
    display: block;
}

.scrollstory #mute-button img:nth-child(2),
.scrollstory #mute-button.mute img:nth-child(1) {
    display: none;
}

.scrollstory #mute-button span.menu-tooltip {
    position: absolute;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-size: 9px;
    line-height: 1;
    left: 50%;
    top: 115%;
    width: 65px;
    color: #D8D8D8;
    text-transform: uppercase;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition-duration: .5s;
         -o-transition-duration: .5s;
            transition-duration: .5s;
}

.scrollstory #mute-button:hover {
    background-color: #BF8973;
}

.scrollstory #mute-button:hover span.menu-tooltip,
.scrollstory #mute-button:focus span.menu-tooltip {
    visibility: visible;
    opacity: 1;
}

.scrollstory .footer-navigation-menu {
    margin: 16px 0 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
    list-style-type: none;
    padding: 0 0 0 0;
}

.scrollstory footer {
    position: relative;
    width: 100%;
    padding: 12px;
    background-color: white;
}

.scrollstory .footer-navigation-menu li {
    position: relative;
    margin: 0;
    padding: 25px 0;
}

.scrollstory .footer-navigation-menu li {
    width: 100%;
}

.scrollstory .footer-navigation-menu li:after {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 10px;
    background-color: #99866A;
    -webkit-transition-duration: .3s;
         -o-transition-duration: .3s;
            transition-duration: .3s;
    -webkit-transition-timing-function: ease-in-out;
         -o-transition-timing-function: ease-in-out;
            transition-timing-function: ease-in-out;
}

.scrollstory .footer-navigation-menu li:hover:after {
    width: 100%;
}

.scrollstory .footer-navigation-menu li a {
    position: relative;
    display: block;
    width: 100%;
    background-color: transparent;
    text-decoration: none;
    -webkit-transition-duration: .7s;
         -o-transition-duration: .7s;
            transition-duration: .7s;
}

.scrollstory .footer-navigation-menu li a {
    padding: 25px;
}

.scrollstory .footer-navigation-menu li a figure {
    margin: 0 0 16px 0;    
}

.scrollstory .footer-navigation-menu li a figure,
.scrollstory .footer-navigation-menu li a figure img {
    width: 100%;
    height: auto;
}

.scrollstory .footernav-pagesubtitle,
.scrollstory .footernav-byline,
.scrollstory .transcript-linkWrapper-link {
    display: block;
    font-family: Benton,Helvetica,Arial,sans-serif;
    line-height: 1.3;   
}

.scrollstory .footernav-pagetitle,
.scrollstory .audio-title {
    display: block;
    font-family: Brunel-Deck-Semibold,Georgia,serif;
    line-height: 1.2;
}

.scrollstory .footernav-pagetitle {
    margin: 0 0 9px;
}

.scrollstory .audio-title {
    margin: 0 0 25px;
}

.scrollstory .footernav-pagetitle,
.scrollstory .footernav-pagesubtitle,
.scrollstory .transcript-linkWrapper-link,
.scrollstory .audio-title {
    color: #D8D8D8;
}

.scrollstory .footernav-pagetitle,
.scrollstory .audio-title {
    font-size: 30px;
}

.scrollstory .footernav-pagesubtitle,
.scrollstory .transcript-linkWrapper-link {
    font-size: 18px;
}

.scrollstory .transcript-linkWrapper-link {
    text-align: left;
    text-decoration: underline;
    -webkit-transition-duration: .5s;
         -o-transition-duration: .5s;
            transition-duration: .5s;
}

.scrollstory .transcript-linkWrapper-link:hover {
    color: #99866A;
}

.scrollstory .audio-transcript {
    width: 100%;
    padding: 50px 16px;
    background-color: #0C0C0C;
    display: none;
    -webkit-transition-duration: .3s;
         -o-transition-duration: .3s;
            transition-duration: .3s;
    -webkit-animation-name: fadeUp;
            animation-name: fadeUp;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
}

.scrollstory .audio-transcript.showtranscript {
    display: block;
}

.scrollstory .footernav-byline {
    margin: 9px 0 0 0;
    font-size: 14px;
    font-weight: 400;
    color: rgba(216,216,216,.7);
}

.scrollstory .transcript-linkWrapper,
.scrollstory .videoCredit-wrapper {
    padding: 25px;
    width: 100%;
}

.scrollstory .transcript-linkWrapper {
    margin: 35px 0 0;
}

.scrollstory #page-content-wrapper {
    position: relative;
    margin: 0;
} 

.scrollstory #bgvid { 
    position: fixed;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    z-index: -100;
    background: url('../img/vid-poster.jpg') no-repeat;
    background-size: cover;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}

.scrollstory .page-title-wrapper {
    position: relative;
    margin: 0;
    width: 100vw;
    height: 100vh;
}

.scrollstory .page-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background-color: rgba(12,12,12,.6);
    display: none;
    -webkit-transition-duration: .7s;
         -o-transition-duration: .7s;
            transition-duration: .7s;
    -webkit-animation-name: fadeUp;
            animation-name: fadeUp;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
}

.scrollstory .page-title h1 {
    margin: 0 0 16px 0;
    text-align: center;
    color: #D8D8D8;
}

.scrollstory .page-title p.sub-title,
.scrollstory .footer-headline {
    text-align: center;
    color: #D8D8D8;   
}

.scrollstory .article-byline {
    display: block;
    margin: 16px 0 0;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    color: rgba(216,216,216,.75);
}

.scrollstory .page-title h1,
.scrollstory .page-title p.sub-title,
.scrollstory .article-byline {
    text-shadow: 3px 3px 5px rgba(0,0,0,.4);
}

.scrollstory .footer-headline {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scrollstory .footer-headline:after {
    content: " ";
    display: block;
    margin: 24px auto 24px;
    width: 60px;
    height: 6px;    
}

.scrollstory .footer-headline:after {
    border-top: 3px solid #D8D8D8;
    border-bottom: 1px solid #D8D8D8;
}

.scrollstory .page-main-content {
    background-color: #0C0C0C;
    padding: 25px 0 0;
    /*z-index: -10;*/
    /*display: none;*/
}

.scrollstory .page-text,
.scrollstory .footer-nav-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    padding: 100px 50px 75px 25px;
}

.scrollstory .apollo-logo {
    margin: 0 auto 75px;
    width: 140px;
    height: auto;
}

.scrollstory .apollo-logo img {
    width: 100%;
    height: auto;
}

.scrollstory .page-text {
    background-color: #0C0C0C; 
}

.scrollstory .footer-nav-wrapper {
    background-color: #262626;
}

.scrollstory .page-text p,
.scrollstory .audio-transcript p {
    margin: 0 auto 16px;
    width: 100%;
    color: #A5A5A5;
}

.scrollstory .page-text p {
    max-width: 960px;
}

.scrollstory .page-text .contiued-below {
    display: block;
    margin: 50px auto 0;
    font-style: italic;
}

.scrollstory .page-slideshow,
.scrollstory .slideshow-entry {
    position: relative;
    width: 100%;
}

.scrollstory .page-slideshow {
    height: auto;
}

.scrollstory video.faded,
.page-slideshow.faded {
    opacity: 0;
}

.scrollstory .slideshow-entry {
    height: 100vh;
}

.scrollstory .full-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: none;
    -webkit-transition-duration: .7s;
         -o-transition-duration: .7s;
            transition-duration: .7s;
    -webkit-animation-name: fadeUp;
            animation-name: fadeUp;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
}

.scrollstory .full-slide.active-image {
    display: block;
}

.scrollstory .slide-1 {
    background-image: url(../img/slideshow-2.jpg);
}

.scrollstory .slide-2 {
    background-image: url(../img/slideshow-18.jpg);
}

.scrollstory .slide-3 {
    background-image: url(../img/slideshow-20.jpg);
}

.scrollstory .slide-4 {
    background-image: url(../img/slideshow-21.jpg);
}

.scrollstory .slide-5 {
    background-image: url(../img/slideshow-23.jpg);
}

.scrollstory .slide-6 {
    background-image: url(../img/slideshow-24.jpg);
}

.scrollstory .slide-7 {
    background-image: url(../img/slideshow-26.jpg);
}

.scrollstory .slide-8 {
    background-image: url(../img/slideshow-25.jpg);
}

.scrollstory .slide-9 {
    background-image: url(../img/slideshow-15.jpg);
}

.scrollstory .slide-10 {
    background-image: url(../img/slideshow-27.jpg);
}

.scrollstory .slide-11 {
    background-image: url(../img/slideshow-28.jpg);
}

.scrollstory .slide-12 {
    background-image: url(../img/slideshow-29.jpg);
}

.scrollstory .slide-13 {
    background-image: url(../img/slideshow-1.jpg);
}

.scrollstory .slide-14 {
    background-image: url(../img/slideshow-30.jpg);
}

.scrollstory .slide-15 {
    background-image: url(../img/slideshow-9.jpg);
}

.scrollstory .slide-16 {
    background-image: url(../img/slideshow-7.jpg);
}

.scrollstory .slide-17 {
    background-image: url(../img/slideshow-33.jpg);
}

.scrollstory .slide-18 {
    background-image: url(../img/slideshow-10.jpg);
}

.scrollstory .slide-19 {
    background-image: url(../img/slideshow-36.jpg);
}

.scrollstory .slide-20 {
    background-image: url(../img/slideshow-34.jpg);
}

.scrollstory .slide-21 {
    background-image: url(../img/slideshow-38.jpg);
}

.scrollstory .slide-22 {
    background-image: url(../img/slideshow-35.jpg);
}

.scrollstory .slide-23 {
    background-image: url(../img/slideshow-39.jpg);
}

.scrollstory .slide-24 {
    background-image: url(../img/slideshow-4.jpg);
}

.scrollstory .slide-25 {
    background-image: url(../img/slideshow-40.jpg);
}

.scrollstory .slide-26 {
    background-image: url(../img/slideshow-41.jpg);
}

.scrollstory .slide-27 {
    background-image: url(../img/slideshow-42.jpg);
}

.scrollstory .slide-28 {
    background-image: url(../img/slideshow-37.jpg);
}

.scrollstory .image-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 38px 19px;
    background-color: rgba(12,12,12,.8);
    z-index: 10;
}

.scrollstory .caption-flex-wrapper {
    margin: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.scrollstory .caption-title,
.scrollstory .caption {
    position: relative;
    margin: 0;
    width: 100%;
    padding: 12px 12px 6px;
}

.scrollstory .caption-title h3,
.scrollstory .caption h4 {
    color: white;
}

.photo-credit,
.video-credit {
    display: block;
    margin: 25px 0 0 0;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.3;
    color: #B3B3B3;
}

.scrollstory .slideshow-entry:nth-child(1) .image-caption {
    top: auto;
    bottom: 0;
}

/*.scrollstory .logo-link:focus,
.scrollstory .subscribe-button:focus,
.scrollstory .page-continue:focus,
.scrollstory #mute-button:focus,
.scrollstory .footer-navigation-menu li a:focus,
.transcript-linkWrapper-link:focus {
    outline: 3px solid #DAE9F2;
}*/

.false-element {
    width: 100%;
    height: 200px;
    background-color: white;
}


/* ==========================================================================
   CSS Animations
   ========================================================================== */

@-webkit-keyframes pulse {
    0% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .4;
    }
}

@keyframes pulse {
    0% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .4;
    }
}

@-webkit-keyframes fadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(50px);
                transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(50px);
                transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* ==========================================================================
   CSS MEDIA QUERIES
   ========================================================================== */

@media only screen and (min-width: 350px) {
    .scrollstory .introduction {
        top: 50%;
    }
}

@media only screen and (min-width: 600px) {
    .scrollstory .introduction span.intro-text {
        margin: 0 0 40px;
    }

    .scrollstory .transcript-linkWrapper {
        margin: 70px 0 0;
    }

    .scrollstory .transcript-linkWrapper-link {
        text-align: center;
    }

    .scrollstory .audio-transcript {
        padding: 50px 50px;
    }
}

@media only screen and (min-width: 700px) {
    .scrollstory .introduction span.intro-text {
        font-size: 28px;
    }

    .scrollstory .page-continue {
        margin: 30px 0 0;
    }

    .scrollstory h1 {
        font-size: 54px;
    }

    .scrollstory h2 {
        font-size: 20px;
    }

    .scrollstory .sciam-logo img {
        height: 40px;
        width: auto;
    }

    .scrollstory .subscribe-button {
        font-size: 16px;
        padding: 12px 16px;
    }

    .scrollstory .page-title {
        bottom: 50px;
        width: calc((100% / 12) * 10);
        left: calc((100% / 12) * 1);
        background-color: transparent;        
    }

    .scrollstory #mute-button {
        right: 35px;
        top: 110px;
        width: 45px;
        height: 45px;
    }

    .scrollstory #mute-button img:nth-child(1) {
        width: 21.38px;
        height: 29.25px;
    }

    .scrollstory #mute-button img:nth-child(2) {
        width: 26.45px;
        height: 29.25px;
    }

    .scrollstory p {
        font-size: 16px;
        line-height: 1.5;
    }

    .scrollstory span.lede-in {
        display: block;
        margin: 0 0 50px 0;
        font-size: 24px;
    }

    .scrollstory span.firstletter {
        font-size: 120px;
        line-height: 28px;
        padding: 0 8px 36px 3px;
    }

    .scrollstory .footer-navigation-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .scrollstory .footer-navigation-menu li {
        width: 50%;
        padding: 25px 25px;
    }

    .scrollstory .transcript-linkWrapper-link {
        padding: 25px;
    }
}

@media only screen and (min-width: 769px) {
    .scrollstory .introduction span.intro-text {
        font-size: 36px;
    }

    .scrollstory .page-continue {
        font-size: 16px;
    }

    .scrollstory .page-title {
        width: calc((100% / 12) * 8);
        left: calc((100% / 12) * 2);
    }

    .scrollstory .image-caption {
        width: 33.333%;
    }

    .scrollstory .footer-navigation-menu li {
        width: 33.333%;
    }
}


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

/*
* 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,
.header-inner-wrapper:before,
.header-inner-wrapper:after,
#page-content-wrapper:before,
#page-content-wrapper:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after,
.header-inner-wrapper:after,
#page-content-wrapper: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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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;
    }
}


