/*
Theme Name: Video Village 3
Theme URI: http://www.josephvictorine.com
Author: Kenan Rubenstein for Boy Blue & Co.
Author URI: http://www.boyblueandco.com/
Description: For showing your work to the suits.
Version: 3.8
*/


/* Colors 

Grey: #3a434e;
Med Grey: #495059;
Light Grey: #777e87;
Very light Grey: #9ea4a9;
Extra light grey: #b2b8c0

*/


/* Fonts */

@font-face {
    font-family: 'BB-Bariol';
    src: url('fonts/bariol_light-webfont.eot');
    src: url('fonts/bariol_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bariol_light-webfont.woff2') format('woff2'),
         url('fonts/bariol_light-webfont.woff') format('woff'),
         url('fonts/bariol_light-webfont.ttf') format('truetype'),
         url('fonts/bariol_light-webfont.svg#bariollight') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'BB-Bariol';
    src: url('fonts/bariol_regular-webfont.eot');
    src: url('fonts/bariol_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bariol_regular-webfont.woff2') format('woff2'),
         url('fonts/bariol_regular-webfont.woff') format('woff'),
         url('fonts/bariol_regular-webfont.ttf') format('truetype'),
         url('fonts/bariol_regular-webfont.svg#bariolregular') format('svg');
    font-weight: 400;
    font-style: normal;

}

@font-face {
    font-family: 'BB-Bariol-serif';
    src: url('fonts/bariol_serif_regular-webfont.eot');
    src: url('fonts/bariol_serif_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bariol_serif_regular-webfont.woff2') format('woff2'),
         url('fonts/bariol_serif_regular-webfont.woff') format('woff'),
         url('fonts/bariol_serif_regular-webfont.ttf') format('truetype'),
         url('fonts/bariol_serif_regular-webfont.svg#bariolregular') format('svg');
    font-weight: 400;
    font-style: normal;

}
@font-face {
    font-family: 'BB-Bariol-serif';
    src: url('fonts/bariol_serif_regular_italic-webfont.eot');
    src: url('fonts/bariol_serif_regular_italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bariol_serif_regular_italic-webfont.woff2') format('woff2'),
         url('fonts/bariol_serif_regular_italic-webfont.woff') format('woff'),
         url('fonts/bariol_serif_regular_italic-webfont.ttf') format('truetype'),
         url('fonts/bariol_serif_regular_italic-webfont.svg#bariolitalic') format('svg');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'BB-Bariol-serif';
    src: url('fonts/bariol_serif_bold-webfont.eot');
    src: url('fonts/bariol_serif_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bariol_serif_bold-webfont.woff2') format('woff2'),
         url('fonts/bariol_serif_bold-webfont.woff') format('woff'),
         url('fonts/bariol_serif_bold-webfont.ttf') format('truetype'),
         url('fonts/bariol_serif_bold-webfont.svg#bariol_serifregular') format('svg');
    font-weight: 700;
    font-style: normal;
}




/* Animation */

@keyframes reveal {
	0% {
	    opacity: 0;
	}
	100% {
	    opacity: 1;
	}
}

.preload #gallery h3,
body.preload ,
.preload .preview-container {
	animation: none;
	opacity: 0;
}



/* Global reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
html, body {

}
html {
	height: 100%;
}

body {
	min-height: 100%;
	background: #fff;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}



/* Global */

* {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
a {
	transition: color .4s, border .4s, background .4s;
	text-decoration: none;
	color: #495059;
}
a:link,
a:visited {
	border-color: transparent;
}
a:hover {
	border-color: #495059;
}

img {
	max-width: 100%;
	height: auto;	
}
svg {
	width: 100%;
	height: 100%;
	vertical-align: top;
	overflow: visible;
	transition: fill .4s, stroke .4s, stroke-width .4s;
}


p {
	font-family: 'BB-Bariol-serif', serif;
}

strong {
	font-weight: 500;
}
b {
	font-weight: 700;
}
em {
	font-style: italic;
}
blockquote {
	color: #fff;
	background: #9ea4a9;
	padding: 20px 26px 22px;
	margin: 0 0 26px;
	font-size: 16px;
}
#content blockquote p {
	margin: 0;
}

