/*
Theme Name: Jonny Gray
Theme URI: http://www.mcalister.org.uk
Description: Custom theme for Jonny Gray
Version: 0.1
Author: Dave McAlister
Author URI: http://www.mcalister.org.uk
*/

* {
margin: 0;
padding: 0;
}

html {
height: 100%;
margin-bottom: 1px;
}

body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
background: #000 url('images/background.jpg') top center repeat-y;
color: #fff;
text-align: center;
min-width: 750px;
}

a:link, a:visited, a:active {
color: #FFF;
text-decoration: none;
}

a:hover {
color: #FFF;
text-decoration: underline;
}

#wrapper {
margin: 0 auto;
width: 750px;
text-align: left;
}

#header {
background: #000 url('images/logo.jpg') top center no-repeat;
margin: 0 auto;
padding: 0;
height: 150px;
width: 600px;
}

#header h1, #header .description {
position: absolute;
top: -1000px;
left: -1000px;
}

/* Begin Sidebar */
#sidebar {
float: left;
padding: 0 0 0 5px;
width: 195px;
font: 1.2em 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#sidebar h2 {
padding: 32px 0 0 5px;
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-size: 1.8em;
color: #000;
text-transform: uppercase;
background: transparent url('images/sidebar-h2.jpg') top left no-repeat;
height: 57px;
}

#sidebar ul li {
list-style-type: none;
list-style-image: none;
margin-bottom: 20px;
}

#sidebar ul ul, #sidebar ul ol {
margin: 0 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol {
margin: 0 0 0 10px;
}

#sidebar ul ol li {
list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li {
margin: 0;
padding: 0;
}

#sidebar #searchform #s {
width: 108px;
padding: 2px;
}

#sidebar #searchsubmit {
padding: 1px;
}
/* End Sidebar */

/* Begin Content */
.narrowcolumn {
margin: 0 0 0 200px;
font: 1.2em 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

.narrowcolumn h2 {
padding: 32px 10px 0 0;
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-size: 1.8em;
color: #000;
text-align: right;
text-transform: uppercase;
background: transparent url('images/content-h2.jpg') top left no-repeat;
height: 57px;
}

.narrowcolumn h2 a:link, .narrowcolumn h2 a:active, .narrowcolumn h2 a:visited, .narrowcolumn h2 a:hover {
color: #000;
text-decoration: none;
}

.narrowcolumn .smallattachment {
text-align: center;
float: left;
width: 128px;
margin: 5px 5px 5px 0px;
}

.narrowcolumn .attachment {
text-align: center;
margin: 5px 0px;
}

.post {
clear: right;
margin: 0 0 40px;
}

.post hr {
display: block;
}

small {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-size: 0.9em;
line-height: 1.5em;
color: #777;
}
/* End Content */

/* Begin Date/Sociable */
.entry-details {
float: left;
width: 50px;
text-align: center;
}

.date-day {
font: bold 1.8em "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #FFF;
text-align: center;
}

.date-month {
font: bold 1.1.5em "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #FFF;
text-align: center;
}
/* End Date/Sociable */

/* Begin Entry */
.entry {
margin: 0 20px 0 50px;
}

.entry p {
padding: 0 0 10px 0;
}

.category-icon {
width: 14px;
height: 14px;
background: url('images/category.png') no-repeat;
padding-left: 16px;
}

.comments-icon {
width: 14px;
height: 14px;
background: url('images/comments.png') no-repeat;
padding-left: 16px;
margin-left: 5px;
}

.edit-icon {
width: 14px;
height: 14px;
background: url('images/edit.jpg') no-repeat;
padding-left: 16px;
margin-left: 5px;
}

.information_txt, .information_txt a:link, .information_txt a:active, .information_txt a:visited, .information_txt a:hover {
width: auto;
height: auto;
float: left;
color: #FFF;
text-decoration: none;
}

#commentform input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
}

.alt {
margin: 0;
padding: 10px;
background-color: #404040;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
}

.narrowcolumn .postmetadata {
float: right;
padding-top: 5px;
}

.postmetadata {
clear: right;
}

.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}
/* End Entry */

/* Begin Comments */
h3.comments {
padding: 0;
margin: 80px auto 20px;
clear: both;
}

.commentlist {
padding: 0;
text-align: justify;
}

.commentlist li {
margin: 15px 20px 3px 0;
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;
}

.commentlist cite, .commentlist cite a {
font-weight: bold;
font-style: normal;
font-size: 1.1em;
}

.commentlist li, #commentform input, #commentform textarea {
font: 0.9em 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform #submit {
margin-right: 20px;
float: right;
}

.commentlist li {
font-weight: bold;
}

.commentlist p {
font-weight: normal;
line-height: 1.5em;
text-transform: none;
}
/* End Comments */

/* Begin Footer */
.footer {
clear: both;
text-align: center;
}
/* End Footer */

/* General Code */
h1, h2, h3 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-weight: bold;
}

h2 {
font-size: 1.6em;
}

h2.pagetitle {
font-size: 1.6em;
}

h3 {
font-size: 1.3em;
}

.navigation {
clear: right;
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 60px;
}

.alignright {
float: right;
}

.alignleft {
float: left
}

blockquote cite {
margin: 5px 0 0;
display: block;
}

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 #ddd;
}

.center {
text-align: center;
}

hr {
display: none;
}

a img {
border: none;
}
/* General Code */

/* 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;
   }

#wp-calendar td.pad:hover { /* Doesn't work in IE */
   background-color: #fff; }

#wp-calendar #prev a, #wp-calendar #next a {
   font-size: 9pt;
   }

#wp-calendar a {
   text-decoration: none;
   }

#wp-calendar caption {
   font: bold 1.3em 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
   text-align: center;
   }

#wp-calendar th {
   font-style: normal;
   text-transform: capitalize;
   }
/* End Calendar */

/* 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;
   }
/* End Images */

/* Begin Form Elements */
#searchform {
   margin: 10px auto;
   padding: 5px 3px;
   text-align: center;
   }

#searchform input {
   font: 1.3em 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
   background: #000;
   color: #fff;
   border: 1px solid #fff;
   }

.entry form { /* This is mainly for password protected posts, makes them look better. */
   text-align:center;
   }

select {
   width: 130px;
   }
/* End Form Elements */
