body {
	font-family: "runda", sans-serif; 
	font-size: 0.7em; 
	color: black; 
	text-align: left; 
	line-height: 1.4em;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
}

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

a:hover {
	color: black; 
	text-decoration: none;
}

a.blacklink {
	color: black;
}

.left {
	float: left;
}

.right {
	float: right;
}

#show {
	display: none;
}

header {
	height: 100%;
	width: 100%;
	text-align: center;
	background-color: white;
}
ul {
	margin: 20px;
}
li {
	margin-top: 2px;
}

#subnav {
	padding-bottom: 10px;
}

#subnav li {
	margin-top: 0;
}

li.active a {
	color: black;
}

li.top {
	padding-bottom: 10px;
}

#gallery {
	margin-left: 140px;
}

#gallery td {
	position: relative;
	width: 50px;
}

.titleWrapper {
	vertical-align: top;
}

div.title {
	font-size: 0.7em;
	line-height: 1.4em;
	font-weight: bold;
	color: #acacac;
	padding: 30px 30px 0 90px;
	min-width: 30px;
}

#gallery img {
	padding-top: 30px;
	margin-right: 30px;
}

.story {
    margin:0px;
    bottom:0px;
    width: auto;
    height:100%;
	float: left;
}

h1 {
	font-size: 46px;
	font-weight: 200;
	line-height: 1em;
	text-align: center;
	margin-top: 20px;
}

h2 {
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 10px;
}

p {
	text-align: center;
	margin: 20px auto;
	font-weight: 400;
}

section#clients, section#contact {
	text-transform: none;
	margin-left: 300px;
	font-weight: 200;
	padding-top: 30px;
}

section h2 {
	text-transform: uppercase;
}

.clientList {
	float: left;
	width: 300px;
}

/* Media queries */

@media only screen and (max-width : 600px) {
	
	/* Tablet and genric mobile */

	header {
		position: fixed;
		left: 0;
		top: 0;
		height: 50px;
		width: 100%;
		background-color: white;
		z-index: 200;
	}
	
	#logo {
		top: 15px;
		left: 15px;
	}
	
	nav {
		position: fixed;
		top: 50px;
		width: 100%;
		z-index: 1000;
		background: white;
		left: 0px;
		padding-left: 15px;
		height: 280px;
		display: none;
	}
	
	#gallery {
		margin-left: 0px;
		margin-top: 30px;
	}
	
	div.title {
	padding: 30px 30px 0 15px;
	min-width: 30px;
	}
	
	#show {
		display: block;
		width: 16px;
		height: 16px;
		background: transparent url("images/menu.png") center center no-repeat;
		position: fixed;
		top: 15px;
		right: 15px;
		text-indent: -9999px;
	}
	
	h1 {
		font-size: 18px;
	}
	
	section#clients, section#contact {
		text-transform: none;
		margin-left: 30px;
		font-weight: 200;
		padding-top: 30px;
	}

}

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
	
	/* iphone 5 landscape mode */
	
	header {
		position: fixed;
		left: 0;
		top: 0;
		height: 100%;
		width: 100px;
		background-color: white;
		z-index: 200;
	}
	
	#logo {
		top: 15px;
		left: 15px;
	}
	
	nav {
		display: none;
	}
	
	#gallery {
		margin-left: 100px;
	}
	
}

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
	
	/* iphone 5 portrait mode */

	header {
		position: fixed;
		left: 0;
		top: 0;
		height: 50px;
		width: 100%;
		background-color: white;
		z-index: 200;
	}
	
	#logo {
		top: 15px;
		left: 15px;
	}
	
	nav {
		display: none;
	}
	
	#gallery {
		margin-left: 15px;
	}

}


/* Switch images on retina screens */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
  
  	#name {
		background: transparent url(images/mark-kean-retina.gif) no-repeat;
		background-size: 208px 26px;
	}

}