/*
Theme Name: Dark Optimism
Theme URI: http://www.phatforge.com
Description: WP-ified theme stolen from Pixel Green as created by
styleshout.com
Author: Erwin Aligam 
Author URI: http://www.styleshout.com
*/
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin: 0; 	padding: 0;
	font: normal 73%/1.5em sans-serif, Tahoma, 'Trebuchet MS';
	color: #555;
	background: #FFF url(images/bg.jpg) repeat-x;
	text-align: center;		
}

/* links */
a { background: inherit; color: #72A545; text-decoration: none; }
a:hover { background: inherit; color: #006699; text-decoration: underline; }

/* headers */
h1, h2, h3 { font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif; }
h1 { font-size: 1.4em; color: #65944A; }
h2 { font-size: 1.2em;  }
h3 { font-size: 1.2em; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;		
}

/* images */
img {
	border: 0px solid #DADADA
	padding: 5px;
	background: #FFFFFF;
        background-repeat:none;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
/* below added by Shaun to remove image borders */
img{
border-width:0px;
}

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: 1px solid #f2f2f2;  
  border-left: 3px solid #72A545;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}

blockquote.page {
  	background-color: #FAFAFA; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #72A545;  
	font: bold 1.2em/1.5em "Trebuchet MS", Tahoma, sans-serif; 
	color: #666666;	
	margin: 15px 15px 15px 15px;
	padding: 10px 10px 10px 35px;
}

blockquote {
  	background-color: #F0FAF0; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	font: bold italic 1.1em/1.5em sans-serif, Tahoma, "Trebuchet MS"; 
	color: #666666;	
	margin: 15px 30px 15px 30px;
	padding: 5px 10px 5px 10px;
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 10px 15px;	
}
th strong {
	color: #fff;
}
th {
	background: #74A846;
	height: 29px;
	padding-left: 11px;
	padding-right: 11px;
	color: #fff;
	text-align: left;
	border-left: 1px solid #B6D59A;
	border-bottom: solid 2px #FFF;
}
tr {
	height: 30px;
}
td {
	padding-left: 11px;
	padding-right: 11px;
	/* border-left: 1px solid #FFE1C3; */
	border-left: 1px solid #FFF;
	border-bottom: solid 1px #ffffff;
}
td.first,th.first {
	border-left: 0px;
}
tr.row-a {
	background: #F8F8F8;
}
tr.row-b {
	background: #EFEFEF;
}
/* end - table */

/* form elements */
form {
	margin:10px 15px; padding: 0;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	background: #FFF url(images/gradientbg.jpg) repeat-x; 
	padding: 2px 3px; 
	color: #333;	
	border: 1px solid #DADADA;	
}

/* search form */
li.searchform
.searchform {
	background-color: transparent;
	color: #65944A;
	border: none;	
	margin: 0; 
	padding: 0;
	text-align: right;
	clear: both;
	position: absolute;
	top: 35;
	right: 10;
}

.searchform form { margin: 0px; padding: 0; }
.searchform input.textbox { 
	width: 80px;
	color: #333; 
	height: 20px;
	padding: 2px;	
}
.searchform input.button { 
	font: bold 12px Arial, Sans-serif; 
	color: #333;	
	width: 60px;
	height: 26px;
	border: 1px solid #DADADA;
	padding: 3px 5px;	
}

#searchpanel {
       background: #754c24;
       height: 20px;
       display: none;
}
.slide {
       margin: 0;
       padding: 0;
       border-top: solid 1px #422410;
   //    background: url(images/btn-slide.gif) no-repeat center top;
}

.active {
	background-postition: right 25px;
}

/***********************
	  LAYOUT
************************/

#header-content, #content, #footer-content {
	width: 760px;
}

/* header */
#header {
	height: 100px;
	text-align: left;	
}
#header-content {	
	margin: 0 auto; padding: 0;
	position: relative;
}
#header-content h1#logo {
	position: absolute;	
	font: bold 45px 'Trebuchet MS', Sans-serif;
	letter-spacing: -2px; 
	color: #FFF;
	margin: 0; padding: 0;		
	
	/* change the values of left and top to adjust the position of the logo */
	top: 0; left: 0px;
}
#header-content h1#logo a {
	text-decoration: none;
	color: #FFF;
}
#header-content #slogan {
	position: absolute;	
	font: bold 12px 'Trebuchet Ms', Sans-serif;
	text-transform: none;
	color: #FFF;	
	margin: 0; padding: 0;
	
	/* change the values of left and top to adjust the position of the slogan */
	top: 55px; left: 40px;
}

/* header menu */
#header-content ul {
	position: absolute;
	right: -5px; top: 15px;
	font: bolder 1.3em 'Trebuchet MS', sans-serif;
	color: #FFF;
	list-style: none;
	margin: 0; padding: 0;		
}
#header-content li {
	display: inline;
}

#header-content li a {
	float: left;
	display: block;
	padding: 3px 12px;	
	color: #FFF;
	background-color: #333;
	text-decoration: none;
	border-right: 1px solid #272727;
}
#header-content li a:hover {
	background: #65944A;
	color: #FFF;
}

body.main #header-content li.main a,
#header-content ul li.page_item.current_page_item a,
#header-content li a#current  {
	background-color: #65944A;
	color: #FFF;
}
 
/* header photo */
.headerphoto {
	margin: 0 auto;
	width: 770px;
	height: 200px;
	padding: 15px 10px 10px 10px; 
	background: #FFF url(images/headerphoto.jpg) no-repeat center;	
}

