/*
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: "Alliance No1", sans-serif;
        font-weight: 700;

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

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

/*
 * Globals
 */
html {
    background-color: #000000;
}
body {
    font-family: "Alliance No1", sans-serif;
    font-size: 11px;
    color: #000000;
    margin: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-weight: 700;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
}
::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;
}
.post-edit-link {
    font-size: 12px;
    text-transform: uppercase;
}

/*
 * 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 */
.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;
}
#logo * {
    fill: #f4f4f4;
}
/* .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;
    margin: 0;
}
.main-menu li {
    display: inline-block;
    font-size: 18px;
}
.main-menu li+li {
    margin-left: 30px;
}
.main-menu a {
    color: #f4f4f4;
    line-height: 1.1;
    display: block;
    opacity: 0.4;
}
.not-mobile .main-menu a:hover {
    text-decoration: none;
}

/* Hover states */
.not-mobile .main-menu-wrap ul:hover a:not(:hover) {
    opacity: 0.4;
}
.home .main-menu-wrap a,
.main-menu-wrap .current-page-ancestor a,
.main-menu-wrap .current-menu-item a,
.not-mobile .main-menu-wrap ul:hover a:hover {
    opacity: 1;
    color: #f4f4f4;
}
.not-mobile .main-menu-wrap ul:hover a:not(:hover) .svg * {
    fill: #6d6d6d;
}

/*
 * Front Page
 */
.home .director-menu-wrap {
    top: 80%;
}

/* Video */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -10;
}
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

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

/*
 * Director Menu
 */
.directors:not(.faded-in) {
    opacity: 0;
}
.director-menu-wrap {
    position: absolute;
    width: 100%;
    min-height: 100vh;
    overflow: auto;
    z-index: 10;
    color: #f4f4f4;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
}
.director-menu-wrap h2 {
    display: none;
}

/* Directors links */
.directors-menu {
    padding: 0;
    margin: 0 70px;
    list-style: none;
    display: block;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1450px;
    font-size: 34px;
}
.directors-menu ul,
.directors-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.directors-menu .column {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}
.directors-menu a {
    padding: 8px 0;
    display: inline-block;
    color: #f4f4f4;
}
.directors-menu a.not-hovered {
    opacity: 0.4;
}
/* .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 */
.director-menu-wrap .spot-preview-container {
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    bottom: 0;
    overflow: hidden;
    background-color: #000000;
}
.director-menu-wrap .spot {
    height: 100%;
    width: 100%;
}
.director-menu-wrap video {
	position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: cover;	
}


/* 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: 41;
}
.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;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.director-menu-open .work-block .meta,
.going-to-director .work-block .meta {
    opacity: 0;
}
.spot-reel .meta .title {
    line-height: 0.7;
    max-width: 100%;
}
.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: 20px;
    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: 4px;
    margin: auto;
    width: 20px;
    padding: 20px 15px 2px;
    z-index: 10;
}
.main-menu-wrap:not(.directors-hovered) .arrow-down {
    opacity: 0;
    -webkit-transform: translateX(5px);
    transform: translatex(5px);
}
.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;
}
.director-name {
    position: fixed;
    bottom: 45px;
    right: 70px;
    font-size: 36px;
    text-transform: uppercase;
    z-index: 10;
    color: #f4f4f4;
}
.director-name h2 {
    font-size: inherit;
}
.director-menu-open .director-name,
.going-to-director .director-name,
.spot-open .director-name {
    opacity: 0;
}

/* Social and bio section */
.director-social {
    display: flex;
    column-gap: 16px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 9px;
}
.director-social__link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.director-social__link svg {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}
.director-social .director-social__link.director-social__website .director-social__name {
    display: none;
}
.director-social svg path, .director-social svg polygon {
    fill: #fff;
}
.director-social svg path:nth-of-type(2) {
    fill: #000;
}
.director-social__bio-open {
    color: #fff;
    font-size: 18px;
    padding-right: 5px;
}

