/*
Theme Name: WordPress Custom Theme
Theme URI: http://wordpress.org/
Description: A Custom WordPress theme based on the famous Kubrick.
Version: 1.0
Author: Main Steet Open
Author URI: http://mainstreetopen.com
*/


/* Begin Typography & Colors */
body {
	font-size: 90%; /* Resets 1em to 10px */
	font: Trebuchet MS;
	background: #355607 url('images/header_bg.jpg') repeat-x;
	color: #333;
        line-height:1.4;
	text-align: center;
	margin:0px;
	padding:0px;
	}

#page {
	text-align: left;
	background: #ffffeb;
	}

#header {
	background: transparent url('images/header.jpg') no-repeat top center;
	position: relative;
	height: 206px;
	width: 960px;
	margin-left:auto;
	margin-right:auto;
	}

#headerimg {
	margin: 0px;
	height: 164px;
	width: 960px;
	display:none;
	}

#navigation {
	position: relative;
	padding-top: 166px;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	}

#rightmenu {
	float:right;
	padding:3px;
	}

#search {
	float:left;
	background: #7d9a1a url(images/search.jpg) no-repeat left center;
	padding-left:79px;
	}

#searchform {
	margin-right:8px;
	}
#s {
	border:0px solid #355607;
	background: #FFFFFF;
	font-size:12px;
	padding:3px 4px;
	margin-right:5px;
	}
#searchsubmit {
	border:0px solid #355607;
	background: #355607;
	color: white;
	font-size: 12px;
	font-weight: bold;
	padding:3px 4px;
	margin-right:5px;
	}

a {color: #333333; text-decoration: underline;}
a:hover {color: #608124;}
a:visited {color: #355607;}

/*********************************************
		Horizontal Navigaion Styles
*********************************************/

/****************************** 
The top-level stuff 
*******************************/
/* This is style for the main #menu nav (the black) */
#menu {
	background: #7d9a1a;
	font-size: 12px;
	font-family: Helvetica, Arial, Sans-Serif;
	text-align: left;
	margin: 0px; padding: 0px;
	height: 36px; line-height: 36px;
	border-bottom: 1px solid #6f8e0f;
	border-top: 1px solid #6f8e0f;
	display: block;
	}
/* This is the style for the first UL (the grey) */
#menu ul {
	display: block;
	float: left;
	background: transparent;
	width: 550px;
	height: 36px; line-height: 36px;
	margin: 0px; padding: 0px;
	}
/* This is the style for the top level list items */
#menu ul li {
	width: auto;
	display: block;
	float: left;
	list-style-type: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	height: 36px; line-height: 36px;
	margin: 0px; padding: 0px;
	border-right: 2px solid #6f8e0f;
	}
/* The style for all links */
#menu a {
	color: #284305;
	text-decoration: none;
	}
/* The hover state colors and background for all LI items and links */
#menu li:hover a,
#menu li.sfhover a,
#menu li a:hover {
	color: #FBF065;
	background: #355607;
	text-decoration: none;
	}
/* This is the style for the top level links */
#menu ul li a {
	display: block;
	height: 36px; line-height: 36px;
	margin: 0px; padding: 0px 10px;
	text-decoration: none;
	}
/* if you want to set a "current page item" style, do it here */
#menu ul li.current_page_item a {
	background: #355607;
	color: #FFF;
	}

/****************************** 
The second-level stuff 
*******************************/

/* This hides the nested UL before you hover */
#menu li ul {
	clear: both;
	position: absolute;
	width: 150px;
	left: -999em;
	}
/* This shows the nested UL when you hover */
#menu li:hover ul, #menu li.sfhover ul {
	left: auto;
	display:  block;
	z-index: 1000;
	}

/* This is the style for the nested UL */
#menu li:hover ul, #menu li.sfhover ul {
	background: transparent;
	display: block;
	margin: 0px; padding: 0px;
	border-top: 1px solid #dbdbdb;
	}
/* This is the style for the LI items within the nested UL */
#menu li:hover ul li,
#menu li.sfhover ul li {
	background: #f7f7f7;
	width: 180px;
	display: block;
	padding: 0px; margin: 0px;
	height: 30px; line-height: 30px;
	text-align: left;
	border: 1px solid #dbdbdb;
	border-top: none;
	}
