/*
Theme Name: Interrogate 2016
Theme URI: http://www.example.com/
Description: A theme for WordPress.
Author: Dave Funkhouser, Drew Baker, John Robson, Sander Moolin, Funkhaus
Author URI: http://www.funkhaus.us
Version: 1.0

Fonts:
    font-family: Helvetica, Arial, sans-serif;
        font-weight: 400;
        font-weight: 500;

    font-family: 'franklin-gothic-cond', sans-serif;
        font-weight: 500;
        font-weight: 700;

Colors:
    Off-white: #F4F4F4
    Dark blue: #141b28

Current highest z-index:
    #header (40)

/*-------------------------------------------------------------- */

/*
 * Fonts
 */
/* @import url('fonts/fonts.css'); */

/*
 * Globals
 */
html {
    background-color: #000000;
}
body {
    font-family: "tablet-gothic-condensed", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #000000;
    margin: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
html:not(.wf-active) body {
    opacity: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: normal;
}
::selection {
    color: #ebebe3;
    background: #222;
}
::-moz-selection {
    color: #ebebe3;
    background: #222;
}

/*
 * Links
 */
a {
    color: #333;
    text-decoration: none;
    outline: none;
}
.not-mobile a:hover {
    color: #666;
    text-decoration: none;
}
a img {
    border: none;
}

/*
 * Page Structure
 */
#header {
    position: fixed;
    z-index: 40;
    top: 50px;
    left: 70px;
}

/*
 * Utilities
 */
/* Responsive image containers */
.fluid-width-image-wrapper img {
    height: auto;
    width: 100%;
}

/* Chromeless */
.wf-active .chromeless .home .entry,
.chromeless #logo,
.chromeless .director-link,
.chromeless .list-container *,
.chromeless #header .breadcrumb,
.chromeless .breadcrumb h3,
.chromeless .work-block .meta,
.chromeless .spot-meta,
.chromeless .pagination,
.chromeless .arrow-down,
.chromeless .director-name,
.chromeless .close-button,
.chromeless .contact .brand,
.chromeless .contact .entry {
    opacity: 0 !important;
}

/* Sleep */
.not-mobile .to-sleep.asleep {
    opacity: 0 !important;
}

/*
 * Header
 */
#logo {
    position: relative;
    top: -6px;
}
.directors #logo {
    display: none;
}
#logo * {
    fill: #000000;
}
.light-header #logo *,
body.spot-open #logo *,
.home #logo * {
    fill: #f4f4f4;
}
#header .breadcrumb {
    margin-top: 1em;
    text-transform: uppercase;
    font-size: 16px;
    color: #f4f4f4;
    display: inline;
}
.not-mobile #header .breadcrumb:hover {
    cursor: pointer;
}
#header .breadcrumb .svg {
    position: relative;
    top: -4px;
}
#header .breadcrumb .svg * {
    fill: #f4f4f4;
}
#header h4 {
    display: inline-block;
    padding-left: 5px;
    position: relative;
    top: -3px;
}

/*
 * Main menu
 */
.main-menu-wrap {
    position: fixed;
    top: 50px;
    right: 70px;
    z-index: 5;
}
.main-menu {
    list-style-type: none;
    padding: 0;
    text-transform: uppercase;
    margin: 0;
}
.main-menu li {
    display: inline-block;
    font-size: 18px;
}
.main-menu li + li {
    margin-left: 30px;
}
.main-menu li a {
    color: #f4f4f4;
    line-height: 1.1;
    display: block;
}
.not-mobile .main-menu li a:hover {
    text-decoration: none;
}

/* Hover states */
.not-mobile .main-menu-wrap ul:hover a:not(:hover) {
    opacity: 0.4;
}
.not-mobile .main-menu-wrap ul:hover a:not(:hover) .svg * {
    fill: #6d6d6d;
}

/*
 * Front Page
 */
