/*
Theme Name: gothick
Theme URI: http://gothick.org.uk/
Description: Style to match existing look of gothick.org.uk
Version: 0.1a
Author: Matt Gibson
Author URI: http://gothick.org.uk/
Tags: simple, elastic, two columns, widgets

	gothick 0.1
	 http://gothick.org.uk

	Custom-built theme by Matt Gibson, developed to
	match the existing style of gothick.org.uk.

	ToDo: Left and right floated image styles, to be compatible with WordPress 2.7 
	image insertions.

*/

/* 
	CSS reset based on Eric Meyer's "meyerweb" CSS Reset v1.0 | 20080212
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	/* content: none; This was causing validation problems. Looks like a hack for something, anyway... */
}

/* remember to define focus styles! */
:focus {
	outline: none;
}


/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*
	END CSS Reset 
*/

/* Overall look & Feel */

html, body
{
	/* I might try out a few background images later. */
	/*	background-image: url(../images/bumptile.png); */
	/* background-repeat: repeat-x; */

	/* This font-stack shamelessly stolen from an Apple email (the one apologising about 
	   how crap the MobileMe launch was, to be specific!) */
	font-family: "Lucida Grande", Arial, Helvetica, Geneva, Verdana, sans-serif;
	/* Experiments:
	font-family: Geneva, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif ;
	font-family: Apple Gothic, Trebuchet, Arial, Helvetica, Verdana, sans-serif;  
	font-family: GillSans, Calibri, Trebuchet, sans-serif ;  
	font-family: Geneva, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif ; 
	font-family: Century Gothic, Apple Gothic, Arial, Helvetica, Verdana, sans-serif; 
	font-family: Helvetica, Verdana, Arial, sans-serif; 
	*/
}

html
{
	background-image: url(images/stripe_tile.png);
	background-repeat: repeat;
}

body
{
	margin: 10px auto 10px;
	padding: 10px;
	width:  960px;
	border-style: solid;
	border-width: 1px;
	border-color: black;
	background-image:  url(images/bgtexture.jpg);
}


dd {
	font-family: "Lucida Grande", Arial, Helvetica, Geneva, Verdana, sans-serif;
}

h1, h2, h3, h4
{
/*	font-family: "American Typewriter", "Clarendon Std", Georgia, "Courier New", Courier, Monaco, monospace; */
	font-weight: normal;
	margin-bottom: 0.4em;
	margin-top: 1em;
	color: black;
}

h3 {
	font-weight: bold;
}


h1:first-child
{
	margin-top: 0em;
}


h1
{
	font-size: 1.2em;
	font-weight: bold;
}

h2, div#sidebar li#search label
{
	font-size: 1.2em;
	font-weight: bold;
}


p {
	line-height: 1.5em;
	font-size: 0.8em;
	margin-top: 0.4em;
	margin-bottom: 1em;
}

p.footnote {
	font-size: 0.7em;
}

sup {
	vertical-align: super;
	font-size: 0.5em;
}

ul {
	margin-left: 1.5em;
	font-size: 0.8em;
	line-height: 1.2em;
	list-style-type: square;
}

ul li {
	margin-bottom: 0.1em;
}

pre {
	font-family: 'Courier New', Courier, Fixed;
	background-color: white;
	padding: 5px;
	overflow: auto;
        /* //overflow-x: scroll; */
	border: 1px solid #c1c1c1;
}


:focus /* Subtle outline around links might help with accessibility for people browsing from the keyboard */
{
/*	outline-width: thin;
	outline-style: dotted; */ /* This was causing gyp in IE, so I'm going to drop it for now. */
}

/* Colours */

/* Links and Focusing */

:link {
	color: #3C2A13;
	text-decoration: underline;
}

h1 :link, h2 :link, h3 :link, h4 :link {
	text-decoration: none;
}

a:visited {
	color: #8F7A4D;
	text-decoration: underline;
}

a:hover {
	color: #8F7A4D;
	text-decoration: underline;
}

html, body
{
	background-color: white;
	color: #555555;
}

div#headline
{
	color: #444;
}

div
{
	/*
	border-color: #ff73e5; Little bit of highlighting for the separators */ 
	border-color: #c1c1c1; /* 370d3b */
}

.contrast
{
	color: white;
	background-color: black;
}

