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

Fonts:
font-family: font-family: 'ImprintMTStd-Regular', Times, serif;

font-family: 'Roboto', arial;

Colors:
Black: #333333;
Red: #c1272d;

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

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


/*
 * Globals
 */

 	html {
        position: relative;
 	}
    body {
    	font-family: 'ImprintMTStd-Regular', Times, serif;
    	text-align: center;
    	font-size: 13px;
    	color: #333;
    	margin: 0;
    }
    h1,h2,h3,h4,h5,h6 {
    	margin: 0;
    	padding: 0;
    	line-height: auto;
    	font-weight: normal;
    }
    ::selection {
    	color: #ebebe3;
    	background: #222;
    }
    ::-moz-selection {
    	color: #ebebe3;
    	background: #222;
    }
    ::-webkit-scrollbar {
        display: none;
    }
    #container .mobile-only {
	    display: none;
    }

    /* Utilities */
    .fill {
    	position: absolute;
    	bottom: 0;
    	right: 0;
    	left: 0;
    	top: 0;
    }
    .cover {
    	background-position: center center;
    	background-repeat: no-repeat;
    	background-size: cover;
    }
    .align-left {
	    text-align: left;
	    margin-left: 0;
    }
    .align-right {
	    text-align: right;
	    margin-right: 0;
    }

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


/*
 * Page Structure
 */
    #container {
        position: relative;
    }
    #header {
        position: absolute;
	    background-color: #fff;
        z-index: 65;
	    right: 0;
	    left: 0;
	    top: 0;
	}
	.home #header {
		background-color: transparent;
	}
    #content {
        box-sizing: border-box;
        position: relative;
        min-height: 100vh;
        z-index: 10;
    }

/*
 * Menus
 */
    ul.menu {
    	list-style: none;
    	margin: 0 auto;
    	letter-spacing: 1px;
    	max-width: 900px;
    	font-size: 24px;
    	padding: 0;
    }
    .menu li {
    	display: inline-block;
    }
    .menu li a {
        padding: 22px 10px;
        display: inline-block;
    }
    #content.home .menu-item span {
    	margin-left: -5px;
    }
    .editor-menu li:last-child span {
    	display: none;
    }
    .menu-title {
    	border-bottom: solid 1px #ccc;
    	text-transform: uppercase;
    	display: inline-block;
    	margin: auto;
    	font-family: 'Roboto';
    	letter-spacing: 1.5px;
		margin-bottom: 25px;
    	font-weight: 300;
    	font-size: 13px;
    	padding: 40px 0;
    	color: #b3b3b3;
    }
    .main-menu li a {
        font-family: 'Roboto';
        font-weight: 100;
        font-size: 15px;
    }
    .social {
    	display: block;
    	margin: 30px 0;
    }
    .social a {
    	display: inline-block;
    	font-weight: 300;
    	font-size: 18px;
    	padding: 0 2px;
    }

/*
 * Menu Overlay
 */
    #menu-overlay {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        overflow-y: auto;
    	position: fixed;
    	display: none;
    	background: #ffffff;
    	height: 100%;
    	width: 100%;
    	z-index: 25;
    	bottom: 0;
    	right: 0;
    	left: 0;
    	top: 0;
    }
    #menu-overlay.closing {
        overflow-y: hidden;
    }
    .menu-wrapper {
        -webkit-transform: translateX(-50%);
        -webkit-justify-content: center;
        -webkit-flex-direction: column;
        -webkit-align-items: center;
    	display: -webkit-flex;


        transform: translateX(-50%);
        justify-content: center;
        flex-direction: column;
        align-items: center;
    	display: flex;

        box-sizing: border-box;
    	position: relative;
        padding: 80px 0 115px 0;
    	min-height: 100%;
    	left: 50vw;
    }
    #menu-overlay .editor-menu {
    	max-width: 775px;
    	font-size: 21px;
    }
    #menu-overlay .main-menu li {
    	font-size: 18px;
    }
    #menu-overlay ul.menu {
    	margin: 15px 0;
    	padding: 0;
    }
    #menu-overlay .menu-title {
    	padding: 20px 0;
    }
    #menu-overlay .footer {
	    position: relative;
	    display: block;
	    background-color: #ffffff;
	    margin-top: -115px;
    }
    #menu-overlay .menu-title {
	    margin-bottom: 0;
    }

    .editor-menu {
        opacity: 0;
    }
    .editor-menu.ready {
        opacity: 1;
    }

