/*  

Theme Name: Haystack

Theme URI: http://www.haystack.co.uk/

Description: A custom-made theme for the Haystack website.

Version: 1.0

Author: Christian Wach

Author URI: http://www.haystack.co.uk/



	Haystack v1.0

	http://www.haystack.co.uk/



	This theme has been built by Christian Wach,

	whose blog you will find at http://www.haystack.co.uk/blog/

	

	The CSS, XHTML and design is released under GPL:

	http://www.opensource.org/licenses/gpl-license.php

	
*/





/*	
------------------------------
Overrides all browser defaults
------------------------------
	
Notes:

text-align: left; is not a default 
as such but it overrides the center 
declaration in the body tag that 
is used by ie5 to center all elements,
as margin auto is broke

*/
* {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	line-height: 1.2;
	text-align: left; 
}




/* 
 * ------------------------------------------------------------
 * specific tag styles
 * ------------------------------------------------------------
 */
 
body { 

	margin				: 0px;
	padding				: 0px;
	
	font-size			: 90%;
	font-family			: Helvetica, Arial, Verdana, sans-serif; 
	text-align			: center; /* this makes sure the container div centres in IE/PC */

	color				: #000; 
	background: #9B988F url("/blog/wp-content/themes/haystack/images/crop_repeat.jpg") bottom left repeat-x;
	
}

img	{

	border				: 0;
	
}

abbr,acronym {

	font-variant 		: small-caps;
	
}


input {

	margin: 0;
	padding: 0;

}


form, fieldset {

	border: 0;
	margin: 0;
	padding: 0;
	
}


legend {

	display				:none;
	
}


#client_form label {
	
	display: block;
	width: 120px;
	font-weight: bold;
	float: left;
	padding: 0px 0 20px 0;

}

#client_form {
	
	padding: 20px;
	padding-bottom: 10px;
	margin-bottom: 20px;
	background: #eee;

	/* "paper" borders */
	border-top			: 2px #ccc solid;
	border-left			: 2px #ccc solid;
	border-bottom		: 2px #aaa solid;
	border-right		: 2px #aaa solid;

}

#client_form h3 {
	
	padding: 0 0 20px 0;
	margin: 0px;

}


a img	{

	border				: 0;
	background-color	: transparent;
	
}

a:hover img	{

	border				: 0;
	background-color	: transparent;
	
}

p {

	font-size			: 100%;
	padding				: 0px;
	padding-left		: 10px;
	padding-right		: 10px;
		
}

.wikitext p {

	font-size			: 100%;
	line-height			: 180%;
	padding-left		: 0px;
	padding-right		: 10px;
	padding-top			: 3px;
	padding-bottom		: 17px;
		
}

.wikitext p em {

	font-size			: 100%;
	line-height			: 140%;
		
}



/*
 * ------------------------------------------------------------
 * link styles
 * ------------------------------------------------------------
 */
 
a {

	font-weight			: bold;
	
	color				: #7D5E31;
	background-color	: transparent;
	
}

a:hover {

	font-weight			: bold;
	
	color				: #B28646;

}





/* 
 * ------------------------------------------------------------
 * H1
 * ------------------------------------------------------------
 */
 
h1 {

	font-family			: Helvetica, Arial, sans-serif;

	margin				: 0px;
	padding				: 10px 0 0 20px;
	font-size			: 300%;
	line-height			: 160%;
	text-align			: left;
	font-weight			: bold; 
	color				: #fff;
	background-color	: transparent; 
	text-shadow			:2px 2px 2px #ccc;

}

h1 a { 

	line-height			: 160%;
	text-decoration		: none; 
	color				: #fff;
	background-color	: transparent; 
	
}

h1 a:hover { 
	
	line-height			: 160%;
	text-decoration		: underline; 
	color				: #fff;
	background-color	: transparent; 
	
}





/* 
 * ------------------------------------------------------------
 * H2
 * ------------------------------------------------------------
 */
 
h2 {

	font-family			: Helvetica, Arial, sans-serif;

	margin				: 0px;
	padding				: 0px 10px 0px 0px;

	font-size			: 110%;
	line-height			: 100%;
	text-align			: left;
	text-transform		: none;
	
	color				: #312F84;
	background-color	: transparent;

	text-shadow			:2px 2px 2px #ccc;

}