.contrast :link {
	color: #b6b3a7;
}

.contrast a:visited {
	color: #E4E1D1;
}

.contrast a:hover {
	color: #E4E1D1;
}

div#bar a /* make sure the site banner is always white on black */
{
	color: white; 
}

div#bar h2 a /* Site subtitle */
{
/*	color: #ff4; I keep thinking this looks better yellow, but it doesn't. */
}


/* Rounded Corners */
div#bar, div#footer 
{
	/* 	
		ToDo: Drop some of these as and when border-radius gets into a few more browswers.  Don't bother
		waiting for useless bloody heel-dragging Internet Explorer, though. 
	*/
	-moz-border-radius: 0.5em; 
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
}

/* Header */
div#bar
{
	position:relative;
	font-family: "American Typewriter", "Clarendon Std", Georgia, "Courier New", Courier, Monaco, monospace;
	margin-top: 30px;
	margin-right: 0px;
	padding-bottom: 0.5em;
	width: 960px;
}

div#bar a /* Turn off all decoration for links in the main heading; 
			 the people who don't know the convention of the site icon
			 or heading being clickable still have a "home" link in the
			 menu bar, anyway. */
{
	text-decoration: none;
	outline: none;
}

div#bar img#barimg { /* Site logo */
	margin-top: -30px;
	float: left;
	padding: 0px;
	margin-left: 10px;
	width: 190px;
	height: 190px;
}

div#bar img#rssicon { /* RSS Icon */
	position: absolute;
	top: 0px;
	right: 15px;
	margin-top: 10px;
	width: 48px;
	height: 48px; 
}

div#bar h1 { /* Site title */
	font-size: 4.5em;
	font-weight: normal;
	margin: 0px 0px 0px 230px;
}

div#bar h2 /* Site subtitle */
{ 
	font-size: 1.2em;
	position: relative;
	top: -0.3em;
	margin: 0px 0px 0px 230px;
	font-weight: normal;
}

/* Navigation */


div#menubar
{
	font-family: "American Typewriter", "Clarendon Std", Georgia, "Courier New", Courier, Monaco, monospace;
	margin-top: 2em;
	margin-bottom: 1em;
	padding-left: 0px;
	margin-left: 230px;
	background-color: transparent;
}

div#menubar ul
{
	margin-left: 0px;
	font-size: 16px;
	line-height: 2.5em;
	padding: 0px;
}

div#menubar ul li
{
	display: inline;
	padding: 0px 0px 0px 0px;
	margin-right: 0.5em;
}

/* Navigation */
div#menubar ul li a {
	color: #888;
	background-color: transparent; 
	text-align: center;
 	padding: 0.2em 10px 0.2em 10px;
	text-decoration: none;
	border-top-style: solid;
	border-top-width: thick;
	border-bottom-style: solid;
	border-bottom-width: thick;
	border-top-color: transparent;
	border-bottom-color: transparent;
}

div#menubar ul li a:hover, div#menubar ul li.current_page_item a
{
	border-top-color: #ff73e5;
	border-bottom-color: #ff73e5;
	color: black;
}


div#menubar ul li a:focus
{
	outline-style: dotted;
	outline-width: thin;
}

div#menubar ul li.current a
{
	text-decoration: none;
}

/* The little per-page headline below the main navigation */
div#headline
{
	font-family: Georgia, "Times New Roman", Times, serif;
	background-image: none;
	font-style: italic;
	font-size: 1.4em;
	text-align: justify;
	/* border-style: dotted; */
	/* border-width: medium; */
	background-color: white;
	border-style: solid;
	border-width: 2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 10px 20px;
	margin: 30px 20px 20px;
	width: 870px;
}


div#headline p
{
	margin: 0px;
}

/* Main content wrapper */
div#content
{
	width: 100%;
	clear: left;
}


/* Sidebar */
div#sidebar
{
	width: 150px;
	float: left;	
	margin-left: 20px;
	margin-top: 0px;
	margin-bottom: 10px;
	background-color: white;
	padding: 20px 20px 20px 20px;
	background-color: white;
	border-style: solid;
	border-width: 2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;

}

div#sidebar li:first-child h2
{
	margin-top: 0px;
}

div#sidebar p
{
	font-size: 0.8em;
}