.home #header {
    opacity: 0;
}
.home .director-menu-wrap .hamburger {
    display: none;
}
.home .front {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #f4f4f4;
    background-size: cover;
    background-position: center;
}
.home .entry {
    position: absolute;
    left: 70px;
    right: 110px;
    bottom: 50px;
    z-index: 0;
    opacity: 0;
    transform: translateX(-10px);
}
.wf-active .home .entry {
    opacity: 1;
    transform: none;
}
.home .entry h4 {
    font-size: 20px;
    text-transform: uppercase;
    margin: 0.5em 0;
}
.home .entry p {
    font-size: 36px;
    margin: 10px 0 30px;
    padding-right: 60px;
}
.home .entry .post-edit-link {
    position: absolute;
    top: 100%;
    color: #f4f4f4;
    font-size: 14px;
}
.home .director-link {
    display: inline-block;
    position: absolute;
    right: 60px;
    bottom: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.not-mobile.home .director-link:hover {
    cursor: pointer;
    transform: scale(1.1);
}
.home .director-link .svg {
    padding: 10px;
    position: relative;
    top: 10px;
    -webkit-animation: arrow-bounce 2s ease-in-out infinite;
    animation: arrow-bounce 2s ease-in-out infinite;
}
.home .director-link h4 {
    display: inline-block;
    font-size: 18px;
}

/* Video */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -10;
}
.video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

/* Director menu */
body.home:not(.activated) .spot-preview-container {
    opacity: 0;
    pointer-events: none;
}
.home:not(.scrolled-down) .director-menu-wrap {
    top: 100%;
}
.scrolled-down .home .director-menu-wrap {
    top: 0;
}

/*
 * Director Menu
 */
.director-menu-wrap {
    position: absolute;
    width: 100%;
    min-height: 100vh;
    overflow: auto;
    z-index: 10;
    color: #f4f4f4;
}
.director-menu-wrap::-webkit-scrollbar {
    display: none;
}
body.home:not(.scrolled-down) .director-menu-wrap {
    overflow: hidden;
}
.director-menu-logo {
    position: absolute;
    z-index: 10;
    top: 44px;
    left: 70px;
    opacity: 0;
}
.director-menu-wrap .hamburger {
    position: absolute;
    z-index: 60;
    display: none;
}
.director-menu-open .director-menu-logo,
.directors .director-menu-logo,
.scrolled-down .director-menu-logo {
    opacity: 1;
}
.director-menu-logo .svg * {
    fill: #ffffff;
}
.director-menu-wrap .list {
    font-weight: 600;
    text-transform: uppercase;
    width: 50%;
    padding: 0 70px;
    box-sizing: border-box;
    padding-top: 100px;
    min-height: 100vh;
    position: absolute;
    z-index: 5;
}
.director-menu-wrap h2 {
    font-size: 16px;
    position: relative;
    top: -10px;
    font-weight: 600;
}
.work-grid .director-menu-wrap h2 {
    cursor: pointer;
}

/* Directors links */
.directors:not(.faded-in) {
    opacity: 0;
}
.directors-menu {
    margin-top: 45px;
    font-size: 47px;
    padding: 0;
    list-style-type: none;
    display: inline-block;
}
.directors-menu a {
    padding: 2px 0;
    display: inline-block;
    color: #f4f4f4;
}
.not-mobile .directors-menu:hover a {
    opacity: 0.4;
}
.not-mobile .directors-menu a:hover {
    text-decoration: none;
    opacity: 1;
    color: #ffffff;
}