/* content */
#content-wrap {
	clear: both;
	float: left;
	width: 100%;
}
#content {
	text-align: left;	
	padding: 0;
	margin: 0 auto;	
}

/* sidebar */
#sidebar {
	float: right;
	color: #000;
	width: 30%;
	margin: 0 0 10px 0; 
	padding: 0;	
	align: top;
}	
#sidebar h2.widgettitle,
#sidebar h1 {
        font-size: 1.4em;
	color: #65944A;
	padding: 10px 0px 5px 10px;
	margin: 0 0 0 0;	
	font: bold 1.3em 'Trebuchet MS', Tahoma, Sans-serif;
}

#sidebar li,
.sidebox {
	background: #F5F5F5;
	border: 0px solid #EFEDED;
	margin-bottom: 10px;
	list-style: none;
	margin-top: 0px;
        padding-left:1px;
        padding-top:1px;
      
}

/* style for subscribe2 */
.sideboxsubscribe {
	background: #F5F5F5;
	border: 0px solid #EFEDED;
	margin-bottom: 10px;
	list-style: none;
	margin-top: 0px;
        padding-left:1px;
        padding-top:1px;
        color:#000;
}

/* style for yafpp - featured posts - plugin */
.sideboxyafpp {
	background: #F2F2F2;
	border: 0px solid #EFEDED;
	margin-bottom: 10px;
	list-style: none;
	margin-top: 0px;
        height:auto;
        line-height:auto;
        padding:0px;
}

.sideboxyafpp li {
	margin:0px;
        padding:0px;
}

/* sidebar menu */

#sidebar li {
	list-style:none;
	margin: 0px 0px 10px 0px;
	padding-bottom: 10px;
	background: #f2f2f2;	
}
#sidebar li ul {
  	margin: 0 0 0 5px;
}
#sidebar li li {
	padding: 0px 0px;
	margin: 0px;
	background:none;
}

/* text_widget plugin customisations */
#sidebar li.widget.widget_text {
	padding-bottom: 0px;
}

#sidebar li.widget.widget_categories {
	padding-left:10px;
}
#sidebar li.widget.widget_categories h2 {
	padding-left:0px;
}

#sidebar li.widget.widget_archive {
	padding-left:10px;
}
#sidebar li.widget.widget_archive h2 {
	padding-left:0px;
}

#sidebar li.widget.widget_search div {
	background-color:#f2f2f2;
}
#sidebar li.widget.widget_search button-secondary {
	background-color:#333;
}

/* recentcomment plugin customisations */
#sidebar li.recentcomments {
         color: #555;
         border-bottom: 1px dashed #D4D4D4; 
}
#sidebar li.recentcomments a { 
	 background: inherit; 
	 color: #65944A; 
	 text-decoration: none;
 	 border: 0;
}
#sidebar li.recentcomments a:hover { 
	 background: inherit;
	 border-left: 0px;
	 color: #006699; 
	 text-decoration: underline; 
}

#sidebar li a {
	display:block;
	font-weight:normal;
	color: #333;
        font: 'Trebuchet MS'
	height: auto;	
	padding: .3em 0 .3em 5px;
	line-height: 1em;
	border-bottom: 1px dashed #D4D4D4; 
	text-decoration:none;
}
#sidebar li  a:first {	
	border-top: 1px dashed #D4D4D4;
}
#sidebar li a:hover {
	padding: .3em 0 .3em 5px;
	border-left: 5px solid  #65944A;
	color: #65944A;		
}
#sidebar li.widget_text div.textwidget {
	padding: 10px 10px 2px 15px;
	color: #000;
}

/* main */
#main {
	float: left;
	width: 68%;	
	margin: 0 0 10px 0; padding: 0;	
}
#main h1 {
	padding: 10px 0px 0px 5px;
	margin: 0 0 0 10px;
	border-bottom: 1px solid #f2f2f2; 	
	font: normal 1.5em 'Trebuchet MS', Tahoma, Sans-serif;
}
#main ul li {
	list-style-image: url(images/bullet.gif);
}

.post {
	margin: 0; 
	margin-bottom: 20px; 
	padding: 0;
	background: #FFF url(images/gradientbg.jpg) repeat-x;
	border: 1px solid #EFEDED;
}
.post .post-footer {
	background-color: #FAFAFA;
	border: 1px solid #f2f2f2;
	padding: 5px; 
        margin-top: 20px;
	font-size: 95%;
        height:60px;

        
}
.post .post-footer .date {
/*	background: url('images/clock.gif') no-repeat 0 center; */
	padding-left: 20px; margin: 0 10px 0 5px;

}
.post .post-footer .comments {
        float: left;
	background: url('images/comment.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post .post-footer .readmore {
	background: url('images/page.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post .post-footer .rss {
        float: left;
	background: url('images/page.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
        
}

/* footer */
#footer {
	clear: both;
	margin: 0; padding: 0;
	font: normal .95em/1.6em 'Trebuchet MS', Tahoma, Arial, sans-serif;
	text-align: left;	
}

#footer h1, #footer p {	margin-left: 0; }

#footer-content {	
	border-top: 1px solid #EAEAEA;
	margin: 0 auto;
	padding-left: 15px;
}
#footer-content a {
	text-decoration: none;
	color: #777;	
}
#footer-content a:hover {
	text-decoration: underline;
	color: #333;
}
#footer-content ul {
	list-style: none;
	margin: 0; padding: 0;
}
#footer-content .col {
	width: 32%;
	padding: 0 5px 30px 0;	
}
#footer-content .col2 {
	width: 33%;
	padding: 0 0 30px 0;	
}

/* 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; }
.gray  { color: #BFBFBF; }




