/*Theme Name: Branschrådet för Hälsa - tema
Theme URI: http://danielc.se/
Description: Tema för Branschrådet för Hälsa
Author: Daniel Claesson
URI: http://danielc.se/kontakt/
Version: 0.1.0
*/

/* HTML 5-fix för äldre webbläsare */
header, nav, article, aside, section, footer {
	display: block;
}

* {margin:0; padding:0;}

a { outline:none } /* Gets rid of Firefox's dotted borders */
a img { border:none } /* Gets rid of IE's blue borders */

/********************************************/

body {
	margin: 0;
	padding: 0;
	text-align: left;
	font-weight: normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	background: url(http://www.branschradetforhalsa.se/wp-content/uploads/bg.jpg) repeat #f6f2ea;
	color: #1e1e1e;
}
.clear {clear:both; margin:0; padding:0;}

a, a:link, a:visited {
	text-decoration: none;
	color: #4f648b;
	font-weight: normal;
}

a:hover {
	color: #4f648b;
	text-decoration: underline;
}

a.hdr:link {font-size:36px; color:#3c3b3b; text-decoration:none;}
a.hdr:hover {font-size:36px; color:#3c3b3b; text-decoration:none;}
a.hdr:active {font-size:36px; color:#3c3b3b; text-decoration:none;}
a.hdr:visited {font-size:36px; color:#3c3b3b; text-decoration:none;}

#wrapper{
	max-width: 920px;
	min-width: 220px;
	margin: 0 auto;
	padding: 0 20px;
}

#header {
	max-width: 100%;
	min-width: 220px;
	padding: 0;
	margin: 0 auto;
	text-align: left;
}

#nav {
	max-width: 100%;
	min-width: 220px;
	padding: 20px 10px;
	margin: 0 auto;
	text-align: center;
	border-width: 1px 0;
	border-color: #92aab7;
	border-style: solid;
}

#main {
	max-width: 100%;
	padding: 10px;
	margin: 0 auto;
}

#footer {
	margin: 0 auto;
	padding: 10px;
	max-width: 100%;
	min-width: 220px;
	text-align: center;
	border-top: 1px solid #92aab7;
}

.box {
	background: #fff;
	padding: 15px;
	margin: 0;
	border-color: #e5e3d8;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 0 10px #c4c4c4;
}

.box_bottom {
	border-radius: 0 0 10px 10px;
	height: 10px;
	margin: 0 0 10px 0;
}

#container {
}

/* Huvudmenyn */

.navlist {
	font-size: 1.1em;
	padding: 5px;
	margin: 4px 2px;
	text-align: center;
	color: #393939;
	text-decoration: none;
	text-transform: uppercase;
}

#navbar {
	float: left;
	display: block;
	background: #333333;
	color: #ffffff;
	width: 100%;
	min-height: 30px;
	font-size: 12px;
	font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif;
	text-transform: uppercase;
	margin: 15px auto 15px;
	padding: 0px 0px 0px 0px;
	border: 1px solid #DDDDDD;
	position: relative;
	z-index: 9;
	}

/*** ESSENTIAL STYLES ***/
.menu, .menu * {
	margin:	0;
	padding: 0;
	list-style: none;
	}
.menu {
	line-height: 1.0;
	}
.menu ul {
	margin: 0px;
	padding: 0px;
	}
.menu ul ul, ul.menu ul {
	position: absolute;
	top: -9999px;
	width: 160px; /* left offset of submenus need to match (see below) */
	}
.menu ul li ul li, ul.menu ul li {
	width: 100%;
	margin: 0px 0px 0px 0px;
	}
.menu li:hover {
	visibility:	inherit; /* fixes IE7 'sticky bug' */
	}
.menu li {
	float: left;
	display: inline-block;
	position: relative;
	}
.menu a {
	display: inline-block;
	position: relative;
	}
.menu li:hover ul,
.menu li.sfHover ul {
	left: 0;
	top: 20px; /* match top ul list item height */
	z-index: 99;
	}
ul.menu li:hover li ul,
ul.menu li.sfHover li ul {
	top: -9999px;
	}
