/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

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

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
@font-face { font-family: HelveticaNeueLTStd-HvEx; src: url(../fonts/HelveticaNeueLTStd-HvEx.otf); }
@font-face { font-family: HelveticaNeueLTStd-Lt; src: url(../fonts/HelveticaNeueLTStd-Lt.otf); }
@font-face { font-family: HelveticaNeueLTStd-Roman; src: url(../fonts/HelveticaNeueLTStd-Roman.otf); }
@font-face { font-family: HelveticaNeueLTStd-Th; src: url(../fonts/HelveticaNeueLTStd-Th.otf); }

html,body { height: 100%; }
body { font-family: "HelveticaNeueLTStd-Th"; -webkit-font-smoothing: antialiased; background: url('../images/bg.jpg') center center no-repeat fixed; background-size: auto 100%; overflow: hidden; }

.circle { background: #d11241; border-radius: 50%; }

#loading { position: absolute; top: 50%; margin-top: -24px; width: 100%; color: #FFF; font-size: 48px; text-align: center; line-height: 40px; }

#wrapper { display: none; }

#video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; background: #000; display: none; }

#intro { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: none; overflow: hidden; -webkit-perspective: 500px; }
#intro #logos { position: absolute; top: 50%; left: 50%; cursor: pointer; }
#intro #logos img { position: absolute; top: -110px; left: -200px; }
#intro .circle { position: absolute; top: 50%; left: 50%;  width: 1px; height: 1px; display: none; }
#intro #grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; -webkit-perspective: 1000px; }
#intro #grid td { width: 10%; height: 16%; border: 150px solid #d11241;}
#intro #grid td img { width: 100%; height: auto; -webkit-transition: -webkit-transform 1s; }

#logo { position: absolute; top: 45px; left: 50%; margin-left: -580px; }

nav { position: absolute; top: 160px; right: 0; width: 185px; border-top: 1px solid #d11241; -webkit-perspective: 500px; -webkit-perspective-origin: 100% 50%; }
nav a { width: 176px; padding: 14px 4px; color: #FFF; font-size: 17px; text-decoration: none; -webkit-transition: background .5s, -webkit-transform 1s; border-bottom: 1px solid #af3441; display: block; }
nav a:hover { background: #962531; }
nav a.active { background: #d11241; }

#homeCollage { position: absolute; top: 160px; left: 50%; margin-left: -425px; width: 850px; -webkit-perspective: 1000px; -webkit-transition: -webkit-transform 1s; }
#homeCollage > span { position: absolute; left: 0; top: 111px; width: 200px; font-family: "HelveticaNeueLTStd-HvEx"; font-size: 48px; color: #FFF; line-height: 50px; }
#homeCollage div { float: left; width: 50%; }
#homeCollage img { float: left; margin-bottom: 10px; -webkit-transition: opacity 1s, -webkit-transform 1s; }

#body { position: absolute; top: 160px; left: 50%; margin-left: -425px; width: 850px; color: #FFF; }
#body video,
#body .poster { width: 842px; height: 467px; background: #000; border: 8px solid #d11241; cursor: pointer; }
#body h1 { font-weight: normal; }
#body p { font-family: "HelveticaNeueLTStd-Roman"; }
#body .videoThumbs { margin: 0; padding: 0; }
#body .videoThumbs li { float: left; margin-right: 5px; list-style: none; cursor: pointer; }
#body .videoThumbs li:nth-child(6n) { margin-right: 0; }
#body .videoThumbs li img { width: 137px; height: 100px; cursor: pointer; }
#body .videoThumbs li div { margin-top: 6px; text-align: center; }
#body.team {  }
#body.team .teamThumbs { margin: 0; padding: 0; -webkit-perspective: 500px; }
#body.team .teamThumbs li { float: left; margin-right: 17px; width: 270px; list-style: none; -webkit-transition: opacity 1s, -webkit-transform 1s; }
#body.team .teamThumbs li:nth-child(3n) { margin-right: 0; } 
#body.team .teamThumbs li img { width: 100%; height: auto; }
#body.team .teamThumbs li p { margin: 8px 0 12px 0; font-family: "HelveticaNeueLTStd-Lt"; font-size: 12px; line-height: 14px; }
#body.team div { float: left; }
#body.team div p { margin: 20px 0 0 0; font-size: 25px; font-weight: normal; }
#body.team div small { font-size: 20px; font-weight: normal; font-style: italic; }
#body.conclusion .outro { position: absolute; top: 80px; left: 165px; display: none; }
#body.conclusion .outro img { position: absolute; }
#body.conclusion .outro .circle { position: absolute; }

#data { display: none; }


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (min-aspect-ratio: 5/4) 
{
	body { background-size: 100% auto; }
}
   
@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}
/*
@media only screen and (max-device-width:1280px), 
       only screen and (max-width:1280px), 
       only screen and (max-device-height:1024px),
       only screen and (max-height:1024px)
{
	body { zoom: 60%; }
}
*/
/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}