iframe {
	width: 100%;
	height: 56.25vw;
	display: block;
}
iframe.cinemascope {
	height: 41.9vw;
}
iframe.standard {
	height: 69vw;
}

.clear {
	clear: both;
}



/* Structure */

body {
	background: #fff;
	color: #495059;
	font-family: BB-Bariol, Bariol, sans-serif;
	font-weight: 400px;
	font-size: 20px;
	transition: background-color 1s, color 1s;
	animation: reveal .8s ease-in-out 0s backwards;
}
#main {
	position: relative;
	min-height: 100%;
	padding: 86px 0 0;
	overflow: hidden;
}



/* Announcement Bar */

#announcement-bar {
	text-align: center;
	margin: 0 0 32px;
	line-height: 1.4;
}
#announcement-bar a {
	color: #fff;
	background: #676e77;
	display: block;
	padding: 12px 16px;
	transition: background .3s;
}
#announcement-bar a:hover {
	background: #495059;
}
#announcement-bar .icon {
	display: inline-block;
	height: 24px;
	width: 24px;
	margin: 4px 0 0 8px;
	transform: rotate(180deg) translate(0, 0);
	vertical-align: top;
	transition: transform .3s;
}
#announcement-bar a:hover .icon {
	transform: rotate(180deg) translate(-4px, 0);
}
#announcement-bar svg {
	fill: #fff;
}


/* Header */

#header {
	width: 100%;
	margin: 0;
	padding: 16px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
	background: rgba(255, 255, 255, .96);
	background: #fff;
	transition: padding .6s, border .6s;
}
#header:after {
	content: '';
	position: absolute;
	display: block;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: transparent;
	transition: background;
}
.scrolling #header:after {
	background: #b2b8c0;
}

#header .masthead {
	position: relative;
	z-index: 1;
}
#header .masthead:after {
	content: '';
	display: block;
	clear: both;
}
#branding {
	height: 58px;
	width: 278px;
	max-width: calc(100% - 64px);
	float: left;
	transition: height .4s, width .4s;
}
.scrolling #branding {
	height: 32px;
	width: 150px;
}

#logo {
	width: 100%;
	height: 100%;
}
#logo h1 {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 36px;
	line-height: 1em;
}
#logo h1 a {
	width: 100%;
	height: 100%;
	display: block;
	border: none;
}
#logo svg {
	fill: #3a434e;
	stroke: #3a434e;
	stroke-width: 0;
}
.scrolling #logo svg {
	stroke-width: 2pt;
}
.scrolling #logo svg,
.scrolling #access h2 a svg {
	stroke: #777e87;
}
.scrolling #logo svg {
	fill: #777e87;
}
#logo .icon + .label {
	display: none;
}


#header #contact .anchor-text {
	display: none;
}



/* Menu */

#access {
	width: calc( 100% - 360px);
	float: right;
	text-align: right;
	font-size: 23px;
	font-weight: 300;
	text-transform: lowercase;
	padding: 16px 16px 0 0;
	margin-bottom: -8px;
}
#access h2 {
	display: none;
}
#access > .menu-main-nav-container {
	display: inline-block;
}
#access ul li {
	display: inline-block;
	margin: 0 16px;
	position: relative;
}
#access ul li a {
	line-height: 36px;
	border-bottom: 1px solid transparent;
}
#access ul#contact li .icon {
	margin: 0;
}
#access ul#contact li .anchor-text {
	margin-left: 12px;
}