ul.menu li li:hover ul,
ul.menu li li.sfHover ul {
	left: 160px; /* match ul width */
	top: 0;
	}
ul.menu li li:hover li ul,
ul.menu li li.sfHover li ul {
	top: -9999px;
	}
ul.menu li li li:hover ul,
ul.menu li li li.sfHover ul {
	left: 160px; /* match ul width */
	top: 0;
	}
	
/*** SKIN ***/
.menu .current_page_item a,
.menu .current_page_ancestor a,
.menu .current-menu-item a,
.menu .current-cat a {
	background: #333333;
	color: #ffba00;
	border-left: 0px solid #333333;
	border-right: 0px solid #333333;
	}
.menu li .current_page_item a, .menu li .current_page_item a:hover,
.menu li .current-menu-item a, .menu li .current-menu-item a:hover,
.menu li .current-cat a, .menu li .current-cat a:hover {
	background: #333333 !important;
	color: #ffba00!important;
	border-left: none;
	border-right: none;
	}
.menu {
	float: left;
	margin-bottom: 0;
	}
.menu a {
	color: #ffffff;
	background: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 12px 0px 12px;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: 0.1px;
	line-height: 30px;
	border-right: 0px solid #DDDDDD;
	border-left: 0px solid #FFFFFF;
	}
.menu li li a {
	display: block;
	background: #333333 !important;
	color: #ffffff!important;
	margin: 0px 0px 0px 0px;
	padding: 0px 10px 0px 10px;
	font-size: 11px;
	font-weight: bold;
	line-height: 30px;
	text-decoration: none;
	text-transform: none;
	text-shadow: none;
	letter-spacing: 0px;
	border-right: none !important;
	border-left: none !important;
	}
.menu li, .menu li li, .menu li li li {
	background: none;
	margin: 0px;
	padding: 0px;
	}
.menu li:hover, .menu li.sfHover {
	margin: 0px;
	padding: 0px;
	}
.menu a:focus, .menu a:hover, .menu a:active {
	background: #333333;
	color: #ffba00;
	border-right: 0px solid #333333;
	border-left: 0px solid #333333;
	outline: 0;
	}
.menu li li:hover, .menu li li.sfHover {
	margin: 0px;
	padding: 0px;
	}
.menu li li a:focus, .menu li li a:hover, .menu li li a:active {
	background:	#333333 !important;
	color: #FFBA00 !important;
	border: none;
	outline: 0;
	}


#headerbild {
	width: 100%;
	margin: 0;
	padding: 0;
	background: url(http://www.branschradetforhalsa.se/wp-content/uploads/huvudbild.jpg) no-repeat;
}



hr{
	width: 100%;
	border-width: 1px 0px 0px 0px;
	border-style: solid;
}

p{
	margin: 8px 0;
	padding: 0;
	line-height: 126%;
}


#hdrContainer {width:860px; margin:0 auto;}
h1 {float:left; font-size:36px; color:#fff; text-align:left; font-weight:normal; margin:70px 0 0 20px;}
#hdrLeft {float:left; width:500px; height:150px; text-align:left;}
.description {float:left; width:480px; margin:0 0 0 20px; font-size:14px;}
#hdrRight {float:left; width:420px; height:70px; text-align:left; padding:95px 0 0 20px;}
#hdrRight ul {margin:95px 0 0 0;}
#hdrRight li {display:inline; font-size:18px; font-weight:bold; margin:0 20px 0 0;}
#hdrRight a {color:#fff; text-decoration:none;}

#content {float:left; width:75%; min-height: 300px; margin-right:0; text-align:left;}

#full-width {
	float: none;
	width: 100%;
}

.post {
	width:100%;
	margin:0;
	clear:both;
}
.post img {
max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Trocchi', "Huvud", Verdana, Arial;
	font-weight: normal;
	padding: 0;
}

h2 {
	margin: 0;
	font-size: 2em;
}

