body{
color:#777;
background: #222 none no-repeat left top;
}

.wrapper{ 
background: #fff url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/bg.png) repeat-x left top;
}

#subpage .wrapper{
background: #fff url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/bg.png) repeat-x 0 -350px;
	position: relative;
}

.subwrapper{
background: #fff none repeat-x 0;
	margin-top: 28px;
	position: relative;
	bottom: 40px;
}

#footerwrap, #subpage #footerwrap{
background: #222;
	position: relative;
	width: 960px;
}

#top .logo a, #top .logo a:hover{
background: transparent none no-repeat left top;
	width: 299px;
	height: 250px;
}

/*HEAD AREA*/

#nav{
margin:0;
padding:0;
list-style-type:none;
list-style-position:outside;
position: absolute; 
z-index:5;
	text-decoration: none;
	line-height: 50px;
}

#header #headernav{ right: 0px; z-index:2; overflow:visible;
}
#header ul.nav-header{ list-style:none; margin:0px; padding:0px; width:auto; z-index:2; overflow:visible; float: right;
}
#header ul.nav-header li{float:left; padding:2px 0px; margin-left:16px; margin-bottom: 0px; color: #ececec; margin-top:0px;
	font-size: 16px;
}
#header ul.nav-header li a{ text-decoration:none; color: #ececec;
}

#header ul.nav-header li a:hover{ text-decoration:none; color:#999999 }
#header ul.nav-header li.nav-selected{ padding:2px 8px;
	text-shadow: #e5e5e5 4px 2px 40px;
	opacity: 0.52;
}

#sub {
	background-image: none;
}

#sub #sidebar ul.nav{ list-style:none; margin-left:0px; padding:0px; padding-left: 22px;
	list-style-type: none;
	list-style-image: none;
	text-align: left;
}
#sub ul.nav li{ margin-bottom:16px;
	list-style-type: none;
	list-style-image: none;
	text-align: left;
}
#sub ul.nav a{ text-decoration:none; color: navy;
	list-style-type: none;
	text-align: left;
}
#sub ul.nav a.nav-selected {font-weight: bold;
	list-style-type: none;
	list-style-image: none;
	color: black;
	text-align: right;
}
#sub ul.nav a:hover{ text-decoration:underline;
	list-style-type: none;
	list-style-image: none;
}
#sub ul.nav ul{ list-style:none; margin-left:0px; padding:0px; padding-left:16px; margin-top:16px;
	list-style-type: none;
	list-style-image: none;
}
#sub ul.nav ul li{ margin-bottom:16px;
	list-style-type: none;
}

/*content*/
.showborder
{
border: 1px solid black;
}
 



/*pagination*/

 

 

#top .pagination .current{
background: #666666;
border:1px solid #222;
color:#fff;
}




/*footer*/
#footer{
color: #f1f1f1;
	background-position: 0 bottom;
}

#footercopy{
width: 100%;
position: relative;
padding-top: 20px;
margin: 20px auto 0;
	color: #d5d5d5;
	height: inherit;
	background: #222 none no-repeat center;
}

#footercopy .inner{
padding-top: 2px;
	color: #f0f0f0;
	background-position: center;
	padding-bottom: 2px;
	height: 40px;
	font-size: 14px;
	line-height: 12px;
	margin: 10px auto 0;
}

#footercopy .inner a:link{
	color: #f1f1f1;
	background-position: center;
	margin: 0 2px;
	font-size: 14px;
}

#footercopy .inner a:visited{
	color: #f1f1f1;
	background-position: center;
	padding-top: 0;
	margin: 0 2px;
	font-size: 14px;
}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer a
{
color:#cbcbcb;
}

#footer ul{
border-top:1px solid #4a4a4a;
	color: #f1f1f1;
}

#footer ul li a{
border-bottom:1px solid #4a4a4a;
background: transparent url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/bullet_grey.png) no-repeat left;
	list-style-position: inside;
	color: #e5e5e5;
	font-size: 14px;
}

#footer ul li a:hover{
background: #3a3a3a url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/bullet_grey.png) no-repeat left;
color:#fff;
}

#footer .custom_button{
background: #494949 url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/mail.png) no-repeat 170px center;
color: #fff;
}

#footer .custom_button:hover{
background-color: #666;
}

#footer #s{
background: #494949;
color:#ccc;
}

#footer #searchsubmit{
background: transparent url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/search.png) no-repeat 0 center;
border-left:1px solid #222;
}

#footer .social_bookmarks{background: none 0 0;
	margin-left: 10px;
	margin-top: 4px;
}

#footer .social_bookmarks .rss a{background: transparent url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/rss_16.png) no-repeat 0 0;}
#footer .social_bookmarks .facebook a{background: transparent url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/facebook_16.png) no-repeat 0 0;}
#footer .social_bookmarks .twitter a{background: transparent url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/twitter_16.png) no-repeat 0 0;}
#footer .social_bookmarks .flickr a{background: transparent url(http://www.stoneyard.com/themes/stone_yard_theme_html2c5/images/flickr_16.png) no-repeat 0 0;}

input, select, textarea{
color:#777;
}

/*comments*/

#aseen{
	z-index: 1000;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 4px;
}
