/* RESET */
body, html { width: 100%; height: 100%; font-family: Lato, Helvetica Neue, Helvetica, sans-serif; font-weight: 100;	 }
*, html, body, div, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td, header, footer, nav, section, article { margin:0; padding:0; box-sizing: border-box; -moz-box-sizing: border-box; }
a, a img, #pagewrap a, #pagewrap a:visited img { border:0; text-decoration: none; color: #0088dd; outline: none; }
img { border: 0; -ms-interpolation-mode: bicubic; }
a:focus, input:focus { outline: 0; }
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{ display: block; }
strong, th { font-style:normal; font-weight: 400; }
ol, ul, li { list-style:none; }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal; }/* The below restores some sensible defaults */
strong, b { font-weight:bold }
em { font-style:italic }
p { margin-bottom: 15px; }
div, header, footer, nav, section, article { position: relative; } /* and just for ease of use, make all divs positioned relative */ 
/* ...the clearfix */
.clearfix { *zoom: 1; }								
.clearfix:before, .clearfix:after { display: table; content: ""; line-height: 0; }
.clearfix:after, .clear { clear: both; }

.alignleft, .alignright { position: relative; } .alignleft { float:left; } .alignright { float: right; }
.showphone, .showtablet, .hidedesktop  { display: none; }
.hidephone, .hidetablet, .showdesktop  { display: block; }
.sub-menu { margin-left: 10px; }
.responsive { width: auto; max-width: 100%;}

h1 { font-size: 2.3em;  margin: 0 0 0.67em 0; letter-spacing: 2px; }
h2 { font-size: 1.5em;  margin: 0 0 0.83em 0; }
h3 { font-size: 1.17em; margin: 0 0 1em 0;    }
h4 { font-size: 1em;    margin: 0 0 1.33em 0; }
h5 { font-size: 0.83em; margin: 0 0 1.67em 0; }
h6 { font-size: 0.67em; margin: 0 0 2.33em 0; }

.ratio .content{
		position:  absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
}

.ratio_1-1:before, .ratio_2-1:before, .ratio_1-2:before, .ratio_4-3:before, .ratio_7-5:before, .ratio_16-9:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}
.ratio_2-1:before{ padding-top: 50%; }
.ratio_1-2:before{ padding-top: 200%; }
.ratio_4-3:before{ padding-top: 75%; }
.ratio_7-5:before{ padding-top: 71.43%; }
.ratio_16-9:before{ padding-top: 56.25%; }/* import fonts */
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,100,700,300italic,700italic);



/*--------- GLOBALS */

body {
	font-family: "Lato", "Helvetica Neue", sans-serif;
	padding: 20px;
}


strong, b { font-weight: bold; }
a:hover { color: #333; }

svg { fill: #000; }
.no-svg { display: none; }


/*---------- GLOABL CLASSES */

.cv-group {
	margin: 5px 0;
}
.cv-group li { margin-left: 120px; text-indent: -20px;  }
.cv-group li:first-child {
	float: left;
	margin-left: 0;
	text-indent: 0;
}
.cv-group.nonindent li { margin-bottom: 5px; }
.cv-group.nonindent li:first-child { float: none; margin-left: 120px; text-indent: -20px; }


/*!--------- HEADER */

#logo a {
	color: #000;
	font-weight: 500;
}

#menu-icon {
	height: 30px;
}

#nav-wrapper {
	display: inline-block;
	margin: 0 10px;
}

#genre-select-container {
	display: inline-block;
	text-align: right;
	position: absolute;
	right: 0;
}

#genre-nav {
	border-bottom: 3px solid #555;
	padding: 10px 0;
	margin: 10px 0 30px 0;
}

#genre-nav li {
	display: inline-block;
	font-weight: 100 !important;
	font-family: "Lato", "Helvetica Neue", sans-serif !important;
}
#genre-nav li:before {
	content: '//';
	display: inline-block;
	margin: 0 10px;
	font-weight: 100;
}
#genre-nav li:first-child:before {
	margin-left: 0;
}


#main-header, #content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

#main-header {
	margin-top: 50px;
}

/*!--------- CONTENT */


#project-thumb-container {
	word-spacing: 0px;
	line-height: 0;
}

.project-thumb {
	width: 20%;
	max-width: 200px;
	height: 200px;
	z-index: 1;
	display: inline-block;
	line-height: 0;
	position: relative;
	
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}
.project-thumb.double {
	width: 40%;
	max-width: 400px;
	height: 200px;
}
.project-thumb img {
	width: 100%;
	height: auto;
}
.project-thumb-title {
	position: absolute;
	opacity: 0;
	z-index: 10;
	display: inline-block;
	width: 100%;
	height: 100%;
	background: rgba(0, 138, 222, 0.9);
	padding: 5%;
	
	color: #FFF;
	word-spacing: normal;
	font-size: 1.2em;
	line-height: 1.4em;
	letter-spacing: 1px;
	text-align: left;
	
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}
.project-thumb:hover .project-thumb-title {
	opacity: 1;
}
.project-thumb-title span {
	display: inline-block;
	position: absolute;
	bottom: 5%;
	left: 5%;
	width: 90%;
}


.project-thumb.inactive {
	opacity: 0.1;
}

#artwork-container, #statement-container {
	width: 48%;
	display: inline-block;
	margin: 0;
	float: left;
	padding-bottom:100px;
}
#artwork-container {
	margin-right: 4%;
}
#statement-container p {
	 text-indent: 50px;
	 line-height: 1.5em;
	 letter-spacing: .5px;
}

.artwork-info {
    color: #999;
    font-size: .9em;
    line-height: 1.2em;
    margin: 0.5em 0 2em;
    letter-spacing: .5px;
}
.artwork-info span {
	display: block;
}

.genre-selector.active {
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 2px solid #0088dd;
}


@media handheld, only screen and (max-width: 960px) { 		/* Small Screens, Tablets */
	
	#genre-select-container {
		display: none;
	}
	
	
	.showphone { display: none; }
	.showtablet { display: block; }
	.showdesktop { display: none; }
	
	.hidephone { display: block; }
	.hidetablet { display: none; }
	.hidedesktop { display: block; }

	
	img { max-width: 100%; height: auto; }
	.project-thumb { width: 25%;}
}

@media handheld, only screen and (max-width: 500px), only screen and (max-width: 700px) and  (-webkit-min-device-pixel-ratio: 2) {  /* phones */

	#artwork-container, #statement-container {
		width: 100%;
		margin: 0;
	}

	.project-thumb.dummy { display: none;}
	.project-thumb { width: 50%; height: auto;}
	.project-thumb.double { width: 100%; height: auto; }
	
	.showphone { display: block; }
	.showtablet { display: none; }
	.showdesktop { display: none; }
	
	.hidephone { display: none; }
	.hidetablet { display: block; }
	.hidedesktop { display: block; }
}