h2 a:link, h2 a:visited {color: #3c3b3b; text-decoration:none;}
h2 a:hover {
	color: #92aab7;
	text-decoration: underline;
}


h3 {
	margin: 8px 0 0 0;
	font-size: 1.7em;
}

h3#comments {
	margin: 0;
	font-size: 1.4em;
}

h3#respond {
	margin: 0;
	font-size: 1.4em;
}


#huvud_vanster, #huvud_hoger {
	height: 90px;
	padding: 5px 5px 10px 5px;
	background: #fff;
	margin: 0 5px;
	box-shadow: 3px 3px 7px #666;
}

#huvud_vanster {
	float: left;
	transform:rotate(-7deg);
	-ms-transform:rotate(-7deg); /* IE 9 */
	-moz-transform:rotate(-7deg); /* Firefox */
	-webkit-transform:rotate(-7deg); /* Safari and Chrome */
	-o-transform:rotate(-7deg); /* Opera */
}

#huvud_hoger {
	float: right;
	transform:rotate(7deg);
	-ms-transform:rotate(7deg); /* IE 9 */
	-moz-transform:rotate(7deg); /* Firefox */
	-webkit-transform:rotate(7deg); /* Safari and Chrome */
	-o-transform:rotate(7deg); /* Opera */
}

#header h1, #header h2 {
	margin: 0;
	padding: 0;
	font-size: 2.6em;
	text-align: center;
	font-family: 'Trocchi', "Huvud", Verdana, Arial;
	border: none;
	color: #393939;
	float: none;

}

#footer img {
	padding: 0 2px 0 2px;
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

a img {
	border: 0;
}

.postdate {float: right; font-size:14px; padding:8px 20px;}
.postentry {}
.postentry img {margin: 0;
	border-color: #c4c4c4;}

.postentry p {
	margin: 2px 6px 6px 6px;
	padding: 0px;
}

.postentry ul {padding:0 0 0 0px; list-style-type:disc; margin:0 0 0 5px;}
.postentry ul li {padding:0 0 5px 0px; background: url(/wp-includes/images/bullet.gif) top left no-repeat;}
.akst_link {display:block; padding:20px 0 0 0;}

.postmetadata {
	margin: 2px 6px 6px 6px;
	padding: 0px;
 clear:both;}

.comments {margin:5px 0 20px 10px;}
.alt {display:block; padding:10px 0 10px 0;}
a.comments:link {text-decoration:underline;}


.entry img {margin: 0;
	border-color: #c4c4c4;}
.entry .akst_link {display:block; padding:10px 0 10px 20px;}
.entry ul {padding:0 5px 0 0; list-style: auto; margin:0 0 0 15px;}
.entry ul li {padding:0 0 5px 0px; background: url(/wp-includes/images/bullet.gif) top left no-repeat;}
.navigation {float:left; display:block; padding:0 20px 10px 0;}
small {display:block; padding:5px 0 10px 20px; font-size:10px; font-weight:bold;}
small.commentmetadata {display:block; padding:0 0 10px 0; font-size:10px; font-weight:bold;}
blockquote {padding:10px 20px; color:#999; font-size:12px; font-style:italic;}
#search {float:left; width:178px; padding:20px;}
input#s {width:160px; padding:3px; margin:0 0 5px 0;}

.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-dd {font-size: 11px; line-height: 17px; padding: 0 4px 5px;	margin: 0;}

#sidebar-1 {float:right; max-width:25%; margin-left:0; margin-bottom: 10px; text-align:left;}
#sidebar-1 ul, #sidebar-1 li {list-style:none;}
#sidebar-1 h2 {
	margin: 20px 6px 6px 6px;
	padding: 10px 0 0 0;
	text-align: left;
	font-weight: normal;
	font-size: 22px;
	color: #3c3b3b;
}

#sidebar-1 ul {border:0px; margin: 0 0 10px 10px}
#sidebar-1 li {border:0px;}
#sidebar-1 ul li ul {margin: 0 0 0 0;}
#sidebar-1 ul li ul li {padding:0 0 3px 20px;}
#sidebar-1 a {display:block;}
#sidebar-2 {float:left; width:0; text-align:left; margin-bottom: 0;}
#sidebar-2 img {padding-bottom:0;}

.widget_subpages_current_page {
	padding: 0 0 3px 20px!important;
}
.widget_subpages_current_page a {
	font-weight: bold!important;
}

textarea {width:450px; height:100px; margin:10px 0 10px 0; font-size:12px; padding:10px;}


/* Startsidan */

#pt, #kost, #mass {
	float: left;
	width: 33%;
}

.startbox {
	padding: 10px;
	background: #f7ecf3;
	margin: 5px;
	border-radius: 5px;
}
.startbox img {
	max-with: 100%;
	margin: 0;
	padding: 0;
}
.startbox h4 {
	font-size: 1.3em;
}
.startbox a {
	color: #1e1e1e!important;
}

.fullbox {
	margin: 5px;
	padding: 10px;
	background: #f2efdc;
	border-radius: 5px;
}

#ptA, #kostA, #massA {
	float: left;
	margin: 5px;
	width: 30%;
	background: #f8e5f1;
}

