
:root {
	--color-black: #212223;
	--color-white: #FEFCF5;
	--color-red: #D1250E;
	--color-midgrey: #8D9593;
	--color-darkgrey: #555C61;
	--color-darkgrey-dim: rgba(85,92,97,0.5);

	--font-futura: futura-pt-bold, sans-serif;
	--font-futura-book: futura-pt, sans-serif;	
	--font-bitter: 'Karla', serif;;

	--kerning-header: 0.4rem;
	--kerning-offset: -0.4rem;

	--weight-header: 700;
	--weight-body: 500;

}


#nav::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}
#nav::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
#nav::-webkit-scrollbar-thumb {
  background: rgb(70,70,70);
  border: 0px none #ffffff;
  border-radius: 5px;
}
#nav::-webkit-scrollbar-thumb:hover {
  background: rgb(80,80,80);
}
#nav::-webkit-scrollbar-thumb:active {
  background: #858585;
}
#nav::-webkit-scrollbar-track {
  background: rgb(40,40,40);
  border: 0px none #ffffff;
  border-radius: 5px;
}
#nav::-webkit-scrollbar-track:hover {
  background: rgb(60,60,60);
}
#nav::-webkit-scrollbar-track:active {
  background: rgb(60,60,60);
}
#nav::-webkit-scrollbar-corner {
  background: transparent;
}

canvas {
}
#canvas_output {
	z-index: 10;
	display: block;
	width: 400px;
}
#buffer {
	display: none;
}
#output {
	width: 400px;
	height: 200px;
}

body {
	font-family: var(--font-bitter);
	font-size: 1em;
	margin: 0;
	padding: 0;
	color: rgba(175,175,175,1);
	background-image: url("../img/tns-bg-1920x1080.jpg");
	background-repeat: repeat;
	background-color: #222325;
	background-size: 50%;
}
a {
	text-decoration: none;
	color: rgb(190,190,190);
	display: block;
	overflow: hidden;
	transition: all 500ms;		
}
.nav-title {
	font-family: var(--font-futura);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;	
	line-height: 15px;
}
#nav li a:hover, a:hover, a span:hover {
	color: var(--color-white);
}
#nav a:hover, a.nav-selected:hover {
	color: var(--color-white) !important;
	border-top: 2px solid var(--color-white) !important;			
	transition: all 200ms;
}
li {
	list-style-type: none;
	width: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
ul {
	padding:0;
}
#nav {
	color: var(--color-red);
	font-family: var(--font-futura);
	text-transform: uppercase;
	font-size: 11px;
	margin-top: 0px;
}

.nav-selected a {
/*	color: var(--color-white) !important;*/
/*	border-top: 2px solid var(--color-white) !important;	*/
}

#nav a {
	box-sizing: border-box;		
	padding-top:30px;
	padding-left: 7px;
	border-top: 2px solid transparent;
	color: var(--color-red);	
	display: inline-block;
	transition: all 200ms;
	letter-spacing: 7px;
}

.nav-item {
	display: inline;
}
#nav li {
	padding-right: 30px;
}
#nav li:last-child {
	padding-right: 0px;
}
a.nav-selected .nav-title {
	color: rgba(126,156,45,1);
}


#header {
	padding: 0 0 0 0;
	margin: 0 auto;
	text-align: center;
}

#main {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
	position: absolute;
	box-sizing: border-box;
	overflow-x: hidden;


}
#frame {
	box-sizing: border-box;
	padding-top: 125px;
	margin: 0 auto;
	padding-right: 20px;
	padding-left: 20px;
}
#scroll {
	margin: 0 auto;
	max-width: 1320px;
}
html {
	-webkit-overflow-scrolling: touch;
}
#frame img {
	width: 100%;
	display: block;
