/*
Theme Name: Daniel McKenzie
Theme URI: http://wordpress.org/
Description: Custom developed Wordpress theme for danielmckenzie.co.uk.
Version: 1
Author: Simon Harrison
Author URI: http://www.decodewebdesign.com/
Tags: black, custom header, three columns, widgets

	Daniel McKenzie 1.0
	 http://www.decodewebdesign.com/

	This theme was designed and built by Simon Harrison,
	whose blog you will find at http://www.decodewebdesign.com/blog/

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

*/

/* Reset styles
*******************************/
html, body, div, span,iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, cite, code,
del, dfn, em, font, ins,strong,ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, 
#main_nav_container, #main_nav_container ul li, #main_nav_container ul li.selected {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

p {
	background-color: #fff;
	margin: 10px auto;
	}

:focus {
outline: 0;
}

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Geneva, Arial, Verdana, Sans-Serif;
	background-image: url('/images/gridbg.jpg');
	background-repeat:repeat;
	background-color:#333333;
	color: #eee;
	text-align: center;
	margin: 0px 0 20px 0;
	padding: 0;
	}


#page {
	border: 2px solid #666666;
	text-align: left;
	position: relative;
	background-color: #fff;
	color:#eeeeee;
	margin: 0px auto;
	padding: 0;
	width: 885px;
	}


#header {
	background-color: #333;
	position: relative;
	display: block; 
	width: 885px;
	z-index: 1; 
	background-image:url(/blog/wp-content/themes/mxchange/header_imgs/random.php); 
	margin: 0px;
	padding: 0;
	height: 202px;
	width: 885px;

	}

#headerimg 	{
	margin: 0;
	height: 172px;
	width: 100%;
	}

.headerimg {
	background: #fff url('images/index1.jpg') no-repeat bottom center;
	height: 172px;
	width: 885px;
	}

#header .textbg {

	background-image:url(images/titbg.png);
	background-repeat:no-repeat;
	position: absolute;
	bottom: 40px;
	left: 10px;
	width: 300px;
	height: 61px;
	
}

#header .text {
	color: #fff;
	margin: 0px;
	font-size: 28px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	top: 5px;
	right: 10px;
	font-weight:bold;
	}

#header .contact {
	color: #fff;
	margin: 0px;
	font-size: 12px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	bottom: 5px;
	right: 10px;
	}

.form-text-fields {
 border:1px solid #dddddd;
 background-image:url(images/inputbg.gif);
 background-repeat:repeat-y;
}

a, h2 a:hover, h3 a:hover {
	/*color: #06c;*/
	color:#222222;
	text-decoration: none;
	}

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


#main_nav_container {
	width: 718px; 
	height: 30px; 
	float: left; 
	position: absolute;
	bottom: 0px;
	background-image:url(/new-layout/main-nav-bar-nav-bg.jpg); 
	background-repeat:repeat-x;
	font-size: 7pt; 
	font-family: verdana,tahoma,arial; 
	color: white;
	padding-left: 167px;
	border-top: 1px solid #000000;
	}

#main_nav_container ul li {
	list-style-type: none; 
	list-style-image:none;
	padding: 8px 0;
	float: left;
	width: 70px;
	text-align: center;
	}

#main_nav_container ul li.mainnavspacer { 
	background-image:url(/new-layout/main-nav-black-seperator.jpg); 
	width: 1px; 
	height: 10px;
	}

#main_nav_container ul li a.mainnavlinks, #main_nav li a.mainnavlinks:hover { 
	text-decoration: none; 
	height:12px;
	}

#main_nav_container ul li.selected { 
	background-image:url(../new-layout/main-nav-bar-nav-bg-hover.jpg);
	width: 70px;
	text-align: center;
	}
	
#main_nav li a.mainnavlinks:hover{ 
	color:#dddddd; 
	}

#mxc_side_nav {
	float: left; 
	margin: 0px auto;
	list-style-type: none; 
	list-style-image:none;
	width: 160px;
	display: block;
	}
	
h2.mxc {
	margin: 0px auto 0px auto;
	font-size: 8pt; 
	font-family: tahoma,verdana,arial; 
	color: #ccc; 
	background-image: url(/new-layout/navsectionbg2.jpg); 
	height: 18px; 
	padding: 6px 0px 1px 5px;
	font-weight: normal;
}

/*
<li class="pagenav">
	<h2 class="mxc">FEATURES</h2>
	<ul>
		<li class="page_item page-item-281"><a href="http://www.mxchange.co.uk/blog/index.php/about-mxchange/" title="about mxchange.co.uk">about mxchange.co.uk</a></li>
	</ul>
</li>
*/

