/* 
Theme Name: Chameleon
Theme URI: http://webgazette.co.uk/
Description: Chemeleon theme for WordPress by Ainslie Johnson
Version: 1.1
Author: Ainslie Johnson
Author URI: http://webgazette.co.uk
Modified by Ian Stobie 15 July 2009 to alter left and right sidebar widths enough to effectively make a two column layout and to enlarge body font size from 70 to 75 per cent and to widen screen wrapper
*/


body {
	background: #404040;
	text-align:center;
	font: 75% Verdana, Geneva, Arial, Helvetica, sans-serif; 
}

/* Wrapper */

/* Modified by Ian Stobie 15 July 2009 to change min width from 750 to 790px and margin from 10px to 2px  Min width also changed from 750 to 790px in IE code below  */

#wrap {
	max-width:960px;
	min-width: 790px;
	margin: 2px auto;
	border: 2px solid white;
	background: #fff;
}

/* 	This is for IE 6.0 as it does not implement the min and max width above 
		this code is not valid css so if this wories you you can delete it
		but the theme will then be fully flexible in IE 6.0 and below	*/

* html div#wrap {
width: 960px /* fallback value */;
width:expression(((document.compatMode && 
document.compatMode=='CSS1Compat') ? 
document.documentElement.clientWidth : 
document.body.clientWidth) 
> 978 ? "960px" : (((document.compatMode && 
document.compatMode=='CSS1Compat') ? 
document.documentElement.clientWidth : 
document.body.clientWidth) < 768 ? "790px" : "99%"));
}



/* Header */

#header {
	height: 150px;
	margin: 0;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
}

#header h1 {
	margin: 0px;
	padding: 50px 0 5px 0;
	font-size: 3.5em;
	letter-spacing: 10px;
}

#header h1 a {
	text-decoration: none;
}

#header h1 a:hover {
	color: #ffff00;
}

#header h2 {
	margin: 0px;
	padding: 0px;
	font-size: 1.3em;
	letter-spacing: 3px;
}

/* Horizontal Menu */

#navigation {
	height: 31px;
	border-top: 2px solid #fff;
}

#navigation ul {
	margin: 0 0 0 5px;
	padding: 0px;
}

#navigation li {
	float: left;
	margin: 0 2px 0 2px;
	padding: 8px 7px 7px 7px;
	list-style: none;
	font-size: 1.1em;
}

#navigation li a {
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}

#navigation li.current_page_item a {
	text-decoration: underline;
}

/* Sub-page menu */

#subpage {
	clear: both;
	margin: 0;
	padding: 0;
}

#subpage ul {
	text-align: left;
	margin: 0px;
	padding: 0;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #333333;
}

#subpage ul li {
	display: inline;
	list-style: none;
	line-height: 25px;
	padding: 0px 0 0px 0;
	margin: 5px;
	font-size: 0.9em;
	font-weight: bold;
	text-transform: none;
}

#subpage ul li a {
	margin-top: 10px;
	text-transform: uppercase;
	text-decoration: none;
}

#subpage ul li a:hover {
	text-decoration: none;
}

#subpage ul li ul li {
	display: none;
}

/* Content wrapper */

#container {
	background: #fff;
	margin:0;
	padding:0;
	text-align:left;
	width:100%;
}

/* Content */

/* Modified by Ian Stobie 15 July 2009 to increase width of main panel by reducing width from right margin from 360px to 220px effectively eliminating left sidebar */

#content {
	margin: 0 220px 0 0;
	padding: 10px 30px 10px 30px;
}

.post {
	margin: 0px;
	padding: 0 0 20px 0;
}

#content p {
	color: #000;
}

#content p.category {
	padding: 2px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

#content p.category a {
	text-decoration: none;
	font-weight: bold;
}

#content h2 {
	font-size: 1.5em;
}

#content h3 {
	font-size: 1.2em;
}

.post h2, .page h2  {
	padding: 3px 0 3px 0;
	border-bottom: 1px solid #000;
}

.post h2 a, .page h2 a {
	text-decoration: none;
	font-weight: bold;
}

.post h2 a:hover, .page h2 a:hover {

}

.page h3 {
	color: #000;
}

.page {
	border-bottom: 1px solid #000;
	padding-bottom: 20px; 
}

.entry p, .entrytext p {
	line-height: 18px;
}

.entry a, .entrytext a, .page a {
	text-decoration: none;
	font-weight: bold;
}

.entry a:hover, .entrytext a:hover, .page a:hover {
	text-decoration: underline;
}

.entry, .entrytext {
	padding-top: 0px;
}

p.edit a {
	text-decoration: none;
	font-weight: bold;
}

p.edit a:hover {
	text-decoration: underline;
}

/* Postmetadata */

.postmetadata {
	font-size: 0.8em;
	border: 1px solid #000;
	padding: 10px;
	margin: 0px;
	margin: 20px 0 0 0;
}

.postmetadata a {
	text-decoration: none;
	font-weight: bold;
}

.postmetadata a:hover {
	text-decoration: underline;
}

/*** Comments Display ***/

.commentlist li a {
	font-weight: bold;
	text-decoration: none;
}

.commentlist li a:hover {
	text-decoration: underline;
}