/*
 * Hamburger animation
 */
    .hamburger-wrap {
    	cursor: pointer;
    	margin: auto;
    	padding: 25px 50px;
    	height: 18px;
    	width: 26px;
    }
    #menu-overlay .hamburger-wrap {
    	position: absolute;
        right: 0;
        left: 0;
    }
    #hamburger {
    	position: relative;
    	margin: 0 auto;
    	height: 18px;
    	width: 26px;
    	z-index: 60;
    }
    .work-detail #hamburger {
    	z-index: 1;
    }
    #hamburger span {
    	position: absolute;
    	display: block;
    	background: #000;
    	height: 2px;
    	width: 100%;
    	opacity: 1;
    	left: 0;
    	-webkit-transform: rotate(0deg);
    	-moz-transform: rotate(0deg);
    	-o-transform: rotate(0deg);
    	transform: rotate(0deg);
    	-webkit-transition: .25s ease-in-out;
    	-moz-transition: .25s ease-in-out;
    	-o-transition: .25s ease-in-out;
    	transition: .25s ease-in-out;
    }

    /* hamburger open */
    body.menu-open {
        overflow: hidden;
    }
    .home.menu-open {
        overflow: auto;
    }
    .not-mobile .hamburger-wrap:hover #hamburger span,
    .menu-open #hamburger span {
    	background: #c1272d;
    }
    #hamburger span:nth-child(1) {
    	top: 0px;
    }
    #hamburger span:nth-child(2),
    #hamburger span:nth-child(3) {
    	top: 8px;
    }
    #hamburger span:nth-child(4) {
    	top: 16px;
    }
    .menu-open #hamburger span:nth-child(1),
    .menu-open #hamburger span:nth-child(4) {
    	top: 8px;
    	width: 0%;
    	left: 50%;
    }
    .menu-open #hamburger span:nth-child(2) {
    	-webkit-transform: rotate(45deg);
    	-moz-transform: rotate(45deg);
    	-o-transform: rotate(45deg);
    	transform: rotate(45deg);
    }
    .menu-open #hamburger span:nth-child(3) {
    	-webkit-transform: rotate(-45deg);
    	-moz-transform: rotate(-45deg);
    	-o-transform: rotate(-45deg);
    	transform: rotate(-45deg);
    }

/*
 * Home
 */
    .home #content,
    .contact #content {
    	-webkit-flex-direction: column;
        -webkit-justify-content: center;
    	-webkit-align-items: center;
    	display: -webkit-flex;

    	justify-content: center;
    	flex-direction: column;
    	align-items: center;
    	display: flex;
        padding: 80px 0 115px;
    }
    .home #content .main-menu {
        -webkit-flex-direction: column;
        flex-direction: column;
    	display: none;
    }
    #content .flex-wrap {
        position: relative;
        margin: auto;
        padding: 80px 0 115px;
        z-index: 10;
    }
    .background-slideshow {
    	position: absolute;
    	top: 0;
    	left: 0;
    	right: 0;
    	bottom: 0;
    	z-index: 1;
    }
    .background-slideshow .background-image {
    	width: 100%;
    	height: 100%;
    	-webkit-background-size: cover;
    	-moz-background-size: cover;
    	-o-background-size: cover;
    	background-size: cover;
    	background-position: center;
    }
    .home .overlay {
    	position: absolute;
    	top: 0;
    	left: 0;
    	right: 0;
    	bottom: 0;
    	background: rgba(255, 255, 255, 0.75);
    	z-index: 110;
    }
    .centered {
    	text-align: center;
    	margin: auto;
    }
    .home.add-bg #content .menu-item.active a {
    	color: #000;
    }
    .home.add-bg #content .menu-item a {
    	color: #fff;
    }

