/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.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
   ========================================================================== */


/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 15, 2015 */


@font-face {
    font-family: 'Playfair';
    src: url('../webfonts/playfairdisplay-regular-webfont.eot');
    src: url('../webfonts/playfairdisplay-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/playfairdisplay-regular-webfont.woff2') format('woff2'),
         url('../webfonts/playfairdisplay-regular-webfont.woff') format('woff'),
         url('../webfonts/playfairdisplay-regular-webfont.ttf') format('truetype'),
         url('../webfonts/playfairdisplay-regular-webfont.svg#playfair_displayregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair';
    src: url('../webfonts/playfairdisplay-bold-webfont.eot');
    src: url('../webfonts/playfairdisplay-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/playfairdisplay-bold-webfont.woff2') format('woff2'),
         url('../webfonts/playfairdisplay-bold-webfont.woff') format('woff'),
         url('../webfonts/playfairdisplay-bold-webfont.ttf') format('truetype'),
         url('../webfonts/playfairdisplay-bold-webfont.svg#playfair_displaybold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair';
    src: url('../webfonts/playfairdisplay-bolditalic-webfont.eot');
    src: url('../webfonts/playfairdisplay-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/playfairdisplay-bolditalic-webfont.woff2') format('woff2'),
         url('../webfonts/playfairdisplay-bolditalic-webfont.woff') format('woff'),
         url('../webfonts/playfairdisplay-bolditalic-webfont.ttf') format('truetype'),
         url('../webfonts/playfairdisplay-bolditalic-webfont.svg#playfair_displaybold_italic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Playfair';
    src: url('../webfonts/playfairdisplay-italic-webfont.eot');
    src: url('../webfonts/playfairdisplay-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/playfairdisplay-italic-webfont.woff2') format('woff2'),
         url('../webfonts/playfairdisplay-italic-webfont.woff') format('woff'),
         url('../webfonts/playfairdisplay-italic-webfont.ttf') format('truetype'),
         url('../webfonts/playfairdisplay-italic-webfont.svg#playfair_displayitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}


@-moz-keyframes dropHeader {
    0% {
        opacity: 0.1;
        -moz-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}
@-webkit-keyframes dropHeader {
    0% {
        opacity: 0.1;
        -webkit-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}
@keyframes dropHeader {
    0% {
        opacity: 0.1;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




.move_ {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}
.ghostshift_logo,
.primary_navigation,
a {
-webkit-transition: all 200ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
   -moz-transition: all 200ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
     -o-transition: all 200ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
        transition: all 200ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
}

body {
    color: black;
}
.red {
    color: #ff0000;
}

.ghostshift_logo {
    background: url(../img/logo_ghostshift.png) no-repeat 0 0; 
    background-size: 100% 100%;
    width: 189px;
    height: 165px;
    display: block;
    margin: 70px auto 0;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    opacity: 0.0 !important;
}

.ghostshift_logo::-moz-selection {
    background: none;
    text-shadow: none;
}

.ghostshift_logo::selection {
    background: none;
    text-shadow: none;
}
.ghostshift_logo:hover {
    opacity: 0.9;
}

.primary_navigation {
    margin: 0;
    margin-top: -12px;
    padding: 0 0 0;
    position: fixed;
    top: 0;
    width: 100%;
    display: table;
    background: rgba(0,0,0,1);

}
.primary_navigation li {
    display: inline-block;
    display: table-cell;
    text-align: center;
    position: relative;
}
.primary_navigation li:first-child a {
    text-align: right;
}
.primary_navigation li:last-child a {
    text-align: left;
}
.primary_navigation a {
    box-sizing: border-box;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 5px 0 8px;
    color: rgba(255,255,255,1);
    height: 100%;
    opacity: 1;
    border-bottom: 5px solid transparent;
    background: transparent;
    border-top: 0;
}
.primary_navigation a:hover {
    border-bottom: 5px solid #ededed;
    border-top: 0;
}
.primary_navigation li:last-child a {
    /*border: 0;*/
}


.precis-wrap {
    -moz-animation-name: dropHeader;
    -moz-animation-iteration-count: 1;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-duration: 1s;

    -webkit-animation-name: dropHeader;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-duration: 1s;

    animation-name: dropHeader;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;


    display: block;
    font-family: 'Playfair', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 64px;
    font-style: italic;
    font-weight: bold;
    font-variant: normal;
    line-height: 1;
    margin: 0 auto;
    padding: 0 40px;
    /*color: #fff;*/
    color: #121212;
    max-width: 650px;
    text-align: right;
}
.precis-wrap p {
    margin-top: 20px;
    margin-bottom: 20px;
}
.precis-wrap blockquote {
    margin-left: 0;
    margin-right: 0;
}
.citation {
    margin-right: 0.5em;
    color: rgba(0,0,0,0.9);
}
.precis-wrap h3 {
    font-size: 42px;
}



/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 768px) {
    .primary_navigation a {
        font-size: 28px;
    }
    .ghostshift_logo {
        display: none;
    }
    blockquote {
        text-align: center;
        margin-top: 100px;
        margin-left: 0;
        margin-right: 0;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * 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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (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,
    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;
    }
}