ul.mxc li, #mxc_side_nav li ul li {
	list-style-type: none; 
	list-style-image:none;
	background-image:url(/new-layout/vert-nav-bg.jpg); background-repeat:repeat-y;
	border-bottom: 1px solid #464646;
	border-right: 1px solid #333333;
	font-size: 8pt; 
	font-family: tahoma,verdana,arial; 
	color: #cccccc;
	margin: 0px;
	padding: 0px; 
}

ul.mxc li a, ul.mxc li a:hover, #mxc_side_nav li ul li a {
	padding: 2px 0px 1px 10px;
	display: block;
	color: #ccc;
}

ul.mxc li a:hover, #mxc_side_nav li ul li a:hover {
	color: #fff;
}

ul.mxc li.end {
	list-style-type: none; 
	list-style-image:none;
	background-image: none;
	border-top: 2px solid #222222;
	border-right: none;
	border-bottom: none;
}


/*
<li id="recent-posts" class="widget widget_recent_entries">
	<h2 class="widgettitle">Recent Posts</h2>
		<ul>
			<li><a href="http://www.mxchange.co.uk/blog/index.php/2009/03/zache-2/">Zache 2 </a></li>
			<li><a href="http://www.mxchange.co.uk/blog/index.php/2009/02/british-motocross-grand-prix-2006/">British Motocross Grand Prix 2006 </a></li>
		</ul>
</li>
*/


li#recent-posts ul li a {
	color: #222222;
	}

/*li.categories { ... }  /* outermost list item 
 li.cat-item { ... }
 li.cat-item-7 { ... }  /* category ID #7, etc 
 li.current-cat { ... }
 li.current-cat-parent { ... }
 ul.children { ... }
*/

#content {
	font-size: 1.2em
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn {
	/*text-align: center;*/
	}
	
.postmetadata {
	font-size: .8em;
	}

.thread-alt {
	background-color: #222;
}
.thread-even {
	background-color: #333;
}
.depth-1 {
border: 1px solid #666666; /** Simon Harrison **/
}

.even, .alt {

	border-left: 1px solid #666666;
}

#footer {
	/*background: #eee url('images/kubrickfooter.jpg') no-repeat top;*/
	border: none;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Geneva, Arial, Verdana, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 1.4em; /** 4em; **/
	line-height: 1.4em;
	/*text-align: center;*/
	}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}

h2 {
	font-size: 1.4em;
	line-height: 1.4em;
	}

h2.pagetitle {
	font-size: 1.4em;
	}

#sidebar h2, #sidebarleft h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: #222222;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	/*color: #eee;*/
	color: #222222;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #sidebarleft h2, #wp-calendar caption, cite {
	text-decoration: none;
	}


h1 a:hover, h2 a:hover, h3 a:hover{
	color: #b85b5a;
	}

.entry p a:visited {
	color: #b85b5a;
	}
	
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Geneva, Arial, Verdana, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #666666;
	padding: 2px;
	background: #000000;
	}

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

#commentform p {
	font-family: 'Lucida Grande', Geneva, Arial, Verdana, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar, #sidebarleft {
	font: 1em 'Lucida Grande', Geneva, Arial, Verdana, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

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

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Geneva, Arial, Verdana, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */




/**
 * NARROW COLUMN
 */
.narrowcolumn {
	float: left;
	padding: 0;
	margin: 10px 0 0 10px;
	width: 470px;
	/*border: solid 1px yellow;/** Simon Harrison **/
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

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

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	width: 885px;;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	margin: 20px 0 0;
	}

h1.pagetitle {
	margin-top: 20px;
	text-align: left;
	color: #222222;
}


h2 {
	margin: 10px 0 0;
	}

h2.pagetitle {
	margin-top: 10px;
	/*text-align: center;*/
	padding: 0 0 5px;
	border-bottom: 1px solid #1d1d1d;
}

#sidebar h2, #sidebarleft 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%;
	}

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


/** Added by Simon Harrison, decode web design **/

#main_nav {
	font-size:12px; 
	font-style:normal;
	text-transform:lowercase; 
	position: absolute;
	margin-top: 152px;
	margin-left: 15px;
	}

#main_nav ul {
	list-style-type: none; 
	list-style-image:none;
	margin:0 0 0 20px; 
	padding: 0px; 
	}
	
#main_nav li { display: inline; padding: 5px;}
#main_nav a:link, #main_nav a.page_item, #category a:visited { color:#BA2E1D; }
#main_nav a:hover, #main_nav a.current_page_item { color: #FFFFFF; }

a.page_item, a.current_page_item {

	background-image: url(images/nav-img.jpg);
	background-position:left;
	padding-left: 25px;
	background-repeat:no-repeat;
	
}

.date { 

	font-style:italic;
	font-size: .8em;

	}

/*a {
	color: #F0F0F0;
	}
*/	
a:hover {
	color: #BA2E1D; /*#979797;*/
	text-decoration: none;
	}