/* This is the style for the links within the LI items within the nested UL */
#menu li:hover ul li a,
#menu li:hover ul li.current_page_item a,
#menu li.sfhover ul li a,
#menu li.sfhover ul li.current_page_item a {
	background: #f7f7f7;
	width: 170px;
	display: block;
	margin: 0px; padding: 0px 5px;
	height: 30px; line-height: 30px;
	border: none;
	color: #000;
	font-weight: bold;
	}
/* This is the style for the hover state on the links within the LI items within the nested UL */
#menu li:hover ul li a:hover, 
#menu li.sfhover ul li a:hover {
	color: #FFF;
	background: #9d0000;
	text-decoration: none;
	margin: 0px; padding: 0px 5px;
	height: 30px; line-height: 30px;
	font-weight: bold;
	}

#content {
	font-size: 1.2em;
	width: 960px;
	margin-left:auto;
	margin-right:auto;
	border-top:20px solid #ffffeb;
	border-bottom:20px solid #ffffeb;
	background: transparent url('images/dot.gif') repeat-y 580px 0px;
	}

#leftcolumn {
	float:left;
	width: 580px;
	}
#leftcolumn .post, #leftcolumn .page {
	padding-right:20px;
	padding-bottom:20px;
	clear:left;
	}

#footer {
	display:block;
	padding-top: 30px;
	color: white;
	margin:0px;
	background: transparent url('images/pattern.gif') repeat-x top left;
	}
#footer a {color:white;}

/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
        color: 728C17;
	}

h2 {
	margin: 30px 0 0;
        color: 728C17;
	}
h2 a {text-decoration:none;}

h2.pagetitle {
	margin-top: 30px;
	text-align: left;
        color: 728C17;
	}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
color: 728C17;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}

.more-link {
	float:right;
	text-decoration: none;
	font-weight:bold;
	color: #000000;
	}

.page .more-link {
	color: #608124;
	}

.entrydate .dateMonth
{
  font-size:10px;
  text-align:center;
  color:#FFF;
  margin:0;
  padding:2px 0 0;
}

.entrydate .dateDay
{
  font-family:Verdana;
  font-size:21px;
  font-weight:700;
  text-align:center;
  color:#888;
  margin:0;
  padding:2px 0 0;
}

.entrydate .dateYear
{
  font-size:9px;
  padding:0 0 0 1pt;
}

.entrydate
{
  background:transparent url(images/date_bg.jpg) no-repeat 50% 50%;
  float:right;
  height:53px;
  margin-left:5px;
  margin-top:5px;
  margin-right:15px;
  margin-bottom:5px;
  width:49px;
}




/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

.home_thumbnail {
	float:left;
	margin: 10px;
	padding:0px; 
	border:3px solid #7e9a1b;
	}
.specials_thumbnail {
	float:left;
	margin: 4px;
	padding:5px; 
	border:1px solid #CCCCCC;
	}
/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border:3px solid #7e9a1b;
	}

img.alignright {
	padding: 0px;
	margin: 10;
	display: inline;
	border:3px solid #7e9a1b;
	}

img.alignleft {
	padding: 0px;
	margin: 10px;
	display: inline;
	border:3px solid #7e9a1b;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 0px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 0px;
	padding: 0;
	}
/* End Entry Lists */

.specials_list {
	width:550px;
	}
.specials_list .more-link {
	float:right;
}

.widget_category_bg {
background: #ffffeb url('images/widget_category_bg.gif') repeat-y top left;
width: 354px;
margin-left:auto;
margin-right:auto;
}
.widget_category_top {
background: transparent url('images/widget_category_top.gif') no-repeat top left;
padding-top:30px;
}
.widget_category_base {
background: transparent url('images/widget_category_base.gif') no-repeat bottom left;
padding-bottom:4px;
}
.widget_category_pad {
padding-left: 120px;
}
.widget_category_pad ul {
padding-left: 15px !important;
}
.widget_category_pad ul ul {
border-top:1px dashed #cccccc;
}
.widget_category_pad ul li {
padding-left: 10px !important;
border-bottom:1px dashed #cccccc;
background: transparent url(images/bullet.png) no-repeat left 12px;
}
.widget_category_pad ul li a{
display:block;
padding:8px;
text-decoration:none;
}

.widget_newsletter {
background: #355607 url('images/news_top.jpg') no-repeat top left;
margin-left:auto;
margin-right:auto;
width: 362px;
padding-top: 50px;
font-family: Trebuchet MS;
font-size: 12px;
}