h2 a { 

	color				: #fff; 
	text-decoration		: none; 
	background-color	: transparent; 
	
}

h2 a:hover { 
	
	color				: #fff; 
	text-decoration		: underline; 
	background-color	: transparent; 
	
}



.wikitext h2 {

	font-family			: Helvetica, Arial, sans-serif;

	margin-left			: 0px;
	padding				: 0px;
	padding-top			: 30px;
	padding-bottom		: 10px;

	font-size			: 160%;
	line-height			: 130%;
	text-align			: left;
	text-transform 		: none;
	
	color				: #312F84;
	background-color	: transparent;
	
	border				: solid 0px #312F84;
	border-bottom		: dashed 0px #312F84;

}

.post h2 {

	text-shadow			:2px 2px 2px #ccc;

}

.wikitext h2 a { 

	font-weight			: bold;
	color				: #312F84;
	background-color	: transparent;
		
}

.wikitext h2 a:hover { 
	
	font-weight			: bold;
	color				: #312F84;
	background-color	: transparent; 
	
}







/* 
 * ------------------------------------------------------------
 * H3
 * ------------------------------------------------------------
 */
 
h3 {

	font-family			: Helvetica, Arial, sans-serif;
	line-height			: 0%;

	margin-top			: 5px;
	margin-bottom		: 5px;
	margin-left			: 0px;

	text-align			: left;
	font-weight			: bold; 
	color				: #312F84;
	background-color	: transparent; 
	
}

.post h3 {

	text-shadow			:2px 2px 2px #ccc;

}

.wikitext h3 {

	font-family			: Helvetica, Arial, sans-serif;
	font-size			: 130%;

	margin				: 0px;
	padding				: 25px 0px 10px 0px;
	line-height			: 130%;

	color				: #312F84;
	background-color	: transparent; 
	
}


.wikitext h3 a { 

	color				: #312F84;
	background-color	: transparent;
		
}

.wikitext h3 a:hover { 
	
	color				: #312F84;
	background-color	: transparent; 
	
}








/* 
 * ------------------------------------------------------------
 * H4
 * ------------------------------------------------------------
 */
 
h4 {

	font-family			: Helvetica, Arial, sans-serif;

	margin-left			: 0px;

	text-align			: left;
	font-weight			: bold; 
	color				: #312F84;
	background-color	: transparent; 
	
}

.wikitext h4 {

	font-family			: Helvetica, Arial, sans-serif;
	font-size			: 110%;

	margin				: 0px;
	padding				: 20px 0px 0px 0px;

	text-align			: left;
	font-weight			: bold; 
	color				: #312F84;
	background-color	: transparent; 
	
}

.wikitext h4 a { 

	color				: #312F84;
	background-color	: transparent;
		
}

.wikitext h4 a:hover { 
	
	color				: #312F84;
	background-color	: transparent; 
	
}




dt {

	padding-left		: 10px;
	padding-top			: 10px;
	padding-bottom		: 5px;
		
}


dd {

	padding-right		: 10px;
		
}





/*
 * ------------------------------------------------------------
 * Page Layout
 * ------------------------------------------------------------
 */


/* Overall container DIV - effectively defines margin from edge of browser window */
#container {

	width				: 90%;

	border				: solid 0px red;

	padding				: 0px;
	margin				: 30px auto 30px auto;
	
	background: #DDDCD9 url("/blog/wp-content/themes/haystack/images/crop_faded_repeat.jpg") bottom left repeat-x;

	
	/* "paper" borders */
	border-top			: 2px #ccc solid;
	border-left			: 2px #ccc solid;
	border-bottom		: 2px #aaa solid;
	border-right		: 2px #aaa solid;

}


/* Page Header DIV - defines uppermost section of page design -> until CONTENT div */
#page_header {
 
	margin: 0 0 0 0;
	padding: 0 0 0 0;

	clear: both;

	background-color: #7D5E31;

}
	
#logo_space {
 
	width				: 100%;
	height				: 91px;
	margin				: 0 0 0 0;
	padding				: 0;

	background: #7D5E31 url("/blog/wp-content/themes/haystack/images/hay_pattern.jpg") bottom left;

}


