@charset "UTF-8";
/* CSS Document */

body {
	text-align: center;
	background-color: #b3deee;
	background-image: url(images/tile.jpg);
	background-repeat: repeat-x;
	color: #fff;
	font-family: Trebuchet, "Trebuchet MS", sans-serif;
	font-size: 14px;
	line-height: 18px;
}

h1
{
	font-size: 28px;
	color: #0c73e7;
	text-align: center;
	margin: 2px 0 18px 0;
}
h2
{
	font-size: 22px;
	color: #0c73e7;
	text-align: left;
	margin: 2px 0 18px 0;
}
h3
{
	font-size: 22px;
	color: #fff;
	text-align: left;
	margin: 2px 0 18px 0;
}
h4
{
	font-size: 42px;
	color: #0c73e7;
	text-align: center;
	margin: 40px 0 20px 0;
}
h5
{
	font-size: 28px;
	text-align: center;
	margin: 40px 0 30px 0;
}
p { margin: 0 0 18px 0; }

.rm { position: absolute; left: 9999px; }

#pagewrap {
	min-width: 860px;
	max-width: 90%;
	position: relative;
	text-align: left;
	margin: 0 auto;
}

#masthead {
	position: relative;
	background-image: url(images/sky.jpg);
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	height: 218px;
}

#masthead div{
	position: relative;
	background: transparent;
	z-index: 9;
}

#masthead img#left {
	position: absolute;
	left: 0%;
	z-index: 8;
}

#masthead img#right {
	position:absolute;
	right: 0%;
	z-index: 7;
}

#masthead img#logo {
	margin: 0 auto;
	margin: 15px 0 0 0;
}

#nav {
	background-image: url(images/button-tile.gif);
	background-repeat: repeat-x;
	height: 68px;
	position: relative;
	z-index: 10;
	margin: -7px 42px 0 239px;
	text-align: center;
	overflow: hidden;
}
	#nav ul
	{
		width: 542px;
		margin: 0 auto;	
	}
	#nav ul li a
	{
		display: block;
		background-image: url(images/navbuttons.gif);
		background-repeat: no-repeat;
		height: 38px;
		float: left;
	}
		a#lnkFenceStyles
		{
			width: 136px; 
			background-position: 0 0;
		}
			a#lnkFenceStyles:hover
			{
				background-position: 0 -38px;
			}
			a#lnkFenceStyles:active
			{
				background-position: 0 -76px;
			}
		a#lnkOurWork
		{
			width: 135px;
			background-position: -136px 0;
		}
			a#lnkOurWork:hover
			{
				background-position: -136px -38px;
			}
			a#lnkOurWork:active
			{
				background-position: -136px -76px;
			}
		a#lnkAboutUs
		{
			width: 135px;
			background-position: -271px 0;
		}
			a#lnkAboutUs:hover
			{
				background-position: -271px -38px;
			}
			a#lnkAboutUs:active
			{
				background-position: -271px -76px;
			}
		a#lnkContactUs
		{
			width: 136px;
			background-position: -406px 0;
		}
			a#lnkContactUs:hover
			{
				background-position: -406px -38px;
			}
			a#lnkContactUs:active
			{
				background-position: -406px -76px;
			}

#contentrap
{
	background-image: url(images/wide-tile.jpg);
	background-repeat: repeat-y;
	margin: -68px 31px 0 34px;
	overflow: hidden;
}
#sidebar
{
	width: 160px;
	float: left;
	background-image: url(images/sidebar-bg.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
	padding: 20px 16px 20px 24px;
	text-align: center;
}
	#sidebar .market1
	{
		font-size: 15px;
		line-height: 19px;
	}
	#sidebar .market2
	{
		font-size: 16px;
		line-height: 20px;
	}
#bd
{
	background-image: url(images/right-bar-tile.jpg);
	background-repeat: repeat-y;
	background-position: right;
}
#content
{
	margin: 0;
	padding: 68px 40px 0 40px;
	background-image: url(images/right-bar.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	overflow: hidden;
}
#footer
{
	background-image: url(images/footer.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
	text-align: center;
	height: 56px;
	margin: 0 31px 0 34px;
	padding-bottom: 16px;
	background-color: #b3deee;
}
	#footer img
	{
		float: right;
		margin-top: -3px;
	}
	#footer span
	{
		position: relative;
		top: 46px;
		font-size: 11px;
		color: #0c73e7;
	}	
.wrapper
{
	margin: 0 0 0 12px;
	padding: 15px 0 12px 0;
	border: 3px double #fff;
	border-width: 3px 0 0 0;
	overflow: hidden;
}
.wrapper img
{
	float: right;
	margin: 0 0 0 5px;
}

.about
{
	width: 314px;
	float: right;
	padding: 0 0 0 5px;
	border:hidden;
	margin: 0;
}

.work
{
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	}
.work2
{
	width: 163px;
	height: 102px;
	margin: 0;
	padding: 0 3px 6px 3px;
	}