.director-social__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.director-social__name {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 0 0 5px;
    white-space: nowrap;
}

.director-bio {
    display: flex;
    position: fixed;
    z-index: 19;
    transition: all 0.5s;
    opacity: 0;
    inset: 0;
    overflow: auto;
}
.director-bio.bio-open {
    z-index: 45;
    opacity: 1;
}

.director-bio__wrapper {
    background: #fff;
    flex: 1;
    display: flex;
}
.director-bio-column * {
    box-sizing: border-box;
}
.director-bio-column {
    flex: 1;
}
.director-bio__thumbnail {
    position: relative;
    overflow: hidden;
}
.director-bio__thumbnail-image {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.director-bio__thumbnail .director-bio__logo {
    position: fixed;
    left: 64px;
    top: 43px;
}
.director-bio__thumbnail h2 {
    position: absolute;
    bottom: 64px;
    font-size: 36px;
    text-transform: uppercase;
    color: #f4f4f4;
    width: 100%;
    left: 0;
    padding-inline: 64px;
}
.director-bio__detail {
    background-color: #fff;
    padding-block: 45px;
    overflow-y: auto;
}
.director-bio__detail .director-social__link svg {
    width: 32px;
    height: 32px;
}
.director-bio__detail-header {
    display: flex;
    column-gap: 1rem;
    margin-bottom: 2rem;
    padding-inline: 48px;
}

.director-bio__detail-header .director-social__name {
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 0 0 5px;
    white-space: nowrap;
}
   
.director-bio__detail-body {
    font-size: 20px;
    padding-inline: 48px;
}
.director-bio__detail-body p {
    margin-block: 0;
}
.director-bio__bio-close {
    position: fixed;
    top: 43px;
    right: 54px;
    height: 36px;
    font-size: 20px;
    line-height: 36px;
    color: #000;
}
@media (max-width: 750px) {
    .director-social {
        justify-content: center;
    }
    .director-bio__wrapper {
        display: block;
    }
    .director-bio__detail {
        padding-inline: 2rem;
        padding-block: 2rem;
    }
    .director-bio__bio-close {
        color: #f4f4f4;
    }
    .director-bio__name {
        text-align: center;
    }
}

/* Work Director-menu */
.work .director-menu-wrap {
    z-index: 20;
    left: -100%;
    opacity: 0;
    transition: opacity 1s;
}
.work .spot-preview-container {
	display: none;
	opacity: 0;
}
/* Director menu Open */
.director-menu-open .director-menu-wrap {
    opacity: 1;
}
.director-menu-open .pagination {
    opacity: 0;
}
.director-menu-open .spot-preview-container {
    cursor: pointer;
}
.director-menu-open.activated .spot-preview-container {
    opacity: 1;
	display: block;    
}

/*
 * 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;
    margin-top: 10px;
}
.spot-meta .line-1 {
    font-size: 18px;
}
.spot-meta .line-2 {
    font-size: 14px;
}

/*
 * Contact
 */
/* .contact #header {
    position: absolute;
    right: 70px;
} */
/* .contact .hamburger {
    position: absolute;
    top: -14px;
    right: -20px;
} */
.contact a {
    text-decoration: none;
    color: #f4f4f4;
}
.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;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    max-width: 1280px;
    margin: 0 auto;
}
.contact .row {
    margin-bottom: 40px;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.contact .column {
    min-width: 230px;
    margin-right: 40px;
}
.contact .column:last-child {
    margin-right: 0;
}
.contact .row>h3 {
    width: 100%;
}
.contact h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}
.contact address {
    font-style: normal;
}
.contact .tel,
.contact .person {
    margin-bottom: 2em;
}
.contact .name {
    text-transform: uppercase;
}
.contact .region-label {
    text-align: center;
    font-weight: 700;
}
.contact .brand {
    padding: 10px;
    position: absolute;
    bottom: 30px;
    right: 60px;
}

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