/* Design and Development by: Jason Mischka */
/* URL: https://www.jasonmischka.com */



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

.sStory-et2019 {
    position: relative;
    margin: 0 0 -40px 0;
    width: 100%;
    height: auto;
} 

.sStory-et2019 h1 {
    font-family: Brunel-Deck-Semibold,Georgia,serif;
    font-size: 26px;
    line-height: 1.1;
}

.sStory-et2019 h2 {
    margin: 0 0 0 0;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 700;
    line-height: 1.4; 
}

.sStory-et2019 h3 {
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.sStory-et2019 p {
    font-family: Georgia,serif;
    font-weight: 400;
    line-height: 1.4;
}

.sStory-et2019 .a-header {
    position: relative;
    margin: 0 0 0 0;
    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: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: black;
    overflow: hidden;
}

.sStory-et2019 .f-image {
    position: relative;
    margin: 0 0 0 0;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
}

.sStory-et2019 #f-video {
    display: none;
    left: 50%;
    top: 0;
    height: 100%;
    width: auto;
}

.sStory-et2019 .a-h-rap {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    height: auto;
    padding: 25px 25px 75px 25px;
    background-color: rgba(4,35,38,.75);
    overflow: hidden;
}

.sStory-et2019 .a-h {
    display: block;
    margin: 0 0 16px 0;
    text-align: center;
    color: white;
}

.sStory-et2019 .a-sub,
.sStory-et2019 .a-dSub { 
    font-size: 18px;
    text-align: center;
}

.sStory-et2019 .a-sub {
    display: block;
    margin: 0 0 0 0;
    color: white;
}

.sStory-et2019 .a-dSub {
    display: none;
    margin: 0 auto 0;
    width: 100%;
    max-width: 1050px;
    padding: 75px 25px 0;
    text-transform: uppercase;
    color: #0D6973;
}

.sStory-et2019 .mc {
    position: relative;
    margin: 0 0 0 0;
    width: 100%;
}

.sStory-et2019 .intro-t-rap {
    position: relative;
    display: none;
    margin: 0 0 0 0;
    width: 100%;
    padding: 75px 0 125px;
    background-color: white;
    -webkit-animation-name: riseUp;
            animation-name: riseUp;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
}

.sStory-et2019 .intro-t,
.sStory-et2019 .intro-t-by {
    margin: 0 auto 21px;
    width: 100%;
    max-width: 1050px;
    padding: 0 25px;
    color: #696B6B;
}

.sStory-et2019 .intro-t {
    font-size: 21px;
}

.sStory-et2019 .intro-t-by {
    font-size: 16px;
    font-style: italic;
}

.sStory-et2019 .intro-ledein {
    display: inline-block;
    margin: 0 3px 0 0;
    font-size: calc(75px + (120 - 75) * ((100vw - 320px) / (1600 - 320)));
    color: rgba(85,116,120,.25);
    letter-spacing: -6px;
    line-height: .75;
    -webkit-transition-duration: .7s;
         -o-transition-duration: .7s;
            transition-duration: .7s;
}

.sStory-et2019 .c-list {
    position: relative;
    margin: 0 0 0 0;
    width: 100%;
    height: auto;
    padding: 0 0 0 0;
    list-style-type: none;
}

.sStory-et2019 .c-li-item {
    position: relative;
    margin:  0 0 0 0;
    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;
    width: 100%;
    height: auto;
    padding: 0 0 0 0;
}

.sStory-et2019 .li-w {
    position: relative;
    margin: 0 0 0 0;
    width: 100%;
    overflow: hidden;
}

.sStory-et2019 .li-ic {
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    overflow: hidden;
    background-color: white;
}

.sStory-et2019 .li-i {
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-attachment: scroll;
    background-position: 100% center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-animation-name: zoomOut;
            animation-name: zoomOut;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
    -webkit-animation-timing-function: ease;
            animation-timing-function: ease;
    -webkit-transition-duration: 1s;
         -o-transition-duration: 1s;
            transition-duration: 1s;
}