#access ul ul {
	display: block;
	float: left;
	margin: 0;
	padding: 8px 0 0;
	position: absolute;
	top: 100%;
	left: -16px;
	right: -16px;
	z-index: 9999;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, .96);
	border-radius: 1px;
	border-bottom : 1px solid #999;
	text-align: left;
}
#access ul li.active > ul {
	max-height: 300px;
	opacity: 1;
}
#access ul ul li {
	margin: 0;
	display: block;
}
#access ul ul a {
	border: none;
	line-height: 26px;
	padding: 8px 16px 12px;
	display: block;
}
#access ul ul a:hover,
.scrolling #access ul ul a:hover {
	background: #333;
	color: #ccc !important;
}
#access li:hover > a,
#access a:focus {
	border-color: #495059;
}
#access li.current-menu-ancestor:hover > a,
#access li.current-menu-ancestor > a:focus,
.scrolling #access ul li.current-menu-item a:hover,
.scrolling #access ul li.current-menu-ancestor > a:hover {
	border-color: #495059;
}
#access ul li.current-menu-item a,
#access ul li.current-menu-ancestor > a {
	border-color: #495059;
}
#access a {
	display: inline-block;
}




/* =Splash
----------------------------------------------- */

#splash {
	margin: 5% 0 10%;
}
#advance {
	height: 64px;
	width: 64px;
	left: 50%;
	bottom: 48px;
	position: fixed;
	transform: translate(-50%, 0);
	z-index: 9999999;
	
}
#advance:hover {
	
}
#advance svg {
	fill: #fff;
	transition: transform .8s cubic-bezier(.27,2,.53,.45);
}
#advance:hover svg {
	transform: translate(0, 40%);
}


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

#content {
	margin: 0 auto;
	max-width: 1076px;
	padding: 0 16px;
	line-height: 28px;
}

#main h2 {
	line-height: 1.4;
	padding: 0 16px 4px;
	border-bottom: 1px solid #495059;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 16px;
	margin: 16px 0;
	clear: both;
}
#main .hentry h2 {
	padding: 0 0 4px;
}
#content h2 {
	margin: 16px 0;
}
#content h3 {
	font-size: 26px;
	line-height: 1.6;
	margin: 32px 0 0;
}
h3 .addendum {
	display: block;
	font-size: 16px;
	line-height: 1.6;
/*	font-family: 'BB-Bariol-serif', serif;*/
/*	font-weight: 400;*/
}


#content .hentry {
	max-width: 640px;
	margin: 0 auto 64px;
}
	
#content p {
	margin: 0 0 26px;
}
#content .page p:last-child,
#content .page ul:last-child {
	margin-bottom: 0;
}
#content ul {
	margin: 0 0 28px;
}

#main img {
	vertical-align: bottom;
	border-radius: 1px;
}
#main a:hover img {
}
.wp-caption {
	font-size: 18px;
	font-style: italic;
	width: auto !important;
}
#content p.wp-caption-text {
	background: #777e87;
	color: #fff;
	opacity: .5;
	padding: 5px 13px;
	margin: 11px 0 0;
	text-align: center;
}
div.alignright,
img.alignright {
	float: right;
	margin: 0 0 10px 22px;
}
div.alignleft,
img.alignleft {
	float: left;
	margin: 0 22px 10px 0;
}
a.featured-image {
	border: none;
}
#content .featured-image img {
	margin: 0 0 28px;
}
#content .hentry:last-child .featured-image:last-child img {
	margin: 0;
}

#content .entry-meta {
	clear: both;
	margin: 0 0 56px;
	font-size: 16px;
	color: #bbb;
	font-weight: 400;
	transition: color 1s;
}
#gallery .entry-meta {
	clear: both;
	margin: 20px 50px 0 0;
	border-top: 1px solid #bbb;
	font-size: 16px;
	color: #bbb;
	font-weight: 400;
	transition: color 1s, border 1s;
}
#content .entry-meta p {
	margin: 0;
}
#content .entry-meta p.posted {
}

#content .entry-meta a {
	font-weight: 700;
	text-transform: none;
	color: #495059;
}
#content .entry-meta a:hover {
	border-color: #9ea4a9;
}