#logo_space img {
 
	margin				: 30px 30px 30px 20px;
	padding				: 0;

}




/*	
------------------------------
	Menu
------------------------------
*/

#topnav {
	display: inline-block;
	background-color: #7D5E31;
	border-top: 2px solid #ccc;
    border-bottom: 2px solid #aaa;
}

/* Hides from IE-mac \*/
* html #topnav {height: 1%;}
#topnav {
	display: block;
}
/* End hide from IE-mac */

#topnav ul {
	margin: 0px;
	padding: 0px;
}

#topnav li {
	display: inline;
	list-style: none;
	margin: 0px;
	padding: 0px 10px;
	/* Hides from IE-mac \*/
    float: left;
	padding: 0px;
	/* End hide from IE-mac */
    text-align: center;
    font-size: 80%;
    font-weight: bold;
	background-color: #7D5E31;
	border-top: 0px solid #b2b2b2;
    border-bottom: 0px solid #b2b2b2;
}

#topnav li#active_menu {
	background-color: #B28646;
}

#topnav li a {
	/* Hides from IE-mac \*/
    display: block;
    padding: 4px 10px 5px 10px;
	/* End hide from IE-mac */
    text-align: center;
	color: #ddd;
    text-decoration: none;
}

#topnav li#active_menu a {
	/* Hides from IE-mac \*/
    display: block;
    padding: 4px 10px 5px 10px;
	/* End hide from IE-mac */
    text-align: center;
	color: #fff;
    text-decoration: none;
}

#topnav li a:hover {
	color: #fff;
    background-color: #B28646;
    text-decoration: none;
}

/*
Clearing Space Issue Fix
http://css-discuss.incutio.com/?page=ClearingSpace
*/

#topnav:after {
    content: "."; 
    display: block; 
    position:relative; /*works better in IE5.5 or float in float situations*/
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearer {
	clear: both; 
	margin: 0px;
	padding: 0px;
	line-height: 0;
	font-size: 0px;
	height: 0;
	background: transparent;
}






#content {

	width				: 100%;

	padding				: 30px 0 0 0;
	margin				: 0 0 0 0;
	
	border-bottom		: 0px transparent solid;

	background: transparent url("/blog/wp-content/themes/haystack/images/hay_pattern_faded.jpg") top left repeat-x;


}

#content:after {
    content: "."; 
    display: block; 
    position:relative; /*works better in IE5.5 or float in float situations*/
    height: 0; 
    clear: both; 
    visibility: hidden;
}


#content p {

	font-size			: 100%;
	line-height			: 140%;
		
}

#content .quotepara {

	margin-left			: 10px ;
	margin-right		: 10px ;
	font-size			: 100%;
	line-height			: 140%;
	
}

#content .monospaced {

	font-family			: Courier, Monaco, serif;
	margin-left			: 10px;
	margin-right		: 10px ;
	font-size			: 76%;
	
}








#leftcolumn {

	width				: 73%;

	padding				: 10px 0 0 0;
	margin				: 0;

	border				: 0px red solid;
	background-color	: transparent;

	text-align			: left;
	float				: left;

}



#actionbartop {
	margin : 20px 15px 0 20px;
	padding : 0px;
	background: transparent;
	border: 0px solid black;
}

#actionbartop:after {
    content: "."; 
    display: block; 
    position:relative; /*works better in IE5.5 or float in float situations*/
    height: 0; 
    clear: both; 
    visibility: hidden;
}



/* Main text box */
div.wikitext {

	margin: 10px 15px 15px 20px;
	padding-top: 0px;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 25px;
	background: white;
	/*This breaks Netscape 4: (display does not go full width).
	* width: auto;
	*/
	clear: both;
	
	/* "paper" borders */
	border-top			: 2px #ccc solid;
	border-left			: 2px #ccc solid;
	border-bottom		: 2px #aaa solid;
	border-right		: 2px #aaa solid;

}



.wikitext ul {
	margin: 0 0 0 20px;
}

.wikitext ol {
	margin: 0 0 20px 20px;
}

.entry {
	padding-top: 10px;
}

.post small {
	font-size: 80%;
}