/*
 * Work Detail
 */
    #content.video-detail {
        min-height: 95vh;
        height: 500px;
    }
    .page-title {
    	position: absolute;
    	font-size: 21px;
    	z-index: 10;
    	top: 74px;
    	right: 0;
    	left: 0;
    }
    .content-overlay {
    	position: absolute;
    	background-color: #fff;
    	opacity: 0.5;
    	bottom: 0;
    	right: 0;
    	left: 0;
    	top: 0;
    }
    .video-header {
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;

		justify-content: space-between;
		display: flex;
    	font-family: 'Roboto';
    	padding-bottom: 5px;
    	font-size: 0;
    }
    .video-header span {
    	display: inline-block;
    	line-height: 18px;
    	min-width: 33.33%;
    	font-size: 12px;
    	margin: auto;
    }
    .video-header h3 {
    	font-size: 12px;
    	color: #b3b3b3;
    }
    .video-header span:first-of-type {
    	text-align: left;
    	margin-left: 0;
    }
    .video-header span:last-of-type {
    	text-align: right;
    	margin-right: 0;
    }
    .video-header span:only-of-type {
	    text-align: center;
    }
    .stage {
    	display: -webkit-flex;
    	display: flex;
    	position: absolute;
	    bottom: 139px;
	    right: 135px;
	    left: 135px;
	    top: 115px;
    }
    .stage .video {
    	text-align: center;
    	margin: auto;
    }
    .work-detail .footer {
        display: none;
    }
    .stage-wrapper {
	    width: 100%;
    }

    .stage {
        opacity: 0;
    }
    .stage.ready {
        opacity: 1;
    }

/*
 * Video Tray
 */
    .video-tray {
    	box-sizing: border-box;
    	position: relative;
    	text-align: center;
    	overflow: hidden;
    	height: auto;
    	background-color: #ffffff;
    	margin-top: -140px;
    	font-size: 0;
    	z-index: 10;
    }
    .video-categories {
    	font-family: 'Roboto';
    	text-align: center;
    	display: block;
    	font-size: 16px;
    	width: 100%;
    	padding: 0;
    	margin: 0;
    }
    .video-categories a {
    	color: #b3b3b3;
    }
    .video-categories .current_page_parent a {
    	color: #000;
    }
    .video-categories li {
    	display: inline-block;
        position: relative;
    }
    .video-tray .pig-logo {
        padding: 25px;
    }
    .video-categories li a {
    	display: inline-block;
    	padding: 25px;
    }
    .tray-inner {
    	margin: 0 auto;
    	padding-right: 20px;
    	width: 100%;
    }
    .tray-item {
        box-sizing: border-box;
    	display: inline-block;
    	font-size: 15px;
    	padding: 0 15px;
    	width: 25%;
    }
    .tray-item .titles {
        -webkit-justify-content: center;
        -webkit-flex-direction: column;
        -webkit-align-items: center;
        display: -webkit-flex;

        justify-content: center;
        flex-direction: column;
        align-items: center;
        display: flex;

        text-align: center;
    }
    .tray-item a {
        display: block;
    }
    .tray-item .thumb-title {
    	padding: 15px 0 25px;
    	display: block;
    }
    .tray-item .thumbnail {
    	position: relative;
        padding-bottom: 56%;
        width: 100%;
        height: 0;

    	background-position: center center;
    	background-repeat: no-repeat;
    	background-size: cover;
    }
    .tray-item .thumbnail span {
    	font-size: 13px;
    	font-family: 'Roboto';
    	display: block;
    	line-height: 24px;
    	color: #fff;
    	opacity: 0;
    	z-index: 10;
    }
    .tray-item .thumbnail .overlay {
    	background-color: rgba(0,0,0,0);
    	position: absolute;
    	top: 0;
    	bottom: 0;
    	right: 0;
    	left: 0;
    }
    .tray-item.active .thumbnail span,
    .not-mobile .tray-item:hover .thumbnail span {
    	opacity: 1;
    }
    .tray-item.active .thumbnail .overlay,
    .not-mobile .tray-item:hover .thumbnail .overlay {
    	background-color: rgba(0,0,0,0.25);
    }
    .close-tray-button {
    	padding: 20px 100px;
    	cursor: pointer;
    	z-index: 30;
    	position: absolute;
    	bottom: 0;
    	left: 0;
    	right: 0;
    	padding: 25px 100px;
    	background-color: #fff;
    }
    .video-detail .close-tray-button {
        background-color: transparent;
    }
    .tray-footer {
        position: relative;
    	height: 70px;
    }
    .pig-logo {
        display: inline-block;
        position: relative;
        padding: 16px 16px 16px 18px;
    }

    /* tray toggling */
    .video-tray .tray {
        transform: translateY(10px);

        box-sizing: border-box;
        overflow: hidden;
        padding: 0 15px;
        min-height: 0;
        opacity: 0;
        height: 0;
        width: 0;
    }
    .video-tray .tray.active {
        transform: none;
        height: auto;
        min-height: 368px;
        width: 100%;
        opacity: 1;
    }


