/*
Theme Name: axis6-0.7
Theme URI: http://www.axisgraphicdesign.co.uk
Description: axis6 theme 2011-02-04, based on Troy Dean's 960bc theme
Author: Axis Graphic Design
Author URI: http://www.axisgraphicdesign.co.uk
Version: 0.7.1
Tags: 960gs, grid, fixed-width, four-columns, left-sidebar, right-sidebar
Notes:
		+ Post Thumbnails are enabled
		+ Uses Single Post templates, by category: single-[slug].php
			http://www.nathanrice.net/blog/wordpress-single-post-templates/
				was developed before 3.1 - could probably use 3.1 Post Formats now
		+ several other important additions to functions.php - especially menu behaviour
		+ jQuery 1.7 is loaded from Google CDN
		+ In this 0.6 version the text content is in the Excerpt only
			-> should change in the future
		+ The Post Content area is used only for images in this version
			-> use [gallery] shortcode to handle attached images differently to text content in next version as per layout
		+ To add images to Pages use the WP Featured Image function
		+ Images are 380px wide x DIP
		+ Simple jQuery Accordion Menu is by Marco van Hylckama Vlieg, http://www.i-marco.nl/
		+ @font-face: CallunaRegular is a font by Jos Buivenga (exljbris) -> http://www.exljbris.com/
Changes:
		.7.1 = moved external scripts to inline in footer.php and header.php where poss. (for debug), changed jQuery load and vers. to 1.7 (commented) to fix loss of media upload facility in WP3.3.1 --> bug tracked down to WP Time Machine plugin incompatibility, now deactivated. Unable to do more without access to filesystem
		.7 = added News archives to sidebar
		.6.8.5 = very minor update -> removing/updating comments in functions.php, added conditional for credits link
		.6.9 = some tidying before making the RC, deleted #sidebar-right styles from twitter section
To Do:	rewrite for [gallery] shortcode -> v1.0

	based on 960bc v1.6
	http://www.guardianwebdesign.com.au/960bc

	The 960bc theme was designed and built by Troy Dean
	as a starting point for WordPress developers who
	like the 960 grid system.
	http://www.960.gs
	The theme includes no images and minimal styling,
	providing a blank canvas for the designer to unleash
	her css magic.

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

@import url(colours.css);
@import url(typography.css);


/* !! this file is a mess now - sort it out !!! >:[ */


/* some styles for the nav menu hieracrchy */

.current-archive { font-weight: bold; }

#sidebar ul ul, #sidebar ul
{
	/*font-size: 1.2em;*/
	line-height: 1.4em;
	/*margin-top: 0.3em;*/
}

#sidebar ul ul li, #sidebar ul li { margin-top: 0.8em; } /* NB: this is NEW FRIDAY 25 FEB 13:35 for 0.6.8 version - increases line spacing - a lot! */
ul#menu-axis-main-menu > li:first-child { margin-top: 0; } /* NB: this is NEW FRIDAY 25 FEB 13:35 for 0.6.8 version - fixes first nav nenu item */
.menu {} /* NB: this is NEWLY EMPTY FRIDAY 25 FEB 13:35 for 0.6.8 version - appeared to be a redundant definition */

#menu-container { }

#menu-container-inner { color: DimGray; }

/* I think all the following list item exceptions are required because rationale for the menu link behaviour isn't logical */

.A-menu li a { text-decoration: underline; }

.B-menu { margin-left: .5em; margin-bottom: .8em; }

li.B-menu a { text-decoration: none; }

ul.sub-menu li a { text-decoration: none; line-height: .8em; }

ul.B-menu li a { text-decoration: none;  }

ul#ap-menu { margin-left: 0.5em; }

ul#menu-misc-menu { margin-top: .8em;  }

li.menu-item-object-page { margin-bottom: .8em; }

ul.acitem li { margin-bottom: .8em; }

.C-menu { margin-left: 1em; /*color: red;*/ }

.D-menu { margin-left: 1.5em; }

ul#menu-axis-main-menu { line-height: 1em; }

ul.sub-menu li:first-child { margin-top: .5em; }

#extra-info {margin-top: 1.2em;}

.search {margin-bottom: 1.2em; }

ul#credits { margin-left: 0; padding-left: 0; }

#footer a.credits, #footer a.credits:link, #footer a.credits:visited { color: white; }
#footer a.credits:hover, #footer a.credits:active { color: DimGray; }

ul#author li { line-height: 1.4em; }

#searchsubmit { display: none; } /* a bodge ? */

.search-container {
	margin-top: 2em;
	} /* one of these must be redundant I'm sure */

.search-container label {
	margin-top: 2em;
	}

.widget { margin-top: 1.5em; /* widget continer class */ }

.widget:first-child { margin-top: 0; /* widget continer class */ }

.underline
{
	padding-bottom: 1.3em;
	border-bottom: 2px solid white;
}

/* twitter style */
#my-twitter-container
{
	/*height: 26.5em;*/
	height: auto;

	/*margin-top: 30px;*/ /* 30px lines it up with top of post images */
	/*overflow: hidden;	*/
}

#my-twitter-container P {
font-size: 1.2em;
letter-spacing: .5px;
	line-height: 1.2em;
	color: #000;

}