/* YouTube-videor, iframes och annat */

embed, object, iframe {
	width: 100%;
	max-height: auto;
}

.center {
	text-align: center;
}

/* Social widget */

.tssw-item {
	padding: 5px 5px 0 0!important;
}


/* Fontfaces 

@font-face{
	font-family: "Huvud";
	src: url("http://danielc.se/fonts/header.eot"); /* Stupid IE needs this one... */
}

@font-face {
	font-family: "Huvud";
	src: url(http://danielc.se/fonts/header.ttf); /* Alla andra webbläsare använder denna */
}*/


/* Menyns CSS */

#menu ul{
	list-style-type: none;
	}

#menu li{
	position: relative;
	list-style-image: none;
	list-style-position: inside;
	list-style-type: none;
	padding: 0 2px 0 0px;
	margin: 0;
	float: left;

}

#menu a{
	display: block;
	width: 78px;
	height: 20px;
	margin: 0;
	padding: 6px 0 0 0;
	text-decoration: none;
	font-family: verdana, tahoma, arial, san-serif;
	font-size: 11px;
	font-weight: normal;
	background: #b79e88;
	color: #000;
	-moz-border-radius: 10px 10px 0 0;
	-webkit-border-radius: 10px 10px 0 0;
}

#menu a:hover{
	background: #f0dece;
	color: #000;
}

#blogg a, #blogg a:hover{
	background: #fff;
}

/* --- För skärmar med bredden 800px eller mindre --- */

@media screen and (max-width: 800px) {

#content, #sidebar-1  {
	float: none;
	width: 100%;
	max-width: 100%;
	min-height: 0;
}

#sidebar-1 ul li {
	display: inline;
}



}


/* --- För skärmar med bredden 600px eller mindre --- */

@media screen and (max-width: 600px) {

#wrapper {
	padding: 5px;
	border: 0;
}

#header {
	border: 0;
}

#footer {
	padding: 5px;
}

#huvud_vanster {
	display: none;
}

#header h1, #header h2 {
	text-align: left;
}

#content {
	float: none;
	max-width: 100%;
}

#sidebar-1, #sidebar-2 {
	float: none;
	max-width: 80%;
	}

}


/* --- För skärmar med bredden 550px eller mindre --- */

@media screen and (max-width: 550px) {

	#pt, #kost, #mass {
		width: 50%;
	}	

}


/* --- För skärmar med bredden 400px eller mindre --- */

@media screen and (max-width: 400px) {

#nav, #footer {
	padding: 20px 0;
}

#pt, #kost, #mass {
	float: none;
	width: 100%;
}


#footer {
	min-height: 0;
}

#huvud_vanster, #huvud_hoger, #qr {
	display: none;
}

#header h1, #header h2 {
	text-align: center;
}

.left, .right {
	float: none;
	margin: 0 auto;
	text-align: center;
}
.box {
	margin: 10px 0;
	border-width: 1px 1px 1px 1px;
	border-style: solid;
}
.box_bottom {
	display: none;
}


}