/*
Theme Name:Flyghuvudstaden
Theme URI: http://nocweb.se/
Version: 1.0
Author: Johan Stenehall

*/

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	font-size: 12px;
	}
	
#wrap { height: 100%; }	
body > #wrap { height: auto; min-height: 100%; }

#wrap {
	background: #fff url( 'images/background.png' ) repeat-x;
	}

#content {padding-bottom: 350px;}


#content {
	}
	
	#container {
		margin: 0 auto;
		padding:1px 0 45px;
		width: 960px;
		background: #fff;
		}
		
h1, h1 a, h2#comments, h2#postcomment, .blog h2, .single h2 {
	font-size: 31px;
	line-height: 40px:
	height: 40px;
	font-family: Helvetica Neue;
	margin: 0;
	padding: 0 0 10px;
	font-weight: 200;
	}
	
	h1 {
		border-bottom: 1px solid #4391d0;
		}
	
	h1, h2, h1 a, .blog h2 a, .single h2 a {
		color: #4391d0;
		}

	h2 {
		font-size: 20px;
		line-height: 30px;
		font-weight: 200;
		font-family: Helvetica Neue;
		margin: 0.5em 0;
		padding: 0;
		}
		
		h2 strong {
			float: left;
			}

		h2 a {
			font-weight: 200;	
			}

#header {
	background: url( 'images/header.jpg' ) no-repeat top center;
	margin: 0 auto;
	}
	
	#header #splash {
		width: 960px;
		background: #fff;
		margin: 0 auto;
		padding-bottom: 10px;
		position: relative;
		}
		
		#header #flash {
			position: relative;
			z-index: 10;
			min-height: 284px;
			outline: none;
			background: #fff url( 'images/gripen.jpg' ) no-repeat;
			}
			
		#header #splash #logo, #header #splash #logo h2 {
			height: 125px;
			width: 138px;
			position: absolute;
			z-index: 100;		
			top: 0;
			left: -15px;
			padding: 0;
			margin: 0;
			}
		
		#header #splash #logo a {
			background: url('images/flyghuvudstaden-logo.png');
			padding: 0;
			margin: 0;
			height: 125px;
			width: 138px;
			letter-spacing: -1000em;
			text-indent: -1000em;
			float: left;
			border: none;
			position: absolute;
			z-index: 100;
			}
		
		#menu {
			background: url('images/menu.png') repeat-x;
			height: 45px;
			margin: 5px 0 0;
			padding: 18px 0 0 19px;
			list-style: none;
			text-transform: uppercase;
			}
			
			#menu li {
				float: left;
				}
				
				#menu li a {
					float: left;
					line-height: 23px;
					padding: 0 10px;
					background: url('images/menu-sep.png') repeat-y top right;
					color: #fff;
					}
					
				#menu li.current_page_item a, #menu li.current_page_ancestor a {
					background: url('images/menu-select.png') top right;
					border-left: 1px solid #e1a537;
					}
					
			#submenu {
				width: 218px;
				margin: 0 20px 0 11px;
				padding: 0 0 106px;
				border-top: 1px solid #579dd5;
				background: #ecf4fa url('images/submenu.png') no-repeat bottom left;
				float: left;
				list-style: none;
				}
				
				#submenu a {
					display: block;
					line-height: 20px;
					font-size: 14px;
					color: #4391d0;
					border: 1px solid transparent;
					border-bottom: 1px solid #d8e8f5;
					margin: 0 -1px 0 20px;
					padding: 5px 20px 5px 0;
					}
				
				#submenu li.title a {
					border: none;
					margin-left: 0;
					}
				
				#submenu li ul {
					list-style: none;
					}
					
					#submenu li ul li a {
						font-size: 12px;
						}
				
				#submenu li {
					border-left: 1px solid #579dd5;
					border-right: 1px solid #579dd5;
					}
					
					#submenu ul li {
						border: none;
						}
					
					#submenu ul {
						margin: 0;
						padding: 0;
						}

						#submenu li ul li a {
							padding-left: 40px;
							}
					
					#submenu li.title {
						padding: 10px 0;
						text-transform: capitalize;
						}
					
					#submenu li.title span {
						margin-left: 5px;
						padding-left: 15px;
						border: 1px solid #b9d6ed;
						border-right-color: #9fc7e7;
						font-size: 14px;
						color: #4391d0;
						font-weight: bold;
						line-height: 30px;
						display: block;
						margin-right: -1px;
						}
						
					#submenu li.active span {
						border-color: #4391d0;
						border-right-color: #fff;
						background: #fff;
						}
					
					#submenu li.current_page_item > a {
						background: #fff;
						border: 1px solid #4391d0;
						border-right-color: #fff;
						}