ol.commentlist li {
	border: 1px solid #000;
	padding: 10px;
	margin-bottom: 10px;
}

ol.commentlist li cite {
	text-transform: capitalize;
}

ol.commentlist li p {
	padding-top: 0;
}

/* Images  */

.entry img, .entrytext img {
	background: #fff;
	border: 1px solid #000;
	margin: 5px;
	padding: 5px;
}

.entry a:hover img, .entrytext a:hover img {
	border: 1px solid #000;
}

img.wp-smiley {
	border: 0px;
	margin: 0px;
	padding: 0px;
}

.left {
	background:#fafbfc;
	border:1px solid #000;
	float:left;
	margin: 5px 15px 6px 0px;
	padding:5px;
}

.right {
	background:#fafbfc;
	border:1px solid #000;
	float:right;
	margin: 5px 0px 6px 15px;
	padding:5px;
}

.noalign {
	background:#fafbfc;
	border:1px solid #000;
	margin: 5px 5px 5px 5px;
	padding:5px;
}


/* Sidebar */

/* Modified by Ian Stobie 15 July 2009 to reduce total sidebar width from 360px to 220px with left sidebar shrunk from 175px to just 10px and right sidebar increased from 170px to 210px */


#sidebar {
	width: 220px;
	margin: 0px;
	padding: 0px;
	float: right;
}


#left {
	padding: 5px 0 10px 0;
}

#right {
	padding: 5px 10px 10px 0;
}

#left {
	float: left;
	margin: 0px;
	width: 10px;
}

#right {
	margin: 0px;
	float: right;
	width: 210px;
}

#sidebar h2 {
	color: #000;
	font-size: 1.2em;
	margin: 0 0 10px 0;
	padding: 10px 0 2px 0;
	width: 93%;
	border-bottom: 1px solid #000;
}

#sidebar p {
	margin: 5px 0 5px 0;
	padding: 0px;
}

#sidebar a:hover {
	text-decoration: underline;
}

#sidebar ul {
	margin: 0px;
	padding: 0px;
}

#sidebar  li, #sidebar li li {
	list-style: none;
	padding-left: 10px;
	line-height: 16px;
}

#sidebar li a, #sidebartop a {
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
}

#right ul.right-links li, #recentcomments li {
	padding: 0 5px 8px 10px;
}

#sidebar a img {
	border: 0px;
	text-decoration: none;
}

#sidebar a:hover img {
	text-decoration: none;
	border: 0px;
}

/* Search Form */

#searchform {
	padding-bottom: 0px;
	margin: 0px;
}

#searchbox {
	width: 70%;
}

.search {
	text-align: left;
	padding: 10px 0 0 0;
	margin: 0px;
}

fieldset {
	border: 0px;
	margin: 0px;
	padding: 0px
}

/* Footer */

#footer {
	clear: both;
	height: 50px;
}

#footer p {
	margin: 0px;
	padding: 17px 0 2px 0;
	font-size: 0.8em;
}


#footer a {
	font-weight: bold;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}



/* Previous/Next Page Navigation */

.navigation {
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
}

.bottomnavigation {
	margin: 30px 0 0 0;
	padding: 5px 0 30px 0;
}

.navigation a, .bottomnavigation a {
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9em;
	letter-spacing: 1px;
}

.navigation a:hover, .bottomnavigation a:hover {
	text-decoration: underline;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

/*** comments Form ***/

#commentform {
	width: 97%;
}

#commentform a {
	font-weight: bold;
	text-decoration: none;
}

#commentform a:hover {
	text-decoration: underline;
}

#comment {
	width: 99%;
	border: 1px solid #013300;
	background: #fff;
}

#author {
	border: 1px solid #000;
	background: #fff;
}

#email {
	border: 1px solid #000;
	background: #fff;
}

#url {
	border: 1px solid #000;
	background: #fff;
}

#submit {

}

#submit:hover {

}

/* Archives Page */

#archives ul {
	margin: 0;
	padding: 0;
}

#archives li {
	list-style: none;
	padding-left: 15px;
	line-height: 16px;
}

/* Links Page */

#links ul {
	margin: 0;
	padding: 0;
}

#links li {
	list-style: none;
	padding-left: 15px;
	line-height: 16px;
}
/* Various Classes */

.clear {
	clear: both;
}

.entry, .entrytext {
	overflow: hidden;
}

* html.entry, * html.entrytext {
	overflow: visible;
	height: 1px;
}

* html.entry p, * html.entrytext p {
	width: 99%;
	overflow: hidden;
}

blockquote p {
	padding: 3px 10px 3px 10px;
	margin: 0 0 0 10px;
	font-size: 1.1em;
}

code {
	font-family: "Courier New", Courier, monospace;
	font-size: 1.1em;
}

.hide {
display: none;
}

.gallery {
	border-top: 1px solid #000;
	padding-bottom: 10px;
}

div.advert {
	font-size: 0.8em;
	border: 1px solid black;
	margin: 	5px 25px 5px 0px;
	padding: 5px 10px 5px 10px;
	background-color: #fafad2;
}

.advert p {
	margin: 0px
	padding: 0px;
	text-align: justify;
}

#links li li {
padding-bottom: 10px;
}

#archives span a {
line-height: 30px;
}