/*html5 display rule*/
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display:block;
}

html {
	min-height:825px;
	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:825px;
	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 ul#subNav {
	position:relative;
	top: 0px;
	float:left;
	width:525px;
	list-style:none;
	margin:0 0 0 10px;
	padding:0;
}

article ul#subNav li.thumbNav {
	float:left;
}

article ul#subNav li.thumbNav 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:auto;
	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;
}

/*------ SLIDESHOW ------------*/

#frame {
	clear:both;
	position:relative;
	top:40px;
	width:802px; 
	height:502px; 
	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);
}

#gallery {
	width:800px; 
	height:500px; 
	position:relative; 
	overflow:hidden; 
	border:0;
}

#gallery a img {
	border:0;
}

#gallery img {
	position:absolute; 
	left:-800px; 
	top: 0; 
	z-index:1; 
	border:0;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-animation-duration:40s;
}

#gallery img.p1 {
	left:0;
}

@-webkit-keyframes show1 {
	0% {left:0;}
	10% {left:0;}
	11% {left:800px;}
	100% {left:800px;}
}

@-webkit-keyframes show2 {
	0% {left:-800px;}
	10% {left:-800px;}
	11% {left:0;}
	20% {left:0;}
	21% {left:-800px;}
	100% {left:-800px;}
}

@-webkit-keyframes show3 {
	0% {left:800px;}
	20% {left:800px;}
	21% {left:0;}
	30% {left:0;}
	31% {left:800px;}
	100% {left:800px;}
}

@-webkit-keyframes show4 {
	0% {left:-800px;}
	30% {left:-800px;}
	31% {left:0;}
	40% {left:0;}
	41% {left:-800px;}
	100% {left:-800px;}
}

@-webkit-keyframes show5 {
	0% {left:800px;}
	40% {left:800px;}
	41% {left:0;}
	50% {left:0;}
	51% {left:800px;}
	100% {left:800px;}
}

@-webkit-keyframes show6 {
	0% {left:-800px;}
	50% {left:-800px;}
	51% {left:0;}
	60% {left:0;}
	61% {left:-800px;}
	100% {left:-800px;}
}

@-webkit-keyframes show7 {
	0% {left:800px;}
	60% {left:800px;}
	61% {left:0;}
	70% {left:0;}
	71% {left:800px;}
	100% {left:800px;}
}

@-webkit-keyframes show8 {
	0% {left:-800px;}
	70% {left:-800px;}
	71% {left:0;}
	80% {left:0;}
	81% {left:-800px;}
	100% {left:-800px;}
}

@-webkit-keyframes show9 {
	0% {left:800px;}
	80% {left:800px;}
	81% {left:0;}
	90% {left:0;}
	91% {left:800px;}
	100% {left:800px;}
}

@-webkit-keyframes show10 {
	0% {left:-800px;}
	90% {left:-800px;}
	91% {left:0;}
	99% {left:0;}
	100% {left:-800px;}
}

#gallery img.p1 {
	-webkit-animation-name: show1;
}

#gallery img.p2 {
	-webkit-animation-name: show2;
}

#gallery img.p3 {
	-webkit-animation-name: show3;
}

#gallery img.p4 {
	-webkit-animation-name: show4;
}

#gallery img.p5 {
	-webkit-animation-name: show5;
}

#gallery img.p6 {
	-webkit-animation-name: show6;
}

#gallery img.p7 {
	-webkit-animation-name: show7;
}

#gallery img.p8 {
	-webkit-animation-name: show8;
}

#gallery img.p9 {
	-webkit-animation-name: show9;
}

#gallery img.p10 {
	-webkit-animation-name: show10;
}

#gallery:hover img {
	-webkit-animation-play-state: paused;
 }
