/* Import fonts */

@font-face {
	font-family: 'Calluna';
	src: url('fonts/calluna/2E13F1_0_0.eot');
	src: url('fonts/calluna/2E13F1_0_0.eot?#iefix') format('embedded-opentype'),
		url('fonts/calluna/2E13F1_0_0.woff2') format('woff2'),
		url('fonts/calluna/2E13F1_0_0.woff') format('woff'),
		url('fonts/calluna/2E13F1_0_0.ttf') format('truetype');
	font-weight: 'normal';
	font-style: 'normal';
}


/* DOM elements */

html {
	overflow-x: hidden;
	overflow-y: scroll;
}

body {
	margin: 0 36px;
	/*background-color: #eee;*/
}

img {
	display: block;
	width: 100%;
}

video {
	width: 100%;
	margin: 0; padding: 0;
	position: relative;
	display: block;
}


/* Type styles */

p, h1, h2, h3, h4, ul, li {
	font-size: 15px;
	line-height: 19px;
	font-family: 'Calluna', 'EB Garamond', serif; /*font-style font-variant font-weight font-size/line-height font-family*/
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
	margin: 0; padding: 0;
	color: #222;
}

h1 { font-size: 27px; line-height: 28px; margin: 0 0 0 -1px; cursor: pointer; }
h2 { font-size: 18px; line-height: 24px; margin: 0 0 17px -0.5px;}
a { color: inherit; text-decoration: none; }

.greige { color: #8f8f82; }
.sc {
	-moz-font-feature-settings:"c2sc";
	-moz-font-feature-settings:"c2sc=1";
	-ms-font-feature-settings:"c2sc";
	-o-font-feature-settings:"c2sc";
	-webkit-font-feature-settings:"c2sc";
	font-feature-settings:"c2sc";
}

.caption { font-size: 12px; line-height: 17px; }
.half-space {margin-bottom: 8.5px;}


/* Container */

#container { max-width: 1280px; margin: 24px auto; width: inherit; }


/* Header */

header {
	position: relative;
	display: block;
	width: 100%;
	height: 250px;
}

#site_title {
	width: 240px;
	float: left;
	margin-right: 48px;
}

#site_description {
	float: left;
	width: 150px;
	margin: 8px 19px 0 0;
}

#site_contact {
	float: left;
	width: 150px;
	margin: 8px 19px 0 0;
}


/* Nav */

#nav {
	position: absolute;
	bottom: 9px;
}

#nav ul {
	text-decoration: none;
	list-style: none;
}

#nav ul li {
	float: left;
	margin: 0 18px 0 0;
}

#nav ul li:last-child {
	float: left;
	margin: 0;
}


/* projects */

.project {
	padding: 24px 0;
	border-top: solid 1px #ebebeb;
	display: inline-block;
}

.project_title {
	margin: -1px 0 18px 0;
	float: left;
	width: 220px;
}

.gallery {
	position: relative;
	display: block;
	margin-left: 288px;
}

.one + .three, .two + .two, .two + .three, .three + .three {margin-top: 1%;}

.one, .two, .three {
	position: relative;
	display: block;
	width: 100%;
}

.two:after, .three:after {
    content:"";
    clear:both;
    display:block;
}

.gallery .two a {
	position: block;
	float: left;
	width: 49.5%;
	margin: 0 1% 0 0;
}

.gallery .two a:last-child {
	margin-right: 0;
}

.gallery .three a {
	display: block;
	float: left;
	position: relative;
	width: 32.667%;
	margin: 0 1% 0 0;
}

.gallery .three a:last-child {
	margin-right: 0;
}

.overlay-dark .fluidbox-overlay {
	background-color: rgba(34,34,34,.85);
}


/* new gallery */

.full {
	width: 100%;
}
.half {
	position: block;
	float: left;
	width: 49.5%;
	margin: 0 1% 1% 0;
}
.third {
	display: block;
	float: left;
	position: relative;
	width: 32.667%;
	margin: 0 1% 1% 0;
}
.last {
	margin-right: 0;
	clear: right;
}


/* video controls */

.video {
	cursor: pointer;
}

.video_controls {
	position: absolute;
	z-index: 1;
	top: 10px; left: 10px;
}

.video_controls .play {
	float: left;
	margin-right: 3px;
	width: 24px;
	height: 24px;
	background-image: url('../img/video_controls/video-play.png');
	background-size: 100% 100%;
	opacity: 0.1;
}

.video_controls .enlarge {
	float: left;
	width: 24px;
	height: 24px;
	background-image: url('../img/video_controls/video-enlarge.png');
	background-size: 100% 100%;
	opacity: 0.1;
}

.video .video_controls .play:hover {
	opacity: 0.2;
}

.video .video_controls .enlarge:hover {
	opacity: 0.2;
}

.video_controls .video_playing {
	background-image: url('../img/video_controls/video-pause.png');
}


/* About */

.biography {
	max-width: 360px;
}


/* Text not selectable */

#header, h1, ul, li {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


/*Fix focus*/

*:focus {
	outline:none;
	border:none;
	color:black;
	text-decoration:none;
	background-color: #eee;
	}