/*   
Theme Name: Country Fair
Theme URI: http://www.tanist.co.uk
Description: A theme for a non profit country fair.  20.5.10
Author: Jamie Godwin
Author URI: http://www.tanist.co.uk

Version: V.02
.
General comments/License Statement if any.
.
*/

p {
margin-bottom:10px;
}

body {
background:#B0D47C url('images/bgtile.png');
background-repeat:repeat-x;
background-position:center top;
font-family:Georgia;
line-height:1.4;
margin:0;
padding:0;
}

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

#navcontainer ul {
background-color:#fff;
color:#FFF;
font-family:arial, helvetica, sans-serif;
}

.clear {
clear:both;
}

#navcontainer .page_item a {
color:#2B5E19;
}

#navcontainer .current_page_parent a {
color:#ffffff;
}

#navcontainer .page_item:hover {
background-color:#d0eda5;
}

#navcontainer .current_page_item:hover {
background-color:#2B5E19;
}

#navevents ul {
background-color:#036;
color:#cdcdcd;
font-family:arial, helvetica, sans-serif;
}

#navevents ul li a {
-moz-border-radius-topright:4px;
-moz-border-radius-topleft:4px;
border-left:1px solid #009E7D;
font-family:arial,helvetica,sans-serif;
background-color:#fff;
color:#cdcdcd;
text-decoration:none;
float:left;
border-right:1px solid #fff;
padding:0.2em 1em;
}

#page {
width:100%;
top:10px;
background:url('images/burst.png');
background-position:50% -100px;
background-repeat:no-repeat;
padding:0;
}

#page-container {
position:relative;
width:800px;
margin:auto;
}

#banner {

position:absolute;
height:40px;
left:20px;
width:80%;
z-index:1000;
top:-5px;

}

#sidebartext {
font:19px;
color:#333333;
text-align:center;


}


#smallnav {
position:absolute;
left:620px;
top:25px;
color:#457b32;
}

#title {
height:90px;
font:50px Times New Roman;
color:#FFF;
width:30%;
position:relative;
left:-50px;
top:10px;
}

#subtitle {
height:40px;
font:37px cambria;
color:#FFF;
position:relative;
width:80%;
left:82px;
top:-19px;
}

#gap {
height:0;
background-color:#FFF;
position:relative;
width:100%;
left:0;
top:10px;
}

#logo {
position:absolute;
width:30%;
height:150px;
left:650px;
top:50px;
z-index:1000;
}

#logo2 {
position:absolute;
width:30%;
left:83px;
top:71px;
z-index:4;
}

#content {
padding-left:10px;
padding-right:10px;
background-image:url('images/background.png');
background-repeat:repeat-y;
background-position:center;
position:relative;
margin-left:auto;
margin-right:auto;
margin-bottom:0;
padding-bottom:5px;
min-height:710px;
}

#tabs {
background-color:#FFF;
position:absolute;
width:90%;
left:0;
top:-30px;
height:30px;
}

#imagegallery {
height:354px;
}

#image-container ul li {
position:absolute;
}

.article {
background-color:#FFF;
margin-left:35px;
margin-right:35px;
margin-top:25px;
}

#menu-heading {
position:absolute;
color:#FFF;
bottom:0;
float:right;
width:275px;
height:85px;
top:226px;
font:27px cambria;
background-image:url('images/sidebartitlebackground.png');
background-repeat:repeat-y;
right:-17px;
-moz-border-radius-topright:40px;
-moz-border-radius-topleft:40px;
padding:21px;
}

#date {
position:absolute;
color:#FFF;
bottom:0;
right:0;
float:right;
margin-right:95px;
top:350px;
font:17px cambria;
}

#sidebardate p{
font-size:20px;
text-align:center;
}

#articletitle {
color:#2e6b19;
font:34px cambria bold;
margin-top:15px;
}

#articledate {
height:25px;
background-color:blue;
font-size:24px;
position:relative;
top:0;
width:50%;
left:45px;
}

#sidebar {
font-family:arial,helvetica,sans-serif;
color:#FFF;
float:right;
height:100%;
width:292px;
margin-right:-2px;
background-image:url('images/sidebarbackground.png');
background-repeat:repeat-y;
margin-left:20px;
clear:left;
padding:10px;
}

#sidebarpage {
font-family:arial,helvetica,sans-serif;
color:#FFF;
float:right;
height:100%;
width:275px;
margin-right:5px;
margin-top:55px;
background-color:#96d240;
margin-left:20px;
clear:left;
}

#leftside {
font-family:arial,helvetica,sans-serif;
color:#FFF;
float:left;
height:100%;
width:25%;
margin-top:5px;
padding-left:20px;
background-color:#B4D784;
margin-left:0;
clear:left;
-moz-border-radius-topright:4px;
-moz-border-radius-topleft:4px;
-moz-border-radius-bottomright:4px;
-moz-border-radius-bottomleft:4px;
padding-top:10px;
padding-bottom:10px;
}

#footerlistcontainer {
width:400px;
margin:auto;
}

#footer {
width:100%;
background:#A2BF77;
color:#fff;
border-top:1px solid #839B61;
}

#footerhome {
height:150px;
position:relative;
top:0;
width:830px;
margin-left:1%;
}

.footer_list {
float:left;
width:130px;
list-style:none;
}

#logofoot img {
margin:auto;
}

#footerleft {
float:left;
margin-left:28%;
color:#fff;
font-family:arial, helvetica, sans-serif;
}

#footerright {
float:right;
position:absolute;
color:#cdcdcd;
margin-left:70%;
z-index:1000;
font-family:arial, helvetica, sans-serif;
}

#footercentral {
position:absolute;
float:right;
color:grey;
margin-left:64%;
font-family:arial, helvetica, sans-serif;
}