#posts {
	width: 416px;
	margin-left: 280px;
	}
	
	#posts .page {
		margin-bottom: 10px;
		}
	
	.blog #posts, .single #posts, .archive #posts {
		margin-left: 20px;
		width: 676px;
		float: left;
		}
		
	#posts h1 {
		margin-bottom: 40px;
		}
		
	#posts .storycontent h1 {
		margin-bottom: 0;
		}
		
	.meta {
		color: #4391d0;
		text-align: center;
		width: 100px;
		float: left;
		}
		
	.post .meta {
		width: 107px;
		margin-top: 5px;
		}
		
		.meta img {
			border: 3px solid #4391d0;			
			}
			
		#bloggen .meta .entry_author_image img {
			width: 60px;
			}
		
		.post .meta div {
			background: #d9e9f6;
			padding: 5px;
			margin-bottom: 5px;
			color: #000;
			font-size: 10px;
			text-align: left;
			}
			
			.post .meta div a {
				font-size: 12px;
				} 
			
			.post .meta span.comment-count {
				font-size: 16px;
				}
			
			.post .meta span {
				display: inline;
				font-size: 18px;
				}
			
			.meta span {
				font-weight: bold;
				display: block;
				}
				
			.post .meta div span {
				font-size: 12px;
				color: #ff8e00;
				display: block;
				}
			
			.post .meta div img {
				border: 4px solid #4391d0;
				text-align: center;
				}
		
	.post .entry {
		float: left;
		width: 520px;
		margin: 0 0 40px 20px;
		}
		
	.comments_container {
		margin: 0 0 40px 120px;
		width: 420px;
		}
		
		.category-bloggen .comments_container {
			margin-left: 120px;
			clear: both;
			}
	
	.nav {
		margin: 0 0 40px 120px;
		width: 520px;
		border-top: 1px solid #4391d0;
		padding-top: 8px;
		color: #ff8e00;
		text-transform: uppercase;
		}

/*
		.no-date {
			margin-left: 20px;
			}
*/
		
		#nav-next {
			float: left;
			}
			
		#nav-prev {
			float: right;
			}
		
	.page pre {
		overflow-x: scroll;
		}
		
	.page .storycontent {
		border-bottom: 1px solid #4391d0;
		padding-bottom: 15px;
		}
			
	.post .postmetadata {
		background: #d9e9f6;
		padding: 4px;
		font-size: 10px;
		}
		
		.post .postmetadata a {
			font-size: 12px;
			}
			
		.post .postmetadata .comment-link {
			float: right;
			margin-right: 10px;
			}

	.page-template-firstpage-php #posts {
		margin-left: 20px;
		float: left;
		}

	#bloggen {
		list-style: none;
		margin: 25px 0 0;
		padding: 0 0 25px;
		border-bottom: 1px solid #4391d0;
		}
		
		#bloggen li {
			padding-bottom: 20px;
			}
			
		#bloggen .content {
			float: left;
			width: 300px;
			}

/*
	.archive .category-aktiviteter .entry,
	.archive .nav,
	.archive .category-aktiviteter .post .entry {
		margin: 0;
		width: auto;
		}
*/

#puffs {
	background: #ecf4fa;
	float: left;
	clear: both;
	width: 940px;
	margin-top: 20px;
	padding: 10px;
	}

	#puffs div {
		width: 217px;
		height: 260px;
		padding: 0 11px;
		border-right: 1px solid #cae0f2; 
		float: left;
		}
	
	#puffs div {
		border-left: 1px solid #fff;
		}
		
	#puffs div.first {
		border-left: none;
		margin-left: 0;
		padding-left: 0;
		}
		
	#puffs div.last {
		border-right: none;
		margin-right: 0;
		padding-right: 0;
		}
	
	#puffs img {
		border: 4px solid #4391d0;
		width: 206px;
		height: 120px;
		display: block;
		}
		
	#puffs h3 {
		display: block;
		}
	
