/*CSS Reset*/

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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

.group:before,
.group:after {
    content: "";
    display: table;
}
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

@font-face {
    font-family:neuropol;
    src: url(../fonts/NEUROPOL.ttf);
    font-weight: normal;
    font-style: normal;

}
p{
	font-family:Arial, Helvetica, sans-serif;
}
h1{
	font-family:neuropol;
	font-size: 3.9em;
	color: #838384;
	
}

h2{
	font-family: neuropol;
	font-size:2em;
}
h3{
	font-family: neuropol;
	font-size:.8em;
}
h4{
	font-family:Arial, Helvetica, sans-serif;
	
}
body{
/*	background:url(../images/background.jpg)repeat center ;*/}


#content{
	height:auto;
	width:1100px;
	margin:0 auto;
}
header{
	margin:15px auto;
	height:76px;
	width:1100px;
	text-align:right;
}
header h1{
	margin:5px 0 0 0;
}
#circuit-header{
	height:100%;
	width:auto;
	background:url(../images/header-circuit.jpg) no-repeat left;
	float:right;
	padding:0 0 0 125px;
}

nav{
	position:relative;
	width:114px;
	height:auto;
	float:left;
	padding:50px 0 175px 0;
	background-image:url(../images/sidebar-bottom.jpg), url(../images/sidebar-top.jpg), url(../images/sidebar-middle.png);
	background-position:bottom right,top right, right;
	background-repeat: no-repeat,no-repeat, repeat-y;
}
nav ul{
	width:auto;
	list-style:none;
}
nav ul li{
	position:relative;
	width:100px;
	margin:0 0 15px 0;
	overflow: visible;
	z-index: 1;
	text-align:center;
}
nav ul li a{
	padding:55px 0 0 0;
	text-decoration: none;
	font-size:.8em;
	color:black;
	font-family: neuropol, helvetica;
	display:inline-block;
}
nav ul li:nth-child(3n+1) a{
	background:url(../images/button-orange-small.png) no-repeat top ;
}
nav ul li:nth-child(3n+2) a{
	background:url(../images/button-red-small.png) no-repeat top ;
}
nav ul li:nth-child(3n+3) a{
	background:url(../images/button-green-small.png) no-repeat top ;
}
nav ul li img{
	z-index: -1;
	position:absolute;
	top:-6px;
	left:19px;
	opacity:0;
}
#home-button{
	position:absolute;
	width:40px;
	text-align:center;
	bottom:83px;
	right:35px;
	background:url(../images/home-button.png)no-repeat top;
	/*
	opacity:.5;
		transition: opacity .25s;
		-moz-transition: opacity .25s;
		-webkit-transition: opacity .25s;
		-o-transition: opacity .25s;*/
	
	
}
#home-button:hover{
	opacity:1;
}
#home-button a{
	text-decoration:none;
	color:black;
	font-family: neuropol, helvetica;
	display:inline-block;
	padding:42px 0 0 0;
	font-size:.7em;
}
a.current img{
	opacity:1;
}
#portfolio{
	height:auto;
	width:960px;
	margin:23px 0 0 0;
	padding:0 0 0 25px;
	float:left;
}
.portfolio-item{
	height:auto;
	margin-bottom:75px;
	border-width:1px;
	border-style:solid;
	border-color:#cbcbcb;
	padding:10px;
	position:relative;
}
.port-item{
 	background: url(../images/magnify.png) no-repeat scroll 175px -78px black;
    border-color: #838384;
    border-style: solid;
    border-width: 2px;
    float: left;
    height: 275px;
    margin:0 20px 0 0;
    width: 450px;
    overflow: hidden;
}
.portfolio-item:nth-child(even) .port-item{
	float:right;
	margin:0 0 0 20px;
}
.portfolio-item p{
	font-size:1.1em;
	color: #838384;
	margin:0 0 20px 0;
}
.portfolio-item p:last-of-type{
	margin:0;
}
.category {
	min-height:519px;
	width:100%;
	margin-bottom:60px;
	border-style:solid;
	border-width:1px;
	border-color:#cbcbcb;
	padding:20px;
}
.category img{
	border-style:solid;
	border-width:5px;
	border-color:#cbcbcb;
	margin:11px;
	border-radius:10px;
	transition: border-color 1s, margin .5s;
	-moz-transition:border-color .5s, margin .5s;
	-webkit-transition: border-color .5s, margin .5s;
	-o-transition:border-color .5s, margin .5s;
	

}
.category img:hover{
	border-style:solid;
	border-width:5px;
	border-color:black;
	margin:5px;
	border-radius:10px;

}
.category h2{
	margin-bottom:10px;
}
footer{
	background:url(../images/footer-circuit.jpg)no-repeat top left;
	height:76px;
	padding:10px 0 0 115px;
	width:985px;
	margin:0 auto;
	margin-bottom:40px;
	overflow:hidden;
}
footer h4{
	float:left;
}
footer ul{
	float:right;
}
footer ul li{
	display:inline;
	margin:0 0 0 5px;
}

.clear{
	clear:both;
}