#gallery {
	padding: 0;
	line-height: 28px;
}
#gallery:after {
	content: '';
	display: block;
	clear: both;
}
#gallery .preview-container {
	display: inline-block;
	width: 100%;
	padding: 0 0 8%;
	vertical-align: top;
	perspective: 1000px;
	position: relative;
	animation: reveal .8s ease-in-out .2s backwards;
}
#gallery .preview-container.featured {
	width: 100% !important;
}

#gallery h3 {
	font-weight: 400;
	font-size: 26px;
	color: #777e87;
	margin: 12px 16px 0;
	line-height: 1.4em;
	padding: 0 40px 0 0;
	/* animation: reveal .8s ease-in-out .6s backwards; */
}

.video-info {
	background: #495059;
	color: #b2b8c0;	
	padding: 12px 16px 8px;
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3;
}
.video-info a {
	color: inherit;
	text-transform: uppercase;
	font-family: 'BB-Bariol', sans-serif;
	font-size: 16px;
}
.video-info a:hover {
	color: #fff;
}
.video-info .icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: -1px;
	margin: 0 4px 0 0;
}
.video-info svg {
	fill: #b2b8c0;
}
.video-info a:hover svg {
	fill: #fff;
}
.video-info header {
	margin: 0 0 16px;
}
#main .video-info h2 {
	margin: 0;
	padding: 0;
	text-transform: none;
	font-size: 30px;
	letter-spacing: 0;
	font-weight: 300;
}
.video-info .director {
	text-transform: uppercase;
	font-size: 16px;
}
#main .video-info p {
	margin: 0 0 12px;
}
.video-info .return-links {
	border-top: 1px solid #b2b8c0;
	margin: 16px 0 0;
	padding: 16px 0 0;
	display: none;
}
.stills-gallery img {
	margin: 0 0 4px;
	width: 100%;
}

.preview-container {
	position: relative;
}
.preview-container .video-preview {
	position: relative;
	transition: transform .8s;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
}
.preview-container.flipped .video-preview {
	transform: rotateY(-180deg);
}

.preview-container .video-preview .video-notes {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #495059;
	color: #b2b8c0;
	padding: 28px 32px 0;
	overflow: auto;
	transform: rotateY(180deg);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.preview-container .video-preview .video-thumb {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.video-notes .director {
	display: block;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 1.7;
}
.video-notes p {
	font-size: 15px;
	line-height: 1.5 !important;
}
.video-notes .notes {
	margin: 16px 0;
	border-top: 1px solid #9ea4a9;
	padding: 16px 0 0;
}
.preview-container .flip {
	display: block;
	position: absolute;
	text-align: center;
	height: 32px;
	width: 32px;
	border: 1px solid #777e87;
	border-radius: 50%;
	line-height: 28px;
	font-size: 23px;
	color: #777e87;
	bottom: 8vw;
	right: 4vw;
	transition: opacity .4s, background .4s, border .4s, color .4s;
}
.preview-container .flip:hover {
	border-color: #495059;
	color: #495059;
}
.preview-container.flipped .flip {
	background: #495059;
	border-color: #495059;
	color: #b2b8c0;
	opacity: 1;
}

.video-preview {
	overflow: hidden;
}
.video-thumb {
	position: relative;
	display: block;
	width: 100%;
}
.video-thumb img {
	width: 100%;
	transition: transform .8s;
}
.zoom-preview a:hover .video-thumb img {
	transform: scale(1.1,1.1);
}
.video-thumb:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, .5);
	box-shadow: 0 0 80px rgba(0,0,0,.8) inset;
	background-size: auto 46%;
	opacity: 0;
	transition: opacity .4s;
}
a:hover .video-thumb:after {
	opacity: 1;
}

.gif-player {
	display: none;
}



/* Sidebar */

#sidebar {
	background: #fff;
}
#sidebar a.featured-image {
	display: block;
}
#sidebar a.featured-image img {
	width: 100%;
}
#contact li {
	margin: 0 0 32px;
}

.anchor-text {
	display: inline-block;
	vertical-align: middle;
	font-size: 24px;
	line-height: 1.3;
}
.anchor-text .label {
	display: block;
	text-transform: uppercase;
	font-size: 14px;
	color: #777e87;
	line-height: 1;
}

