/*
Theme Name: Great Northern Steam
Theme URI: http://www.greatnorthernsteam.co.uk/
Description: Custom theme for GNS.
Version: 1.0
Author: SDG
Author URI: http://www.technokinetics.com/
*/

/* General */
* { margin: 0; padding: 0; }
h1, h2, h3 { font-family: 'times new roman', serif; padding: 5px 20px; }
h1 { font-size: 14pt; }
h2 { font-size: 12pt; }
h3 { font-size: 11pt; }
p { font-size: 10pt; padding: 5px 20px; }
blockquote p { font-size: 0.8em; }
ul, ol, dl { padding: 10px 10px 10px 35px; }
a img { border: none; }
.clearfix { clear: both; }
.alignleft, .alignLeft { margin: 10px; margin-left: 0; float: left; }
.alignright, .alignRight { margin: 10px; margin-right: 0; float: right; }
.nobg { background: none !important; }

.post a { color: #A80731; }

body { position: relative; margin: 0 auto 15px auto; width: 955px; font-family: 'verdana', serif; background: #3f3f3f; }

/* Header */
#header { padding-top: 214px; height: 38px; background: url(images/bgheader.jpg) left top no-repeat; }
	
	ul#translate { position: absolute; right: 100px; top: 20px; line-height: 18pt; font-size: 8pt; color: #fff; list-style: none; }
	ul#translate li { float: left; padding: 0 5px; }
	ul#translate li:hover { cursor: pointer; }

	/* Nav */
	#header ul.nav { padding: 4px 10px 5px 13px; width: 955px; height: 29px; font-family: 'myriad pro'; background: url(images/bgnav.png) left top no-repeat; list-style: none; }
	#header ul.nav li { float: left; position: relative; height: 34px; line-height: 29px; font-size: 10pt; text-transform: uppercase; }
	#header ul.nav a { text-decoration: none; color: #fff; }
	#header ul.nav a:hover { text-decoration: underline; }
	
		#header ul.nav li a { position: relative; display: inline-block; height: 29px; text-align: center; }
		#header ul.nav li.page-item-2 a { width: 67px; }
		#header ul.nav li.page-item-4 a { width: 125px; }
		#header ul.nav li.page-item-7 a { width: 164px; }
		#header ul.nav li.page-item-9 a { width: 100px; }
		#header ul.nav li.page-item-11 a { width: 128px; }
		#header ul.nav li.page-item-13 a { width: 112px; }
		#header ul.nav li.page-item-792 a { width: 61px; }
		#header ul.nav li.page-item-16 a { width: 87px; }
		#header ul.nav li.page-item-20 a { width: 88px; }
		
		/* Drop-down */
		#header ul.nav ul { display: none; position: absolute; left: 0; top: 34px; padding: 0; width: 276px; list-style: none; background: url(images/bgdropdown.png) left top repeat; border: 1px solid #222; }
		#header ul.nav li:hover ul, #header ul.nav li.over ul { display: block; }
		#header ul.nav ul li { float: none; padding: 0 8px; height: 24px; line-height: 24px; overflow: hidden; }
		* html ul.nav ul li { font-size: 8pt !important; }
		#header ul.nav ul li a { padding-left: 14px; width: 246px !important; text-align: left; text-decoration: none; background: url(images/bullet.gif) left 10px no-repeat; color: #000; }
		#header ul.nav ul li a:hover { text-decoration: underline; }

/* Main */
#main { padding: 3px 1px 5px 4px; width: 950px; }

.homecontent { margin-top: -1px; } 
#content.homecontent .post { padding-top: 0; }
#content .post { padding-top: 10px; }

.layout-614-330 #content { width: 614px; }
.layout-614-330 #content .section { width: 614px; background: #F7F8E3 url(images/bc614.gif) left bottom no-repeat; }
.layout-614-330 #content h1.sectionTitle { background: url(images/tc614title.png) left top no-repeat; }
.layout-614-330 #sidebar { width: 330px; }
.layout-614-330 #sidebar .section { width: 330px; background: #F7F8E3 url(images/bc330.gif) left bottom no-repeat; }
.layout-614-330 #sidebar h1.postTitle { height: 44px; line-height: 34px; background: url(images/tc330.gif) left top no-repeat; }
.layout-614-330 .post { width: 614px; }
.layout-614-330 #sidebar .post { width: 330px; }

.postgrad .post { background: #F7F8E3 url(images/bgoffer.png) left bottom repeat-x; }

	/* Content */
	#content { float: left; width: 549px; }
	#content .section { margin-bottom: 3px; padding-bottom: 9px; width: 549px; background: #F7F8E3 url(images/bc549.gif) left bottom no-repeat; }
	
	#content h1.postTitle { height: 44px; line-height: 34px; background: url(images/tc549.gif) left top no-repeat; }
	#content h1.sectionTitle { height: 44px; line-height: 34px; }
	.layout-549-395 #content h1.sectionTitle { background: url(images/tc549title.png) left top no-repeat; }
	/* .layout-549-395 #content.homecontent h1.sectionTitle { background: url(images/tc549.gif) left top no-repeat; } */
	.layout-549-395 #content.homecontent .nobg h1.sectionTitle { background: url(images/tc549title.png) left top no-repeat; }
	.layout-614-330 #content h1.sectionTitle { background: url(images/tc614title.png) left top no-repeat; }
	
	#content h2.postTitle { padding: 5px 20px; font-size: 14pt; }
	#content h2.postTitle a { text-decoration: none; color: #000; }
	#content h2.postTitle a:hover { text-decoration: underline; }
	
	.postMeta { padding: 0 20px 15px 20px; font-size: 8pt; color: #3f3f3f; }
	.postMeta a { text-decoration: none; }
	.postMeta a:hover { text-decoration: underline; }
	
	.newscontent .postContent { padding-bottom: 15px; }
	
	.newscontent .post { background: #F7F8E3 url(images/bgoffer.png) left bottom repeat-x; }
	.enginescontent .postContent, .locomotivescontent .postContent { height: 150px; overflow: hidden; }
	
	.enginescontent .postContent img, .locomotivescontent .postContent img { width: 160px; height: 120px; }
	
	#content .post { padding-bottom: 10px; }
	.homepage #content .post { background: none; }
	
	.postContent em { font-style: normal; color: #A80731; }
	.postContent ul { font-size: 0.8em; }
	
	ul#sellingpoints { list-style: none; }
	ul#sellingpoints li { padding: 5px 5px 5px 32px; color: #015353; background: url(images/tick.gif) left center no-repeat; }
	
	ul#productlinks { height: 41px; list-style: none; }
	ul#productlinks li { float: left; padding: 8px 5px 9px 3px; width: 155px; height: 24px; font-family: 'times new roman', serif; font-size: 10pt; background: url(images/bgproductlink.png); }
	ul#productlinks li a { display: inline-block; width: 155px; line-height: 22px; text-decoration: none; color: #fff; text-align: center; }
	ul#productlinks li a:hover { text-decoration: underline; }
	
	.offer { position: relative; padding: 5px 5px 5px 130px; background: #F7F8E3 url(images/bgoffer.png) left bottom repeat-x; }
	.offer img { position: absolute; left: 0; top: 0; margin: 10px; }
	* html .homecontent .offer img { left: -130px; }
	.offer h2 { text-transform: uppercase; font-size: 11pt; color: #015353; }
	.offer ul { list-style-type: disc; }
	.offer ul li { padding: 0 5px; font-size: 9pt; color: #000; }
	.offer p { font-size: 9pt; }
	
	p#offerslink { margin-top: 10px; text-align: right; }
	p#offerslink a { display: inline-block; padding: 4px 21px 5px 4px; width: 108px; height: 24px; line-height: 22px; font-family: 'times new roman', serif; font-size: 10pt; text-align: center; text-decoration: none; color: #fff; background: url(images/bgofferslink.png); }
	p#offerslink a:hover { text-decoration: underline; }
	
	ul#steamenginepiclist { list-style: none; }
	ul#steamenginepiclist li { float: left; width: 172px; }
	ul#steamenginepiclist li a { padding: 7px; width: 172px; height: 142px; background: #ececec; border: 5px solid #C6A230; }
	ul#steamenginepiclist li p { padding: 0; font-size: 8pt; }
	
	.map { float: right; margin: 10px; }
	.map small { display: block; padding: 10px 0; }
	
	#content .post img { padding: 3px; background: #fff; border: 2px solid #C49F2A; }
	#content .intro .post img { padding: 0; background: 0; border: none; }
	
	/* Tables */
	#content table { margin: 10px 20px; padding: 1px; border: 2px solid #C49F2A; }
	#content th { padding: 2px 8px; font-size: 10pt; background: #000; color: #fff; }
	#content td { padding: 2px 8px; font-size: 9pt; }
	
	/* Definition Lists */
	#content dl { margin: 10px 25px; padding: 0; font-size: 9pt; }
	#content dt { float: left; padding: 3px 5px; font-weight: bold; }
	#content dd { padding: 3px 5px; }
	
	/* Gallery */
	#content .ngg-galleryoverview { margin: 25px; }
	#content .ngg-gallery-thumbnail { margin: 10px; }
	#content .ngg-gallery-thumbnail img { border: 5px solid #C49F2A; background: #e8e8e8; }
	#content .slideshowlink, #content .piclenselink { display: none; }
	
	/* Sidebar */
	#sidebar { float: right; }
	#sidebar p { padding: 5px 10px; }
	.layout-549-395 #sidebar { width: 395px; }
	.layout-614-330 #sidebar { width: 330px; }
	#sidebar.newspage { padding-bottom: 9px; background: url(images/bc330.gif) left bottom no-repeat; }
	#sidebar.notnewspage { padding-top: 9px; background: url(images/tc330.gif) left top no-repeat; }
	#sidebar .section { margin-bottom: 3px; padding-bottom: 9px; }
	.layout-549-395 #sidebar .section { width: 395px; background: #F7F8E3 url(images/bc395.gif) left bottom no-repeat; }
	.layout-614-330 #sidebar .section { width: 330px; background: #F7F8E3 url(images/bc330.gif) left bottom no-repeat; }
	#sidebar h1.sectionTitle { height: 43px; line-height: 33px; }
	.layout-549-395 #sidebar h1.sectionTitle { background: url(images/tc395title.png) left top no-repeat; }
	.layout-614-330 #sidebar h1.sectionTitle { background: url(images/tc330title.png) left top no-repeat; }
	#sidebar ul { padding: 0; list-style: none; background: #F7F8E3; }
	#sidebar h2.widgetTitle { height: 43px; line-height: 33px; font-size: 14pt; background: url(images/bgwidgettitle.png) right top no-repeat; }
	#sidebar #recent-posts h2.widgetTitle { background: url(images/tc330title.png) left top no-repeat; }
	#sidebar ul ul { padding: 10px 10px 10px 25px; }
	
	#sidebar p.button { padding-left: 15px; }
	* html body.layout-614-330 #main #sidebar .section .post img { margin: 0; padding: 0; }
	* html .layout-614-330 #content .section { width: 564px; }
	* html .layout-614-330 #content h1.sectionTitle { margin-left: 0; margin-right: 0; padding-left: 15px; padding-right: 15px; width: 584px; }
	* html .newspage { padding-bottom: 9px; background: url(images/bc330.gif) left bottom no-repeat; }
	* html .notnewspage { padding-top: 9px; background: url(images/tc330.gif) left top no-repeat; }	
	
	#sidebar #video-player { padding: 5px 14px; }
	
	#sidebar li { padding-bottom: 10px; }
	#sidebar li li { padding-bottom: 0; font-size: 10pt; }
	#sidebar li li a { display: block; padding: 3px 3px 3px 14px; text-decoration: none; background: url(images/bullet.gif) left center no-repeat; color: #000; }
	#sidebar li li a:hover { text-decoration: underline; }
	
	#searchform #s { padding: 5px 4px 4px 4px; width: 200px; height: 17px; line-height: 17px; border: none; border: 1px solid #8c8c8c; background: none; }
	#searchform #searchsubmit { padding: 4px 28px 5px 4px; width: 74px; height: 28px; font-size: 8pt; text-align: right; background: url(images/bgsearchsubmit.png) left top no-repeat; border: none; color: #fff; }
	*:first-child+html #searchsubmit, * html #searchsubmit { padding: 4px 28px 4px 4px; line-height: 20px; }
	#searchform #searchsubmit:hover { text-decoration: underline; }
	
	.testimonial { margin: 15px 25px; padding-right: 40px; background: url(images/rquote.gif) right bottom no-repeat; }
	.testimonial blockquote { padding-left: 38px; background: url(images/lquote.gif) left top no-repeat; }
	#main .testimonial blockquote p { padding: 0 0 0 5px; } 
	.testimonial blockquote p.attribution { text-align: right; color: #A80731; }

/* Footer */
#footerouter { position: relative; margin: 0 1px 0 4px; padding-top: 30px; background: #000 url(images/bgfooter.gif) left top repeat-x; }
#footer { position: relative; padding: 10px 15px 15px 139px; min-height: 39px; background: #000 url(images/logo.gif) 16px center no-repeat; }
	#footer p { font-size: 7pt; text-align: right; color: #9a9a9a; }
	#footer p a { color: #9a9a9a; }
	#footer p a:hover { text-decoration: none; color: #fff; }
	#footer ul.nav { margin: 0; float: right; list-style: none !important; }
	#footer ul.nav li { float: left; padding: 0 6px 0 8px; font-size: 0.7em; background: url(images/separator.gif) left center no-repeat; }
	#footer ul.nav li.first { background: none; }
	#footer ul.nav li a { text-decoration: none; color: #fff; }
	#footer ul.nav li a:hover { text-decoration: underline; }