/*	margin: 0 auto 15px auto;*/
}
#gallery img {
	max-width: 1115px !important;
}
#logo {
	width: 55px;
	box-sizing: border-box;
	margin: 80px 15px 15px 15px;
	display: inline-block;

}
.logo-sm img {
	width: 27px !important;
}
.logo-sm {
	margin-bottom: 80px !important;
}
#logo img {
	width: 100%;
}
#logo a:hover {
	opacity: 0.6;
}
#desc {
	max-width: 660px;
	text-align: left;
	font-family: var(--font-bitter);
	font-size: 15px;
	margin: 0 auto;
	line-height: 27px;
	padding-top: 50px;
	color: var(--color-midgrey);

}
#sm-logo {
	box-sizing: border-box;
	display: none;	
	position: absolute;
	margin-top: 0;
	cursor: pointer;
	z-index: 2;
}
#sm-logo img {
	width: 250px;
}
#sm-logo span {
	display: inline-block;

}
#sm-logo:hover {
	opacity: 0.8;
}
#cr img {
	width: 27px;
	margin-bottom: 17px;
	margin: 0 auto 15px auto;
}
#bio {
	clear: both;
	max-width: 660px;
	margin: 0 auto;
	padding-top: 80px;
}
.bio-copy {
	font-family: var(--font-bitter);
	color: var(--color-midgrey);
	font-size: 15px;
	line-height: 27px;
}
.subhead {
	font-family: var(--font-futura);
	color: var(--color-white);
	font-size: 22px;
	letter-spacing: 7px;
	text-transform: uppercase;
	margin: 0 auto;
	text-align: center;
	padding-bottom: 30px;
}
.buttons {
	margin: 0 auto;
	text-align: center;
	padding-top: 50px;
}
a.button:first-child {
	margin-right: 20px;
}
.single a.button:first-child {
	margin: 0;
}
a.button {
	padding: 15px 20px;
	border: 2px solid var(--color-darkgrey-dim);
	font-family: var(--font-futura);
	font-size: 11px;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--color-white);
	min-width: 160px;
	display: inline-block;
	text-align: center;
	transition: all 200ms;
}
a.button:hover {
	border: 2px solid var(--color-red);	
	transition: all 200ms;
}


#cr {
	font-family: var(--font-futura);
	margin: 0 auto;
	color: var(--color-red);
	text-transform: uppercase;
	letter-spacing: 7px;
	padding-bottom: 80px;
	padding-top: 80px;
	font-size: 0.6em;
	clear: both;
	text-align: center;
}
.lg-outer .lg-image {
	max-height: 90%;
	max-width: 90%;
}
.set-title {
	font-family: var(--font-futura);
	margin-bottom: 25px;
	font-size: 14px;
	text-transform: uppercase;
	text-align: right;
	letter-spacing: 1px;
	opacity: 0.8;
}
.set-title span {
	margin-left: 5px;
	opacity: 0.4;
}

#mobileMenu {
	position: absolute;
	display: block;
	padding-bottom: 50px;
}
#mobileOverlay {
	overflow-y: auto;		
	visibility: hidden;
	position: fixed;
	width: 100vw;
	background-color: rgb(35,35,35);
	z-index: 100;
	font-size: 1em;
	padding-top: 25px;
	bottom: 0;
	top: 0;
}
#mobileOverlay li {
	width: auto;
	margin-bottom: 25px;
}
#mobileOverlay .nav-title {
	font-size: 1em;
}
#mobileOverlay .nav-selected:hover {
	border: none;
}

#mo-close-btn {
	background-color: rgb(50,50,50);
	color: rgb(240,240,240);
	padding: 10px 15px;
	display: inline-block;
	width: auto;
	text-transform: uppercase;
	font-size: 0.8em;
	left: 0;
	margin-bottom: 15px;
	cursor: pointer;

}
#mo-close-btn a, #mo-close-btn a:visited {
	text-decoration: none;
	color: rgb(250,250,250);
}
#mo-close-btn:hover {
	background-color: rgb(70,70,70);
}
.sm-menu {
	margin: 25px 0 0 0;
	padding: 0;
}
.sm-menu li {
	margin-bottom: 15px;
}