#contact .icon {
	width: 32px;
	height: 32px;
	display: inline-block;
	vertical-align: top;
	margin: 0 4vw 0 0;
}
#contact .icon svg {
	fill: transparent;
	stroke: #777e87;
	stroke-width: 1px;
	stroke-linejoin: round;
	stroke-linecap: round;
}
.icon, svg, symbol, path {
	overflow: visible;
}
#contact a:hover svg {
	fill: #777e87;
}


#resume-lists {
	margin: 32px 0;
}
#resume-lists h2 {
	min-height: 50px;
}
#resume-lists .list {
	width: 50%;
	display: inline-block;
	vertical-align: top;
	padding: 0 2vw 0 0;
}
#resume-lists .list:nth-last-of-type(2n + 1) {
	padding: 0 0 0 2vw;
}

/* Footer */

#footer {
	padding: 0 16px;
	margin: 8px 0 0;
	line-height: 1.4;
	font-weight: 300;
	clear: both;
	border-top: 1px solid #b2b8c0;
}
#footer span {
	display: block;
}
#footer a {
	border-bottom: 1px solid #495059;
}
#footer .banner {
	padding: 32px 0;
}


/* Theme variant: dark (lightswitch off) */

body.dark {
	background: #131c20;
	box-shadow: 0 0 180px rgba(0,2,4,.2) inset;
	color: #777e87;
	background-attachment: fixed;
}
.dark #access ul li a:hover {
	border-color: transparent !important;
}
.dark #content a,
.dark #content p a {
	color: #9ea4a9;
}
.dark #content p strong,
.dark #content h3,
.dark #content h3 a,
.dark #content .post-nav a,
.dark #gallery h3,
.dark #sidebar h3,
.dark #access li.current-menu-item a,
.dark #access li.current-menu-ancestor > a {
	color: #9ea4a9;
}
.dark #sidebar a,
.dark #content .entry-meta a,
.dark #gallery .entry-meta a {
	color: #777e87;
}
.dark #access ul ul li.current-menu-item a,
.dark #access ul ul li.current-menu-ancestor > a {
	color: #9ea4a9;
}
.dark #access ul ul a:hover,
.dark #access ul ul li:hover > a {
	color: #d9dcdf;
}
.dark a:hover,
.dark #access ul a:hover,
.dark #access li:hover > a,
.dark #access a:focus,
.dark #access li.current-menu-ancestor > a:focus,
.dark #content a:hover,
.dark #content p a:hover,
.dark #content h3 a:hover,
.dark #content .entry-meta a:hover,
.dark #gallery .entry-meta a:hover,
.dark #sidebar a:hover {
	border-color: transparent;
	color: #fff;
	text-shadow: 0 0 8px rgba(255, 255, 255, .5);
}

.dark #access ul ul {
	background: #000509;
	box-shadow: 0 0 40px rgba(255,255,255,.02);
}
.dark #gallery h3 span {
	color: #777e87;
}
.dark #main img {
	box-shadow: 0 0 #495059;
}
.dark #main a:link img,
.dark #main a:visited img {
	box-shadow: 0 0 0 5px rgba(0,0,0,0), 0 0 0 rgba(255, 255, 255, 0);
}
.dark #main a:hover img {
	box-shadow: 0 0 0 5px rgba(0,0,0,1), 0 0 45px rgba(255, 255, 255, .35);
}
.dark #content {
	border-color: #495059;
}
.dark #content .entry-meta,
.dark #gallery .entry-meta {
	color: #495059;
}
.dark #gallery .entry-meta {
	border-color: #495059;
}
.dark #footer {
	color: #495059;
}



/* Responsivity */

