/* CSS reset */
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
/*table {
	border-collapse:collapse;
	border-spacing:0;
}*/
ol,ul {
	list-style:none;
}
h1 {
	font-family: 'Lato';
	font-size: 24px;
	font-style: normal;
	font-variant: normal;
	font-weight: 300;
	line-height: 26.4px;
}
html, body {
	height:100%;
}
body {
	font-family: 'Lato';
	font-size: 15px;
	width: 100%;
	background: #fafafa;
	overflow: hidden;
}
a {
	text-decoration: none;
	color: #7a9e35;
}
a:visited {
	color: #7a9e35;
}
#header{
	position: absolute;
	z-index: 2;
	width: 250px;
	top: 50px;
	color: rgba(255,255,255,0.9);
}
#header h1{
	font-family: 'Arvo';
	font-size: 30px;
	font-weight: 400;
	text-transform: uppercase;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
	padding: 20px;
	padding-bottom: 30px;
	background: #000;
}

.content{
	right: 40px;
	left: 40px;
	top: 0px;
	position: absolute;
	padding-bottom: 0px;
}
.content h2{
	font-family: 'Arvo';
	font-size: 95px;
	padding: 10px 0px 70px 240px;
	margin-top: 52px;
	color: rgba(0,0,0,0.87);
}
.content p{
	font-size: 18px;
	padding: 10px;
	line-height: 24px;
	color: rgba(0,0,0,0.87);
	display: inline-block;
	background: #fafafa;
	padding: 10px;
	margin: 3px 0px;
}
.panel{
	min-width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	position: absolute;
	margin-top: -150%;
	background-color: #fafafa;
	box-shadow: 0px 4px 7px rgba(0,0,0,0.6);
	opacity: 0;
	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,
#technology:target ~ #header #navigation #link-technology,
#about:target ~ #header #navigation #link-about,
#testimonials:target ~ #header #navigation #link-testimonials,
#contact:target ~ #header #navigation #link-contact{
	background: #000;
	color: #fff;
}

nav {
	z-index:10;
	height: 50px;
	width: 100%;
	font-size: 11pt;
	font-family: 'Arvo';
	position: absolute;
	top: 178px;
	background: #e0e0e0;
}
nav ul {
	padding: 0;
	margin: 0 0;
	width: 750px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
}
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}
nav a {
	background: #e0e0e0;
	color: black;
	display: inline-block;
	width: 150px;
	text-align: center;
	text-decoration: none;
	line-height: 50px;
	text-transform: uppercase;
	/*text-shadow: 1px 1px 0px #283744;*/
	margin-bottom: 0px;
	/*box-shadow: 1px 1px 2px rgba(0,0,0,0.2);*/
	font-size: 15px;
}
nav a:visited {
	color: black;
}
nav li a {
	/*border-right: 1px solid #576979;*/
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover {
	background: #fb515a;
	color: white;
}
nav a#pull {
	display: none;
}
@media screen and (max-width: 850px) {
	.content h2 {
		padding-top: 40px;
		padding-bottom: 108px;
		font-size: 40px;
	}
}
@media screen and (max-width: 750px) {

    nav { 
        border-bottom: 0;
        top: 0px;
        height: auto;
    }
    nav ul {
        width: 100%;
        display: none;
        height: auto;
    }
    nav li {
    	display: block;
        width: 100%;
        float: none;
        position: relative;
    }
    nav li a {
        border-bottom: 1px solid #576979;
        border-right: 1px solid #576979;
    }
    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
    nav a#pull {
        display: block;
        background-color: #314805;
        color: white;
        width: 100%;
        position: relative;
    }
    nav a#pull:after {
        content:"";
        background: url('../images/nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 0px;
        top: 15px;
    }
}

@media screen and (max-width: 550px) {
	.content h2 {
		padding-top: 150px;
		padding-bottom: 15px;
		padding-left: 10px;
		font-size: 40px;
	}
}