/* Spot preview container (right half of directors menu) */
.director-menu-wrap .spot-preview-container {
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    bottom: 0;
    overflow: hidden;
}
.director-menu-wrap .spot {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.director-menu-wrap .spot .blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.director-menu-wrap .spot img {
    display: none;
}

/* Blurred image manipulation */
.hide-blur .blur {
    opacity: 0;
}

/* Transition to work */
.going-to-director .director-menu-wrap {
    z-index: 20;
}
.going-to-director .list-container {
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}
.going-to-director .spot-preview-container {
    left: 0;
}

/*
 * Work Grid
 */
.work {
    background-color: #000000;
    overflow: hidden;
}
.work.overview {
    overflow: auto;
}
.work::-webkit-scrollbar {
    display: none;
}
.work .controls {
    position: relative;
    z-index: 25;
}
.spot-reel {
    transform-origin: top;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 20;
    font-size: 0;
}
.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000000;
    opacity: 0.2;
}
.not-mobile .overview .overlay:hover {
    background-color: #f4f4f4;
    cursor: pointer;
    opacity: 0.3;
}
.overview .overlay {
    z-index: 10;
}
.overview .spot-reel {
    position: absolute;
}
.spot-reel .work-block {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transform: none;
    position: relative;
    text-align: center;
    display: block;
}
.spot-reel .work-block .meta {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70px;
    right: 70px;
    height: 1em;
    margin: auto;
    color: #f4f4f4;
    font-weight: 600;

    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.spot-reel .work-block .meta {
    font-family: "tablet-gothic-wide", sans-serif;
    font-weight: 600;
}
.director-menu-open .work-block .meta,
.going-to-director .work-block .meta {
    opacity: 0;
}
.spot-reel .meta .title {
    line-height: 0.7;
}
.spot-reel .meta span {
    display: block;
    text-align: center;
}
.spot-reel .meta .line-1 {
    font-size: 100px;
    line-height: 0.9;
}
.spot-reel .meta .line-2 {
    padding-top: 25px;
    font-size: 50px;
    line-height: 1.1;
}
.spot-reel .meta .play-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transform: scale(0.7);
}
.not-mobile .spot-reel .meta:hover {
    cursor: pointer;
}
.not-mobile .spot-reel .meta:hover .line {
    opacity: 0;
    transform: scale(0.9);
}
.not-mobile .spot-reel .meta:hover .play-button {
    opacity: 1;
    transform: none;
}
.pagination {
    z-index: 10;
    position: fixed;
    color: #f4f4f4;
    bottom: 48px;
    left: 70px;
    width: 150px;
    font-size: 19px;
}
.going-to-director .pagination {
    opacity: 0;
}
.pagination span:not(.reel-link) {
    transition: 0.4s;
}
.pagination .svg {
    padding: 0 10px 5px 0;
    position: relative;
    height: 1em;
    width: auto;
    top: 1px;
    vertical-align: bottom;
    transition: 0.4s;
}
.not-mobile .pagination:hover {
    cursor: pointer;
}
.not-mobile .pagination:hover span,
.not-mobile .pagination:hover .svg,
.overview .pagination .svg,
.overview .pagination span {
    opacity: 0;

    transition: 0s;
}
.reel-link {
    text-transform: uppercase;
    position: absolute;
    opacity: 0;
    left: 0;
    white-space: nowrap;

    transition: 0s;
}
.not-mobile .pagination:hover .reel-link {
    transition: 0.4s;
}
body:not(.overview).not-mobile .pagination:hover .view-reel.reel-link,
.overview .pagination .exit-reel.reel-link {
    opacity: 1;
}
.arrow-down {
    position: absolute;
    right: 100%;
    bottom: 3px;
    margin: auto;
    width: 20px;
    padding: 20px 20px 2px;
    z-index: 10;
}
.main-menu-wrap:not(.directors-hovered) .arrow-down {
    opacity: 0;

    -webkit-transform: translateX(20px);
    transform: translatex(20px);
}
.director-menu-open .arrow-down,
.going-to-director .arrow-down,
.overview .arrow-down {
    opacity: 0;
}
.arrow-down .svg * {
    fill: #f4f4f4;
}
.not-mobile .arrow-down:hover {
    cursor: pointer;
    transform: scale(1.2);
}
.director-name {
    position: fixed;
    bottom: 50px;
    right: 70px;
    font-size: 44px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    color: #f4f4f4;
}
.director-menu-open .director-name,
.going-to-director .director-name,
.spot-open .director-name {
    opacity: 0;
}

/* work director-menu */
.work .director-menu-wrap {
    left: -50%;
    background-color: transparent;
}
.director-menu-open .director-menu-wrap {
    visibility: visible;
    overflow: auto;
    z-index: 20;
}
.director-menu-open #logo,
.scrolled-down #logo {
    opacity: 0;
}
.work .directors-label,
.director-menu-open .spot-preview-container {
    cursor: pointer;
}

/*
 * Work Detail
 */