@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}



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

	#access {
		padding: 0;
		width: 0;
	}
	#access h2 {
		display: block;
		padding: 0;
		position: absolute;
		z-index: 10;
		right: 0;
		top: 0;
		width: 36px;
		height: 31px;
		/*background: #eee;*/
		overflow: hidden;
	}
	#access h2 a {
		display: block;
		width: 100%;
		height: 100%;
		border: none;
	}
	#access h2 a svg {
		stroke: #495059;
		stroke-width: .035em;
		stroke-linejoin: round;
		fill: transparent;
	}
	#access h2 a.active svg,
	.scrolling #access h2 a.active svg {
		stroke: #495059;
		fill: #495059;
	}
	.dark #access h2 a.active svg {
		fill: #d9dcdf;
	}
	#access h2 a.active {
	}
	#access #menu {
		position: absolute;
		top: calc(100% + 16px);
		left: calc(100% + 16px);
		width: calc(100% + 32px);
		background: #495059;
		padding: 24px 16px;
		z-index: 9;
		transition: left .5s;
		font-size: 36px;
	}
	#access #menu-main-nav {
	
	}
	#access.active #menu {
		left: -16px;
	}
	/* .scrolling #access #menu-main-nav.active {
		top: 63px;
	} */
	
	
	#access ul {
		display: block;
		float: none;
		text-align: center;
	}
	#access ul li {
		display: block;
		text-align: left;
		position: static;
		height: auto;
		margin: 8px 0 16px;
		float: none;
		width: auto;
	}
	#access ul li a {
		padding-bottom: 5px;
	}
	#access ul#contact li {
		margin: 16px 0;
	}
	#access ul#contact li .icon svg {
		stroke-width: 0;
		fill: #777e87;
	}
	
	#header #contact .anchor-text {
		display: inline-block;
	}

	#access #menu-main-nav a[href='#'] {
		display: none;
	}
	#access a:link, #access a:visited {
		color: #d9dcdf;
	}
	#access a:hover,
	#access a:focus {
		text-shadow: none !important;
	}
	#access ul li.current-menu-item a,
	.dark #access ul li.current-menu-item a,
	#access ul li.current-menu-ancestor > a,
	.dark #access ul li.current-menu-ancestor > a,
	.dark #access ul ul li.current-menu-item a, 
	.dark #access ul ul li.current-menu-ancestor > a {
		border-bottom: 1px solid #d9dcdf;
	}
	#access ul ul,
	.dark #access ul ul {
		position: static;
		max-height: none;
		opacity: 1;
		background: transparent;
		padding: 0 0 0 12px;
		margin: 16px 0 32px;
		float: none;
		width: auto;
		box-shadow: none;
		font-size: 100%;
		border: 2px solid #999;
		border-width: 0 0 0 2px;
	}
	#access ul ul li {
		display: block;
		margin: 0;
		height: auto;
	}
	#access ul ul li a {
		display: block;
		padding: 8px 12px 16px;
		margin: 0 auto;
	}

}


@media (max-width: 700px) {
	.category-selected-work #gallery h2 {
		display: none;
	}
	#gallery .preview-container.featured {
		height: calc(178vw - 100px);
		margin-bottom: 8px;
	}
	#gallery .preview-container.featured iframe.cinemascope,
	#gallery .preview-container.featured iframe.widescreen	{
		position: absolute;
		left: 50%;
		top: 0;
		transform: translate(-50%, 0);
		height: 100%;
		width: calc((178vw - 100px) * 2.39);
	}
}



