/* Nelson Farms Global CSS Document */
*{
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
a img{
	border: none;
}
body{
	background-image: url(../images/background.gif);
	color: #333333;
	line-height: 1.5em;
	text-align: center;
}
.floatright{
	float: right;
	margin-right: -27px;
}
#border{
	padding: 0 25px 0 25px;
	position: relative;
	background-image: url(../images/woodenpannel.jpg);
	border-left: 3px solid #DAECEC;
	border-right: 3px solid #DAECEC;
	border-bottom: 3px solid #DAECEC;
	width: 700px;
	text-align: left;
	margin: auto;
}
#container{
	background-color: #DAECEC; 
	z-index: 5;
	position: relative;
	background-image: url(../images/containBack.gif);
	background-repeat: repeat-y;
}
	#container #mast{
		position: relative;
		height: 282px;
		background-image: url(../images/masthead_n.jpg);
		background-repeat: no-repeat;
		z-index: 10;
		}
		#container #mast.store{
			background-image: url(../images/masthead_s.jpg);
			background-repeat: no-repeat;
		}
		#container #mast h1{
			font-weight: bold;
			display: none;
		}
	#container #body{
		z-index: 15;
		background-color: white; 
		padding: 0 27px 2em 17px;
		position: relative;
		float: right;
		width: 501px;
		}
		#container #body h2{
			padding: 1.75em 0 10px 0;
			clear: left;
		}
		#container #body h3{
			border-bottom: 1px dotted #999999;
			margin-bottom: 1em;
			clear: left;
			}
		#container #body h4{
			clear: left;
			
			margin-bottom: 1em;
		}
		#container #body p{
			margin-bottom: 1em;
		}
		#container #body ul{
			margin-bottom: 1em;
		}
		#container #body hr{
			position: relative;
			width: 500px; 
			height: 1em;
			border: 0;
			margin-bottom: 1em;
		}
		#container #body blockquote{
			margin-left: 2em;
			margin-bottom: 1em;
		}
		#container #body ul{
			margin-left: 34px;
			margin-top: 0;
			
			}
			#container #body ul li{
				list-style-type: disc;
				list-style-position: outside;
				margin-bottom: .25em;
			}
			#container #body ul.anchors{
				margin-left: 17px;
				}
				#container #body ul.anchors li{
					list-style-image: url(../images/arrow.gif);
				}
				#container #body ul.anchors li:hover{
					list-style-image: url(../images/arrowhover.gif);
				}
		#container #body #form ol{
			clear: left;
			margin-bottom: 1em;
			padding:0;
			}
			#container #body #form ol li{
				display: block;
				float: left;
				margin-right: .5em;
			}
			#container #body #form h3{
				padding-top: 1em;
			}
	#container #nav{
		position: relative;
		padding-top: 2em;
		padding-bottom: 1em;
		z-index: 20;
		width: 155px;
		float: left;
		}
		#container #nav li{
			text-align: center;
			display: block;
			padding: 2px 0 10px 0;
			background-image: url(../images/navbar.gif);
			background-position: bottom;
			background-repeat: no-repeat;
			font-variant: small-caps;
		}
		#container #nav li a{
			display: block;
			width: 120px;
			margin-left: 17px; 
			padding: 0px 0 1px 0;
			text-decoration: none;
			font-weight: bold;
		}
		#container #nav li a:hover{
			background-color: white;
			color: #CC9900;
		}
		#container #nav li a.current{
			background-color: white;
		}
			#container #nav li ul{ 
				margin-left: 0;
			}
			#container #nav li ul li{
				margin: 0;
				padding: 0;
				background: none;
				padding: 1px 0 1px 0; 
				text-align: center;
			}
			#container #nav li ul li a{
				margin: auto;
				padding: 0px 0 0px 0;
				border-bottom: 1px dotted #666666; 
			}
			#container #nav li ul li a:hover{
				background: white;
			}
	#container #footer{
		position: relative;
		background-image: url(../images/woodenpannel_90.jpg);
		height: 25px;
		z-index: 30;
		clear: both;
		}
		#container #footer a{
			color: white;
			margin-right: 2em;
			font-weight: bold;
		}
			#container #footer a:hover{	
				color: #DAECEC;
			}
		#container #footer #backtotop{
			position: absolute;
			top: 2px;
			right: 2px;
		}
		#container #footer #signs{
			position: absolute;
			top: -150px;
			right: -58px; /* adjust with width of #border */
		}
		
/* Value Added Page */
#container #body div.valueaddedsection{ 
			clear: both;
		}
			#container #body img.valueaddedphoto{
				float: left;
				clear: left;
				margin: 0 .5em 1em 0;
			} 
			#container #body div.valueaddedtext{
				float: left;
				width: 360px;
			} 

/* Promo */
.promo{
			clear: both;
			overflow: auto;
			padding-bottom: 1em;
		}
		.promoimg{
			width: 75px;
			height: 75px;
			margin: .35em .75em .75em 0; 
			float: left;
		}
		.promotext{
			float: left;
			width: 350px;
		}
		.docicon{
			background: url(../images/pdffile.gif) left no-repeat;
			padding: 2px 0 2px 18px;
		}
		
/* LightBox Stuff */
.xlink {
  font-family: verdana;
  font-size: 1em;
  padding-top: 0.5em;
  font-weight: bold;
}

.xlink a {
  color: #f6c053;
}

.xlink a:hover {
  color: white;
}

#lightbox {
  background-color: #7490a0;
  padding: 10px;
  border: 1px solid #00502e;
}

#lightboxDetails {
  font-size: 1em;
  padding-top: 0.5em;
  font-family: verdana;
  color: #e2e7dc;
}
	
#lightboxCaption { 
  float: left; 
	width: 70%;
	text-align: left;
}

#lightboxCaption .description{
	font-size: .85em;
}

#keyboardMsg { 
  float: right; 
}

#closeButton { 
  top: 5px; 
  right: 5px;
}

#lightbox img { 
  border: 1px solid #ffffff; 
  clear: both;
} 

#overlay img { 
  border: none; 
}

#overlay { 
  background-image: url('images/overlay.png'); 
}

* html #overlay {
  background-color: #333;
  background-color: transparent;
  background-image: url(blank.gif);
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/overlay.png", sizingMethod="scale");
}

#container #nav li a.facebooklink{
	background: url("../images/facebookicon.png") left center no-repeat;
	text-align: left;
	padding-left: 30px;
}
