html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}

html, body {
	font-family: 'Lato', serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3em;
	color: rgb(50,50,50);
}

p {
	margin: 0 0 1em 0;
	padding: 0;
}

b, strong {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	font-weight: 700;	
}

a {
	color: rgb(50,50,50);
	text-decoration: none;
	transition: color 0.2s;
	padding: 0;
	position: relative;
	cursor: pointer;
}

a#maillink {
	margin: 1.5em 0 0 0;
	display: inline-block;
}

ul#navi a:hover:before,
ul#navi a.active:before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	background: #000;
	position: absolute;
	bottom: 3px;
	left: -18px;
}

h1 {
	font-size: 16px;
	font-weight: 700;
	color: #004899;
	padding: 0;
	margin: 0 0 1em 0;
}



h1#homelink {
	display: block;
	margin: 25px 0 0 50px;
	width: 270px;
	float: left;
}

h2 {
	display: none;
}

div#header {
	background: #fff;
	width: 100%;
	height: 180px;
	position: fixed;
	z-index: 1000;
	top: 0;
}


ul#navi {
	display: block;
	margin: 25px 0 60px 0px;
	float: left;
	width: 400px;
}

ul#navi li {
	display: block;
	margin: 0 0 0 120px;
}

ul#navi > li:first-child {
	display: block;
	width: 120px;
	float: left;
	margin: 0;
}

ul#navi > li:nth-child(2) {
	display: inline;
	width: auto;
	float: none;
	margin: 0;
}

ul#navi > li:nth-child(2) > a {
	display: none;
}





ul#start {
	margin: 200px 0 60px 320px;
	clear: both;
}

ul#start li {
	width: 400px;
	height: 260px;
	margin: 0 8px 8px 0;
	display: inline-block;
}

ul#start li img {
	width: 100%;
	height: auto;
	transition: opacity 0.2s;
}

ul#start li:hover img {
	opacity: 0.6;
}

div#text {
	width: 250px;
	padding: 180px 20px 0 50px;
	float: left;
	clear: left;
	font-size: 14px;
	line-height: 1.3em;
	font-weight: 200;
	background: red
	margin-top: 160px;
}

body.About div#text {
	width: 770px;
	padding: 180px 0px 0 50px;
	float: none;
	clear: both;
	overflow: hidden;
}

div#pics {
	width: 800px;
	float: left;
	margin: 160px 0 60px 0;
}

div.additional {
	width: 800px;
	height: auto;
	margin: 20px 0 20px 0;
}

div#pics img {
	width: 800px;
	height: auto;
	margin: 0 0 8px 0;
}

a#maillink {
	display: block;
	width: 220px;
	padding-right: 50px;
	font-weight: 700;
	float: left;
	margin: 0;
}

div#abouttext {
	width: 500px;
	display: block;
	float: right;
}

#copy {
	margin: 10em 0 0 0;	
}





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

	body {
		padding: 80px 0 0 0;
	}
	
	div#header {
		height: 70px;
	}

	h1#homelink {
		display: block;
		margin: 25px 0 60px 25px;
		width: auto;
		float: left;
	}

	h2 {
		display: block;
		font-weight: 700;
	}


	ul#navi {
		display: block;
		margin: 25px 25px 0px 0px;
		float: right;
		width: auto;
	}

	ul#navi li {
		display: inline-block;
		margin: 0px;
	}

	ul#navi > li:first-child {
		display: inline-block;
		width: auto;
		float: none;
		/*padding: 0 1em 0 0;*/
	}

	ul#navi > li:nth-child(2) {
		display: inline;
		width: auto;
		float: none;
		margin: 0;
	}

	body.About ul#navi > li:nth-child(2),
	body.project ul#navi > li:nth-child(2) {
		display: inline;
	}
/*
	ul#navi > li:nth-child(2) > a {
		display: inline;
	}
*/
	ul#navi > li:nth-child(2) > ul {
		display: none;
	}


	ul#start {
		margin: 0px 25px;
	}

	ul#start li {
		width: auto;
		height: auto;
		background: none;
		margin-right: 0;
	}

	a#maillink {
		display: block;
		width: auto;
		float: none;
		margin: 0 0 1em 0;
	}

	div#abouttext {
		width: auto;
		float: none;
	}


	div#text {
		width: auto;
		padding: 0 25px 0 25px;
		float: none;
	}

	body.About div#text {
		width: auto;
		padding: 0 25px 0 25px;
	}


	div#pics {
		width: auto;
		float: none;
		margin: 0 25px 60px 25px;
	}

	div.additional {
		width: 100%;
		margin: 20px 0 20px 0;
	}

	iframe {
		width: 100%;
		height: auto;
	}
	
	div#pics img {
		width: 100%;
		margin: 0 0px 8px 0;
	}

	ul#navi a:hover:before,
	ul#navi a.active:before {
		content: '';
		display: none;
	}

	ul#navi a.active {
		color: #ccc;
	}
}