.wikitext img {

	/* "paper" borders */
	border-top			: 2px #ccc solid;
	border-left			: 2px #ccc solid;
	border-bottom		: 2px #aaa solid;
	border-right		: 2px #aaa solid;

}

.wikitext a img, .wikitext a:hover img {

	/* "paper" borders */
	border-top			: 2px #ccc solid;
	border-left			: 2px #ccc solid;
	border-bottom		: 2px #aaa solid;
	border-right		: 2px #aaa solid;

}







#actionbar {
	margin : 25px 0 10px 0;
	padding : 10px 15px 10px 15px;
	background: transparent;
	border: 0px solid black;
}

#actionbar:after {
    content: "."; 
    display: block; 
    position:relative; /*works better in IE5.5 or float in float situations*/
    height: 0; 
    clear: both; 
    visibility: hidden;
}




/* 
---------------------------------------
Right Column
---------------------------------------
*/
#rightcolumn {

	padding				: 20px 0 0 0;
	margin				: 0 0 0 0;
	margin-left			: 74%;
	
	background-color	: transparent;

	text-align			: left;

}

.rightcolumnitem {

	font-size: 100%;

	padding				: 0 0 0 0;
	margin				: 10px 0 20px 5px;
	
	background-color	: transparent;

	text-align			: left;

	border-bottom: 0px solid transparent;
	border: 0px solid red;

}


.rightcolumnitem p {

	padding				: 10px;

}

.rightcolumnitem h2 {

	text-shadow			:2px 2px 2px #999;

}

.rightcolumnitem h4 {

	text-shadow			:2px 2px 2px #999;

}


#rss_feed_list {

	margin				: 10px 10px 10px 10px;
	padding				: 0;
	list-style			: none;
	
}

#rss_feed_list img {

	margin: 0px 5px 0px 0px;
	padding: 0px;
	vertical-align: middle;	
}

#rss_feed_list li {

	margin: 0px 0px 5px 0px;
	padding: 0;
	list-style: none;
	
}

.rightcolumnitem ul {

	margin: 10px 0px 0px 0px;
	padding: 0 0 10px 0;
	list-style: none;
	
}

.rightcolumnitem ul li {

	margin: 0px 10px 0px 10px;
	padding: 0;
	list-style: none;
	
}


ul#links_ul {

	list-style: none;
	margin: 0px -10px 0px -10px;
	padding: 0px 0px 0px 0px;

}

ul#links_ul ul {

	list-style: none;
	margin: 10px 0px 10px 0px;
	padding: 0px 0px 0px 0px;

}

li.page_item {

	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;

}

ul#pages_ul {

	list-style: none;
	margin: 0px -10px 0px -10px;
	padding: 0px 0px 0px 0px;

}

.pagenav {

	font-size: 100%;

	padding				: 0 0 0 0;
	margin				: 0 0 7px 0;
	
	background-color	: #ddd;

	text-align			: left;

}

li.pagenav {

	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;

}

li.pagenav ul {

	list-style: none;
	margin: 10px 0px 10px 0px;
	padding: 0px 0px 0px 0px;

}

li.pagenav ul ul {

	list-style: none;
	margin: 4px 0px 10px 0px;
	padding: 0px 0px 0px 0px;

}


#footer {

	clear: both; 

}






/**
 *
 * This incarnation of this stylesheet is a complete rewrite from the
 * ground up.
 *
 * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
 * tool for mapping the more complex CSS node selectors, such as those
 * used to reference the various CalendarPlugin elements.
 */

/**
 * NS4 doesn't grok @import. This allows us to put things which
 * break NS4 in another file.
@import url(phpwiki-heavy.css);
 */


/**
 * General
 */ 

form { margin: 0px; padding: 0px }
table {
  border-spacing: 1px;
  /* For Mozilla */
  empty-cells: show;
}
caption {
  caption-side: top;
  text-align: left;
  margin-bottom: .5ex;
}


/**
 * Wiki Forms
 * 
 * The div inside the wikiadmin upload form does not
 * have a class yet, so it must be referenced indirectly
 */
div.wikiaction { 
	margin: 10px 0 10px 0;
	padding-left: 10px;
	background-color: transparent; 
}

/* For emacs users
 *
 * Local Variables:
 * mode: c
 * c-file-style: cc-mode
 * End:
 */




