/* Container allowing white border round block */

#container{
	width:980px;
	margin:0px auto;
background-color:white;
padding-bottom:10px;
	}
	
/* Change font stack throughout plus screen background colour */

body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
background-color: #d9d9d9;
	}
	
/* Remove grey/striped background */

#page {
	background-color:white;
	}
	
/* Head */
	
#head {
	margin-top:10px;
	}

#logo {
	width:940px;
padding-left: 15px;
padding-top: 15px;
padding-bottom: 15px;
	background:white url(http://glasgowchurches.org.uk/wp-content/uploads/header-background.jpg);
	}

#header-right {
display: none;
	}
	
h1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: normal;
font-size: 3.7em;
letter-spacing:-0.02em;
	}
	
#tagline {
	margin-top:5px;
	font-size:1.5em;
	color:#333;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	}

/* Navigation */

#navbar {
	background:#0066cc url(#);
	margin-top:0px;
	}

#page-bar {
	width:900px;
	}
	
#page-bar li {
	border-right:0px;
	}
	
#page-bar li li a, #page-bar li li a:link, #page-bar li li a:visited {
	background: #0066cc;
	}
	
#page-bar li li a:hover, #page-bar li li a:active {
	background: #3c78a7;
	}
	
/* Front page featured stories */

#headline  div.title {
font-weight: normal;
letter-spacing:-0.02em;
padding-top: 20px;
	}

#headline p {
padding-top:10px;
	}

.perma {
margin-top:-15px;
}

/* Main content area */

.entry {
	line-height:1.5em;
	}

#content .breadcrumbs, #content .breadcrumbs a {
	font-weight:normal;
	color:#333;
	font-family: Verdana, Arial, sans-serif;
	font-size: x-small;
	}
	
#content h2.title {
	font:2.2em Georgia;
	font-weight:normal;
	letter-spacing:-0.02em;
	border-bottom:none;
	border-top:1px solid #ddd;
	padding:5px 0px;
	}

.entry a {
	text-decoration: underline;
	}


/* Sidebar Front Page */

#featured {
background-color: white ;
	border-left-color: gray;
	border-left-style: dashed;
	border-left-width: thin;
}

#featured .info {
	margin-top:3px;
	padding-top:0px;
}

/* Sidebar Inside*/

#sidebar {
background-color: white;
	border-left-color: gray;
	border-left-style: dashed;
	border-left-width: thin;
}

/* Sidebar Common*/

#sidebar-ads {
display: none;
}

#sidebar h3 {
	font:1.1em Arial;
	font-weight:bold;
	background:#cc0000;
	color:#fff;
	margin:10px 0px 5px 0px;
	padding:3px 10px;
	}
	
#sidebar li {
	background:url() no-repeat 0 0px;
	}
	
/* Downpage widgets */

#front-popular {
	color:#000;
	background:#f8f1d8 /*url(images/bottombar.png) bottom no-repeat*/;
	}

#front-popular h3 {
	color:#000;
	}

#recentpost a, #mostcommented a, #recent_comments a {
	color:#000;
	}

#recent_comments {
 	border:1px solid #000;
	}

#recentpost {
 	border:1px solid #000;
	}

#mostcommented {
 	border:1px solid #000;
	}

#recentpost ul li, #mostcommented ul li, #recent_comments ul li {
	border-top:1px dotted #000;
	}
	
/* Footer */

#footer {
display: none;
}
	
/* Five categories */

.category span.cat_title, #front-popular h3, #front-list .cat_title, #archive .cat_title {
	text-transform:none;
	font-size:1.4em;
	}
	
#middle {
padding-right: 10px;
padding-left: 10px;
padding-top: 17px;
padding-bottom: 10px;
	margin:8px 0;
	}

#cat-2, #cat-4 {border-top:8px solid #3366aa;}

#cat-2:hover, #cat-4:hover {background:#3366aa; color:#fff; }
#cat-2:hover a, #cat-4:hover a {background:#3366aa; color:#fff; }

#tools {
display: none;
}

/* Captions and Aligment, incorporating basic code from default theme and hacking .spoiler */

.spoiler img {
padding:2px;
	border: 1px solid #ddd;
	margin: 2px 5px 4px 0;
	
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.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;
}

/* Stuff */

/* Comment out blockquote in theme css*/

blockquote {
margin-left:30px;
padding-left:10px;
border-left-style: solid;
border-left-width:3px;
border-left-color: #0066cc;
font-weight:medium;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	background: #eee;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: 1px solid #ddd;
	padding: 6px;
}
.wp-caption img {
	border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	background: #eee;
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

.printfriendly alignright {
padding-left: 10px;
}
