/*
	Theme Name: Backaby.se
	Theme URI: http://www.backaby.se
	Description: Ett wp-tema for Backaby (Smaland)
	Author: Innerbay Web Productions
	Author URI: http://www.ahstrom.net
*/


* {margin:0;padding:0;} 

html, body, #wrap {height: 100%; font-family: "Helvetica"; font-size: 12px;}

body > #wrap {height: auto; min-height: 100%;}

#main {background-color: #f2f2f2; margin-bottom: 20px; padding-bottom: 150px;}  

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}

* html .clearfix { height: 1%;}
.clearfix {display: block;}


#header {
	padding:0px;
	height: 264px;
	background-image: url('images/top_bg.jpg');
	background-position: center;
	background-repeat: repeat-x;
	background-color: black;
}
	
	#headerContainer{
		margin: 0 auto;
		width: 820px;
		min-height: 264px;
		height: auto;
/* 		background-image: url('images/top/1.jpg'); */
		background-position: center;
		background-repeat: no-repeat;
		background-color: black;
	}
	
	#headerTop{
		float: left;
		display: relative;
		height: 28px;
		width: 810px;
		background-image: url('images/top_border.png');
		background-position: center;
		background-repeat: repeat-x;
		padding: 5px;
		color: gray;
		
	}
	
	
span.back{
	height: 80px;
}
	
a.logo{
	font-size: 28px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}

.navigation{
	float: left;
	display: inline;
	height: 30px;
	margin-top: 10px;
	width: 100%;
}

#searchform{
	float: right;	
	display: inline;
	width: 0px;
	height: 0px;
}

.search{
	float: left;
	display: inline;
	width: 100%;
	height: 40px;
}

#search{
	float: right;
	width: 140px;
	height: 22px;
	background: none;
	margin-top: 2px;
	color: white;
	text-indent: 5px;
	background-image: url('images/search.png');
	border: 0px;
	/* background-repeat: repeat-x; */
}

#middle {
	padding:0px;
	height: 201px;
	background-image: url('images/middle_bg.jpg');
	background-position: center;
	background-repeat: repeat-x;
}

	#middleContainer{
		margin: 0 auto;
		width: 820px;
		min-height: 201px;
		height: auto;
	}
	
	#middleFade{
		float: left;
		display: relative;
		width: 820px;
		height: 201px;
		background-image: url('images/middle_fade.png');
		background-position-x: center;
		background-repeat: repeat-x;
	}
	
	#middleMenu{
		float: left; 
		display: inline;
		top: 38px;
		width: 220px;
		height: 180px;
		margin: 0px;
		margin-top: 10px;
		margin-left: 4px;
	}
	
	#middleMenu ul{
		margin: 0px;
	}
	
	#middleMenu li{
		list-style-type: none;
		margin-left: 0px;
	}
	
	#middleMenu li a{
	display: block;
	width: 217px;
	height: 25px;
	text-align: left;
	text-indent: 15px;
	text-decoration: none;
	color: white;
	font-size: 16px;
	margin-bottom: 6px;
	margin-left: 0px;
	padding-top: 12px;
	background: transparent url(images/menu_item.png);

	}

	#weather{
		float: left;
		display: inline;
		width: auto;
		height: auto;
		margin-top: 20px;
	}
	
	#middleNews{
		float: left;
		display: relative;
		width: 250px;
		height: 180px;
		margin-top: 28px;
		margin-left: 45px;
	}
	
	#middleNews h3{
		width: 240px;
		border-bottom: 1px dotted #696969;
	}
	
	#middleNews ul{
		font-size: 12px;
		color: #696969;
		list-style-type: none;
		text-decoration: none;
	}
	
	#middleNews li{
		margin: 5px 0 5px 0;
	}
	
	.newsDate{
		color: #5e899c;
		font-size: 12px;
		font-weight: normal;
	}
	
	.newsRow{
		margin-top: 10px;
	}
	
	.newsArchive{
		margin-top: 10px;
		font-size: 10px;
		color: #696969;
		text-align: right;
	}



	#middleCalendar{
		float: left;
		display: relative;
		width: 275px;
		height: 180px;
		margin-top: 28px;
		margin-left: 40px;
	}
	
	#middleCalendar h3{
		width: 275px;
		border-bottom: 1px dotted #696969;
	}
	

	#middleCalendar ul{
		font-size: 12px;
		color: #696969;
		list-style-type: none;
		text-decoration: none;
	}
	
	#middleCalendar li{
		margin: 5px 0 5px 0;
	}
	
	.calendarDate{
		color: #5e899c;
		font-size: 12px;
		font-weight: normal;
	}
	
	.calendarRow{
		margin-top: 10px;
	}
	
	.calendarArchive{
		margin-top: 10px;
		font-size: 10px;
		color: #696969;
		text-align: right;
	}


#content2 {
	padding:0px;
	height: auto;
}
	
	#contentContainer{
		margin: 0 auto;
		width: 820px;
		min-height: 264px;
		height: auto;
	
	}



.post {
	margin: 30px 0 50px;
	text-align: justify;
	width: 450px;
	}
	
.post img{
	margin: 10px 0  10px 0;
}

small{
	color: #a6a6a6;
}

p{
	margin: 10px 0 10px 0;
}

p img {
	padding: 0;
	max-width: 100%;
	border: 0px;
	}



#footer {
	padding:0px;
	min-height: 300px;
	background-image: url('images/footer_bg.jpg');
	clear:both;
	background-repeat: repeat-x;
	background-color: #4e4e4f;
}

	#footerContainer{
		margin: 0 auto;
		width: 820px;
		min-height: 201px;
		height: auto;
	}
	
	#footerFade{
		float: left;
		display: relative;
		width: 820px;
		height: 201px;
		margin-bottom: 30px;
		background-image: url('images/middle_fade.png');
		background-position-x: center;
		background-repeat: repeat-x;
	}


	.footerbox{
		float: left;
		display: inline;
		width: 230px;
		height: auto;
		color: #939393;
		margin-right: 40px;
		margin-top: 20px;
		margin-bottom: 40px;
	}
	
	.footerbox a{
		color: white;
	}
	
	.footerbox li{
		list-style-type: none;
		text-transform: capitalize; 
	}
	
	.footerbox h3{
		color: #5a758f;
				margin-bottom: 10px;

	}
	
	
#subpages{
	float: right;
	display: inline;
	width: 250px;
	height: auto;
	margin-top: 0px;
	*margin-top: 30px;
	text-align: left;
}

	

#subpages ul{
	list-style-type: none;
}

#subpages ul li{
	
	border-bottom: 1px solid #d4d4d4;
	margin-top: 10px;
	margin-bottom: 20px;
}


h3{
	font-size: 14pt;
	font-weight: normal;
	color: #696969;
}

h4{
	font-size: 12pt;
	font-weight: normal;
	color: #5e899c;
}

h2 a{
	font-size: 18pt;
	font-weight: normal;
	color: #5e899c;
	text-decoration: none;
	margin-top: 5px;
	margin-bottom: 5px;
}

h2{
	font-size: 18pt;
	font-weight: normal;
	color: #5e899c;
	text-decoration: none;
	margin-top: 5px;
	margin-bottom: 5px;
}



a{
	font-size: 10pt;
	font-weight: normal;
	color: #5e899c;
	text-decoration: none;
}
