/*html5 display rule*/
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display:block;
}

html {
	min-height:960px;
	height:100%;
}

body {
	background: #E6E6E6;
	margin: 0;
	padding: 0;
	color: #000;
	width:100%;
	height:100%;	
	/* Firefox 3.6+ */ 
	/* -moz-radial-gradient( [<position> || <angle>,]? [<shape> || <size>,]? <stop>, <stop>[, <stop>]* ) */
	background: -moz-radial-gradient(20% 80%, circle, #fff, #CFCFCF);
	 
	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(radial, 20% 80%, 0, 20% 100%, 800, from(#fff), to(#CFCFCF));
	  
	/* Safari 5.1+, Chrome 10+ */
	background: -webkit-radial-gradient(20% 80%, circle, #fff, #CFCFCF);
	
}

.container {
	width: 1000px;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
	min-height:960px;
	height:100%;
	background: #fff;
}

/* -------------- Page Content -------------------*/

article.intro {
	position:relative;
	font-family: Arial, Helvetica, sans-serif;
	font-size:0.8em;
	position:relative;
	top:20px;
	margin:20px;
}

article img.subHead {
	float:left;
	position:relative;
	z-index:0;
	left:-5px;
	margin:0;
	padding:0;
}

article p {
	position:absolute;
	top:60px;
	z-index:1;
	width:485px;
	margin:0;
	padding:0;
}

article ul#subNav {
	position:absolute;
	left:500px;
	top: 17px;
	float:left;
	width:425px;
	list-style:none;
	margin:0 0 0 10px;
	padding:0;
}

article ul#subNav li {
	float:left;
}

article ul#subNav li a:hover {
	transition: background 0.5s, color 0.5s;
	-webkit-transition: background 0.5s, color 0.5s;
	-moz-transition: background 0.5s, color 0.5s;
	-o-transition: background 0.5s, color 0.5s;
	background: #828282;
	color:#fff;
}

article ul li a {
	text-decoration:none;
	font-size:.75em;
	display:block;
	background: #E4BA75;
	margin:0;
	padding: 7px 15px 7px 15px;
	transition: background 1s , color 1s;
	-moz-transition: background  1s, color 1s;
	-webkit-transition: background  1s, color 1s;
	-o-transition: background  1s, color 1s;
}

article ul li#current a {
	text-decoration:none;
	font-size:.75em;
	display:block;
	background: #828282;
	color:#fff;
	margin:0;
	padding: 7px 15px 7px 15px;
}

article p a:hover {
	color:#828282;
}

/*--------- GALLERY ----------------*/

#galleryBox {
	clear:both;
	position:relative;
	top:160px;
	width:802px; 
	height:562px; 
	padding:20px; 
	border:0; 
	margin:20px auto;
	background-color:#828282;
	-moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.75);
	box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.75);
}

#galleryBox a {outline: none;}

#galleryBox img {
	border: none;
}

ul#galleryThumbs {
	overflow: none;
	padding: 0px;
	list-style: none;
	position: relative;
	top:0px;
	left:0px;
	margin:0 auto;
}

ul#galleryThumbs a {
	transition: opacity .5s ease-in-out;
	-moz-transition: opacity .5s ease-in-out;
	-webkit-transition: opacity .5s ease-in-out;
	-o-transition: opacity .5s ease-in-out;
	display: block;
	overflow: hidden;
	float: left;
	margin: 0;
	opacity: 0.75;
}

ul#galleryThumbs a img {
	width: 75px;
}

ul#galleryThumbs a:hover {
	opacity: 1;
} 

#gallery img {
	height:500px;
	opacity: 1;
}

#gallery{
	clear:both;
	margin: 10px auto;
	padding: 0px;
	list-style: none;
	position: relative;
	top:10px;
	height: 500px;
	width:800px;
	overflow: hidden;
	background-color:#828282;
	background-image:url(../print-3dimensional/_galleryLarge/lagrange_1.jpg);
	background-repeat:no-repeat;
}

#gallery img {
	position: absolute;
	opacity: 1;
	z-index: 5;
	top: 0; 
	border:0;
}

#gallery img:target {
	transition: all 0.5s; 
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
	-o-transition: all 0.5s		; 
	top:0px;
	left: 0px;
	z-index: 10;
	opacity: 1;
}

#gallery img:not(:target) {
	transition: all 1s; 
	-webkit-transition: all 1s; 
	-moz-transition: all 1s; 
	-o-transition: all 1s;
	opacity:0;
  	z-index:0;
	top:0px;
	left: 0px;
}