/*
 * News
 */
    .archive #header {
        background-color: transparent;
    }
    .entry {
    	font-family: 'Roboto';
    	font-size: 13px;
    }
    #content.category {
    	overflow: hidden;
    	height: 100%;
    }
    .news-left {
    	position: absolute;
    	overflow: hidden;
    	text-align: left;
    	background-color: #f2f2f2;
    	font-size: 21px;
    	right: 50%;
    	bottom: 0;
    	left: 0;
    	top: 0;
    }
    .news-left li:first-of-type {
	    padding-top: 84px;
    }
    .news-left li {
    	display: block;
    }
    .news-left a {
        display: inline-block;
        padding: 32px 70px;
        color: #c62e39;
    }
    .news-left .svg {
    	position: absolute;
    	width: 9px;
    	height: 16px;
    	padding-top: 1px;
        margin-left: -20px;
    	opacity: 0;
    }
    .news-left ul {
        -webkit-overflow-scrolling: touch;
		overflow-y: scroll;
    	list-style: none;
	    padding-right: 20px;
	    max-height: 100%;
	    width: 100%;
    	padding: 0;
    	margin: 0;
    }
    .not-mobile .news-left ul li:hover a,
    .not-mobile .news-left ul li.active a {
    	color: #000;
    	transform: translateX(20px);
    }
    .not-mobile .news-left ul li:hover .svg,
    .not-mobile .news-left ul li.active .svg {
    	opacity: 1;
    }
    .news-right {
        -webkit-overflow-scrolling: touch;
    	display: -webkit-flex;
    	display: flex;
    	position: absolute;
    	overflow-x: hidden;
    	overflow-y: auto;
    	bottom: 0;
    	right: 0;
    	left: 50%;
    	top: 0;
    	padding: 0;
    	color: #c62e39;
    }
    .news-right.loading .post-content {
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
        opacity: 0;
    }
    .post-content {
        text-align: left;
    	margin: auto;
        max-width: 750px;
        padding: 50px;
    }
    .news-right h2,
    .news-single h2 {
    	border-bottom: solid 2px #d38491;
        text-align: center;
    	padding-bottom: 18px;
    	margin-bottom: 30px;
    	line-height: 46px;
    	font-size: 37px;
    	color: #C62E39;
    }
    .news-right p,
    .news-single p {
    	margin: 1.5em 0px;
    	line-height: 18px;
    	color: #C62E39;
    }
    .news-right img,
    .news-single img {
    	display: block;
    	height: auto;
    	width: 100%;
    }
    .news-right a,
    .news-single a {
    	font-size: 13px;
    	font-family: 'Roboto';
    	margin: 18px 0px;
    	color: #c62e39;
    	border-bottom: solid 1px #d38491;
    	line-height: 18px;
    	padding-bottom: 1px;
    }
    .single-post .news-right {
    	position: relative;
    	display: block;
    	width: 100%;
    	left: 0;
    }
    .news-single {
    	margin: 0 15px 80px 15px;
    }
    .news-single {
	    margin: 0 15px;
    }
    .single #content {
        margin: auto;
        padding: 80px 50px 115px;
        max-width: 960px;
    }
    .news-navigation {
	    display: none;
    }
    .single .news-navigation {
    	display: block;
	}
	.news-navigation span {
		display: inline-block;
		width: 55px;
		padding: 5px;
	}
	.archive .footer {
    	height: 0;
	}

