/* top elements */
* {
	margin: 0; padding: 0;
} 
body {
	margin: 0; padding: 0;
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
	background: url(../images/topgrad.png) repeat-x;
	color: #666666;	
	text-align: center;		
}

/* links */
a {
	background: inherit;
	text-decoration: none;
	color: #0099FF
}
a:hover {
	background: inherit;
	text-decoration: underline;
	color: #00CC66
}

/* headers */
h1, h2, h3 {
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	text-transform: uppercase;
	color: #555555;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; text-transform: none;}

#main h1, #rightbar h1, #sidebar h1 {
	padding: 10px 0 5px 5px;
	margin: 0 0 0 10px;
	text-transform: none;
	border-bottom: 1px solid #808080; 	
}	

#main h2 {
	text-transform: none;
}

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 15px;
	padding: 0 15px;	
}

/* images */
img {
	border: none
}
img.float-right {
  margin: 5px 0px 5px 15px;
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

/*****************/
/*    Layout     */
/*****************/
#wrap {
	margin: 0 auto;
	width: 850px;
	text-align: left;
	background: #FFFFFF;
}
#content-wrap {
	clear:both;
	margin: 0; padding:0;
	width: 850px;
	background-image:url(../images/maingrad.png);
	background-repeat:repeat-x;
}

/* header */
#header {
	position: relative;
	background: url(../images/topgrad.png) repeat-x 0% 0%;
	height: 100px;
}

/* main column */
#main {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 54%;
	border: 1px solid #808080;
	background-color:#FFFFFF;
	background-image:url(../images/columnbg.png);
	background-position:right top;
	background-repeat:no-repeat;
}

#main li {
	margin-left: 15px;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
	border: 1px solid #f2f2f2;
}

/* sidebar */
#sidebar {
	float: left;
	width: 21%;
	margin: 0;	padding: 0;
	display: inline;
	border: 1px solid #808080;
	background-color:#FFFFFF;
	background-image:url(../images/columnbg.png);
	background-position:right top;
	background-repeat:no-repeat;
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
	font-weight: bold;
	background-image: none;
	text-decoration: none;	
}

/* rightbar */
#rightbar {
	float: right;
	width: 21%;
	padding: 0;	margin: 0;
	border: 1px solid #808080;
	background-color:#FFFFFF;
	background-image:url(../images/columnbg.png);
	background-position:right top;
	background-repeat:no-repeat;
}

/* footer */
#footer {
	clear: both;
	background: #FFFFFF url(../images/footergrad.png) repeat-x left top;
	border-top: 1px solid #808080;
	text-align: center;	
	height: 50px;
}
#footer p {
	position:relative;
	top: -7px;
}

/* menu */
#menu {
	clear: both;
	margin: 0; padding: 0;	
}
#menu ul {	
	position: relative; 
	bottom: 4px;
	margin: 0; padding: 0;	
	float: left;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	width: 850px;/* 775px; */
	border: 1px solid #808080;
	border-width: 0 0 4px 0;
	list-style: none;
}
#menu ul li{
	display: inline;	
}
#menu ul li a {	
	position: relative; bottom: -4px;
	float: left;
	color: #808080;
	padding: 0px 10px;
	text-decoration: none;
	border-bottom: 4px solid #808080; 	
}
#menu ul li a:hover{
	color: #000000;
	background-color: #8888FF;
	border-bottom: 4px solid #5555FF;
}
#menu ul li#current a{
	color: #333333;
	background-color: #BBB2FF;
	border-bottom: 4px solid #8888BB;
}

/* Alignment classes */
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
.align-center {
	text-align: center;
}
.align-justify {
	text-align: justify;
}
.margin-15 {
	margin-left: 15px;
}
.margin-30 {
	margin-left: 30px;
}
.margin-45 {
	margin-left: 45px;
}
.yellowhighlight {
	background-color: #FFFF00;
}
.redhighlight {
	background-color: #66FFFF;
}

/* display classes */
.clear {
	clear: both; 
}
.block {
	display: block;
	border-bottom: 1px solid;
	border-top: 1px solid;
	padding: 1px 1px 1px 1px;
	background-image:url(../images/blockbg.png);
	background-repeat:repeat-y
}
.hide { 
	display: none;
}