.sStory-et2019 .c-li-item.activate .li-w .li-ic .li-i {
    display: block;
}

.sStory-et2019 .li-tbx {
    display: block;
    position: relative;
    margin: 0 0 0 0;
    width: 100%;
    padding: 50px 25px;
    background-color: #D9DDDE;
    overflow: hidden;
    text-decoration: none;
    opacity: .2;
    -webkit-transition-duration: 1s;
         -o-transition-duration: 1s;
            transition-duration: 1s;
}

.sStory-et2019 .c-li-item.activate .li-tbx {
    opacity: 1;
    background-color: white;
}

.sStory-et2019 .c-li-item.activate .li-tbx:hover {
    background-color: #e4fbee;
}

.sStory-et2019 .c-li-item.activate .li-tbx:hover .li-h {
    text-decoration: underline;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1; 
}

.sStory-et2019 .c-list .c-li-item:nth-child(odd) .li-w,
.sStory-et2019 .c-list .c-li-item:nth-child(even) .li-w {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.sStory-et2019 .c-list .c-li-item:nth-child(odd) .li-tbx,
.sStory-et2019 .c-list .c-li-item:nth-child(even) .li-tbx {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}

.sStory-et2019 .li-h {
    position: relative;
    margin: 0 0 9px 0;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #0D6973;
}

.sStory-et2019 .li-t {
    position: relative;
    margin: 0 0 0 0;
    font-size: 16px;
    color: #696B6B;
}

.sStory-et2019 .li-by,
.sStory-et2019 .a-t-by,
.sStory-et2019 .a-t-by-bio,
.sStory-et2019 .li-m,
.sStory-et2019 .a-p-close {
    position: relative;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 400;
    font-size: 14px;    
}

.sStory-et2019 .li-by,
.sStory-et2019 .a-t-by,
.sStory-et2019 .li-m,
.sStory-et2019 .credit {
    display: block;
}

.sStory-et2019 .ps,
.sStory-et2019 .x {
    display: inline-block;
    margin: 0 3px 0 0;
}

.sStory-et2019 .ps {
    font-size: 125%;
}

.sStory-et2019 .x {
    display: inline-block;
}

.sStory-et2019 .credit {
    position: relative;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #696B6B;
}

.sStory-et2019 .li-by {
    margin: 6px 0 0 0;
    font-style: italic;
    color: #A7AAAB;
}

.sStory-et2019 .li-m {
    margin: 18px 0 0 0;
    font-weight: 700;
    color: #80BF9B;
}

.sStory-et2019 .a-t-by {
    margin: 25px 0 0 0;
    font-weight: 700;
    color: #505152;
} 

.sStory-et2019 .li-num {
    position: absolute;
    display: none;
    margin: 0 0 0 0;
    left: -10px;
    top: -30px;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 700;
    font-size: 220px;
    line-height: 1;
    letter-spacing: -16px;
    color: #D9DDDE;
}

.sStory-et2019 .creditWrapper {
    position: relative;
    margin: 0 0 0 0;
    width: 100%;
    height: auto;
    padding: 40px 25px;
    background-color: #F2F7F7;
}

.sStory-et2019 .s-slug {
    display: block;
    margin: 75px 0 0 0;
    font-family: Georgia,serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: #696B6B;
}

.sStory-et2019 .s-slug:after {
    content: " ";
    display: block;
    margin: 25px auto 0;
    width: 60px;
    height: 6px;
    border-top: 3px solid #696B6B;
    border-bottom: 1px solid #696B6B;
}

.sStory-et2019 #c-curtain {
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(29,34,64,.85);
    opacity: 1;
    -webkit-transition-duration: .7s;
         -o-transition-duration: .7s;
            transition-duration: .7s;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
}

.sStory-et2019 .a-p {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    max-width: 1024px;
    height: 100vh;
    background-color: white;
    padding: 100px 25px 25px 25px;
    -webkit-transition-duration: .5s;
         -o-transition-duration: .5s;
            transition-duration: .5s;
    -webkit-transition-timing-function: ease-out;
         -o-transition-timing-function: ease-out;
            transition-timing-function: ease-out;
}

