
body {
	font-family: trebuchet ms, verdana, arial, tahoma;
	font-size: 90%;
	color: #888;
	background-color: #F4F9FC;
	line-height: 180%;
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Set the page width */
#wrapper-menu-top, #header, #wrapper-content, #wrapper-footer , #header-index , #header-contact , #header-location , #header-services , #header-gallery {
	width: 980px;
	margin: 0 auto;
	text-align: left;
}

#wrapper-menu-top {
	background: white;
	background-color: #F4F9FC;

}

#menu-top {
	background: transparent;
	overflow: hidden; /* no idea why this works, but it fixes a FF problem */
}

#menu-top ul {
	margin: 0 20px;
	padding: 1em 0 0 0;
	list-style: none;
	font-size: 85%;
	float: left;
}

#menu-top li {
	display: inline;
	float: left;
}

#menu-top a {
	float: left;
	background:url(images/menuleft.png) no-repeat left top;
	margin:0;
	padding:0 0 0 4px;
	text-decoration:none;
	line-height: 1.5em;
}

#menu-top a span {
	background: transparent url(images/menuright.png) no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#5b8fbe;
	display: block;
	float: left;
	cursor: pointer; /* IE doesnt display the hand when you roll over the link for some reason. This fixes it */
}

 #menu-top a:hover { background-position:0% -42px; }
 #menu-top a:hover span {	background-position:100% -42px; }

#wrapper-header {
	background: transparent url('images/bg.png') top center repeat-x;
}

#header {
	background: #eee url('images/top-image-2.jpg') no-repeat center top;
	width: 980px;
	border: 1px solid gray;
	border-top: 2px solid #F4F9FC;
}

#header-index {
	background: #eee url('images/sparks.jpg') no-repeat center top;
	width: 980px;
	border: 1px solid gray;
	border-top: 2px solid #F4F9FC;
}

#header-contact {
	background: #eee url('images/eishort-marine-1.jpg') no-repeat center top;
	width: 980px;
	border: 1px solid gray;
	border-top: 2px solid #F4F9FC;
}
#header-location {
	background: #eee url('images/skyejet-1.jpg') no-repeat center top;
	width: 980px;
	border: 1px solid gray;
	border-top: 2px solid #F4F9FC;
}
#header-services {
	background: #eee url('images/welding.jpg') no-repeat center top;
	width: 980px;
	border: 1px solid gray;
	border-top: 2px solid #F4F9FC;
}
#header-gallery {
	background: #eee url('images/top-image-2.jpg') no-repeat center top;
	width: 980px;
	border: 1px solid gray;
	border-top: 2px solid #F4F9FC;
}
#wrapper-header2 {
	background: transparent url('images/bg02-blue-left.png') top left no-repeat;
}

#wrapper-header3 {
	background: transparent url('images/bg02-blue-right.png') top right no-repeat;
}

#header h1 , #header-index h1 , #header-contact h1 , #header-location h1 , #header-services h1 , #header-gallery h1{
	margin: 0 20px;
	padding: 5;
	height: 160px;
	line-height: 3em;
	color: #fff;
	font-size: 190%;
}

#wrapper-content {
	background: white url('images/bg02-white-left.png') no-repeat left top;
	border: 1px solid gray;
}
#avmenu {
clear: left;
float: left;
width: 152px;
margin: 5px 0px 10px 0px;
padding: 2px;
font-size: 0.9em;
}

#avmenu ul {
list-style: none;
width: 152px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}

#avmenu li {
margin-bottom: 4px;
}

#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #3F4194;
display: block;
padding: 6px 0 3px 10px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
border-right: 4px solid #cccccc;
}

#avmenu li a:hover {
background: orange;
color: #fff;
border-left: 4px solid #286ea0;
border-right: 4px solid #286ea0;
}
#avmenu .selected {
background: orange;
color: #fff;
border-left: 4px solid #286ea0;
border-right: 4px solid #286ea0;
}

.announce {
padding: 3px 0 20px 10px;
width: 143px;
color: #505050;
background-color: #e5f0fc;
line-height: 1.3em;
font-size: 100%;
}

.announce a:hover {
color: orange;
}
#content a:hover{
color: orange;
}


* html #wrapper-content { height: 1%; }

#content {
margin: 0 0 0 156px;
background: transparent url('images/bg02-white-right.png') no-repeat right top;
padding: 5px 20px 5px 12px;
border-left: 1px solid gray;

}

#menu-page a:link, #menu-page a:visited { color: #888; }
#menu-page a:hover { color: #5b8fbe; }

#wrapper-footer {

}

#footer {
	background-color: #e5f0fc;
	border-top: 1px solid gray;
	border-bottom: 0;
	width: 980px;
	text-align: center;
}
h2 {
font-size: 110%;

}
#content h2 {
font-size: 110%;
margin: 2px 0 0 0;

}
h3 {
font-size: 90%;
padding: 0;
margin: 15px 0 0 0;
}
a:link, a:visited {
color: #5b8fbe;
text-decoration: none;
}
a:hover {
color: #666;
text-decoration: none;

}
#photo-right {
margin: 5px 0px 5px 15px;
float: right;
}
#photo-left {
margin: 5px 15px 5px 0px;
float: left;
}
#content img {
border: 5px solid #f0f0f0;
}
.border {
border: 3px solid #f0f0f0;
}
.borderdark {
border: 5px solid #ccc;
}
#content .now {
border: 3px solid red;
font-style: bold;
}
#menu-top a span.selected{
	background: transparent url(images/menuright.png) no-repeat right top;
	padding:5px 15px 4px 6px;
	color: #2A3798;
	font-style: bold;
	display: block;
	float: left;
	cursor: pointer; /* IE doesnt display the hand when you roll over the link for some reason. This fixes it */
}

.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 3px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #f4f4f4;
padding: 25px 12px 15px 12px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: gray;
font-style: italic;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 245px; /*position where enlarged image should offset horizontally */
z-index: 1;
}
.right-text {
float: right;
width: 490px;
margin: 130px 20px 0 0;
color: gray;
font-size: 110%;
font-style: italic;
}
#footer a:hover{
color: orange;
}
#blue {
margin: 18px 10px 5px 0;
float: left;
padding: 40px 40px 40px 40px;
width: 700px;
color: navy;
background-color: #659dbe;
line-height: 1.3em;
font-size: 140%;
text-align: center;
border: 2px solid gray;
}
#blue a {
color: #fff;
font-size: 140%;
}
#blue a:hover {
color: orange;
}
.small {
font-size: 75%;
}
