html, body {
	height:100%;
	min-width:1280px;
	min-height:650px;
	
	
}
body {
	width: 100%;
	overflow: hidden;
	background-color:#F7E9D2;
}

#bg {
  position: fixed; 
  top: -25%; 
  left: -25%; 
  width: 150%; 
  height: 150%;
  z-index:-1;
}
#bg img {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
}


#header{
	position: absolute;
	z-index: 11;
	width: 100%;
	bottom: 12px;
	background-color:#301709;
	height:52px;
}
#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 {
	margin-top: 0px;
	width: 100%;
	display:block;
	list-style:none;
	z-index:3;
	margin-left:40px;
	

}
#navigation a{
	color: #BDA98D;
	display: block;
	background: #301709;
	line-height: 50px;
	padding: 0px 20px;
	margin-bottom: 6px;
	font-size: 18px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight:200;
}
#navigation a:hover {
	background: #301709;
	color:#F7E9D2;
	
}



#navigation2 {
	margin-top: 0px;
	width: 200px;
	display:block;
	list-style:none;
	z-index:3;
}
#navigation2 a{
	color: #444;
	display: block;
	background: #fff;
	background: rgba(255,255,255,0.9);
	line-height: 50px;
	padding: 0px 20px;
	text-transform: uppercase;
	margin-bottom: 6px;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	font-size: 14px;
}
#navigation2 a:hover {
	background: #ddd;
}

#navigation  li {
	list-style: none;
	float: left;
	clear:none;
}

.content{
	right: 0px;
	top: 0px;
	position: absolute;
	padding-bottom: 30px;
	width: 100%;
	
}
.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: 960px;
	height: 600px;
	overflow-y: auto;
	overflow-x: hidden;
	margin-top: -150%;
	position: absolute;
	background: #000;
	box-shadow: 0px 4px 7px rgba(0,0,0,0.6);
	z-index: 10;
	-webkit-transition: all 2.3s ease-in-out;
	-moz-transition: all 2.3s ease-in-out;
	-o-transition: all 2.3s ease-in-out;
	transition: all 2.3s ease-in-out;
	margin-left: 23%;
	
}
.panel:target{
	margin-top: 0%;
	background-color: #FFFAEB;
	
}



.panel2{
	min-width: 960px;
	height: 500px;
	overflow-y: auto;
	overflow-x: hidden;
	margin-top: -100%;
	background:url(../images/autorasbg.png);
	position: absolute;
	
	z-index: 10;
	-webkit-transition: all 2.3s ease-in-out;
	-moz-transition: all 2.3s ease-in-out;
	-o-transition: all 2.3s ease-in-out;
	transition: all 2.3s ease-in-out;
	margin-left: 23%;
	
}
.panel2:target{
	margin-top: 3%;
	background-image:url(../images/autorasbg.png);
	
}


.panel3{
	width: 960px;
	min-width: 960px;
	height: 600px;
	overflow-y: auto;
	overflow-x: hidden;
	margin-top: -150%;
	position: absolute;
	background: #000;
	box-shadow: 0px 4px 7px rgba(0,0,0,0.6);
	z-index: 10;
	-webkit-transition: all 2.3s ease-in-out;
	-moz-transition: all 2.3s ease-in-out;
	-o-transition: all 2.3s ease-in-out;
	transition: all 2.3s ease-in-out;
	margin-left: 23%;
	
}
.panel3:target{
	margin-top: 0%;
	background-color: #FFFAEB;
	
}

.panel4{
	min-width: 430px;
	height: 430px;
	overflow-y: auto;
	overflow-x: hidden;
	margin-top: -150%;
	position: absolute;
	background: #000;
	box-shadow: 0px 4px 7px rgba(0,0,0,0.6);
	z-index: 10;
	-webkit-transition: all 2.3s ease-in-out;
	-moz-transition: all 2.3s ease-in-out;
	-o-transition: all 2.3s ease-in-out;
	transition: all 2.3s ease-in-out;
	margin-left: 63%;
	
}
.panel4:target{
	margin-top: 0%;
	background-color: #FFFAEB;
	
}

#portafolio .panel{
	
	float:right;
	right:0;
}

.close {
	float:right;
	background: #301709;
	width: 40px;
	height:40px;
	right: 0px;
	text-align:center;
	vertical-align:middle;
	line-height:35px;
	font-size:25px;
	font-weight:400;
}
	
#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: #301709;
	color: #F7E9D2;
	font-weight:400;
}
#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;
}

#recom {
	height:15px;
	background-color:#F7E9D2;
	bottom:0px;
	right:0px;
	width:100%;
	position:fixed;
	color:#301709;
	font-size:10px;
	line-height:17px;
	
}

#recom p {
	margin-left:60px;
}
	