html, body {
	height: 100%;	
	margin: 0;
	padding: 0;
	font-family: "Roboto Condensed", arial, sans-serif;
	font-weight: 300;
	color: #333;
}


#site-header {
	position: absolute;
	top: 0;
	width: 100%;
	text-align: center;
	height: 125px;
	background-image: url("images/header_signature.png");
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 350px auto;
	z-index: 50;
}

#site-header.home {
	background-image: url("images/header_signature_white.png");
}

#site-header.bio,
#site-header.contact {
	background-image: url("images/header_signature_white.png");
}

#site-header.writing {
	background-image: url("images/header_signature_black.png");
}

#site-header #logo {
	width: 100%;
}

#site-header #logo img {
	height: 100px;
	width: auto;
}

#site-navigation {
	text-transform: uppercase;
	font-weight: 700;
}

#site-navigation a {
	display: inline-block;
	padding: 0 1em;
	text-decoration: none;
}

#site-navigation a:hover {
	color: #ff5a00;
}

#site-navigation a.current {
	color: #CCC;
}




#hero.home {
	background-image: url("images/home_hero.jpg");
	background-size: cover;
	min-height: 70vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}



.mobile-nav-toggle {
    position: relative;
    z-index: 30;
	margin: 0 auto;
    padding: 0;
    line-height: 16px;
    cursor: pointer;
    user-select: none;
    width: 22px;
    height: 22px;
    display: none;
}

.mobile-nav-toggle .top-bar, 
.mobile-nav-toggle .middle-bar,
.mobile-nav-toggle .bottom-bar {
    width: 22px;
    height: 2px;
    transform-origin: 50% 50%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
    transition: 0.1s ease-out;
    background-color: #666;
}

.mobile-nav-toggle .middle-bar {
    top: 7px;
}

.mobile-nav-toggle .bottom-bar {
    top: 14px;
}

.mobile-nav-toggle.toggled-on .top-bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 7px;
}

.mobile-nav-toggle.toggled-on .middle-bar {
	opacity: 0;
}
.mobile-nav-toggle.toggled-on .bottom-bar {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 7px;
}




#page-content {
	margin-top: 200px;
	padding-bottom: 100px;
}

@media only screen and (max-width: 1000px) {
	#page-content {
		margin-top: 150px;
	}	
}

#page-content .description {
	padding: 0 2vw 2vw 2vw;
}

.skinny {
	width: 800px;
	margin: 0 auto;
	max-width: 90%;
}

.body_copy {
	max-width: 80%;
	margin: 0 auto;
}



.hero_copy {
	width: 600px;
	margin: 0 auto;
	max-width: 90%;
	padding: 5%;
}






/*//////////////  CATEGORY PAGE //////*/

.category_thumbnails {
	column-count: 4;
	column-gap: 1vw;
	padding-left: 1vw;
}


.category_thumbnails a {
	position: relative;
	display: inline-block;
	width: 23vw;
	height: auto;
	margin-bottom: 1vw;
}

.category_thumbnails a .rollover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transition: 0.5s;
	background-color: #000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	z-index: 10;
	color: #FFF;
	font-size: 1.5em;
	height: 0px;
}

.category_thumbnails a:hover .rollover {
	opacity: 0.7;
	height: calc(100% - 0.1em);
	
}


@media only screen and (min-width: 1800px) {
	
	.category_thumbnails {
		column-count: 5;
	}
	
	.category_thumbnails a {
		width: 18.5vw;
	}

}


@media only screen and (max-width: 800px) {
	
	.category_thumbnails {
		column-count: 2;
	}
	
	.category_thumbnails a {
		width: 46vw;
	}

}




/*//////////////  END CATEGORY PAGE //////*/






/*//////////////  PROJECT PAGE //////*/


.category_thumbnails img,
.thumbnails img {
	width: 100%;
}

.thumbnails figure {
	width: 10vw;
    display: inline-block;
    margin: 0 1vw 1vw 0;
    height: 11vw;
    overflow: hidden;
}

.thumbnails figure a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
}

.thumbnails figure img {
	display: none;
}


#project_layout #info {
	width: 20%;
	float: left;
	padding-right: 2vw;
}



#project_layout h1 {
	text-align: left;
	margin: 0;
}


#project_layout h2 {
	text-align: left;
	padding-left: 2vw;
	margin: 0;
}


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

	#project_layout h1,
	#project_layout h2 {
		text-align: center;
	}
	
	#project_layout .description {
		margin-bottom:30px;
	}

}


#project_layout .thumbnails {
	float: left;
	width: 56%;
	/* text-align: center; */
}


#subnav {
	width: calc(20% - 4vw);
	float: right;
	padding: 2vw;
	background-color: #E9E9EF;
	text-align: right;
	
}

#subnav a {
	display: block;
	padding: 0 0 1em 0;
	color: #999;
}

#subnav a:hover {
	color: #000;
}
	
#subnav a.current {
	color: #CCC;
}

#subnav a.current:before,
#subnav a:hover:before
 {
	content: "> ";
}



#mobile_subnav {
		display: none;
	}


@media only screen and (max-width: 1000px) {
	
	#project_layout #info {
		width: 100%;
		float: none;
		padding-right: 0;
	}
	
	#project_layout .thumbnails {
		float: none;
		width: 100%;
		text-align: center;
	}

	.thumbnails figure {
		width: 46vw;
		margin: 0 1vw 1vw 0;
		height: 48vw;
	}
	
	#subnav {
		display: none;
	}
	
	#mobile_subnav {
		display: block;
		padding: 2vw;
		background-color: #DDD;
		margin-bottom: 20px;
		line-height: 2em;
		height: 2em;
	}
	
	#mobile_subnav .next {
		float: right;
	}

}