div#sidebar ul 
{
	font-size: 0.8em;
}

div#sidebar > ul
{
	list-style-type: none;
	margin-left: 0px;
}

div#sidebar p.microfiction
{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
}

div#sidebar div.attribution
{
	font-size: 0.8em;
	border-top-style: dotted;
	border-top-width: thin;
	margin-top: 1em;
}

/* Big main div on most pages */
div#main
{
	margin-left: 230px;
	padding-right: 20px;
}

.apps div#main
{
	margin-left: 0px;
}


/* Standard WordPress image etc. alignment */
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
   margin: 0.5em 0.5em 0.5em 0em;
}

.alignright {
   float: right;
   margin: 0.5em 0em 0.5em 0.5em;
}


.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -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 Standard WordPress image etc. alignment */

div#main h2
{
/*	clear: none; */
	
}

div#main div.credits
{
	margin-top: 1em;
	padding-top: 1em;
	border-top-width: thin;
	border-top-style: dotted;
	font-size: 0.8em;
	text-align: right;
	font-style: italic;
}

div#main div.credits ul
{
	list-style-type: none;
}

div.navigation
{
	font-size: 0.8em;
	margin-bottom: 0em;
}

div.navigation div.alignleft, div.navigation div.alignright
{
	padding-top: 0px;
	padding-bottom: 0px;
}

/* The error page hasn't got a nav or an intro, so it gets handled differently. */
div#content.missing
{
	clear: none;
}

.missing div#main
{
	margin-left: 230px;
}

.missing div#main h1
{
	font-size: 4em;
}

.missing div#main p
{
	font-size: 1.6em;
}


/* Style for gallery pages.  They display inline to form a grid */

div.gallery_image
{
 	display: inline;
}

.gallery_image img
{
	padding: 10px;
}

.gallery_image a
{
	text-decoration: none; /* Stop little glitchy underlines showing up in Opera.  It's probably my fault, but this is a quick fix, at least */
}

/* Style for individual photo pages */

div.singlephoto
{
	margin-top: 0px;
	padding-top: 0px;
	text-align: center; /* Hack to make IE6 and below centre our contained div, below, just like every other browser
					       does because we've declared it with auto margins, the proper way */
}

div.singlephoto
{
	text-align: left; /* Reset the IE6 hack, above.  Probably don't need this for this page, but
						 it might stop me going insane later. */
	float: none;
	width: 500px; /* Flickr standard images are 500px max */
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
}

div.singlephoto div#thephoto
{
	text-align: center;
}

div.singlephoto h1
{
	margin-bottom: 20px;
}

.singlephoto div#back  /* Back to gallery */
{
	text-align: center;
}

.singlephoto div.controlbutton /* Control buttons Next, Previous, and Back To Gallery */
{
	height: 20px;
	margin: 0px 0px 10px 0px;
	font-family: "American Typewriter", "Clarendon Std", Georgia, "Courier New", Courier, Monaco, monospace;
	font-size: 1.2em;
	font-weight: normal;
}

.singlephoto div.controlbutton a /* Control buttons Next and Previous */
{
	padding: 5px;
	display: block;
/*	text-decoration: none;  I've changed the inverse effect, so this is probably better with simple underlines. */
	outline: none;
}

.singlephoto div.controlbutton a:hover /* Control buttons Next and Previous */
{
	display: block;
}

.singlephoto div.controlbutton a:focus
{
	display: block;
}




.singlephoto div#previous /* Previous */
{
	text-align: left; /* Here I'm testing svn from the MacBook */
	float: left;
}

.singlephoto div#previous a
{
	/* And I'm just adding this comment to test svn from the iMac. */
	padding-left: 0px;
}

.singlephoto div#next /* Next */
{
	text-align: right; /* IE seems to need this */
	float: right;
}

.singlephoto div#next a
{
	padding-right: 0px;
}

.singlephoto div#thephotocaption
{
	text-align: left;
	font-size: 0.9em;
}


/* Style for the three-column Fave Mac Application page */

/* These work in IE as well as others: */

.apps div.column
{
	margin-left: 3%;
	margin-bottom: 20px;
	padding-top: 0px;
	padding-right: 0px;
 	float: left; 
	width: 940px;
}

.apps div.post
{
	padding-right: 0;
}