ul.twitter
{
	/*padding: 10px;*/
	/*background-color: #e3e3db;*/
	font-size: 1.2em;
	letter-spacing: .5px;
	line-height: 1.2em;
	color: #000;
	padding-top: .8em;;
	}

.twitter-item
{
	margin-bottom: 9px;
	overflow: hidden;
}

.follow { margin-bottom: 1em; }

.twitter-link, .twitter-user, .twitter-item
{	/* to overwrite the dynamicly delivered twitter style ?? should be in typography.css */
	font-family: 'CallunaRegular', "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
	*/ color: #333333;
}

/* end of twitter */

/* Begin Structure */

body
{
	width: 100%;
	height: 101%;
	overflow: scroll;
	margin: 0;
	padding: 0;
	position: relative;
}

#page
{
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
}

#header
{
	height: 133px;
	width: 100%;
}

#headerimg { margin-top: 55px; }

#strapline { margin-top: .9em; }

#logo-container
{
	margin: 0;
	height: 90px;
	width: 90px;
	background: #fff url(images/site/axis-logo-90-v4.gif) no-repeat;
	border: 1px solid white;
}

/* This hides the 'skip to' links and maintains accessibility */
#skip
{
	position: absolute;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#content { margin-top: 40px; }

#sidebar
{
	text-align: left;
	padding-top: 0;
	padding-bottom: 25px;
}

#footer {}

#footerContainer {
	margin-top: 4.4em;
	}

.post { /*margin: 0 0 40px;*/ margin-bottom: 2.4em;}
.postmetadata { margin: 30px 0; }

.smallattachment
{
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment { margin: 5px 0px; }
.postmetadata { /*	clear: both;*/ }

/* End Structure */

/* Begin Images */
p img
{
	padding: 0;
	max-width: 100%;
}

img.centered
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright
{
	padding: 0;
	margin: 0 0 4px 0;
	display: inline;
}

img.alignleft
{
	padding: 0;
	margin: 0 0 4px 0;
	display: inline;
}

.alignright { float: right; width: 22em; text-align: right; height: 2.2em; overflow: hidden; }
.alignleft { float: left; width: 22em; text-align: left; height: 2.2em; overflow: hidden; }

/* 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; }*/
html>body .entry li { margin: .7em 0 .8em 10px; } /* 1px => .1em ??? */

/* .entry ul li:before, #sidebar ul ul li:before {
		content: "\00BB \0020";
		} */

/* &raquo; for list items from 960bc theme */
.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;
}

/* End Entry Lists */
/* Begin Form Elements */
#searchform
{
	margin: 0;
	padding: 0;
	text-align: left;
}

#sidebar #searchform #s
{
	width: 130px;
	padding: 0;
	margin: 0;
}

#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: 100%;
	padding: 2px;
}

#respond:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#commentform #submit
{
	margin: 0 0 5px 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 .avatar
{
	float: right;
	padding: 2px;
}

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

/* End Calendar */
/* Begin Various Tags & Classes */
acronym, abbr, span.caps { cursor: help; }

blockquote
{
	margin: 15px 30px 0 10px;
	padding-left: 20px;
}

blockquote cite
{
	margin: 5px 0 0;
	display: block;
}

.center { text-align: center; }
.hidden { display: none; }
hr { display: none; }

.navigationTop
{
	display: block;
	text-align: center;
	margin-top: 0;
	margin-bottom: 30px;
}

.navigationBottom
{
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* End Various Tags & Classes*/
/* Captions */
.aligncenter,
div.aligncenter
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption
{
	text-align: center;
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img
{
	margin: 0;
	padding: 0;
}

.wp-caption p.wp-caption-text
{
	padding: 0 4px 5px;
	margin: 0;
}

/* End captions */

/*Shopping Cart*/

.shopping_cart {
	padding: 30px !important;
	border: 1px solid #000;
	font-size: 1.125em !important;
	line-height: 1.5em !important;
}

.shopping_cart h2 {
	font-size: 1.125em !important;
	font-weight: bold;
	border-bottom:1px solid #000;
	padding-bottom: 10px;
	margin-bottom: 30px;
}
.shopping_cart tr.wpspsc_checkout_form td form {
	text-align: right;
	padding-top: 20px;
	border-top:1px solid #000;
}

.wspsc_cart_item_row th {
	padding-bottom: 10px;
	font-weight: bold;
}

tr.wspsc_cart_item_thumb td  {
	padding-bottom: 20px;
}

.wspsc_cart_total td {
	border-top: 1px solid #000;
	padding: 20px 0;
	font-weight: bold;
}

.wp_cart_variation_section {
	margin-bottom: 20px;
}

.wp_cart_empty_cart_section {
	font-size: 1.625em;
}

.wp_cart_button_wrapper input[type="submit"] {
	margin: 15px 0;
	border: none !important;
	display: inline !important;
	background-color: #000;
	color: #fff;
	padding: .675em 1em .75em;
	text-decoration: none;
	cursor: pointer;
}

.wp_cart_button_wrapper input[type="submit"]:hover {
	color: #000;
	background-color: #999;
}