/*  
Theme Name: UK RAF
Theme URI: http://martinpaling.com
Description: UK RAF Wordpress Theme
Version: 1.0
Author: Martin Paling
Author URI: http://martinpaling.com

	UK RAF v1.0
	 http://martinpaling.com

	This theme was designed and built by Martin Paling.

*/

body {
padding: 0 0 0 0;
margin: 0 0 0 0;
	font-size: 69.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #ffffff url(images/uk-body.jpg) repeat-x;
	color: #333;
	text-align: center;
	}

#page {
background-image: url(images/uk-bg.jpg);
background-repeat: repeat-y;
text-align: left; 
width: 753px;
voice-family: "\"}\"";
voice-family:inherit;
width: 753px;
height: auto;
margin: 0px auto 0px auto;
}

#header {
background-image: url(images/uk-header.jpg);
background-repeat: no-repeat;
width: 753px;
height: 194px;}

#middle {
background-image: url(images/uk-middle.jpg);
background-repeat: no-repeat;
width: 753px;
height: 205px; }

#cat-tag {
padding-top: 120px;
float: right;
width: 430px;
padding-right: 30px;}

#footer {
background-image: url(images/uk-foot.jpg);
background-repeat: no-repeat; 
width: 753px;
height: 121px;
background-color: #ffffff; }

#content {
float: right;
height: auto;
width: 430px;
padding-bottom: 20px;
margin-right: 35px;
}

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

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

.widecolumn {
	line-height: 1.6em;
	}

/* 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 {
	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;
	}

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

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 5px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 30px 10px 8px 30px;
	}

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

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

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

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}

li.nav {
padding-left: 30px;}

li.nav  a, a hover, a visited {
color: #ffffff; 
	text-decoration: none;}

li.page_item {
padding-left: 30px;}

li.page_item  a, a hover, a visited {
color: #ffffff; 
	text-decoration: none;}

/* End Entry Lists */

/* Begin Images */
p img {
	padding: 5px;
	max-width: 100%;
border: none;
	}

/*	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 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;
	}
/* End Comments */

/* Begin Sidebar */

#sidebar
{

	width: 261px;
position: relative;
top: -30px; }


#sidebar form {
	margin: 0;
	}

.nav-section {
background-image: url(images/uk-nav.jpg);
background-repeat: no-repeat;
width: 264px;
margin-bottom: 15px; }

.nav-section-1 {
width: 261px;
}

/* end sidebar */

/* Begin Form Elements */
#searchform {
width: 220px;
padding-top: 125px;
padding-left: 30px;
	text-align: center;
float: left;
	}

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

/* text styles */

h1 {
color: #ffffff;
font-size: 1.7em; }

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

h2 {
	font-size: 1.6em;
background-image: url(images/uk-h.jpg);
background-repeat: no-repeat;
padding-left: 40px;
padding-top: 10px;
padding-bottom: 10px; }

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

h2.side-head {
padding-top: 23px;
padding-bottom: 5px;
padding-left: 25px;
background-image: none;
color: #ffffff;
border-bottom: 1px #ffffff solid;
width: 218px;
margin-left:17px;
 }

h2.no-bg {
background-image: none;
padding: 0 0 0 0;}

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

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

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #CE1126;
	}

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

a:hover {
border-top: 1px #800040 solid; 
border-bottom: 1px #800040 solid; }

a, h2 a:hover, h3 a:hover {
	color: #804000;
	text-decoration: none;}
	


#footer {
	padding: 0;
	margin: 0 auto;
	width: 813px;
	clear: both;
	}

#footer p {
	text-align: center;
padding-top: 100px; 
}