/* I've used some non-semantic markup so that I can have percentage widths for the columns, but
   keep with the theme of a 20-pixel padding around the contents.  Thus there's a column inside
   each column, div.columncontent, that I can apply the 20px padding to: */

div.columncontent {
	padding: 0px 20px 20px 20px;
}

div#columna {
	margin-left: -20px;
	padding-left:  0px;
	width: 280px;
}

div#columnb {
	width: 280px;
}

div#columnc {
	width: 280px;
	margin-right: 0;
}


.apps div.column dt {
	margin-top: 0.5em;
	font-size: 0.9em;
	/* font-family: "American Typewriter", "Clarendon Std", Georgia, "Courier New", Courier, Monaco, monospace; */
}

.apps div.column dd {
	margin-left: 0.5em;
	margin-top: 0.2em;
	font-size: 0.8em;
	line-height: 1.1em;
}


/* Style for items on the Updates page */

div#sidebar.updates a.current
{
	font-weight: bold;
}

div.updateitem a.permalink {
	font-size: 0.8em;
}

div.updateitem div.itemcontent {
	margin-top: 1em;
}

/*
div.updateitem div.byline
{
	padding-bottom: 0.4em;
	margin-top: 0.5em;
	border-bottom-style: dotted;
	border-bottom-width: thin;
	text-align: right;
	font-style: italic;
	font-size: 0.8em;
}
*/

div.post
{
/*	background-color: #fce7ff; */
	background-color: white;
	padding-bottom: 20px;
	padding: 20px;
	margin-bottom: 10px;
	padding-top: 0px;
	background-color: white;
	border-style: solid;
	border-width: 2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	float: left;
	width:  660px;
}

div.post h2, div.post h1
{
	text-align: left;
}

.widecolumn div.post h2, .widecolumn div.post h1
{
	margin-top: 2em;
}

div#page div.post h1, div#page div.post h1
{
	margin-top: 20px;
}

div.apps div.post
{
	float: left; /* If the columns are floating, so must we. */
	margin-left: 20px;
	width: 890px;
}

div.apps div#main p
{
	margin-left:  20px;	
}

div.post p.postmetadata
{
	clear: left;
	padding-bottom: 0.4em;
	margin-top: 0.5em;
	text-align: right;
	font-style: italic;
	font-size: 0.8em;	
}

div.post small
{
	font-size: 0.6em;
	font-weight: bold;
}

div.entry {
	margin-top: 1em;	
}

div.updateitem div.byline span.category
{
	font-weight: bold;
}

/* Comments */
ol.commentlist
{
	border-style: solid;
	border-width: 2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-color: #c1c1c1;
	background-color: white;
	width:  660px;
	padding: 20px;
}

ol.commentlist li
{
	padding: 10px 10px 10px 10px;
	border-top: dotted 1px black;
}

ol.commentlist li:first-child
{
	border-top:  none;
}


ol.commentlist li.bypostauthor
{
	background-color: #eae2cb;
	color:  black;
}

div#respond 
{
	padding:  20px;
	border-style: solid;
	border-width: 2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-color: #c1c1c1;
	background-color: white;
	margin: 20px 0;
	width: 660px;
}

form#commentform textarea#comment
{
	width: 100%;
}

div.comment-author.vcard
{
	margin-bottom: 0.2em;
}

div.commentmetadata
{
	font-size: 0.6em;	
}

/* Style for individual update pages */
.archive-navigation
{
	font-size: 0.8em;
}

div#back.archive-navigation {
	font-size: 0.8em;
}

div#earlier.archive-navigation {
	margin-top: 1em;
	float: left;
}

div#more-recent.archive-navigation {
	margin-top: 1em;
	text-align: right;
}

/* Contacts Page */

.contacts div#sidebar /* Skype's buttons have a white background.  For now, we'll just style to match */
{
	background-color: white;
}

/* Footer */

div#footer
{
	clear: both; 
	padding: 10px 20px 10px 20px;
	width: 920px;
}

div#footer p
{
	font-family: "American Typewriter", "Clarendon Std", Georgia, "Courier New", Courier, Monaco, monospace;
	font-size: 1em;
	margin: 0px;
	padding: 0px;
}

div#footer div#copyright_div
{
	float: left;
}

div#footer div#toolsused
{
	text-align: right;
}