.widget_newsletter p {
font-family: Trebuchet MS;
font-size: 12px;
}
.widget_newsletter_pad {
padding:10px 20px;
color:white;
}
.widget_newsletter input {
border:0px;
color: #264900;
background: #FFFFFF;
font-weight:bold;
}
.widget_newsletter a {color:white;}
.widget_recent{
background: #ffffeb url('images/pattern.gif') repeat-x top left;
border-left:1px solid #485304;
border-bottom:1px solid #485304;
border-right:1px solid #485304;
margin-left:auto;
margin-right:auto;
width: 362px;
padding-top: 20px;
}
.widget_recent_pad {
padding:10px 20px;
}
.widget_recent_pad li ul li {
border-bottom:1px dashed #cccccc;
padding-left:10px;
background: transparent url(images/bullet.png) no-repeat left center;
}
.widget_recent_pad li a {
padding:8px;
display:block;
text-decoration:none;
}


/* Begin Form Elements */
#searchform {
	padding: 0px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 90%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 50px 10px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	float:right;
	width: 364px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 0px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

.clear {clear:both;}

#s3slider {
   width: 360px; /* important to be same as image width */
   height: 212px; /* important to be same as image height */
   position: relative; /* important */
   overflow: hidden; /* important */
   z-index: 0;
   border:1px solid #7d9a1a;
}

#s3slider ul {margin:0px; padding:0px;}
#s3slider ul li {margin:0px; padding:0px; display:block; list-style-type: none; }

.s3sliderArrow {float:right;}
.s3sliderArrow img {border:0px;}

#s3sliderContent {
   width: 360px; /* important to be same as image width or wider */
   margin:0px;
   position: absolute; /* important */
   top: 0; /* important */
   margin-left: 0; /* important */
   z-index: 0;
}

.s3sliderImage {
   float: left; /* important */
   position: relative; /* important */
   display: none; /* important */
   list-style: none;
   border:0px;
   margin:0px;
}

.s3sliderImage img{
   border:0px;
}

.s3sliderImage span {
   position: absolute; /* important */
   left: 0;
   font: 12px/15px Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 340px;
   background-color: #000;
   filter: alpha(opacity=0); /* here you can set the opacity of box with text */
   -moz-opacity: 0; /* here you can set the opacity of box with text */
   -khtml-opacity: 0; /* here you can set the opacity of box with text */
   opacity: 0; /* here you can set the opacity of box with text */
   color: #fff;
   display: none; /* important */
   bottom: 0;

   /*
       if you put
       top: 0; -> the box with text will be shown at the top of the image
       if you put
       bottom: 0; -> the box with text will be shown at the bottom of the image
   */
}

.s3sliderImage span.hide {
   filter: alpha(opacity=00); /* here you can set the opacity of box with text */
   -moz-opacity: 0.0; /* here you can set the opacity of box with text */
   -khtml-opacity: 0.0; /* here you can set the opacity of box with text */
   opacity: 0.0; /* here you can set the opacity of box with text */
}
.gravatar {
background-color:#FFFFFF;
color:#FFFFFF;
clear:right;
float:left;
margin:0px 15px 0px 0px;
padding:2px;
}
.authbio {
clear:both;
display:block;
float:left;
color: #333;
font-weight:  normal;
font-size: 13px;
background: #e9e9d1;
border: 3 px solid #666;
width: 540px;
height: 100px;
padding: 8px;
margin-bottom: 8px;
margin-top: 28 px;
}
.widget img {border:0px; padding:0px;}
.widget_sp_image img {margin-top:10px;}

#leftcolumn h2, #leftcolumn h2 a { color:#355607; font-size: 24px; }
#leftcolumn h2, #leftcolumn h2.pagetitle { font: Trebuchet MS; line-height: 40px; background: url('../../uploads/2009/10/dot.gif') repeat-x bottom center; }
#leftcolumn h2 a:hover { color: #000; }
#leftcolumn h2.pagetitle { font-size: 24px; }
.post-19 { padding-bottom: 0 !important; }
.post-19 h2 { float: left; width: 370px !important; margin-bottom: 10px; }
.page h2 { width: 470px; }
p { font-size: 14px; line-height: 20px; 
font-family: Verdana;}

.homelinkimage {border:0px; width:550px; height: 140px; position:absolute; left:80px; top:10px; z-index:99;}
.homelink {}