/*
	Theme Name: Audience Productions
	Author: Supervillain Media

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/* ------ */
/* Import */
/* ------ */

@import url('https://fonts.googleapis.com/css?family=Lalezar&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,400i,700,700i&display=swap');
@import url("fa.css");
@import url("jquery.fancybox.css");


/* --------- */
/* Variables */
/* --------- */

:root {
	--theme-color: #000;
	--theme-menu-bg: #000;
	--theme-menu-color: #fff;
	--theme-header-font: 'Lalezar', serif;
	--theme-body-font: 'Source Sans Pro', sans-serif;
}

/* ------- */
/* Utility */
/* ------- */

*,
*:after,
*:before {
	box-sizing:border-box;
	/* font-smoothing:antialiased;
	text-rendering:optimizeLegibility; */
}

html {
	font-size: 10px;
	min-height: 100%;
	height: 100%;
}

body {
	font-family: var(--theme-body-font);
	height: 100%;
}

html, body {

}

img {
	max-width: 100%;
	vertical-align: bottom;
	height: auto;
}

input:focus {
	outline: 0;
	border: 1px solid #04A4CC;
}

/* ---- */
/* Type */
/* ---- */

h1, h2, h3, h4, h5 {
	font-family: var(--theme-header-font);
}

h1 {
	font-size: 8rem;
	margin: 0;
	line-height: 1;
	margin-bottom: .1em;
}

h1 p {
	font-size: 8rem;
	margin: 0;
	line-height: 1;
	margin-bottom: 0;
}

h2 {
	font-size: 3.6rem;
	margin: .75em 0;
	line-height: 1;
	font-weight: 400;
}

h3 {
	font-size: 2.4rem;
	margin: 1em 0;
	line-height: 1;
	font-weight: 400;
}

a {
	color:inherit;
	text-decoration: none;
}

p a {
	color:inherit;
	text-decoration:underline;
}

a:hover {

}

p {
	font-size: 1.4rem;
	line-height: 1.4;
	margin: 2rem 0;
}

p.intro {
	font-size: 2.4rem;
}

blockquote {
	width: 33%;
	float: right;
	margin-top: 0;
}

blockquote p {
	margin-top: 0;
	font-size: 2.4rem;
	font-weight: 200;
}

.back-link {
	margin: 0 0 2rem 0;
	display: block;
	font-size: 1.4rem;
	font-weight: 500;
}

/* ------ */
/* Layout */
/* ------ */

.wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 100%;
		position: relative;
}

main[role="main"] {
	flex: 1;
    max-width: 920px;
	width: 100%;
    margin: 0 auto;
}


.block-wrapper,
.flex-wrapper {
	max-width: 1487px;
	padding: 0 60px;
	margin: 0 auto;
}

.flex-wrapper {
	display: flex;
	justify-content: space-between;
}

/* ------ */
/* Header */
/* ------ */


header.header {
	padding: 60px 0;
	z-index: 100;
}

header.header .flex-wrapper {
	align-items: center;
}

header.header .logo img {
	height: 60px;
}

header.header .logo.white {
	display: none;
}

header.header .nav-handle {
	font-size: 3rem;
	cursor: pointer;
	width: 3rem;
    text-align: center;
}

/* --- */
/* Nav */
/* --- */

nav.main-nav {
	display: none;
	background: var(--theme-menu-bg);
	color: var(--theme-menu-color);
	padding: 60px 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 500;
}

nav.main-nav .flex-wrapper {
	/* align-items: center; */
}

nav.main-nav .logo img {
	height: 60px;
}

nav.main-nav .nav-handle {
	font-size: 3rem;
	cursor: pointer;
	width: 3rem;
    text-align: center;
	margin-top: 10px;
}

nav.main-nav a {
	text-decoration: none;
	color: #fff;
}

nav.main-nav .nav-container {
	text-align: center;
}

nav.main-nav ul.nav-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav.main-nav ul.nav-menu li {
	margin-bottom: 4rem;
}

nav.main-nav ul.nav-menu a {
	font-size: 3.6rem;
	font-family: var(--theme-header-font);
	line-height: 3rem;
}