.spot-player {
    display: none;
    background-color: #000000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.spot-player .close-button {
    text-align: center;
    top: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    opacity: 0;
    cursor: pointer;
}
.spot-player .close-button * {
    fill: #ffffff;
    height: 16px;
    width: auto;
}
.spot-open .close-button {
    opacity: 1;
}
.spot-player .stage {
    position: absolute;
    top: 110px;
    bottom: 130px;
    right: 70px;
    left: 70px;
    text-align: center;
    max-width: 1600px;
    margin: auto;

    display: -webkit-flex;
    display: flex;
}
.size-parent iframe {
    display: block;
    margin: auto;
}
.spot-meta {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: 30px;
    color: #ffffff;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.spot-meta .title {
    font-size: 18px;
}
.spot-meta .arrow-down {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.spot-meta span {
    display: block;
    text-align: center;
}
.spot-meta .director {
    font-size: 24px;
    text-transform: uppercase;
}
.spot-meta .line-1 {
    font-size: 18px;
    font-family: "tablet-gothic-wide", sans-serif;
}
.spot-meta .line-2 {
    font-size: 14px;
    font-family: "tablet-gothic-wide", sans-serif;
}

/*
 * Contact
 */
.contact #header {
    position: absolute;
    right: 70px;
}
.contact .hamburger {
    position: absolute;
    top: -14px;
    right: -20px;
}
.contact a {
    text-decoration: none;
    color: #f4f4f4;
}
.contact.not-mobile a:hover {
    text-decoration: underline;
}
.contact #header h3 {
    font-size: 16px;
    font-weight: 600;
}
.fixed-background {
    position: fixed;
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100vw;
}
.contact #content {
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    padding-bottom: 20px;
    min-height: 100vh;
    text-align: center;
}
.contact .entry {
    padding: 170px 70px 60px;
    color: #f4f4f4;
}
.contact .half-height {
    left: 0;
    right: 0;
    margin-bottom: 50px;
    font-size: 18px;

    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.half-height > div:first-child {
    text-align: left;
}
.half-height > div:last-child {
    text-align: right;
}
.contact h3 {
    text-transform: uppercase;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
}
.contact address {
    font-style: normal;
}
.contact .tel,
.contact .person {
    margin-bottom: 2em;
}
.contact .name {
    text-transform: uppercase;
    font-weight: 600;
}
.contact .region-label {
    text-align: center;
    font-weight: 700;
}
.contact .region h3 {
    font-weight: 600;
}
.contact .brand {
    padding: 10px;
}

/*
 * Debrief
 */
body.debrief {
    position: fixed;
}
#content.debrief {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.debrief .slideshow {
    width: 50vw;
    height: 100vh;
    position: absolute;
    z-index: 0;
}
.debrief .right {
    right: 0;
}
.debrief .slide {
    height: 100vh;
    width: 100vw;
}
.debrief .slide .image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
}
.debrief .slide img {
    display: none;
}
.debrief .right .image {
    left: -50vw;
}

/*
 * Animations
 */
/* Color */
a,
.custom-color {
    transition: color 0.4s;
}

/* Opacity */
.browse,
    #logo,
    .breadcrumb,
    .pagination,
    .director-name,
    .spot-meta,
    .contact .svg,
    .blur,
    h3,
    /* .director-menu-logo, */
    .to-sleep,
    body,
    .main-menu a,
    .directors-menu a {
    transition: opacity 0.4s;
}

/* Everything */
svg path,
svg ellipse,
.hamburger span,
.play-button,
.line,
.meta,
.arrow-down,
.overlay,
.close-button,
.close-button .svg,
.director-link,
.entry,
.main-menu li {
    transition: 0.4s;
}

/* Misc */
.list-container,
.spot-preview-container {
    -webkit-transition: all 400ms cubic-bezier(0.39, 0.575, 0.565, 1);
    transition: all 400ms cubic-bezier(0.39, 0.575, 0.565, 1);

    -webkit-transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
    transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
}

/* Keyframes */
@keyframes arrow-bounce {
    0% {
        transform: none;
    }
    20% {
        transform: translateY(-10px);
    }
    40% {
        transform: none;
    }
}

@-webkit-keyframes arrow-bounce {
    0% {
        transform: none;
    }
    20% {
        -webkit-transform: translateY(-10px);
    }
    40% {
        transform: none;
    }
}

/*
 * Wordpress Required
 */
.alignleft {
    display: inline;
    float: left;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 10px auto;
}
.alignright {
    display: inline;
    float: right;
}
img.alignleft {
    margin: 0 10px 10px 0;
}
img.alignright {
    margin: 0 0 10px 10px;
}
img.aligncenter {
    margin: 0 auto 10px auto;
}
.wp-caption {
    background: #f1f1f1;
    color: #888;
    text-align: center;
    margin-bottom: 15px;
    width: auto !important;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}
.wp-caption img {
    margin: 0px;
}
.wp-caption p.wp-caption-text {
    margin: 0 0 5px;
    padding: 4px;
    font-style: italic;
}