#sidebar {
	width: 220px;
	float: right;
	list-style: none;
	padding: 0;
	margin: 0 30px 0 0;
	}

	.page-template-firstpage-php #sidebar {
		width: 460px;
		margin: 0 20px 0 30px;
		}
	
	#sidebar p {
		margin: 0;
		}
		
	#sidebar h3 {
		background: #4391d0;
		color: #fff;
		font-size: 18px;
		padding-left: 20px;
		line-height: 30px;
		}

	#sidebar li ul {
		padding: 0;
		margin: 0;
		}
		
	#sidebar li#activities {
		margin-bottom: 50px;
		}
		
	#sidebar li#activities p {
		line-height: 30px;
		}
		
		.read-all-activities {
			text-align: right;
			display: block;
			margin: 0;
			}
			
			.read-all-activities a {
				background: url( 'images/bullet.png' ) no-repeat center right;
				padding-right: 40px;
				line-height: 40px;
				float: right;
				}
	
	#sidebar ul {
		list-style: url('images/sidebar_bullet.png');
		padding: 0 20px;
		margin: 0 0 10px;
		list-style-position: inside;
		}
		
		
		.page-template-firstpage-php #sidebar ul {
			list-style: none !important;
			list-style-image: none;
			list-style-position: inside;
			margin: 0;
			padding: 0;
			}
			
		.page-template-firstpage-php #sidebar ul li {
			border-bottom: 1px solid #4391d0;
			}
		
		#sidebar ul li {
			border: none;
			margin-top: 10px;
			}
			
		#sidebar li#news ul, #sidebar li#activities ul {
			padding: 0 10px;
			}
			
		#sidebar li#news ul li {
			padding: 10px 0;
			}
		
		#sidebar ul li span {
			margin-right: 30px;
			color: #4391d0;
			font-weight: bold;
			}
			
		#sidebar li.bloggers ul {
			list-style: none;
			}
			
			#sidebar li.bloggers img {
				float: left;
				}
			
			#sidebar li.bloggers h4, #sidebar li.bloggers p {
				}
	
	#sidebar h2 {
		color: #fff;
		line-height: 25px;
		font-size: 18px;
		padding: 6px 0 4px 20px;
		margin: 0;
		background: #4391d0;
		}

#firstpage-footer {
	clear: both;
	margin: 20px 0;
	padding-top: 40px;
	}

#footer {
	position: relative;
	margin-top: -350px; 
	height: 350px;
	background: #fff url('images/footer.png') repeat-x;
	clear:both;
	}
	
	#footer-content {
		width: 960px;
		margin: 0 auto;
		}
		
		#footer ul {
			list-style: none;
			padding: 0;
			margin: 0;
			}
			
		#footer h4 {
			color: #4391d0;
			font-size: 16px;
			font-weight: 100;
			margin: 0;
			line-height: 30px;
			}
		
		#footer li.page_item {
			border-top: 1px solid #fff;
			line-height: 25px;
			}
		
		#footer-content div {
			float: left;
			width: 230px;
			margin-right: 10px;
			margin-top: 18px;
			}

.screen-reader-text {
     position: absolute;
     left: -1000em;
}


/* !Typography */

#blog {
	font-size: 31px;
	font-family: "Helvetica Neue";
	font-weight: 100;
	}
	
	#blog .rss, #news .rss {
		padding-right: 20px;
		background: url('images/rss.png') center right no-repeat;
		font-size: 12px;
		float: right;
		line-height: 32px;
		font-family: Arial;
		}
	#news .rss {
		color: #fff;
		line-height: 19px;
		margin-right: 20px;
		}

body {
	color: #000;
	font-family: Arial, Sans-serif;
	}

span.date {
	color: #4391d0;
	}

p {
	line-height: 18px;
	}

a {
	color: #ffa800;
	text-decoration: none;
	font-weight: bold;
	}

a img {
	border: none;
	}

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

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