nav.main-nav ul.nav-menu .sub {
	font-size: 1.6rem;
	font-family: var(--theme-body-font);
}

nav.main-nav .nav-container .social-links a {
	font-size: 2.2rem;
}

nav.main-nav .nav-container .social-links a + a {
	margin: 0 0 0 5rem;
}

/* ------- */
/* Content */
/* ------- */

.introduction-block {
	font-size: 2.4rem;
	font-weight: 200;
	margin: 0 0 1.5em 0;
}

body.home .introduction-block {
	margin: 0 0 1em 0;
}


.introduction-block p {
	font-size: 2.4rem;
	font-weight: 200;
	margin: 0;
}

.video-container {
	width: 100%;
	margin: 4rem 0;
}

.video-container .video-trigger {
	display: block;
	position: relative;
	overflow: hidden;
}

.video-container .video-trigger .videosquare {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    transform: translate(-50%,-50%);
    height: 40px;
    width: 40px;
    display: block;
    background: #fff;
}

.video-container .video-trigger .fab {
	position: absolute;
    left: 50%;
    top: 50%;
    color: #000;
    font-size: 90px;
	transform:translate(-50%,-50%);
}

.video-container .video-caption {
	text-align: right;
	font-weight: bold;
	margin: 2rem 0 0 0;
}

.clients-container::after {
	content: "";
	display: table;
	clear: both;
}

.clients-container .client-logo {
	width: calc((100% / 6) - (100px / 6));
	margin-bottom: 20px;
	margin-right: 20px;
	float: left;
}

.clients-container .client-logo:nth-of-type(6n) {
	margin-right: 0;
}

