/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME: 	Bright Side of Life
   TEMPLATE CODE: 	S-0005
   VERSION:          1.0          	
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin: 0;
	padding: 0;
	font: 11px/15px Verdana, Tahoma, Helvetica, sans-serif;
	color: #666666; 
	background: #a9bac3 url(bg.gif) repeat-x;
	text-align: center;
}

/* links */
a { color: #3d3c3c; background-color: inherit !important; text-decoration: none; }
a:hover { color: #4284b0; background-color: inherit; text-decoration: underline; }

/* headers */
h1, h2, h3 {
	font: bold 0 "Trebuchet MS", Arial, Sans-serif;
	color: #333;	
}
h1 { font-size: 14px; color: #6297bc; } 
h2 { font-size: 0; text-transform:uppercase;}
h3 { color: #333; font-size: 14px; font-weight: bold; line-height: 18px; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #4284B0;
}
ul span, ol span {
	color: #666666; 
}

/* images */
img { border: solid 2px #fff; }
img.no-border {
	border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img { border: solid 1px #fff; }
a:hover img { border-top-color: #fff; border-top-style: solid !important; border-top-width: 1px !important; border-right-color: #fff; border-right-style: solid !important;border-;border-bottom-color: #fff; border-bottom-style: solid !important;border-;border-left-color: #fff; border-left-style: solid !important; border-left-width: 1px !important; bottom-width: 1px !important; right-width: 1px !important; }

code { margin: 5px 0; padding: 10px; text-align: left; display: block; overflow: auto; font: 500 1em/1.5em "Lucida Console", "courier new", monospace;
  /* white-space: pre; */
  background: #fafafa; border-style: solid; border-width: 1px 1px 1px 4px; }
acronym { border-bottom-style: solid; border-bottom-width: 1px; cursor: help; }
blockquote { margin: 15px; padding: 0 0 0 20px; background: #fafafa; color: #4284b0; font: bold 1.2em/1.5em Georgia, "Bookman Old Style", Serif; border-style: solid; border-width: 1px 1px 1px 4px; }

/* form elements */
form { color: gray; margin:5px; padding: 0; border: solid 1px #f2f2f2; }
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:solid 1px #eee;
	font: 1em Verdana, sans-serif;
	color:#777;
}
textarea { color: #808080; width:300px; padding:2px; font: 1em Verdana, sans-serif; border:solid 1px #eee; height:100px; display:block; }
/***********************
	  LAYOUT
************************/
#wrap {
	background: #FFF;
	width: 820px; height: 100%;
	margin: 0 auto;	
	text-align: left;
}
#content-wrap {
	clear: both;
	margin: 0; padding: 0;	
	background: #FFF;
}

/* header */
#header {
	position: relative;
	height: 60px;	
	background: #000 url(headerbg.gif) repeat-x 0 100%;	
}
#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	font: italic bolder 32px "Trebuchet MS", Arial, Sans-serif;
	letter-spacing: -3px;
	text-transform: lowercase;
	top: 5px; left: 5px;	
}
#header h2#slogan { position: absolute; top:30px; left: 145px; color: #eee; text-indent: 0; font: bold 11px Tahoma, "trebuchet MS", Sans-serif; text-transform: none; letter-spacing: 2px; }
#header form.searchform {
	position: absolute;
	top: 0; right: -12px;	
}

/* main */
#main {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 50%;		
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 15px 0 15px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar {
	float: left;
	width: 23%;
	margin: 0;	padding: 0; 
	display: inline;		
}
#sidebar ul.sidemenu {
	list-style:none;
	margin:10px 0 10px 15px;
	padding:0;		
}
#sidebar ul.sidemenu li {
	margin-bottom:1px;
	border: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:bold;
	color: #333;	
	text-decoration:none;	
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	border-left:4px solid #CCC;	
	
	min-height:18px;
}

* html body #sidebar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover {
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	color: #339900;
	border-left:4px solid #390;
}

/* rightbar */
#rightbar {
	float: right;
	width: 23%;
	padding: 0; margin:0;		
}

/* Footer */
#footer { 
	clear: both; 
	color: #fff; 
	background: #a9bac3; 
	border-top: 5px solid #568eb6;
	margin: 0; padding: 0; 
	height: 40px;	  
	font-size: 95%;		
}
#footer a { 
	text-decoration: none; 
	font-weight: bold;	
	color: #FFF;
}
#footer .footer-left{
	float: left;
	width: 65%;
}
#footer .footer-right{
	float: right;
	width: 30%;
}

/* menu tabs */
#header ul {
	z-index: 999999;
	position: absolute;
   margin:0; padding: 0;
   list-style:none;
	right: 0; 
	bottom: 6px !important; bottom: 5px;
	font: bold 12px Arial, "Trebuchet MS", Tahoma, verdana, sans-serif;	
}
#header li {
   display:inline;
   margin:0; padding:0;
}
#header a {
   float:left;
   background: url(tableft.gif) no-repeat left top;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
#header a span {
   float:left;
   display:block;
   background: url(tabright.gif) no-repeat right top;
   padding:6px 15px 3px 8px;
   color: #FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
	color:#FFF;
}
#header a:hover {
   background-position:0% -42px;
}
#header a:hover span {
   background-position:100% -42px;
}
#header #current a {
   background-position:0% -42px;
	color: #FFF;
}
#header #current a span {
   background-position:100% -42px;
	color: #FFF;
}
/* end menu tabs */

/* alignment classes */
.float-left  { float: left; }
.float-right {	float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.green {	color: #9EC630; }
.gray  {	color: #BFBFBF; }