acronym, abbr, span.caps {
	font-size: 90%;
	letter-spacing: .07em;
	}

acronym, abbr {
	cursor: help;
	}

blockquote {
	border-left: 5px solid #ccc;
	margin-left: 1.5em;
	padding-left: 5px;
	}

cite {
	font-size: 90%;
	font-style: normal;
	}

h3 {
	font-size: 14px;
	}

ol#comments li p {
	font-size: 100%;
	}


/* classes used by the_meta() */
ul.post-meta {
	list-style: none;
	}

ul.post-meta span.post-meta-key {
	font-weight: bold;
	}

.credit {
	background: #90a090;
	border-top: 3px double #aba;
	color: #fff;
	font-size: 11px;
	margin: 10px 0 0 0;
	padding: 3px;
	text-align: center;
	}

.credit a:link, .credit a:hover {
	color: #fff;
	}

.feedback {
	color: #ccc;
	text-align: right;
	clear: both;
	}


.storytitle {
	margin: 0;
	}

.storytitle a {
	text-decoration: none;
	}

#commentform #author, #commentform #email, #commentform #url, #commentform textarea {
	background: #fff;
	border: 1px solid #c2c2c2;
	padding: 4px;
	}

#commentform input, #commentform textarea, #captcha_code {
	margin-right: 20px;
	width: 270px;
	}
	
#commentform label {
	color: #4391d0;
	}
	
#commentform #submit {
	background: #ffa800;
	font-family: Arial, Sans-serif;
	color: #fff;
	border: none;
	font-size: 14px;
	font-weight: bold;
	width: auto;
	padding: 4px 15px;
	}

#commentlist {
	list-style: none;
	padding: 0;
	}
	
	#commentlist li {
		background: #ecf4fa;
		padding: 10px;
		margin-bottom: 10px;
		}

#commentlist li ul {
	border-left: 1px solid #ddd;
	font-size: 110%;
	list-style-type: none;
	}

	#commentlist li .avatar {
		float: left;
		}
	
	#commentlist li p {
		margin: 0 0 0 50px;
		}
	
	#commentlist cite {
		font-style: italic;
		font-size: 10px;
		font-weight: 600;
		margin: 5px 0;
		display: block;
		border-top: 1px solid #b9d6ed;
		}

#header a {
	color: #fff;
	text-decoration: none;
	}

#header a:hover {
	text-decoration: underline;
	}

#wp-calendar {
	border: 1px solid #ddd;
	empty-cells: show;
	font-size: 14px;
	margin: 0;
	width: 90%;
}

#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;
	text-decoration: none;
}

#wp-calendar a:hover {
	background: #e0e6e0;
	color: #333;
}

#wp-calendar caption {
	color: #999;
	font-size: 16px;
	text-align: left;
}

#wp-calendar td {
	color: #ccc;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
}

#wp-calendar td.pad:hover {
	background: #fff;
}

#wp-calendar td:hover, #wp-calendar #today {
	background: #eee;
	color: #bbb;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}

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

.alignleft {
	float: left;
	margin: 4px 10px 10px 0;
}

.alignright {
	float: right;
	margin: 4px 0 10px 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 5px 4px 5px;
	margin: 3px 9px 0 0;
	background: #D9E9F6;
	text-align: center;
}
/* End captions & aligment */


/* !Clear float fix */
#bloggen, #container, 
#header #splash #logo, 
#header #splash #logo h2, 
h2, 
#puffs, 
#sidebar li#activities, 
#sidebar li#news, 
.post .postmetadata, 
#bloggen li,
#posts .post, 
#posts .page,
.comments_container,
.page .storycontent {
	overflow: hidden;
	zoom: 1;
	}
	
/* !Language selector */
#lang {
	position: absolute;
	z-index: 100;
	right: 0;
	padding: 4px 8px;
	background: #4391d0;
	color: #fff;
	}
	
	#lang select {
		width: 75px;
		}
	#posts{
		position: relative;
	}
	
.backto2{
	display:block;
	margin: 0 35px 15px;
	text-transform: capitalize;
	text-align: right;
	}	
		
.backto{
	position: absolute;
	top:20px;
	right: 0px;
	display:block;
	margin-bottom: 15px;
	text-transform: capitalize;
	}
