/*  
Theme Name: Avapixel
Theme URI: http://www.mbwebdesign.co.uk
Description: A WordPress theme ffrom <a href="http://www.mbwebdesign.co.uk">MB Web Design</a>.
Version: 1.0
Author: Mathew Browne, MB Web Design
Author URI: http://www.mbwebdesign.co.uk

Avapixel v1.0
http://www.mbwebdesign.co.uk/templates/wordpress/

This theme was designed and built by Mathew Browne, a web designer based in Wales who runs <a href="http://www.mbwebdesign.co.uk">MB Web Design</a>.

*/


h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {text-decoration: none;color: #666666;}
#header{width:850px; background-image:url('images/header.jpg'); background-position:bottom; background-repeat:no-repeat;padding-bottom:80px;padding-top:10px;}
#header, #header h1{text-align:left; color:#666666;}
#header h1, #header .description{margin:0; margin-right:50px; margin-left:50px;}
.description {color:#666666;}

/* Body text colour */
html{color:#666666;}

/* Headings and links*/
h1,h2,h3,h4,h5,h6,a,h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, a, h2 a:hover, h3 a:hover, a:hover {color: #666667;}
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {color: #777;}
.entry p a:visited {color: #b85b5a;}
#content a{color: #666666; text-decoration:none; border-bottom: 1px dotted #FFCC00;}
#content h2, #content h2 a, #content h2 a:visited, #content h3, #content h3 a, #content h3 a:visited, #content h2 a:hover, #content h3 a:hover{color: #666667;}

/* FONT */
html{
	font-family: "Lucida Grande", Arial, Verdana, Tahoma, Verdana, Sans-Serif;
	font-size: small;
}

h1,h2,h3,h4,h5,h6,p{line-height:1.5em;margin-bottom:5px; font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;}
p{line-height:1.7em;}
h1, h2, h3{letter-spacing:2px;}

html{background-color:#666666; padding:0; margin:0;}

body {text-align: center;padding:0; margin:0;}

#page {
	background-color: white;
	background-image:url('images/body.jpg'); background-position:center;
	text-align: left;
	}

#content {
	width:400px;
	float:right;
	margin-right:80px;
	}

.postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}


h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #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;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

.commentmetadata {
	font-weight: normal;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	border: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 */


#page {
	background-color: white;
	margin: 0px auto;
	padding: 0;
	width: 850px;
	}

.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {display: block;}
.post {margin: 0;}
.postmetadata {padding-top: 5px;}
.postmetadata {margin: 30px 0;}
.smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}
.attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

/* End Structure */



h2 {
	margin: 30px 0 0;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



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

/*	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 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-top: 5px;
	margin-bottom: 5px;
	}
#sidebar ul ul li{
margin-left:5px;
}

#sidebar ul li{
border-bottom:5px dotted #FFCC00;
padding-bottom:5px;
list-style:none;
list-style-type:none;
}
#sidebar ul ul li{
border-bottom:none;
}
#sidebar ul li a{
display:block;
text-decoration:none;
padding:5px;
}
#sidebar ul li a:hover{
background-color:#FFCC00;
color:#21588F;
}

#sidebar ul p, #sidebar ul select {margin: 0;}
#sidebar ul ul, #sidebar ul ol {margin: 0;}
#sidebar ul ul ul, #sidebar ul ol {margin:0;}
ol li, #sidebar ul ol li {list-style: decimal outside;}
#sidebar ul ul li, #sidebar ul ol li {padding: 0;}

#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

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

.datebox{
float:right;
border-left: 5px dotted #FFCC00;
border-bottom: 5px dotted #FFCC00;
margin-left:10px;
margin-bottom:10px;
padding:5px;
}
.datebox p{margin:0; line-height:normal; text-align:center}
.dayof {font-size:large;}
.month {}

#sidebar
{
	float:left;
	width:180px;
	margin-left:80px;
	}

#sidebar form {
	margin: 0;
	}


#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;
	border:0;
	padding:0;
	border-left:none;
	}
#wp-calendar a:hover, #wp-calendar tr td a:hover, #wp-calendar a, #wp-calendar tr td a{
border:none;
padding:0;
}

#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 {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px dotted #FFCC00;
	}

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

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
	
/* FOOTER */
.makespace{
clear:both;
height:10px;
}
#footer{
	clear:both;
	text-align:right;
	padding-top:5px; padding-bottom:5px;
	margin-right:50px;
	margin-left:50px;
	border-top:5px dotted #FFCC00;
}
#footer p{margin-right:5px; margin-left:5px; font-size:0.8em; line-height:1em;}

#sidebar .widget_tag_cloud a{display:inline; width:auto; text-decoration:none; padding:0px;border:none;}
#sidebar .widget_tag_cloud a:hover{display:inline; width:auto; text-decoration:none; padding:0px;border:none;}

