/*  
Theme Name: ServalToolBox
Theme URI: http://servalproject.org
Description: 
Author: romana
Author URI: http://timelady.com/blog
Description: Heavily modified form of Toolbox, by Automattic,  semantic, HTML5, canvas
Version: 1.2
Tags: custom-menu,  sticky-post, microformats,
This theme, like WordPress, is licensed under the GPL.
*/

/* Structure*/
@import url(reset.css);

body {
		margin:0;
		padding:0;
		border:0;			/* This removes the border around the viewport in old versions of IE */
		width:100%;
		background-color: #ffffe1;
		font: 14px "Lucida Grande", Lucida, Verdana, sans-serif;
	   text-align:left;
}

#page{
	   text-align:left;
}

#primary {
	float: left;
	margin: 0;
	width: 100%;
	   text-align:left;
}
#content {
	margin: 0;
}


/*General formatting*/
h1 {
	font-size: 20px;
	color: #53682b;
	font-weight: bold;
}
	
h2 {
	font-size: 18px;
	color: #53682b;
	font-weight: bold;
}

h3 {
	font-size: 16px;
	color: #53682b;
	font-weight: bold;
}

a {
	color: #53682b;
	font-weight: bold;
}

/* Text meant only for screen readers */
.screen-reader-text,
.section-heading {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Index page special tweaks -2 column settings */

	/* column container */
	.colmask {
		clear:both;
		float:left;
		width:100%;			/* width of whole page */
		overflow:hidden;		/* This chops off any overhanging divs */
	}
	/* common column settings */
	.colright,
	.colleft {
		float:left;
		width:100%;
		position:relative;
	}
	.col1,
	.col2,
	.col3 {
		float:left;
		position:relative;
		padding:0 0 1em 0;
		overflow:hidden;
	}
	/* 2 Column (double page) settings */
	.doublepage .colleft {
		right:50%;			/* right column width */
		background:#fff;		/* left column background colour */
	}
	.doublepage .col1 {
		width:46%;			/* left column content width (column width minus left and right padding) */
		left:52%;			/* right column width plus left column left padding */
	}
	.doublepage .col2 {
		width:46%;			/* right column content width (column width minus left and right padding) */
		left:56%;			/* (right column width) plus (left column left and right padding) plus (right column left padding) */
	}

/* Header*/

#branding {
	background: #53682b;
	width: 75%;
	border-radius: 22px;
	   -moz-border-radius: 22px; 
	   -webkit-border-radius: 22px;
	clear: both;
	display: block;
	margin: 5px auto 10px;
	padding-bottom: 40px;
}

#branding a {
	text-decoration: none;
}

#himg{
	margin-left: auto;
       margin-right: auto;
	display: block;
}

#headimg{
	text-align: center;
	background-color: #cccc99;
	padding: 10px 5px;
	border-radius: 22px;
	   -moz-border-radius: 22px; 
	   -webkit-border-radius: 22px;
	clear: both;
	display: block;
	width: 96%;
	margin-left: auto;
	margin-right: auto;
}

#bannerimg{
	padding-right: 5%;
	padding-left: 5%;
}

#bannerimg2{
	padding-bottom: 2%;
}
/*Footer*/

#footer {
	padding: 2em;
	background: #53682b;
	width: 75%;
	border-radius: 22px;
	   -moz-border-radius: 22px; 
	   -webkit-border-radius: 22px;
	clear: both;
	display: block;
	margin: 5px auto 40px;
	color: #ffffe1;
	text-align: center;
}

#footer a{
	color: #ffffe1;
    text-decoration: none;	
}

/* Menu*/

.menu{
	width:75%;
	margin-left: auto;
	margin-right: auto;
}
#access {
	clear:both;
	background: #53682b;
	float: left;
	display:block;
    width:100%;
	text-decoration: none;	
	border-radius: 22px;
	   -moz-border-radius: 22px; 
	   -webkit-border-radius: 22px;
	color: #ffffe1;
	padding-top: 10px;
	padding-bottom: 10px;
}
#access ul {
	list-style: none;
       text-decoration: none;	
	color: #ffffe1;

}
#access li {
	float: left;
	position: relative;
	width: 16%;
}
#access a {
	display: block;
	padding: 0 1em;
    text-decoration: none;	
	color: #ffffe1;
	font-size: 18px;
	text-align: center;
}
#access ul ul {
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #53682b;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
	text-decoration: none;	
	color: #ffffe1;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #53682b;	    text-decoration: none;	
	color: #ffffe1;
}
#access ul ul a:hover {
	background: #53682b;
}
#access ul li:hover > ul {
	display: block;
}


/* Content*/

#content{
	width: 75%;
	margin: 5px auto 40px;
}

#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	margin: 0 0 1em;
}

/*post formatting*/
.post {
		padding: 10px 0 15px 0;
}

.entry-content  {
		line-height: 18px;
		padding-top: 5px;
		padding-bottom: 5px;
}

.entry-content p {
		padding-top: 5px;
		padding-bottom: 15px;
}

.entry-meta {
		padding-top: 5px;
		padding-bottom: 5px;
}

.entry-meta a {
		color:  #000000;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}


/* Images*/

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
	
}
.wp-smiley {
	margin: 0;
}


/* Forms*/

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