.sStory-et2019 .a-p.active {
    right: 0;
}

.sStory-et2019 .a-p-close {
    position: absolute;
    display: inline-block;
    text-decoration: underline;
    left: 50px;
    top: 50px;
    color: #D90404;
    -webkit-transition-duration: .3s;
         -o-transition-duration: .3s;
            transition-duration: .3s;
}

.sStory-et2019 .a-p-close:hover {
    color: #505152;
}

.sStory-et2019 .a-w {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

.sStory-et2019 .a-rap {
    position: relative;
    display: none;
    width: 100%;
    height: auto;
    padding: 25px 25px 75px 25px;
    -webkit-animation-name: riseUp;
            animation-name: riseUp;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
}

.sStory-et2019 .a-ttl {
    margin: 0 0 6px 0;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #505152;
}

.sStory-et2019 .a-sttl {
    display: block;
    margin: 0 0 12px 0;
    font-family: Benton,Helvetica,Arial,sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: #505152;
}

.sStory-et2019 .a-f-i {
    position: relative;
    margin: 0 0 0 0;
    width: 100%;
    height: auto;
}

.sStory-et2019 .a-f-i img {
    margin: 0 0 0 0;
    width: 100%;
    height: auto;
}

.sStory-et2019 .a-f-i:after {
    content: " ";
    display: block;
    margin: 50px auto 25px;
    width: 60px;
    height: 6px;
    border-top: 3px solid #505152;
    border-bottom: 1px solid #505152;
}

.sStory-et2019 .a-t {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #505152;
}

.sStory-et2019 .a-t-ledein {
    font-weight: 700;
}


/* ==========================================================================
   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-c-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-t-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  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;
}

/* ==========================================================================
   CSS ANIMATIONS
   ========================================================================== */

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes zoomOut {
    0% {
        -webkit-transform: scale(1.5);
                transform: scale(1.5);
        opacity: 0;
    }

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

@keyframes zoomOut {
    0% {
        -webkit-transform: scale(1.5);
                transform: scale(1.5);
        opacity: 0;
    }

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

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

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

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

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 700px) {
    .sStory-et2019 .a-ttl {
        font-size: 36px;
    }
}


@media only screen and (min-width: 900px) {
    .sStory-et2019 .f-image {
        width: 50%;
        background-image: url(../img/Emerg01.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        overflow: hidden;
    }

    .sStory-et2019 .a-h-rap {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 0 0 0;
        width: 50%;
        height: 100%;
        padding: 50px 50px 50px 50px;
        background-color: black;
        overflow: hidden;
    }

    .sStory-et2019 .li-num {
        display: block;
    }

    .sStory-et2019 .li-w {
        width: calc((100% / 12) * 8);
    }

    .sStory-et2019 .li-tbx {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: calc((100% / 12) * 4);
        padding: 50px 50px
    }

    .sStory-et2019 .c-list .c-li-item:nth-child(even) .li-w {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }

    .sStory-et2019 .c-list .c-li-item:nth-child(even) .li-tbx {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }

    .sStory-et2019 .a-ttl {
        font-size: 48px;
    }

    .sStory-et2019 .a-sttl {
        margin: 0 0 25px 0;
    }

    .sStory-et2019 .a-t-ledein {
        font-size: 125%;
    }
}

@media only screen and (min-width: 1025px) {
    .sStory-et2019 .li-i {
        background-attachment: fixed;
    }
}

@media only screen and (min-width: 1100px) {
    .sStory-et2019 #f-video {
        display: block;
    }

    .sStory-et2019 .a-h-rap {
        padding: 0 0 0 0;
    }

    .sStory-et2019 .a-h {
        display: none;
    }

    .sStory-et2019 .a-sub {
        display: none;
    }

    .sStory-et2019 .a-dSub {
        display: block;
    }

    .sStory-et2019 .creditWrapper {
        padding: 40px 50px;
    }
}

@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:
     * https://web.archive.org/web/20180815150934/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;
  }
}