.desc {
	margin-left: 35px;
	margin-right: 35px;
	margin-bottom: 15px;
	display: none;
	color: rgba(0,0,0,0.6);
	border-bottom: 1px dashed rgba(125,125,125,0.5);
	padding-bottom: 15px;
}
.desc-show {
	display: block;
}
#info-btn {
	display: none;
	position: fixed;
	padding: 0;
	margin: 0;
	bottom: 0;
	left: 35px;
	box-sizing: border-box;
	z-index: 1;
}
#info-btn a {
	font-family: var(--font-futura);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 100;
	display: block;
	background-color: rgba(126,156,45,1);
	margin: 0;
	padding: 10px 15px;
	box-sizing: border-box;
	color: rgb(250,250,250);
	border-radius: 4px 4px 0 0;
	font-size: 12px;
}
#info-btn a:hover {
	background-color: rgb(125,125,125);
}
.resume {
	margin: 0 0 50px 0;
	padding: 0;	
}
.resume, .contact {
	font-size: 12px;
}
.contact {

}
.row {
	margin-bottom: 15px;
	padding-bottom: 15px;
	/*min-width: 400px;*/
	width: auto;
}
.res-body {
	vertical-align: middle;
	margin: auto 0;
}
.res-title {
	font-family: var(--font-futura);
	font-size: 1.2em;
	letter-spacing: 1px;
	text-transform: uppercase;	
}
.res-company {
	font-family: var(--font-futura);
	font-size: 1.1em;
	text-transform: uppercase;
	opacity: 1;
	color: rgba(126,156,45,1);
}
.res-name {
	color: rgba(126,156,45,1);
	opacity: 1;	
}
.res-city, .res-duration {
}
.res-city {
	font-size: 1em;
}
.res-duration {
	font-style: italic;
}
h2 {
	font-family: var(--font-futura);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.2em;
	padding: 0;
	box-sizing: border-box;
	display: inline-block;
	margin-bottom: 25px;
	opacity: 0.5;
	margin-top: 0;

}
#sm-header {
	display: none;
}
.section {
	float: left;
	clear: both;
	border-top: 1px solid rgba(150,150,150,0.2);
	padding: 25px 0 0 0;
	width: 100%;
	box-sizing: border-box;
}

.col {
	display: inline-block;
	width: 70%;
	float: left;
}

.col-header {
	width: 20%;
	margin-right: 50px;
	float: left;
}

#line-rule {
	height: 1px;
	width: 100%;
	box-sizing: border-box;
	background-color: var(--color-darkgrey-dim);
	clear: both;
	margin: 80px 0px 0px 0px;
}

.landing {
	max-width: 200px !important;
	width: 100%;
	margin: 0 40px 50px 0 !important;
	position: relative;
	border-radius: 100px;
}

#gallery {
	margin: 0 auto;
}

.clearme {
	clear: both;
}

.gallery-item {
	position: relative;
	width: 31%;
	height: auto;
	/*float: left;*/
	margin: 0 10px 20px 10px;
	margin-bottom: 20px;
	display: inline-block;
	transition: all 500ms;		
}
.gallery-item a {
	border-radius: 3px;	
}
.gallery-title {
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	vertical-align: middle;
	font-family: var(--font-futura);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 4px;	
	line-height: 15px; 
	color: var(--color-red);
	transition: all 500ms;
/*	filter: blur(5px);*/
}

.year {
	display: none;
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	font-size: 11px;
	color: var(--color-midgrey);
	padding-top: 5px;
	text-align: center;
}

.gallery-thumb {
	width: 400px;
	height: 225px;
	overflow: hidden;
	border-radius: 3px;
	background-color: transparent;
	margin-bottom: 15px;
	transition: all 500ms;	

}

.gallery-item-img {
	position: relative;
	transition: filter 500ms, transform 1000ms, opacity 200ms;	
}