/* Begin Typography & Colors */

.postmetadata {

	margin: 0 0 30px 0;

	}



.postmetadata small {

	font-style: italic;

	}



.alt {

	background-color: #f8f8f8;

	border-top: 1px solid #ddd;

	border-bottom: 1px solid #ddd;

	}



.description {

	text-align: center;

	}



#wp-calendar caption, cite {

	text-decoration: none;

	}



.commentlist li, #commentform input, #commentform textarea {

	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;

	}

	

.commentlist li {

	font-weight: bold;

	}



.commentlist cite, .commentlist cite a {

	font-weight: bold;

	font-style: normal;

	}



.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;

	}



code {

	font: 1.1em 'Courier New', Courier, Fixed;

	}



acronym, abbr, span.caps

{

	letter-spacing: .07em;

	}



#wp-calendar #prev a {

	}



#wp-calendar a {

	text-decoration: none;

	}



#wp-calendar caption {

	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;

	text-align: center;

	}



#wp-calendar th {

	font-style: normal;

	text-transform: capitalize;

	}

/* End Typography & Colors */







/* Begin Structure */

.post {

	margin: 0 0 0 0;

	padding: 0px 0 0px 0;

	text-align: justify;

	}



.widecolumn .post {

	margin: 0;

	}



/* End Structure */







/*	Begin Headers */

.description {

	text-align: center;

	}



/* End Headers */







/* Begin Images */

p img {

	padding: 0;

	max-width: 100%;

	}



/*	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;

	}

	

img.alignright {

	padding: 4px;

	margin: 0 0 2px 7px;

	display: inline;

	}



img.alignleft {

	padding: 4px;

	margin: 0 7px 2px 0;

	display: inline;

	}



.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 ul li:before, #sidebar ul ul li:before {

	content: "\00BB \0020";

	}



.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: 5px 0 0 10px;

	}



#sidebar ul ul ul, #sidebar ul ol {

	margin: 0 0 0 10px;

	}



ol li, #sidebar ul ol li {

	list-style: decimal outside;

	}



#sidebar ul ul li, #sidebar ul ol li {

	margin: 3px 0 0;

	padding: 0;

	}

/* End Entry Lists */







/* Begin Form Elements */
#searchform {

	margin: 0px;

}

#searchform input {

	margin: 10px 0 0 10px;
	padding: 0;

}

#search_entry {

	font-size: 80%;

}


.entry form { /* This is mainly for password protected posts, makes them look better. */

	text-align:center;

	}



#commentform input {

	width: 170px;

	padding: 2px;

	margin: 5px 5px 1px 0;

	}



#commentform textarea {

	width: 100%;

	padding: 2px;

	}



#commentform #submit {

	margin: 0;

	float: right;

	}

/* End Form Elements */







/* Begin Comments*/

.alt {

	margin: 0;

	padding: 10px;

	}



.commentlist {

	padding: 0;

	text-align: justify;

	}



.commentlist li {

	margin: 15px 0 3px;

	padding: 5px 10px 3px;

	list-style: none;

	}



.commentlist p {

	margin: 10px 5px 10px 0;

	}



#commentform p {

	margin: 5px 0;

	}



.nocomments {

	text-align: center;

	margin: 0;

	padding: 0;

	}



.commentmetadata {

	margin: 0;

	display: block;

	}

/* End Comments */







/* 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 {

	}



acronym, abbr {

	}



blockquote {

	margin: 15px 30px 0 10px;

	padding-left: 20px;

	border-left: 5px solid #ddd;

	}



blockquote cite {

	margin: 5px 0 0;

	display: block;

	}



blockquote {
	margin: 0px 1% 10px 1%;
	padding: 10px 15px 0 15px;
	border-left: 5px solid #ddd;
	color: #333;
	background-color: #eee;
	display: block;
	font-size: 90%;
}

blockquote cite {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 90%;
}



.center {

	text-align: center;

	}



hr {

	display: none;

	}



sup
{
	font-size: smaller;
}



.navigation {

	display: block;

	text-align: center;

	margin-left: 10px;

	margin-right: 10px;

	overflow: hidden; 

	}



/* End Various Tags & Classes*/