@media (min-width: 701px) {

	#header {
		padding: 24px 16px;
	}
	.scrolling #header {
		padding: 16px;
	} 
	.page #header:after {
		opacity: 1;
	}
	#header:after {
		left: 0;
		right: 0;
	}
	#branding {
		width: 340px;
		height: 71px;
	}
	.scrolling #branding {
		height: 50px;
		width: 240px;
	}
	.scrolling #logo svg {
		stroke-width: 1.3pt;
	}
	
	#access {
		padding: 0;
	}
	#access h2 {
		position: absolute;
		right: 0;
		top: 0;
		width: 60px;
		height: 50px;
	}
	
	#access #menu-main-nav.active {
		top: 120px;
	}
	.scrolling #access #menu-main-nav.active {
		top: 82px;
	}
	
	#main {
		padding-top: 127px;
	}
	#content {
		padding: 4vw 2vw 0;
	}
	#main p {
		line-height: 1.6;
		margin: 0 0 32px;
	}
	
	#advance {
		
	}
	
	#gallery {
		margin-left: -2px;
		margin-right: -2px;
		padding: 0 !important;
	}
	#gallery .preview-container {
		display: inline-block;
		padding: 0 2px 16px;
		width: 50%;
		vertical-align: top;
		margin: 0 0 24px;
	}
	#gallery .preview-container.featured {
		padding: 2px 0 !important;
	}
	#gallery h2 {
		margin: 0 0 16px;
		text-align: center;
	}
	#gallery h3 {
		margin: 1vw 0 0;
		font-weight: 300;
		font-size: 28px;
		text-align: center;
	}
	
	#gallery.featured .preview-container:first-of-type {
		width: 100%;
	}
	#gallery.featured .preview-container:first-of-type .video-thumb {
		height: 40vw;
		overflow: hidden;
		background-size: cover;
		background-position: 50% 50%;
	}
	#gallery.featured .preview-container:first-of-type .video-thumb img {
		margin-top: -6%;
		opacity: 0 !important;
		animation: none;
	}
	.preview-container .flip {
		right: 1vw;
		bottom: calc(6vw + 8px);
	}
	
	#resume-lists {
		margin: 64px 0;
	}
	#resume-lists h2 {
		min-height: 0px;
	}
	#sidebar a.featured-image img {
		width: calc(50% - 16px);
		float: left;
	}
	#sidebar ul#contact {
		width: calc(50% - 16px) ;
		float: right;
	}
	#contact .icon {
		margin: 0 2vw 0 0;
	}
	
	#video-vertical {
		overflow: hidden;
	}
	.video-info {
		padding: 20px 16px 16px;
		margin: 0 0 8px;
	}
	#main .video-info .notes {
		margin-top: 24px;
	}
	#video-vertical .stills-gallery {
		margin: 0 -2px;
	}
	#video-vertical .stills-gallery img {
		width: 50%;
		display: inline-block;
		vertical-align: bottom;
		padding: 0 2px 4px;
		margin: 0;
	}
	#video-vertical .stills-gallery.photo img {
		padding: 0 2px 4px;
	}
	#video-vertical .stills-gallery.photo img.landscape {
		width: 100%;
		padding: 0 2px 4px;
	}
	
	#footer {
		padding: 0 16px 16px;
		font-size: 24px;
		line-height: 1.6;
		text-transform: lowercase;
	}
	#footer .banner {
		padding-top: 2vw;
	}
	
}

