/**
* Theme name: JKB Hyband
* Author: John Mick
* Description: Tema för JKB Hyband AB i Hjo. Utvecklat av Davelo AB 2012, &copy; JK Hyband AB
*/

body, html, p, h1, h2, h3, h4, h5, h6, ul, ol, li, table, tr, td, blockquote, pre {
	margin: 0;
	padding: 0;
}

header, nav, footer, article, section {
	display: block;
}

ul, ol, li {
	list-style:none;
}

a, a:hover, a:active {
	color:#000;
	text-decoration:none;
}

body {
	font-family: Helvetica, Arial, "Sans-serif";
	font-size:14px;
	line-height:22px;
	color:#000;
	background:#333;
}

h1 {
	margin:0 0 15px 0;
}

.clear {
	clear:both;
	float:none;
}

.cover {
	width:100%;
}

.content, footer {
	width:960px;
	margin:auto;
}

#slide img {
	border:none!important;
}

.cover.main img {
	border: 6px #DEDEDE solid;
}

.cover.main img a {
	border: 6px #DEDEDE solid;
}


.posts {
	width:640px;
	float:left;
}

.well, .well2 {
	background:#ddd;
	box-shadow:rgba(0,0,0,0.2) 0 -2px 5px inset;
	padding:10px 0;
}

.well2 {
	padding:0;
}


.main {
	background:#fff;
	padding:20px 0;
}

img.aligncenter, img.alignleft, img.alignright {
	margin: 0 20px 20px;
}

img.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft {
	float: left;
	margin-left: 0;
}
img.alignright {
	float: right;
	margin-right: 0;
}
.wp-caption {
	background-color: #f3f3f3;
	border: 1px solid #ddd;
	-khtml-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 10px;
	padding-top: 4px;
	text-align: center;
}
.wp-caption img {
	border: 0 none;
	margin: 0;
	padding: 0;
}
.wp-caption p.wp-caption-text {
	font-size: 0.8em;
	line-height: 1em;
	margin: 0;
	padding: 0 4px 5px;
	color: #333;
}

header {
	background:#111;
	padding-top:15px;
}

header .info {
	width:200px;
	float:left;
	color: #fff;
	margin-top:25px;
	margin-left:130px;
	font-size:16px;
	line-height:27px;
}

	header .info a {
		color:#fff;
	}

.mini_menu {
	float:right;
	width: 160px;
	margin-top:10px;
}

.mini_menu:before {
	content:"";
	display:block;
	width:42px;
	height:133px;
	background:url("img/skiftnyckel.png");
	position: absolute;
	margin-left:-24px;
	margin-top:-23px;
}



	.mini_menu li {
		background:#6a983c;
		width:160px;
		margin-bottom:3px;		
	}

	.mini_menu li:hover {
		background:#8cbb5e;		
	}

	.mini_menu a {
		color:#fff;
		font-size:22px;
		padding:5px 18px;
		display:block;
	}

	.mini_menu a:hover {
		color:#303030;
	}

header nav {
	background:#8cbb5e url("img/gradient.png") bottom left;
	height:48px;
	border-bottom:1px solid #333;
}

	a.logo {
		width:297px;
		height:106px;
		float:left;
		display:block;
		background:url("img/logo.png") top left no-repeat;
		margin:0 0 15px 0;
	}

	header nav ul {
		font-size:16px;
	}

		header nav ul li {
			display:inline-block;
			*zoom:1;
			*display:inline;
		}

		.sub-menu {
			background:#8cbb5e;
			background:rgba(140, 187, 94, 0.8);
			position: absolute;
			z-index:30;
			border-radius: 0 0 4px 4px;
			display:none;
		}

			.sub-menu li {
				display:block;
			}

			header nav ul li a {
				color:#fff;
				display:block;
				padding:13px 8px;
			}

				header nav>ul>li:hover {
					background:#8cbb5e;
				}
					
					header nav>ul>li:hover .sub-menu {
						display:block;
					}

					header nav>ul>li:hover>a {
						color:#303030;
					}

.posthead {
	display:block; 
	margin:auto;
}

footer {
	padding:10px 0;
	color: #ccc;
	position: relative;
}

	footer a, footer a:hover, footer a:active {
		color:#ccc;
	}

	footer ul {
		margin:10px 0;
		width:200px;
		float:left;	
	}

	footer .menu {
		width:auto;
		margin:0;
		position: absolute;
		top:5px;
		right:0;
	}

		footer .menu li {
			display:inline;
			padding:0 15px;
		}

			footer .menu li a:hover {
				color:#fff;
			}

	footer .copy {
		text-align:right;
		padding-bottom:15px;
		font-size:10px;
		position: absolute;
		right:15px;
		bottom:10px;
	}

.widgets {
	width:280px;
	float:right;
	margin-left:20px;
}

	.widget {
		border-radius:4px;
		overflow: hidden;
		background:#fff;
	}

	.widget .title {
		background:#8cbb5e url("img/gradient.png") bottom left;
		padding:8px 10px;
		color: #fff;
		font-size:17px;
	}

	.widget>ul, .widget>div {
		padding:10px 10px;
	}

div#shslideshow {
	margin:0;
	float:left;
	position:relative;
}

div#shslideshow_nav {
	position:static;
	margin:0;
}

#shslideshow_nav div {
	width:35px;
	height:34px;
	background:url("img/35x34_arrows.png") left top no-repeat;
	text-indent:-9999px;
	position: absolute;
	top:50%;
	margin:0;
	margin-top:-15px;
	right:10px;
	z-index:20;
}

div#shslideshow_nav_pre {
	background-position:right top;
	left:10px;
	right:auto;
}

.recent_with_excerpt ul li h2 {
	font-size: 15px;
	margin-bottom: 5px;
}

.recent_with_excerpt ul li p {
	font-size: 12px;
}

.recent_with_excerpt ul li img {
	margin: 5px 10px 0 0;
}

.recent_with_excerpt ul li {
	border-bottom: #ddd 1px solid;
	margin-bottom: 10px;
}