.post {
float:right;
width:525px;
margin-left:20px;
margin-right:20px;
}

.fullwidth .post {
width:95%;

}

 .post ol {
list-style-image:none;
list-style-position:outside;
list-style-type:decimal;
padding-left:20px;
margin-top:10px;
margin-bottom:10px;

}

 .post ul {
list-style-image:none;
list-style-position:outside;
list-style-type:disc;
padding-left:20px;

}

.post li {
padding-top:3px;
padding-bottom:3px;
line-height:1.5;
}

.post h1
{
  font-size:22px;
  border-bottom:1px dotted #CCCCCC; 
  padding-bottom:5px;
  margin-bottom:10px;
  margin-top:10px;
  font-weight:bold;
  text-shadow:3px 3px 5px #DDD;
  font-family:"book antiqua";
  color:#2B5E19;	
}

.post h2
{
  font-size:18px;
  margin-bottom:10px;
  margin-top:10px;
}

.post h3
{
  font-size:14px;
  margin-bottom:10px;
  margin-top:10px;
}

.post p {
	margin-bottom:15px;
	margin-left:10px;
	line-height:1.5;
	text-align: justify;
}


#smallnav a:hover {
color:red;
}





#navcontainer .page_item {
-moz-border-radius-topright:4px;
-moz-border-radius-topleft:4px;
border-left:0 solid #009E7D;
font-family:arial,helvetica,sans-serif;
margin-left:10px;
text-decoration:none;
float:left;
border-right:0 solid #fff;
background-color:#FFF;
padding:0.2em 1em 5px;
-moz-box-shadow:0 0em 1em #333333;
}

#navcontainer .current_page_item {
-moz-border-radius-topright:4px;
-moz-border-radius-topleft:4px;
border-left:0 solid #009E7D;
font-family:arial,helvetica,sans-serif;
margin-left:10px;
text-decoration:none;
float:left;
border-right:0 solid #fff;
background-color:#2B5E19;
padding:0.2em 1em 5px;
}


#content .current_page_item a {
font-weight: bold;
color:#2B5E19;

}

#navcontainer .current_page_item a {
color:#fff;
}

#blogcontent {
margin-left:35px;
margin-right:59px;
padding-top:35px;
}

#contactform {
margin-left:20px;
}


#navcontainer .current_page_parent {
background-color:#2B5E35;
}


.entry p a:link {
color:#0000FF;
text-decoration:none;
}

.entry p a:hover {
color:red;
}

.entry p a:visited {
color:#551A8B;
text-decoration:none;
}

A:link{
color:#2B5E19;
text-decoration:none;
}                

A:visited{
color:#2B5E19;
text-decoration:none;

}

A:active {
color:#2B5E19;
text-decoration:none;

}

#footerleft a:visited,#footermiddle a:visited,#footerright a:visited,#footercentral a:visited,.subnav .current_page_item a {
color:#fff;
}

A:hover {
color:red;

}
#navcontainer ul li,#navevents ul li {
float:left;
}

#navevents ul li a:hover,#footercentral ul li a:hover {
background-color:#333;
color:#fff;
}

#footerleft ul li a,#footermiddle ul li a,#footerright ul li a,#footercentral ul li #footercentral ul li a {
color:#000;
}

#footerleft a:hover,#footer a:active,#footer a:focus,#footermiddle a:hover,#footer a:active,#footer a:focus,#footerright a:hover,#footer a:active,#footer a:focus,#footercentral a:hover,#footer a:active,#footer a:focus {
color:#c00;
}

/* Wordpress specific */

.post-edit-link{
	margin-left:25px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
	margin:10px;
}
.alignright {
	float: right;
	margin:10px;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	overflow:hidden;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
.wp-caption-text {
	overflow:hidden !important;
	margin:0 !important;
	font-size:12px;
	text-align:center;
	color:#000;
}

.commentlist {
  padding:0;
  text-align:justify;
  border:#CCC solid 1px;
  width:50%;
  margin-top:10px;
  margin-bottom:10px;
  background-color:#EEE;
}
.commentlist li {
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin:15px 0 10px;
  padding:5px 5px 10px 10px;
}
.commentlist li ul li {
  margin-left:10px;
  margin-right:-5px;
}
.commentlist p {
  margin:10px 5px 10px 0;
}

.commentlist li, #commentform input, #commentform textarea {
  -x-system-font:none;
  font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
  font-size:0.9em;
  font-size-adjust:none;
  font-stretch:normal;
  font-style:normal;
  font-variant:normal;
  font-weight:normal;
  line-height:normal;
}
.commentlist li ul li {
  font-size:1em;
}
.commentlist li {
  font-weight:bold;
}
.commentlist li .avatar {
  -moz-background-clip:border;
  -moz-background-inline-policy:continuous;
  -moz-background-origin:padding;
  background:#FFFFFF none repeat scroll 0 0;
  border:1px solid #EEEEEE;
  float:right;
  padding:2px;
}
.commentlist cite, .commentlist cite a {
  font-size:1.1em;
  font-style:normal;
  font-weight:bold;
}
.commentlist p {
  font-weight:normal;
  line-height:1.5em;
  text-transform:none;
}
#commentform p {
  font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
}
.commentmetadata {
  font-weight:normal;
}

/* Gallery Styling    ///////////////////// /*/

#gallery-1 {
margin:auto;
}
#gallery-1 .gallery-item {
float:left;
margin-top:10px;
text-align:center;
width:33%;
}
#gallery-1 img {
border:2px solid #CFCFCF;
}
#gallery-1 .gallery-caption {
margin-left:0;
}

.subnav ul li {

margin-top:2px;
margin-bottom:2px;
}

.subnav ul li {
list-style-image: url("images/arrow.png");
}