@media (min-width: 1061px) {

	#main {
		padding-top: 120px;
	}
	
	#access ul li:hover > ul {
		display: block;
		max-height: 300px;
		opacity: 1;
	}
	.masthead {
		height: 71px;
		transition: height .4s;
	}
	.scrolling .masthead {
		height: 50px;
	}
	#access {
		position: relative;
		margin: 0 -16px 0 0;
		height: 100%;
	}
	#menu {
		position: absolute;
		width: 100%;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	#menu ul {
		margin: 6px 0;
		vertical-align: middle !important;
	}
	#access #contact,
	#access .menu-main-nav-container {
		display: inline-block;
	}
	#access #menu ul li {
		vertical-align: middle !important;
	}
	
	#header, .scrolling #header {
		padding: 24px 0;
	}
	#header .masthead {
		padding: 0 24px;
	}
	
	
	.scrolling #logo svg {
		stroke-width: 1pt;
	}
	
	#access #menu-main-nav {
		display: inline-block;
		padding: 0;
		margin-top: -4px;
	}
	.scrolling #access ul li a {
		color: #777e87;
	}
	.scrolling #access ul li a:hover {
		color: #495059;
	}
	.scrolling #access ul li.current-menu-item a,
	.scrolling #access ul li.current-menu-ancestor > a {
		border-color: #777e87;
	}
	
	.small-layout #gallery {
		padding-left: 16px;
		padding-right: 16px;
	}
	/* three-column layout for large screens */
	.small-layout #gallery:not(.big-thumbs) .preview-container {
		margin: 0 0 32px;
		width: calc(100% / 3);
		height: auto;
	}
	.small-layout #gallery .preview-container:nth-of-type(3n) {
		margin-right: 0;
	}
	
	#content {
		padding: 64px 24px 16px;
	}
	
	#main h2 {
		margin: 0 0 16px;
	}
	#main p {
		line-height: 1.6;
		margin: 0 0 32px;
	}
	
	#gallery h2 {
		display: none;
	}
	#gallery h3 {
		font-weight: 300;
		font-size: 30px;
	}
	
	#gallery .preview-container {
		padding: 2px;
		margin: 0 !important;
	}
	.preview-container .flip {
		opacity: 0;
		bottom: calc(5vw + 6px);
		right: .5vw;
	}
	.preview-container:hover .flip {
		opacity: 1;
	}
	#gallery .preview-container h3 {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		transform: translate(-50%,-50%);
		color: #fff;
		text-align: center;
		padding: 16px;
		margin: 0;
		font-size: 36px;
		opacity: 0;
		transition: opacity .4s;
	}
	#gallery .preview-container a:hover h3 {
		opacity: 1;
	}
	
	#gallery.featured .preview-container:first-of-type .video-thumb {
		height: 38vw;
	}
	#gallery.featured .preview-container:first-of-type .video-thumb:after {
		background-size: auto 26%;
	}
	#gallery.featured .preview-container:first-of-type a:hover .video-thumb:after {
		opacity: 0;
	}
	.scrolling #gallery.featured .preview-container:first-of-type a:hover .video-thumb:after {
		opacity: 1;
	}
	
	.gif-player {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-size: cover;
		background-position: 50% 50%;
	}
	#gallery .preview-container a:hover .gif .video-thumb {
		opacity: 0;
	}
	#gallery .preview-container .gif .video-thumb {
		z-index: 2;
		transition: opacity .5s;
	}
	
	#contact li {
		margin-bottom: 24px;
	}
	#contact .icon {
		margin: 0 1.5vw 0 0;
	}
	.anchor-text {
		font-size: 23px;
		line-height: 1.5;
	}
	.anchor-text .label {
		font-size: 12px;
		line-height: 1.3;
	}
	
	#video-vertical {
		margin: 0 24px;
	}
	#video-vertical iframe,
	#video-vertical .featured-image {
		width: 72%;
		height: calc(40vw - 16px);
		float: right;
		margin: 0 0 2px;
	}
	#video-vertical .featured-image {
		height: auto;
	}
	#video-vertical iframe.cinemascope {
		height: calc( 30vw - 16px );
	}
	#video-vertical iframe.standard {
		height: calc( 49vw - 16px );
	}
	.video-info {
		float: left;
		width: calc((100vw - 66px)*.28);
		position: fixed;
		padding: 24px 32px 20px;
	}
	#video-vertical .stills-gallery {
		width: calc(72% + 4px);
		float: right;
		clear: right;
		margin: 0 -2px 6px;
	}
	#video-vertical .stills-gallery img {
		padding: 2px;
		margin: 0;
	}
	
	.video-info .return-links {
		margin: 32px 0 0;
		padding: 32px 0 0;
		display: block;
	}
	#main .video-info .notes {
		margin-top: 32px;
	}
	
	#content #sidebar {
		float: right;
		width: 352px;
		padding: 0 0 0 32px;
		border-left: 1px solid #495059;
	}
	#main #content .hentry {
		float: left;
	}
	#sidebar ul#contact,
	#sidebar a.featured-image img {
		float: none;
		width: auto;
	}
	
	
	#footer {
		font-size: 23px;
		padding: 0 24px 24px;
		clear: both;
	}
	#footer .small {
		text-transform: uppercase;
		font-size: 12px;
		line-height: 2;
	}
	
	
}