/** End Added by Simon Harrison **/



/* 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, #sidebarleft ul ul li:before {
	color: #BA2E1D;
	/*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;
	}
	
/**
 * SIDE BARS
 */

/* Begin Sidebar */
#sidebar
{
	padding: 0px 0 10px 0;
	margin: 0 0 0 700px;
	width: 170px;
	/*border: 1px solid red;/** Simon Harrison **/
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */


/* Begin Left Sidebar */
#sidebarleft
{
	float: left;
	padding: 0px 0px 10px 0;
	margin: 20px 10px 0 15px;
	width: 150px;
	/*border: 1px solid red;/** Simon Harrison **/
	display: block;
	background-image: url(images/side-bar-img.jpg);
	background-position:right;
	background-repeat:no-repeat;
	height: 420px;
	}

#sidebarleft form {
	margin: 0;
	}
/* End Left Sidebar */

#sidebar ul, #sidebar ul ol, #sidebarleft ul, #sidebarleft ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul, #sidebarleft ul {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar li, #sidebarleft li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select, #sidebarleft ul p, #sidebarleft ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol, #sidebarleft ul ul, #sidebarleft ul ol {
	margin: 5px 0;
	padding: 0;
	}

#sidebar ul ul ul, #sidebar ul ol, #sidebarleft ul ul ul, #sidebarleft ul ol {
	margin-left:10px;
	}

ol li, #sidebar ul ol li, #sidebarleft ul ol li {
	list-style: decimal outside;
	}


#sidebar li ul li a, #sidebarleft li ul li a { /** , #tag_cloud a **/
	background-image: url(images/sub-nav-img.jpg);
	background-position:left;
	padding: 0 0 0 10px;
	margin: 0 0 0 5px;
	background-repeat:no-repeat;
	display: block;
	text-decoration: none;
	}

#sidebar li ul li, #sidebarleft li ul li {
	padding: 0;
	margin: 0;
	}
	
	
#tag_cloud {
	width: 130px;
	}
	
.cat-item, #recent-posts ul li a, #pages .page_item {
		text-transform: lowercase; 
		text-decoration: none;
		color: #EAEAEA;
	}
	
#recent-posts ul li a:hover {

	color: #BA2E1D;

	}
	
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 0px auto;
	padding: 20px 3px 0 0px;
	background-repeat:no-repeat;
	width: 175px;
	height: 30px;
	/*border: 1px solid green;/** Simon Harrison **/
	}

/* Search */
#search {margin:0; padding:0; background-image:url(/blog/wp-content/themes/mxchange/images/inputbg.gif); background-repeat:repeat-x; }
#search #s {background: #f8f8f8 url('images/search.png') 0px center no-repeat;color: #222;font-size: 1em;margin:0;padding: 4px 0 4px 17px;width: 140px;border:1px solid #333;}
#search input {border:0}
#search #s:hover {color: #BA2E1D;background: #fff url('images/search_red.png') 0px center no-repeat;}
.search-excerpt {margin: 0;}


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

#sidebar #sidebarleft #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;
	background-color:#F8F8F8;
	border: 1px solid #666666;
	}
#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;
	background-color:#1d1d1d;
	}
	
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
	background-color:#1d1d1d;
}

.commentlist p {
	margin: 10px 5px 10px 0;
	background-color:#1d1d1d;
}
.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 {
	color: #666666;
	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 {
	cursor: help;
	}

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

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

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

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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 captions */


/**
 * RS EVENT FORMATTING
 */

#rs-event-multiday h2.widgettitle {
	color: #222222;
	}

#rs-event-multiday {
	list-style-type: none;
	list-style: none;
	margin: 0 0 0 0px;
	padding: 3px;
	width: 161px;
	/*border: 1px solid #dddddd;
	background-image:url(/new-layout/calendar-blank.gif);*/
	color: #222222;
	text-align: center;
	}
li#rs-event-multiday ul.rsevent li.rsevent {
	list-style-type: none;
	list-style: none;
	padding: 0px;
	margin-bottom: 10px;
	display: block;
	color: #222222;
	}

li#rs-event-multiday ul.rsevent li.rsevent a {
	list-style-type: none;
	list-style: none;
	background-image:none;
	color: #222222;
	margin-bottom: 10px;
	display: block;
	}

/*
<li id="rs-event-multiday" class="widget widget_rs_event"><h2 class="widgettitle">COMING EVENTS!</h2>

<ul class="rsevent"><li class="rsevent"><hr>26.04.2009 <br><strong>FIM World Motocross Championship 2009 Round 4 - Grand Prix of Benelux</strong> <br><br></li><li class="rsevent"><hr>03.05.2009 <br><strong>Maxxis ACU British Motocross Championship 2009 Round 3</strong> <br><br></li></ul></li>*/