a:hover .gallery-item-img{
	opacity: .3;
	filter: blur(10px) saturate(0);
	transform: scale(1.1);
	transition: filter 1000ms, transform 1000ms, opacity 200ms;	
}

a:hover .gallery-thumb{
	background-color: var(--color-red);
	transition: all 500ms;	
}

.gallery-item a:hover {
	background-color: var(--color-red);	
	transition: all 500ms;		
}
a:hover .gallery-title {
	top: 45%;	
	opacity: 1;
	color: var(--color-white) !important;	
	transition: all 500ms;
/*	filter: blur(0);*/
}
a:hover .gallery-title {

}

#name {
	font-family: var(--font-futura);
	color: var(--color-white);
	font-size: 22px;
	letter-spacing: 7px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 10px;
	margin-top: 20px;

}

#jtitle {
	font-family: var(--font-futura);
	color: var(--color-red);
	text-transform: uppercase;
	letter-spacing: 7px;
	font-size:12px;
}

.lightgallery img {
	margin: 0 auto 15px auto;
}

@media only screen and (max-width : 1435px) {	
	.gallery-item {
		width: 47.9%;
		margin: 0 10px 20px 10px;
	}
	.gallery-thumb {
		width: 100%;
		height: auto;
	}
}

@media only screen and (max-width : 1114px) {	
	.gallery-item {
/*		width: 45%;*/
	}
}


@media only screen and (max-width : 1098px) {	
	.gallery-item {
		width: 47.5%;
	}
}

@media only screen and (max-width : 930px){
	.gallery-item {
/*		width: 46%;*/
	}
	.gallery-thumb {
		width: 100%;
	}	

}

@media only screen and (max-width : 800px) {	
	#desc {
		padding-left: 20px;
		padding-right: 20px;
	}
	.gallery-item {
		width: 100%;
		float: none;
		margin: 0 10px 25px 0;
	}
	.gallery-thumb {
		width: 100%;
		height: 100%;
	}	
	.gallery-thumb img {
		margin: 0 !important;
	}
	#sm-logo {
		position: fixed;
		left: 0;
		top: 50px;
		text-align: center;
		padding: 25px !important;
	}
	#sm-logo img {
		width: 40px !important;
		zoom: 2;
	}
	#mobileOverlay {
		zoom: 2;
	}
	.set-title {
/*		zoom: 2.5;*/
	}
	#frame {
		margin-left: 0;
	}
	#sm-header {
		zoom: 2;
	}
	#info-btn {
		zoom: 2;
	}
	.resume, .contact {
		font-size: 15px;
		zoom: 2;
	}
	.line-rule {
		margin-left: 0;
	}
	.col {
		width: 100%;
	}	
}

@media only screen and (max-width: 614px) {
	.col {
		width: 100%;
	}
}

@media only screen and (max-width: 546px){
	a.button:first-child {
		margin-right: 0px;
		margin-bottom: 20px;
	}

}

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

	#desc {
		padding-left: 20px;
		padding-right: 20px;
	}
	#frame {
		margin-left: 0;
		padding-left: 20px !important;
		padding-right: 20px !important;
		padding-top: 35px;
		margin-top: 0;
	}
	#sm-logo {
		position: fixed;
		top: 25px;
		left: 0;
		padding: 5px 5px 5px 5px;
		background-color: rgb(75,75,75);
	}	
	#sm-logo img {
		width: 30px;	
		opacity: 0.5;
	}
	#gallery {
		padding-top: 10px;
	}	
	#sm-logo img {
		margin-bottom: 0;	
	}
	.desc {
		margin-left: 0;
	}	
	#sm-header {
		display: block;
		width: 300px;
		margin: 50px auto 50px auto;
	}
	.set-title {
		text-align: center;
	}
	.gallery-item {
		width: 100%;
		float: none;
		margin: 0 10px 50px 0;
	}
	.gallery-thumb {
		width: 100%;
		height: 100%;
	}	
	.gallery-thumb img {
		margin: 0 !important;
	}
	.button {
		zoom: 1.5;
	}

}
