html, body, #wrapper {
min-height: 100%; /*Sets the min height to the
height of the viewport.*/
width: 100%;
height: 100%; /*Effectively, this is min height
for IE5+/Win, since IE wrongly expands
an element to enclose its content.
This mis-behavior screws up modern
browsers*/
margin: 0;
padding: 0;
}

html>body, html>body #wrapper {
height: auto; /*this undoes the IE hack, hiding it
from IE using the child selector*/
}

#wrapper {
position: absolute;
top: 0;
left: 0;
left-margin:auto;
right-margin:auto;
} 

body {
	min-height: 100%; /*Sets the min height to the
	height of the viewport.*/
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	/*font: normal small "Trebuchet MS", Arial, Helvetica, sans-serif;*/
	font:Arial normal 11px;
	color:#31333B;
	width: 100%;
	height: 100%; /*Effectively, this is min height
	for IE5+/Win, since IE wrongly expands
	an element to enclose its content.
	This mis-behavior screws up modern
	browsers*/

}

li
{

list-style-image:url(images/square.gif);
}

#main { 
 margin-bottom: 5em; /*Modify value as needed for  
  footer height.*/ 
 height: auto; 
 padding: .5em; 
 } 


#header {
	margin-top:-3px;
	width: 850px;
	height: 200px;
	margin-left: auto;
  margin-right: auto;
  
 /* background-image:url(custom_files/your_image1.png);*/
}

#menu {
	text-align:center;
	margin-left: auto;
  margin-right: auto;
	width: 850px;
	height: 40px;
	margin: 0 auto;
	background: #1749A0;
	position:relative;
	float:inherit;
	top:auto;
	z-index:1;
}



#menu ul {
	margin: 0;
	padding: 0px 0px 0px 0px;
	list-style: none;
}

#menu li {
	display: inline;
}




#menu a {
	display: block;
	float: left;
	margin-left: 20px;
	height : 25px;
	padding: 15px 10px 0px 5px;
	font-family:Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing:0px;
	font-size: 10px;
	font-weight: bold;
	color: #FFFFFF;
	
	
}

#smenu {
	height : 65px;
	margin:0 auto;	
	display:block;
	left:88px;
	top:42px;
	visibility:hidden;
	z-index:3;
	position:absolute;
	background:#1749A0;
	width:148px;
	font-family:Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing:0px;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	text-align:center;
}

#smenu a {
	display: block;
	height : 17px;
	margin:0 auto;	
	width:140px;
	padding:1px;
	font-family:Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing:0px;
	font-size: 10px;
	font-weight: bold;
	color: #FFFFFF;
			
}


#smenu a:hover {	
	background: #EAC26E;
	color: #1749A0;
}


#menu a:hover {	
	background: #EAC26E;
	color: #1749A0;
}

#menu .active a {
	border-bottom: 5px solid;
	border-color: #EAC26E;
}

#content {
	width: 850px;
	margin: 0 auto;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	text-align : justify; 
	padding-bottom: 9em;
	height:100%;
	font-size:11px;
	font-family:Arial;
	
	
}

.bgblue
{
background-color:#D1DDEF;
}
.cream
{
background-color:#FFFFCC;
}

#right {
	width: 595px;
	padding: 5px;
	margin-left:5px;
	float:right;
	/*background: #ff00ff;*/
	}

table{
border-top:medium;
border:medium;

}


#left {
	width: 200px;	
	margin: 5px;
	position:absolute;
	float:left;
	padding:5px;
	padding-top:0px;
	

	/*background: #ff0000;*/
}

form {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
margin:3px;
}

#footer {
	bottom: 0; 
 	width: 850px; 
 	text-align: center; 
	/*width: 850px;
	margin: 0px auto;*/
	padding: 3px 3px;
	height: 35px;
	border-top: 1px solid #FFFFFF;
	background: #1749A0;
	 position: relative; 
	margin-top: -9em;
	float:inherit;
	clear: both;
	margin-left: auto;
    margin-right: auto;
}

.padds {
padding-left:20px;
text-align:left;

}

.first_padds
{
padding-left:5px;
text-align:left;



}


#footer p {
	margin: 0px;
	padding-top: 5px;
	text-align: center;
	font-size: 11px;
	color: #FFFFFF;
}

#footer a {
	color: #ffffff;
}

#footer a:hover {
	color: #ffffff;
}

.underline	{
padding-left:12px;
 background: url(images/square.gif) no-repeat left center;
color:#3f71b6;
font-weight:100;

}

.highlight	{
color:#CC6600;
size:12px;
font-weight:bold;

}



 h1,h2 {
 color:#8fa819;font-family: "Trebuchet MS",arial, helvetica, sans-serif;font-weight:bold;font-size:15px;padding-left:12px;
 background: url(images/arrow.gif) no-repeat left center;
 text-transform: uppercase;
 letter-spacing:1.5px;
 }
 
.blue {
color:#3f71b6;
font-weight: 800;
}

.bluesquare {
 color:#3f71b6;
 font-weight: 800;
 padding-left:12px;
 background: url(images/square.gif) no-repeat left center;
}


a {
color:#3f71b6;
}

a:hover {
color:#3f71b6;
text-decoration :none;
}

hr {
width:100%;
height: 1px;
color:#8fa819;
background-color:#8fa819;

}
 
#resol {
left:1280px;
text-align:left;
position:fixed!important;
position:absolute;
width:300px;
margin:0 auto;
background:transparent;

} 
#resol h1 {
background:none;
font-size:1.5em;
letter-spacing:12px;
padding:0px;margin:0px;
}
#resol h2 {
font-size:0.8em;letter-spacing:1px;
padding:0px;margin:0px;
background:none;
}
#copyrightkit {
width:850px;
margin-left: auto;
margin-right: auto;
text-align:right;
}
#copyrightkit, #copyrightkit a {
color:#cdd2da; 
}

#copyrightkit a:hover {
text-decoration:underline;
}

<!--Photo gallery CSS-->
#overlay{ background-image: url(images/overlay.png); }

* html #overlay{
	background-color: #000;
	back\ground-color: transparent;
	background-image: url(images/spacer.png);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/overlay.png", sizingMethod="scale");
	}
	
#lightbox{	position: absolute;	left: 170; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 30%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }