html, body {
	height:100%;
}
body {
	width: 100%;
	overflow-y: scroll;
}
body .content{	overflow:auto;}
#header{
	position: absolute;
	z-index: 2000;
	width: 235px;
	top: 200px;
}
#header h1{
	font-size: 30px;
	font-weight: 400;
	text-transform: uppercase;
	color: rgba(255,255,255,0.9);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
	padding: 20px;
	background: #000;
}
#navigation {
	width: 235px;
	display:block;
	margin-top: 20px;
	list-style:none;
	z-index:3;
}
.menu_second_nav #navigation {width:225px;margin-top:0px;right:2%;position:absolute;background:#484848;left:0%;}
#navigation a{
	color: #fff;
	display: block;
	background: #484848;
	line-height: 45px;
	padding: 0px 20px;
	text-transform: uppercase;
	margin-bottom: 6px;
	font-size: 14px;
	text-align:left;
	text-decoration:none;
	border:none;
}
#navigation a:hover {
	background: #F44B31;
	color:#fff;
}

#navigation1 {
	width: 235px;
	display:block;
	margin-top: 20px;
	list-style:none;
	z-index:3;
}
.menu_second_nav #navigation1 {width:225px;margin-top:0px;right:2%;position:absolute;background:#484848;left:0%;}
#navigation1 a{
	color: #fff;
	display: block;
	background: #484848;
	line-height: 45px;
	padding: 0px 20px;
	text-transform: uppercase;
	margin-bottom: 6px;
	font-size: 14px;
	text-align:right;
	text-decoration:none;
	border:none;
}
#navigation1 a:hover {
	background: #F44B31;
	color:#fff;
}



.content{
	right: 40px;
	left: 280px;
	top: 0px;
	position: absolute;
	padding-bottom: 30px;
}
.content h2{
	font-size: 110px;
	padding: 10px 0px 20px 0px;
	margin-top: 52px;
	color: #fff;
	color: rgba(255,255,255,0.9);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
.content p{
	font-size: 18px;
	padding: 10px;
	line-height: 24px;
	color: #fff;
	display: inline-block;
	background: black;
	padding: 10px;
	margin: 3px 0px;
}
.panel{
	min-width: 100%;
	height: auto;
	overflow-y: auto;
	overflow-x: hidden;
	position: absolute;
	margin-top: -150%;
	opacity: 1;
	z-index:2;
	-webkit-transition: opacity .6s ease-in-out;
	-moz-transition: opacity .6s ease-in-out;
	-o-transition: opacity .6s ease-in-out;
	-ms-transition: opacity .6s ease-in-out;
	transition: opacity .6s ease-in-out;
}
.panel:target{
	opacity: 1;
	margin-top: 0%;
}
#home:target ~ #header #navigation #link-home,
#portfolio:target ~ #header #navigation #link-portfolio,
#about:target ~ #header #navigation #link-about,
#contact:target ~ #header #navigation #link-contact{
	background: #000;
	color: #fff;
}
#works {
	padding: 15px 0px;
}
#works li{
	display: inline;
}
#works li a{
	padding-right: 10px;
}
#works img {
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	padding: 12px; 
	background: rgba(255,255,255,0.9);
}
#form p{
	background: #fff;
	color: #000;
}
#form input, #form textarea{
	background: #000;
	color: #fff;
	border: none;
}
#form textarea{
	width: 493px;
	height: 100px;
}
#form label{
	padding-right: 10px;
	float: left;
}
.footnote a{
	color: #ddd;
}

@media screen and (min-width:768px) and (max-width:1024px)
{

#navigation1 {
	width: 180px;}
.menu_second_nav #navigation1 {width:225px;margin-top:0px;right:2%;position:absolute;background:#484848;left:0%;}
#navigation1 a{
	
	font-size: 12px;}
#navigation1 a:hover {
	background: #F44B31;
	color:#fff;
}

}
