body {
	background: url("images/bg.gif");
	margin:0; padding:0;
	font-size: 12px;
	color: #444;
	font-family:verdana, arial, helvetica, sans-serif;
	}
	
#pagewidth { 
	width:860px; 
	margin: 0 auto; 
	border: 1px #CCCCCC solid ;
	background: white url("images/contentbg.gif");
	}	
	
#header {
	width:100%;
	height:100px;
	position:relative;
  background: white;
  border-bottom:5px solid #A6A6A6;  
}

#header-content {
	margin: 0;
	padding-top: 10px;
	padding-left: 10px;
}

#sidebar {
	float: right;
	width: 160px;
	position:relative;
	}
	
#sidebar-content {
	margin:0; padding: 22px 2px 2px 2px;
		}	

#main {
	float: right; 
	position: relative;
	display:inline; 
	width:700px; 
	}
	

#main-content {
	margin:0;
	padding: 1.5em 1.5em 1.0em 1.5em;
	line-height:18px;
	overflow: hidden;
	}	
	
#main-content img {
	border:2px solid #ccc;
}

#main-content p{
 text-align:left;
 margin: 8px 0;
}	

#additionalContent {
	background: #F1F2F0;
	border: 1px solid #D9DAD9;
	padding: 4px;
	margin-bottom: 10px;
}

#footer{
margin: 0;
background: #F1F2F0;
border-top: 5px solid #D9DAD9;
clear:both;
width: 100%;
}

#footer-content {
	margin: 0;
	padding: 5px 0;
	font-size: 10px;
	text-align: center;	
    line-height: 14px;
}

#counter {
	margin-top: 15px;
	text-align: center;
}

/*  page elements */

#BreadCrumb {
	font-size: 90%;
	margin-bottom: 10px;
}

#previousnext {
	width: 100%;
	height: auto;
	margin-top: 20px;
}

#next {
	float:right;
	position: relative;
	display: inline;
	width: 45%;
	text-align: right;
	padding-right: 15px;
	background: url(images/raquo.gif) 100% 6px no-repeat;
}

#previous {
	float: left;
	position: relative;
	display: inline;	
	width: 45%;
	text-align: left;
	padding-left: 15px;
	background: url(images/laquo.gif) 0px 6px no-repeat;	
}

a { 
	color: #3333FF;
}
a:visited { 
	color: #999999;
}
a:hover, a:active {
	color:#FF0000;
}

ul{ list-style-type:square;}

h1
{
	font-size: 170%;
}
h2
{
	font-size: 130%;
}
h3
{
	font-size: 120%;
}
h4
{
	font-size: 100%;
}
h5
{
	font-size: 70%;
}
h6
{
	font-size: 50%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif; 
}

code, pre
{
	
	font-family: "Courier New", Courier, monospace;
}

table
{
	font-size: 100%;
}
td, th
{
	vertical-align: top;
}

form{
background: #f8f8f8;
padding:5px 20px;
}

input, textarea{
border:1px solid #888;
}

img{
border:none; 
}

a img{
border:none; 
}

blockquote{
background: url(images/blockquote.gif) 2px 2px no-repeat;
margin-left: 0px;
margin-right: 0px;
padding: 5px 5px 5px 35px;
color: #999999;
}

.alignright {
	float:right;
	margin: 3px 0 0 5px;
}

.alignleft {
	float:left;
	margin: 3px 5px 0 0;
}

.divider {
	height: 1px;
	width: 50%;
	background: #e4e4e4;
	margin: 15px auto;
}

/*  content styles */

#main h1{
line-height:120%;
margin: 3px 0 15px;
}

#main h2{
line-height:120%;
margin: 8px 0 8px;
}

#main h1 a, #main h1 a:link, #main h1 a:hover, #main h1 a:visited  {
color: #444;
text-decoration: none;
margin-bottom:0;
 }
 
.post{
margin: 0 0 15px 0;
}

.post ul {
margin: 10px 0;
padding:0;
list-style-type:none;
}

.post ul li {
background: url("images/bullet.gif") no-repeat;
background-position: 2px 6px; /* Left and Top position of layer */
padding-left:17px;
margin: 6px 3px;
}

.post ol {
margin: 10px 0;
padding-left: 20px;
}

.post ol li {
margin: 6px 3px;
}


#bio {

border-top: 1px #cccccc solid;
border-bottom: 1px #cccccc solid;
padding: 5px 0;
margin: 5px 0;
font-style: italic;
}

.small { font-size: 90%; }

/*  sidebar styles */

#menu{
}

#menu ul{
margin:2px; /* Top and bottom (2px) and left and right (10px)*/
padding:0;
list-style-type:none;
}

#menu ul li{
padding-left:10px;
padding-right: 2px;
font-weight:bold;
margin-bottom:10px;
font-size: 12px; 
}

#rssfeeds{
text-align: center;
line-height: 15px;
margin-top: 10px;
}

 /* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */ 
.clearfix:after {
 content: "."; 
 display: block; 
height: 0; 
 clear: both; 
 visibility: hidden;
 }
 
.clearfix{display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */ 

/* Ad styles */

#rightAd {
display: block;	
float: right;
margin-left: 8px;
margin-top: 4px;
margin-bottom: 4px;
}

#leftAd {
display: block;	
float: left;
margin: 4px 8px 0 0;
padding-top: 4px;
padding-bottom: 6px;
border-top: #E4E4E4 1px solid;
border-bottom: #E4E4E4 1px solid;
}

#centerAd {
margin-top: 8px;
margin-bottom: 8px;
}

#footerAd {
display: block;
margin: 10px auto;
}