/*CSS Reset Code Start*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
	width: 100%;
	margin: auto;
    line-height:1;
	background-image:url("LRDS Images/bg.jpg");
	background-repeat:no-repeat;
	background-size:100% 100%;
	
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/*CSS Reset Code End*/

#wrapper {
	width: 90%;
	margin: 40px auto; 
	background-color: white;
	border: 10px solid #f1f1f1;
}

img.displayed {
    display: block;
	max-width: 50%;
    margin-left: auto;
    margin-right: auto;
	
}

header {
	padding-top: 20px;

}

#topnav  li{
	
	display: inline; 
	font-family: helvetica, arial, sans-serif; 
	font-size: 18px; 
	color: #999;
	float: left;
	
	
}

	
#topnav ul{
	
	display: block; 
	margin: 20px 10px 20px 10px; 
	border: 5px solid #999;
	list-style-type: none;
	overflow: hidden;
    background-color: #999;
	position: center;
	Width: 400px auto;
}

#topnav li a {

    display: block;
    color: #006;
    text-align: center;
    padding: 8px 30px;
    text-decoration: none;
	border-left: 2px solid #f1f1f1;
	position: center;
	
}


 a:hover {
    background-color: #f1f1f1;
}


li a.active {
    background-color: #f1f1f1;
    
}

h1 { font-size: 36px; 
	color: #006;
	padding: 20px 0px 20px;
	text-align: center;
}

h2 { font-size: 24px;
	color: #006;
	padding: 10px;
	text-align: center;
	
	
}

h3 { font-size: 20px;
	color: #006;
	padding: 50px 0px 0px 0px;
	text-align: center;
}



#content {
	width: 100% auto;
	min-width: 40%;
	padding: 10px;
	margin-left: 10px;
	margin-right: 10px;
	color: #006;
	background-color: #f1f1f1;
	border: 1px #ccc solid;
	position: ;
}	

#gallery {
	height: 3500px auto;
	padding: 0px 0px 0px 0px;
	margin-left: 10px;
	margin-right: 10px;
	color: #006;
	background-color: #f1f1f1;
	border: 1px #ccc solid;
	

	}

	
	section.enlarge figure a{
		outline : none;
		}

    section.enlarge figure{
    display:inline-block; /*places the images in a line*/
    position: relative; /*allows precise positioning of the popup image when used with position:absolute - see support section */
    z-index: 0; /*resets the stack order of the list items - we'll increase in step 4. See support section for more info*/
    margin:10px 0px 10px 15px; /*space between the images*/
    }



    /***In the HTML in step one we placed the large image inside a <span>, now we move it off the page until it's required***/
    section.enlarge figure span{
    position:absolute; /*see support section for more info on positioning*/
    left: -9999px; /*moves the span off the page, effectively hidding it from view*/
    }



    /***Note: This styling will apply to both the thumbnail and popup image, unless you override these styles in step five***/
    section.enlarge figure img{
    /*give the thumbnails a frame*/
    background-color:#999; /*frame colour*/
    padding: 6px; /*frame size*/
    /*add a drop shadow to the frame*/
    -webkit-box-shadow: 0 0 6px rgba(132, 132, 132, .75);
    -moz-box-shadow: 0 0 6px rgba(132, 132, 132, .75);
    box-shadow: 0 0 6px rgba(132, 132, 132, .75);
    /*and give the corners a small curve*/
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	
    }

	 section.enlarge figure:hover{
	z-index: 50; /*places the popups infront of the thumbnails, which we gave a z-index of 0 in step 1*/
	cursor:pointer; /*changes the cursor to a hand*/
	}
	/***We bring the large image back onto the page by reducing left from -9999px (set in step 2) to figures below***/
	section.enlarge figure:hover span{ /*positions the <span> when the <li> (which contains the thumbnail) is hovered*/
	top: 50px; /*the distance from the bottom of the thumbnail to the top of the popup image*/
	left: -90px; /*distance from the left of the thumbnail to the left of the popup image*/
	}
	
		
	
.clearfloat {
	clear: both;
	
	}
	
article p{
	Padding: 10px;
}


footer {
	
	text-align: center;
	margin: 20px 10px; 
	border-top: 1px #ccc solid;
	border-bottom: 1px #ccc solid;
	padding: 15px 0px;
	position: center;
	clear: both;
	
}


#finfo  ul{
	
	margin: 0px 0px; 
	list-style-type: none;
	overflow: hidden;
    background-color: #999;
	padding: 10px;
	border: 2px #f1f1f1 solid;
	position: center;
}

#finfo  li{
	text-align: center;
	font-family: helvetica; 
	font-size: 16px; 
	color: #006;
	padding: 10px;
	
	
}