/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #F7ABAB;
    text-shadow: none;
}

::selection {
    background: #F7ABAB;
    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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { background: #7a7a7a; color: #fff; font-family: 'Muli', sans-serif; font-size: 1.2em; }
video { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
a { color: #fff; }


ul { margin: 20px 0px; }
li { list-style: none; text-indent: -15px; }
li:before { content: "- "; text-indent: -5px; }

.video-preload { display: none; }


.wood { position: fixed; top: 0; left: 0; min-width: 100%; min-height: 100%; z-index: 1; }
.caps { text-transform: uppercase; color: #E09D9D; }

p { text-transform: uppercase; }

.lang {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 200;
}
.lang a { color: #fff; }

.col_1 { float: left; width: 100%; }
.col_2 { float:left; width: 45%; padding-right: 2%; }
.last { padding: 0px; }

.text_layer { position: absolute; top: 0; left: 0; width: 90%; height: 100%; z-index: 3; }
.body-text .col_2 { }

.text_layer { top: 4%; left: 4%; }

.text_layer h1, .text_layer h2 {
    font-size: 2em;
    font-weight: 100;
    color: rgba(224, 157, 157, 1);
    color: #E09D9D;
    line-height: 1em;
    text-transform: uppercase;
    float: left;
    padding: 0px 0 40px 0;
    margin: 0px;
    width: 100%;
}

.text_layer h3 {
    color: rgba(224, 157, 157, 1);
    float: left;
    padding: 2%;
    line-height: 1em;
    font-size: 2em;
    font-weight: 100;
}

.text_layer h4 {
    font-size: 1em;
    color: #000;
    color: #E09D9D;
    float: left;
    text-transform: uppercase;
    padding: 0;
    margin: 0px;
    font-weight: 100;
    width: 100%;
}

.head-section h1, .head-section h2 { font-size: 3em; color: #fff; }
.head-section { margin-top: 20px; }

i.fa.fa-envelope-o {
    color: #fff;
}
.low-text h1 { color: #fff; }
.low-text h2 { color: #fff; }


b, p { font-weight: 100; }
.highlight {  }

/* .contact_layer { position: fixed; right: 5%; bottom: 5%; z-index: 500; } */

.contact_layer .fa, .text_layer .fa {
    font-size: 2em;
    color: #fffa94;
    font-size: 1em;
    /* color: #fff; */
}

.topper { margin-top: 70px; }

.frame-bg { 
    position: absolute;
    width:100%;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
    z-index: 2;
}

.pad-top { padding-top: 50px; }
.no-padding, .no-pad { padding: 0 !important; }

.mobile-only { display: none; }



.text_layer.ja { font-family: sans-serif; }
.text_layer.ja h3 { font-weight: 100; }

.contact_layer .fa, .text_layer .fa {
    color: #F7ABAB;
}

.above-text {
    position: relative;
    z-index: 3;
}


.bottom-over { position: absolute; z-index: 20; margin-top: 40px; margin-left: 3.8%; }
.bottom-over h1, .bottom-over h2 {
    font-size: 2em;
    font-weight: 100;
    color: rgba(224, 157, 157, 1);
    color: #fff;
    line-height: 1em;
    text-transform: uppercase;
    float: left;
    padding: 0px 0 40px 0;
    margin: 0px;
    width: 100%;
}
.bottom-video {
    margin-top: 20px; 
    width: 100%;
    float: left;
    z-index: 6;
    position: relative;
    cursor: progress;
}

.video-zone { position: relative; }
#video-zone-temp { position: absolute; top:0; left:0; width: 100%; z-index: 5; }
#video-zone-real { position: absolute; top:0; left:0; width: 100%; z-index: 7;  }



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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 only screen and (max-width: 700px) {
    .text_layer h1, .text_layer h2 {
        font-size: 2em;
        margin: 0;
        width: 100%;
    }
    .topper { margin-top: 0px; }
    .col_2 { width: 90%; }
    .contact_layer .fa, .text_layer .fa {
        color: #F7ABAB;
    }
    .frame-bg { }
    .mobile-only { display: block; }
    .pad-top { padding-top: 0px; }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