.clients-container .client-logo figure {
	padding-bottom: 75%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.category-container::after {
	content: "";
	display: table;
	clear: both;
}

.category-container .category-graphic {
	width: calc((100% / 3) - (80px / 3));
	margin-bottom: 40px;
	margin-right: 40px;
	float: left;
	position: relative;
}

.category-container .category-graphic:nth-of-type(3n) {
	margin-right: 0;
}

.category-container .category-graphic a {
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	z-index: 10;
}

.category-container .category-graphic .filter {
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 5;
    top: 0;
}

.category-container .category-graphic span {
	text-align: center;
	display: block;
	width: 100%;
	font-size: 2.4rem;
	font-family: var(--theme-header-font);
	line-height: 1;
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}

.category-container .category-graphic figure {
	padding-bottom: 75%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.category-container .category-graphic figure.underlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.category-container .category-graphic:hover figure.underlay {
	opacity: 1;
}

/* ------------ */
/* Project Page */
/* ------------ */

.project-main {
	display: flex;
}

.project-details {
	width: 25%;
}

.project-details .project-detail {
	margin: 0 0 2rem 0;
}

.project-details .project-detail label,
.project-details .project-detail span {
	display: block;
	text-transform: uppercase;
}

.project-details .project-detail label {
	font-weight: bold;
	margin: 0 0 3px 0;
}

.project-content {
	flex: 1;
}

.project-content p:first-child {
	margin-top: 0;
}

.testimonial {
	margin: 3rem 0;
}

.testimonial .testimonial-copy {
	font-size: 3rem;
	font-weight: 100;
	margin: 1em 0;
}

.testimonial .client-name {
	font-family: var(--theme-header-font);
	font-size: 1.6rem;
}

.testimonial .client-position {
	margin: 0 0 3px 0;
	text-transform: uppercase;
}

.testimonial .client-company {
	font-weight: bold;
	text-transform: uppercase;
}

/* ---- */
/* Home */
/* ---- */

.video-wrapper {
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.video-wrapper.mobile {
	display: none;
}


.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}



.video-wrapper .shade {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	pointer-events: none;
	background: rgba(0,0,0,.4);
}

.page-template-page-home {
	background: rgba(0,0,0,1);
	overflow: hidden;
}

.page-template-page-home .logo-img.black {
	display: none;
}

.page-template-page-home .logo-img.white {
	display: block;
}

.page-template-page-home header.header {
	color: white;
}

.page-template-page-home .cta,
.page-template-page-home footer.footer {
	display: none;
}

.page-template-page-home p {
	font-size: 16px;
	line-height: 1.8;
	font-weight: 200;
}

.page-template-page-home main[role="main"] {
	display: flex;
	margin-bottom: 180px;
	z-index: 90;
	color: white;
}

.page-template-page-home main[role="main"] section {
	align-self: center;
}

/* ------------- */
/* Category Page */
/* ------------- */

.workloop {
	display: flex;
	flex-wrap: wrap;
	margin-top: 60px;
}

.workloop article {
	width: calc((100% / 3) - (80px / 3));
	flex-basis: calc((100% / 3) - (80px / 3));
	margin: 0 40px 40px 0;
}

.workloop article:nth-of-type(3n) {
	margin: 0 0 40px 0;
}

.workloop article a {
	display: block;
}

.workloop article .thumbnail span {
	display: block;
	padding-bottom: 75%;
	background-size: cover;
	background-position: center center;
}

.workloop article h3 {
	display: block;
	margin: .6em 0 .25em 0;
}

.workloop article .clientname {
	font-weight: 600;
	text-transform: uppercase;
}

.workloop article .introduction {
    margin: .5em 0 0 0;
}

/* -------------- */
/* Services Index */
/* -------------- */

.services-container {

}

.services-container {
	display: flex;
	flex-wrap: wrap;
	margin-top: 60px;
}

.services-container article {
	width: calc((100% / 3) - (80px / 3));
	flex-basis: calc((100% / 3) - (80px / 3));
	margin: 0 40px 40px 0;
}

.services-container article:nth-of-type(3n) {
	margin: 0 0 40px 0;
}

.services-container article a {
	display: block;
	position: relative;
}

.services-container article a .thumbnail figure.top-layer {
	z-index: 100;
}

.services-container article a:hover .thumbnail figure.top-layer {
	display: none;
}

.services-container article .thumbnail {
	display: block;
	padding-bottom: 75%;
	position: relative;
}

.services-container article .thumbnail figure {
	position: absolute;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center center;
}

.services-container article h3 {
	display: block;
	margin: .6em 0 .25em 0;
}

.services-container article .clientname {
	font-weight: 600;
	text-transform: uppercase;
}

.services-container article .introduction {
    margin: .5em 0 0 0;
}

/* ------------ */
/* Service Page */
/* ------------ */

.recent-work {
	display: flex;
	flex-wrap: wrap;
}

.recent-work article {
	width: calc((100% / 3) - (80px / 3));
	flex-basis: calc((100% / 3) - (80px / 3));
	margin: 0 40px 40px 0;
}

.recent-work article:nth-of-type(3n) {
	margin: 0 0 40px 0;
}

.recent-work article a {
	display: block;
}

.recent-work article .thumbnail span {
	display: block;
	padding-bottom: 75%;
	background-size: cover;
	background-position: center center;
}

.recent-work article h3 {
	display: block;
	margin: .6em 0 .25em 0;
}

.recent-work article .clientname {
    font-weight: 600;
    text-transform: uppercase;
}

.recent-work article .introduction {
    margin: .5em 0 0 0;
}

/* --- */
/* CTA */
/* --- */

.cta {
	font-size: 2.4rem;
	padding: 80px 0;
	text-align: center;
}

.cta span {
	font-family: var(--theme-header-font);
}

.cta a {
	display: inline-block;
    background: var(--theme-menu-bg);
    color: var(--theme-menu-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    margin: 0 0 0 5rem;
	font-weight: 200;
}

/* ------- */
/* Contact */
/* ------- */

.contact-wrapper {
	margin: 3rem 0;
	display: flex;
}

.contact-wrapper .contact-map {
	flex: 1;
	margin: 0 30px 0 0;
	border: 1px solid black;
}

.contact-wrapper .contact-form {
	width: 30%;
}

.contact-wrapper .contact-form label {
	font-size: 1.4rem;
	display: block;
	margin: 0 0 .5em 0;
}

.contact-wrapper .contact-form label span {
	font-size: 1rem;
	margin: 0 0 0 10px;
}

.contact-wrapper .contact-form .message-details {
	position: relative;
}

.contact-wrapper .contact-form .message-details .wpcf7-form-control-wrap {
    display: block;
    margin: 0 0 1rem 0;
}

.contact-wrapper .contact-form .message-details .ajax-loader {
    position: absolute;
    top: 0;
    right: 0;
}

.contact-wrapper .contact-form .message-details > br {
	display: none;
}

.contact-wrapper .contact-form input,
.contact-wrapper .contact-form textarea {
	border: 1px solid black;
	padding: 5px;
	width: 100%;
	font-size: 1.4rem;
}

.contact-wrapper .contact-form input[type="submit"] {
	width: auto;
	background: none;
	padding: 5px 20px;
	margin: 10px 0 0 0;
}

.contact-columns {
	display: flex;
	justify-content: space-between;
}

.contact-columns .column {
	width: 30%;
}

.contact-columns .column h3 {
	margin-bottom: 0;
}

.contact-columns .column p {
	margin-top: .5em;
}

body.contact-us .cta {
	display: none;
}

body.contact-us footer.footer {
	margin-top: 100px;
}

/* ------ */
/* Footer */
/* ------ */

footer {
	background: var(--theme-menu-bg);
	padding: 50px 0;
	color: #fff;
	text-transform: uppercase;
	font-size: .95rem;
}

footer p {
	font-size: .95rem;
}

footer .footer-icon {
	width: 20%;
	text-align: center;
}

footer .footer-icon img {
	height: 60px;
}

footer .footer-address {
	width: 20%;
}

footer .footer-address p {
	margin: 0;
}

footer .footer-address p + p {
	margin: 1em 0 0 0;
}

footer .footer-nav > div {
	/* flex: 1; */
}

footer .footnav_1 p,
footer .footnav_2 p {
	margin: 0;
}

footer .footnav_1 p + p,
footer .footnav_2 p + p {
	margin: 1em 0 0 0;
}

footer .footnav_1 ul,
footer .footnav_2 ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

footer .footnav_1 a,
footer .footnav_2 a {
	color: #fff;
	font-family: var(--theme-header-font);
	font-size: 1.4rem;
	text-transform: none;
}

footer .footnav_1 {
	width: 10%;
}

footer .footnav_2 {
	width: 50%;
	columns: 4;
}

footer .footnav_2 .sub-menu a {
	font-size: .95rem;
	text-transform: uppercase;
	font-family: var(--theme-body-font);
}

/* -------------- */
/* Wordpress Core */
/* -------------- */

.alignnone {
	margin:5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}

.alignright {
	float:right;
	margin:5px 0 20px 20px;
}

.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}

a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}

a img.alignnone {
	margin:5px 20px 20px 0;
}

a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}