/*////////////// END PROJECT PAGE //////*/













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



.social {
	font-size: 1.5em;
	padding-right: 0.3em;
}






.hero_slide {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	transition: 0.3s ease-out;
	width: 100%;
	height: 100%;
	position: absolute;
	background-size: cover;
	background-position: center center; 
}

.hero_slide.next {
	transform: translateX(100%);
}


.hero_slide.prev {
	transform: translateX(-100%);
}

#next_button {
	position: absolute;
	right: 5%;
	height: 100%;
	display: block;
	font-size: 3em;
	opacity: 0.5;
	z-index: 20;
	color: #FFF;
}

#prev_button {
	position: absolute;
	left: 5%;
	height: 100%;
	display: block;
	font-size: 3em;
	opacity: 0.5;
	z-index: 21;
	color: #FFF;
}

.publication {
	max-width: 40%;
	margin-left: 15%;
}

.quotation {
	max-width: 30%;
	position: relative;
	background-color: #FFF;
	padding: 3em;
	border-radius: 30px;
	
	display: none;
}

.quotation p {
	padding: 0 0 0 5em;
	margin: 0;
}

.quotation::before {
	content: "\201C";
	font-family: "Lily Script One";
	font-size: 10em;
	position: absolute;
	top: 0.1em;
	left 0.1em;
}




form div {
	margin-bottom: 1em;
}

form {
	max-width: 100%;
}

form input {
	padding: 1.5em 1em;
	width: calc(100% - 2em);
	color: #666;
	border: 1px solid #CCC;
}

form textarea {
	padding: 1.5em 1em;
	width: calc(100% - 2em);
	color: #999;
	height: 5em;
	border: 1px solid #CCC;
}

form input[type="submit"] {
	text-transform: uppercase;
	color: #999;
	font-weight: bold;
	border-radius: 5px;
	transition: 0.3s;
	padding: 1.5em 1em;
	width: 100%;
	border: none;
	background-color: #DDD;
}

form input[type="submit"]:hover {
	background-color: #ff5a00;
	color: #FFF;
	border-radius: 0;
}


.body_copy {
	color: #ccc;
	padding-bottom: 100px;
	line-height: 1.4em;
}



/*//////////////  PHOTO MANAGEMENT PAGE //////*/

.manage {
	padding: 20px;
	text-align: center;
}

.manage navigation {
	display: block;
	background-color: #CCC;
	text-align: center;
	margin-bottom: 30px;
	padding: 1em;
}

.manage navigation a {
	margin-right: 3em;
}

.manage table {
	margin: 0 auto;
	padding-bottom: 100px;
}

.manage tr.category_row {
	background-color: #666;
	color: #FFF;
}

.manage .dbTitle {
	text-align: center;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}

.manage td textarea {
	height: 10em;
}

.feedback {
	text-align: center;
	color: #C00;
	text-transform: uppercase;
	font-size: 80%;
	padding: 2em;
}

.manage .upload_form {
	background-color: #DDD;
	color: #000;
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 20px;
}

.manage .upload_form input[type="submit"] {
	background-color: #FFF;
	width: 98%;
}

.manage .upload_form input[type="submit"]:hover {
	background-color: #ff5a00;
	color: #FFF;
}


/*//////////////  END PHOTO MANAGEMENT PAGE //////*/





h1 {
	margin-top: 30px;
	line-height: 1.3em;
}


h2 {
	line-height: 1.3em;
	text-align: center;
	font-weight: 400;
}

h2.description {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1em;
}

.home h2.home {
	font-weight: 300;
	max-width: 80%;
	margin: 0 auto;
}

.home_info {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 1em;
}

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

	h2.description {
		margin-bottom:30px;
	}

}


strong {
	font-weight: 600;
}

a {
	color: #666;
	text-decoration: none;
}

a:hover, a:active {
	color: #ff5a00;
}


h1.page_title {
	text-align: center;
	padding: 0 2vw;
	font-weight: 200;
	color: #000;
	text-transform: uppercase;
}








@media only screen and (max-width: 1000px) {
	h1 {
	  font-size: 2.5em;
  	}

	.story {
		padding: 30px 0;
	}
	
	iframe {
		width: 100%;
	}
	
	.hero_slide {
		max-width: 90%;
		padding: 0 5%;
	}
	
	.publication {
		max-width:  80%;
		margin: 0 auto;
		position: relative;
	}

	.quotation {
		max-width: 60%;
		margin: 0 auto;
		padding: 1em;
	}

	.quotation p {
		padding: 0 0 0 3em;
	}

	.quotation::before {
		font-size: 5em;
		top: 0;
	}
	
	#bio.home {
		min-height: auto;
		background-image: none;
		display: block;
		max-width: 90%;
		padding: 5%;
	}

	#site-navigation a {
		display: block;
		padding: 0.5em;
	}
	
	#site-navigation {
		display: none;
		background-color: #DDD;
	}

	#site-navigation.show-mobile-nav {
		display: block;
	}
	
 	.mobile-nav-toggle {
	    display: block;
	}
	
	.no_mobile {
		display: none;
	}
 	
 	#timeline_container {
		height: 300px;
	}

}