/*
 * Contact
 */
    body.slideshow-open {
        overflow: hidden;
    }
    #content.contact {
        padding-right: 50px;
        padding-left: 50px;
    }
    #content.contact > * {
        max-width: 1020px;
        width: 100%;
    }
    .contact .page-title {
        margin: auto;
    }
    .contact .location {
    	display: inline-block;
    	width: 50%;
    	font-size: 24px;
    	letter-spacing: 1px;
    	position: relative;
    }
    .location a {
        display: block;
    }
    .contact .location p {
    	font-family: 'Roboto';
    	font-size: 16px;
    	line-height: 24px;
    	margin: 0;
    	padding: 8px 0;
    }
    .contact .location span {
    	position: absolute;
    	width: 100%;
    	left: 0;
    	right: 0;
    	top: 0;
    	color: #c1272d;
    	opacity: 0;
    }
    .contact .location h3 {
    	font-size: 24px;
    }
    .contact .view-space {
	    cursor: pointer;
    }
    .not-mobile.contact .view-space:hover span {
    	opacity: 1;
    }
    .not-mobile.contact .view-space:hover h3 {
    	opacity: 0;
    }
    .contact .offices {
    	width: 100%;
    	text-align: center;
    	font-size: 0;
    	margin: 30px 0;
    }
    .contact-bottom {
    	width: 100%;
    }
    .contact-bottom ul {
    	-webkit-justify-content: space-between;
    	-ms-flex-pack: justify;
    	display: -webkit-flex;
    	display: -ms-flexbox;
    	justify-content: space-between;
    	display: flex;

    	border-top: solid 1px #d38491;
    	list-style: none;
    	font-size: 0;
    	padding: 0;
    	width: 100%;
    }
    .contact-bottom ul:last-of-type li {
    	width: 33.33%;
    }
    .contact-bottom li {
    	display: inline-block;
    	text-align: center;
    	font-size: 14px;
    	line-height: 22px;
    	margin: 35px 0;
    	font-family: 'Roboto';
    	font-weight: 300;
    }
    .contact-bottom li:first-of-type {
    	text-align: left;
    }
    .contact-bottom li:last-of-type {
    	text-align: right;
    }
    .contact-bottom li h3 {
    	font-family: 'ImprintMTStd-Regular', Times, serif;
    	font-size: 20px;
    	margin-top: 10px;
    }
    .slideshow-overlay {
    	position: fixed;
    	display: none;
    	background-color: #fff;
    	min-height: 600px;
    	z-index: 80;
    	bottom: 0;
    	right: 0;
    	left: 0;
    	top: 0;
    }
    .slideshow-wrapper {
    	position: absolute;
    	bottom: 115px;
    	right: 90px;
    	top: 115px;
    	left: 90px;
    }
    .location-slideshow {
    	width: 100%;
    	height: 100%;
    	margin: auto;
    }
    .location-slide {
    	width: 100%;
    	height: 100%;
    	background-position: center center;
    	background-size: 100%;
    	margin: auto;
    	background-repeat: no-repeat;
    }
    .location-slide img {
    	display: none;
    }
    .contact #menu-overlay {
    	z-index: 60;
    }
    .contact .close-tray-button {
        bottom: auto;
        top: 0;
    }

    /* Next/Prev arrows */
    .browse {
    	position: absolute;
    	cursor: pointer;
    	margin: auto;
    	padding: 0 30px;
    	height: 24px;
    	bottom: 0;
    	top: 30px;
    }
    .contact .browse {
    	padding: 0 40px;
        top: 0;
    }
    .browse.prev {
    	left: 0;
    }
    .browse.next {
    	right: 0;
    }
    .not-mobile .browse:hover .svg * {
    	fill: #c1272d;
    }
    .work-detail.tray-closed .browse,
    .contact .browse {
	    opacity: 1;
    }

/*
 * Footer
 */
    .footer {
    	position: relative;
    	margin-top: -115px;
    	height: 115px;
    	z-index: 10;
    	bottom: 0;
    	right: 0;
    	left: 0;
    }
    .main-logo {
    	display: block;
    	padding: 25px 25px 25px 27px;
    	width: 120px;
        margin: auto;
    	position: relative;
    }
    .fart {
    display: none;
    	position: absolute;
        left: 35px;
        opacity: 0;
        width: 30px;
    }
    .pig-logo .fart {
    	left: -25px;
    }

/*
 * Fart
 */
    @keyframes fart {
    	0% {
    		opacity: 0;
    	}
    	50% {
    		opacity: 0.5;
    		transform: translateX(-10px);
    	}
    	100% {
    		opacity: 0;
    		transform: translateX(-10px);
    	}
    }
    .logo-hovered .fart {
    	animation-name: fart;
        animation-duration: 0.8s;
        animation-iteration-count: 1;
    }

/*
 * Animations
 */
    /* Color */
    a {
    	transition: color 0.4s;
    }

    /* Opacity */
    .browse,
    .news-left li .svg,
    .editor-menu,
    .contact .location a, .contact .location * {
    	transition: opacity 0.4s;
    }

    /* Everything */
    svg path {
    	transition: 0.4s;
    }
    .tray-item *,
    .news-left li a,
    .news-right .post-content {
    	transition: all 0.4s;
    }
    .pig-logo,
    .stage {
    	transition: opacity 0.6s;
    }
    .background-overlay * {
    	transition: none;
    }

    .video-tray .tray {
        transition: opacity 0.6s, transform 0.6s;
    }

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