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

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, html {
    height:100%;
    width:100%;
}
body {
    /*background-image: url('../img/video-1024x512-poster.jpg'); 
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;*/
    background-color: #232323;
    margin:0;
    padding:0;
    color:#f3f3f3;
    font-size:18px;
    font-family: 'Spectral', serif;
    font-weight: 300;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.images img {
    width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    margin-top: 0;
    color: #b0955f;
    font-weight: 700;
}


h1 {
    font-size: 3rem;
    color: #fff;
}
.container-fluid {
    width: 100%;
}
.menu-content {
    text-align: right;
    padding: 50px;
}

section {
    margin-top: 6rem;
}

.caption {
    font-size: small;
    color: #999;
    padding: 5px;
}
.image-bg {
    background-repeat: no-repeat;
    background-position: top right;
}
.hero-img:after {
    content: ' ';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.56);
}

.two-columns {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
    -moz-column-gap: 30px; /* Firefox */
    column-gap: 30px;
}

.three-columns {
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
    -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
    -moz-column-gap: 30px; /* Firefox */
    column-gap: 30px;
}
.video-wrapper {
    margin-top:3rem;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#talks iframe {
    max-width: 100% !important;
}

video {
    width: 100%;
    height: auto;
}
.bg-video {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
}

.subheader {
    font-size: 2rem;
    font-weight: bold;
}
.small {
    line-height: 1.3;
    display: block;
    margin-top: .5rem;
}
.content-wrapper {
    position: absolute;
    margin: auto;
    top: 0; left: 0; bottom: 0; right: 0;
}
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-content:space-between;
    align-items:stretch;
    height: 100%;
}

.actor {
    padding-bottom: 2rem;
}
.actor img {
    padding-bottom: 1rem;
}
.support, .legal {
    font-size: .875rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
   
}
.legal {
    opacity: .3;
}

.social {
    display:flex;
    flex-direction: row;
    justify-content: right;
    margin-right: 15px;
}
.social > div {
    margin-right:5px;
    margin-bottom:5px;
}
.social-icons {
    margin-top: 40px;
    text-align: center;
}

.buttons {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.navrow {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.navrow--logo {
    order: 1;
}
.menu-content {
    order: 2;
}

.panel ul {
    padding-left: 0;

}
.social-link {
        display: block;
    }
footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hidden{
     opacity:0;
}
.visible{
     opacity:1;
}

a, a:link, a:visited {
    color: #00db48;
    text-decoration:none;
}
a:hover, a:focus, a:active {
    color: #0024ff;
    text-decoration:underline;
}
.button-common {
    padding:15px 30px;
    margin:10px;
    text-decoration:none;
}

.button-outlined, .button-outlined:hover {
    border:1px solid #39ff00;
    color:#39ff00;
    background:none;
}
.button-filled, .button-filled:hover {
    background-color:#39ff00;
    color:#FFFFFF;
}

.padded {
    /*padding-top:7rem;*/
}
.realign {
    text-align:right;
}
.credits strong {
    color: #b0955f;
}

.content-block, .content-block-sm {
    margin-bottom: 0;
}

input[type=email],input[type=text] {
    width: 10rem;
    max-width: 100%;
    border-width: 0 0 1px 0;
    background: none;
    border-color: #b0955f;

}


.grid-sizer,
.grid-item { width: 23.258242%; }
.grid-item {
    margin-bottom: 1.666%;
}
/*.grid-item:nth-child(4n+4) {
    margin-right:0;
} */
.gutter-sizer {
    width:2%;
}
/* 2 columns */
.grid-item--2x { width: 46.5164%; }

.lazyload {
    opacity: 0;
    transition: opacity .3s ease-in;
}


.story {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
    padding:5px 10px;
    background-color: rgba(0, 0, 0, .4);
    height: 100%;
    width: 100%; 
    cursor: pointer;
    pointer-events: none;
}
.credit {
    position: absolute;
    display: none;
    bottom: 0;
    left: 0;
    padding:5px 10px;
    z-index: 2001;
    font-size: 0.675rem;
    font-weight: 400;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    line-height: normal;
    pointer-events: none;
}
.notes {
    position: absolute;
    bottom: 0;
    right: 0;
    padding:5px 10px;
    z-index: 2002;
    font-size: 1rem;
    pointer-events: none;
}
.stars {
    padding-top: 3rem;
    font-size: 0.875rem;
}
.story p {
   font-family: 'Roboto Condensed', sans-serif;
   font-style: italic;
   font-weight: 400;
   font-size: 1.2rem;
    line-height: normal;
}


.page-load-status {
  display: none; /* hidden by default */
  padding-top: 20px;
  border-top: 1px solid #DDD;
  text-align: center;
  color: #777;
}

.filter {
    margin-bottom: 10px;
}
.filter-select {
    background: none;
    border: 2px solid black;
    width: 100%;
}


p.offset::first-letter { 
    margin-left: -8px;
}
.bottom-padding {
    margin-bottom: 3rem;
}

.installation-media--item {
    margin-bottom: 30px;
}


/* Logo toggle */
.front .chapter-1,
.front .chapter-2,
.front .chapter-3 {
    display: none;
}
.love .chapter-3,
.love .chapter-2,
.love .default {
    display: none;
}
.ark .chapter-3,
.ark .chapter-1,
.ark .default {
    display: none;
}

.fly-angel-soul .chapter-1,
.fly-angel-soul .chapter-2,
.fly-angel-soul .default {
    display: none;
}

.ark-logo {
    text-align: center;
}
.ark-laurels {
    text-align: center;
}
.ark-laurels img {
    padding: 20px;
}
.platforms {
    text-align: center;
    margin-top: 2rem;
}
.platforms img {
    padding: 0 20px;
}
.credits-subheader strong{
    color: #5F7FB0;
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 991px) { 
    section {
        margin-top: 2rem;
    }
    .padded {
        padding-top:1rem;
    }
    .realign {
        text-align:left;
    }
    .three-columns {
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-count: 2;
    }
    .content-block {
        margin-bottom: 4rem;
    }
    .content-block-sm {
        margin-bottom: 2rem;
    }

    .grid-item { width: 47%; }
    }
    

@media (max-width: 767px) { 
   .three-columns,
   .two-columns {
        -webkit-column-count:1; /* Chrome, Safari, Opera */
        -moz-column-count: 1; /* Firefox */
        column-count:1;
    } 
    .installation-media--item {
        margin-bottom: 15px;
    }
    .menu-content {
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
        justify-content: flex-end;
    }

    /*----*/
    .navrow {
        flex-direction: column;
    }
    .navrow--logo {
        order: 2;
    }
    .menu-content {
        order: 1;
    }
    /*----*/

    .social-link {
        display: none;
    }
    
}

@media (max-width: 580px) { 
    .grid-item { width: 93%; }

    .navrow--logo {
        text-align: center;
    }
    
   .ark-laurels {
    text-align: center;
   }
}







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