a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}

.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}

.wp-caption.alignright {
	margin:5px 0 20px 20px;
}

.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

.sticky {

}

.bypostauthor {

}

/* Media Queries */

@media only screen and (min-width: 901px) {
	.video-wrapper video {
	    position: absolute;
	    min-width: 100%;
	    min-height: 100%;
	    width: auto;
	    height: auto;
	    left: 50%;
	    top: 50%;
	    transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 900px) {

	header.header {
	    padding: 40px 0;
	}

	.block-wrapper, .flex-wrapper {
	    padding: 0 30px;
	}

	h1 {
    font-size: 4.5rem;
	}

	h1 p {
		font-size: 4.5rem;
	}

	h2 {
	    font-size: 2.8rem;
	}

	/* Front Page */
	
	.video-wrapper.desktop {
		display: none;
	}	

	.video-wrapper.mobile {
		display: block;
	}

	.introduction-block {
	    font-size: 2.2rem;
	}

	.page-template-page-home p {
	    font-size: 16px;
	    line-height: 1.4;
	}

	.page-template-page-home {
	    overflow: scroll;
	}

	.page-template-page-home main[role="main"] {
	    margin-bottom: 20px;
	}

	/* Nav */

	nav.main-nav {
    padding: 40px 0;
	}

	nav.main-nav .nav-container .social-links a + a {
	    margin: 0 0 0 3rem;
	}

	nav.main-nav .flex-wrapper {
	    flex-wrap: wrap;
	}

	nav.main-nav .nav-container {
    order: 3;
		margin-top: 4rem;
	}

	nav.main-nav ul.nav-menu a {
    font-size: 3rem;
	}

	nav.main-nav ul.nav-menu .sub {
	    line-height: 1.4;
	    display: block;
	}

	/* Content */

	blockquote {
    width: auto;
    float: none;
		margin: 1em 0;
	}

	blockquote p {
		font-size: 2.2rem;
	}

	/* CTA */

	.cta a {
    margin: 1em 0;
	}

	.cta {
	    font-size: 2.2rem;
	    padding: 40px 0;
	}

	/* Our Work */

	.category-container .category-graphic {
    width: calc((100% / 2) - (20px / 2));
    flex-basis: calc((100% / 2) - (20px / 2));
    margin: 0 20px 40px 0;
	}

	.category-container .category-graphic:nth-of-type(3n) {
    margin: 0 20px 40px 0;
	}

	.category-container .category-graphic:nth-of-type(2n) {
		margin: 0 0 40px 0;
	}

	.category-container .category-graphic span {
	    font-size: 1.8rem;
	}

	.clients-container .client-logo {
	    width: calc((100% / 3) - (40px / 3));
	    margin-bottom: 20px;
	    margin-right: 20px;
	    float: left;
	}

	.clients-container .client-logo:nth-of-type(3n) {
	    margin-right: 0;
	}

	/* Services */

	.services-container article {
    width: calc((100% / 2) - (20px / 2));
    flex-basis: calc((100% / 2) - (20px / 2));
    margin: 0 20px 40px 0;
	}

	.services-container article:nth-of-type(3n) {
    margin: 0 20px 40px 0;
	}

	.services-container article:nth-of-type(2n) {
		margin: 0 0 40px 0;
	}

	.services-container article h3 {
		font-size: 2rem;
	}

	/* Category Page */

	.testimonial .testimonial-copy {
    font-size: 2rem;
    font-weight: 100;
    margin: 1em 0;
	}

	.recent-work article {
	/* width: calc((100% / 2) - (20px / 2));
    flex-basis: calc((100% / 2) - (20px / 2));
    margin: 0 20px 40px 0; */
    width: 100%;
    flex-basis: 100%;
    margin: 0 0 30px 0;
	}

	.recent-work article:nth-of-type(3n) {
    margin: 0 20px 40px 0;
	}

	.recent-work article:nth-of-type(2n) {
		margin: 0 0 40px 0;
	}

	.recent-work article h3 {
		font-size: 2rem;
	}
	
	.workloop article {
	    width: 100%;
	    flex-basis: 100%;
	    margin: 0 0 40px 0;
	}

	/* Contact */

	.contact-wrapper {
	    margin: 3rem 0;
	    display: block;
	}

	.contact-wrapper .contact-map {
	    margin: 3rem 0;
	}

	.contact-wrapper .contact-form {
    width: 100%;
    margin: 3rem 0;
	}

	.contact-columns {
		display: block;
	}

	.contact-columns .column {
		width: 100%;
	}

	.contact-columns .column h3 {
		margin-bottom: 0;
	}

	.contact-columns .column p {
		margin-top: .5em;
	}

	/* Footer */

	footer .flex-wrapper {
    flex-wrap: wrap;
	}

	footer .footer-icon {
    width: calc(50% - 15px);
    text-align: left;
	}

	footer .footer-address {
    width: calc(50% - 15px);
	}

	footer .footer-nav {
    display: block;
	}

	footer .footnav_2 {
    width: 100%;
    columns: 2;
    margin: 4rem 0;
    column-gap: 30px;
	}

	footer .footnav_1 {
	    width: 100%;
	    order: 5;
	}



}
