/*
Theme Name: Silvaskog
Theme URI: http://inovart.se/
Author: Jesper Thörn
Version: 1.1
*/

body,html{
	margin:0;
	padding:0;
	line-height: 1.5em;
	font-family: arial, verdana, sans-serif;
	font-size: 13px;
	color: #36281F;
	height: 100%;
}
body {
	background: white;
}
table{ 
	border-collapse: collapse; 
} 

table,td{
	border:0;
	padding:5px;
}

#contentcolumn table tr:nth-child(odd){
	background:#efefef;
}

a img {
	border: none;
}

h1 {
	font-family: 'Droid Serif', arial, serif;
	font-size: 32px;
	text-shadow: 2px 2px 2px #ccc;
}

h2,h3,h4,h5 {
	font-family: 'Droid Serif', arial, serif;
	font-size: 28px;
	text-shadow: 2px 2px 2px #ccc;
}
h3,h4,h5{
	font-size: 18px;
}
a {
	color:#099DDE;
	text-decoration: none;
	cursor: pointer;
}
a:hover {
	text-decoration: underline;
}

a.adv {
	display: inline-block;
	padding:15px 25px 15px 35px;
	color:#fff;
	font-size: 1.5em;
	border-radius: 5px;
	background: url(images/bg-topmenu-hover-green-on.png) no-repeat top left;
}
a.adv:hover {
	text-decoration: none;
}

#topsection{
	background:url(images/bg-topmenu.png) no-repeat;
	height: 92px; /*Height of top section*/
	width: 1004px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

/* Menu */
#topsection .menu ul{
	position:absolute;
	right:0;
	top:0;
	margin:0 16px;
	padding:0;
	height:75px;
	list-style: none;
}
#topsection .menu ul li {
	float:left;
	margin:0 0 0 14px;
}

#topsection .menu ul li a {
	text-decoration: none;
	float:left;
	color: #999;
	height:75px;
	cursor: pointer;
	font-family: 'Droid Serif', arial, serif;
	font-size: 18px;
}

#topsection .menu ul li a span {
	margin: 0 13px 0 -13px;
	height:35px;
	/* padding: 27px 11px 13px 21px; */
	padding: 27px 15px 13px 25px;
	position: relative; /*To fix IE6 problem (not displaying)*/
	float:left;
}

#topsection .menu ul li a:hover {
	background: url(images/bg-topmenu-hover-green.png) no-repeat top right;
	color: #fff;
}

#topsection .menu ul li.current_page_item a,#topsection .menu ul li.current_page_parent a {
	background: url(images/bg-topmenu-hover-green-on.png) no-repeat top right;
	color: #fff;
}

#topsection .menu ul li.current_page_item a span,#topsection .menu ul li.current_page_parent a span {
	background: url(images/bg-topmenu-hover-green-on.png) no-repeat top left;
}

#topsection .menu ul li a:hover span {
	background: url(images/bg-topmenu-hover-green.png) no-repeat top left;
}

.menu ul li ul {
	display: none;
	-moz-border-radius:0 10px 10px 10px;
	-webkit-border-radius: 0 10px 10px 10px;
	-moz-box-shadow:0 0 5px #000000;
	-webkit-box-shadow:0 0 5px #000000;
	background: #333;
	background:rgba(52, 49, 48, 0.9);
	border:1px solid #333333;
	left:0px;
	padding:5px 10px 10px;
	position:absolute;
	top:80px;
	width:200px;
	z-index:1000222;
}
.menu ul li ul li {
	float: none;
	background: none;
	border-bottom:1px solid #000;
	border-top:1px solid #666;
	display:block;
	line-height:18px !important;
	margin:0 !important;
	padding:4px 0 !important;
	text-align:left;
	text-indent:0 !important;
	text-shadow:0 1px 1px #000000;
	width:100%;
}
/* End Menu */


#logo {
	background:url(images/logo.png);
	display:block;
	width:153px;
	height:69px;
	text-decoration: none;
	margin:3px 0 0 20px;
}
#logo strong {
	position: relative;
	left:-999em;
}

#maincontainer {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -200px; /* the bottom margin is the negative value of the footer's height */
}

#bgimage {
	background:url(images/bg-body-2.jpg) top center #000 repeat-x;
	width: 100%;
	height: 532px;
	overflow: hidden;
	position: absolute;
	top: 0;
	z-index: 1;
}

#contentwrapper {
	width: 970px;
	height:100%;
	background:url(images/bg-content.jpg) #ffffff no-repeat;
	padding:30px 15px;
	margin: 0 auto 0 auto; /*Set left margin to -(RightColumnWidth)*/
	min-height: 330px;
	position: relative;
}

/* Blurbs in header */
div.blurb {
	background:url(images/bg-centerblurb-brown.png) no-repeat;
	width:431px;
	height:161px;
	position: absolute;
	top:-350px;
	font-family: 'Droid Serif', arial, serif;
	text-shadow: 2px 2px 2px #36281F;
	font-size: 28px;
	line-height: 1.5em;
	color:#FFECC2;
	z-index: 99;
}
div#center-blurb {
	left:15px;
}
div#right-blurb {
	right:15px;
}
div.blurb a {
	float:right;
	font-size: 18px;
	color:#FFECC2;
}

div.blurb ul {
	height: 120px;
	overflow: hidden;
	list-style: none;
	margin:0;
	padding:0;
}

div#center-blurb ul li {
	height: 120px;
}
/* Lower blurbs */
ul#blurbs {
	margin: 293px auto 0 auto;
	padding:0;
	height: 117px;
	width:980px;
	position: relative;
	z-index: 3;
}
ul#blurbs li {
	list-style: none;
	height: 117px;
	float:left;
	width:254px;
	padding:15px 0 15px 60px;
	background:url(images/bg-blurb-center.png);
}
ul#blurbs li.divider {
	list-style: none;
	height: 147px;
	float:left;
	width:1px;
	padding:0;
	background:url(images/centerblurb-div.png) no-repeat;
}
ul#blurbs li#lileft,ul#blurbs li#liright {
	width:17px;
	padding:0;
	height: 147px;
	background:url(images/bg-blurb-l.png);
}
ul#blurbs li#liright {
	background:url(images/bg-blurb-r.png);
}
#blurbs li h2 {
	font-family: 'Droid Serif', arial, serif;
	font-size: 28px;
	margin:10px 0 10px 0;
	text-shadow: 2px 2px 2px #efefef;
}
#blurbs li {
	font-size: 16px;
	color: #36281F;
}
#blurbs a {
	/*float:right;
	margin:10px;*/
}
/* End Blurbs */

#contentcolumn{
	margin: 30px 0;
}

#contentcolumn blockquote p{
	display:block;
	margin:20px 0;
	min-height:30px;
	padding:3px 0 0 8px;
	font-size:14px;
	color:#976F56;
	background:url('/wp-content/uploads/2011/02/quotes.gif') left top no-repeat;
}

#contentcolumn h2 {
	font-size:16px;
}

#contentcolumn h3 {
	font-size: 20px;
}
#contentcolumn h4 {
	font-size: 18px;
}

/* News */
ul#news {
	float:right;
	width:250px;
	height:100%;
	margin:0 20px;
	padding: 0;
	list-style: none;
	border-left:1px solid #ccc;
	min-height:250px;
}

ul#news li,ul#news li ul,ul#news li ul li {
	padding: 0;
	margin:0;
	list-style: none;
}

ul#news li {
	padding:0 0 15px 15px;
	/*background:url(images/news-div.png) center bottom no-repeat;*/
}

ul#news li:first-child {
	background:none;
}

ul#news li h2.header {
	font-family: 'Droid Serif', arial, serif;
	text-shadow: 2px 2px 2px #ccc;
	font-size: 28px;
	color:#36281F;
	margin:0 0 15px 0;
}
ul#news li a {
	color:#36281F;
	margin: 5px 0 5px 0;
}

ul#news li.widget_recent_entries ul li a{
	background: url(images/leaf.png) left center no-repeat;
	padding:0 0 0 18px;
}
/* End News */
/* Like news, on normal pages */
div.the_content {
	border-right: 1px solid #ccc;
	margin-right: 270px;
	padding-right: 20px;
}

/* Other widgets */


/* Footer */
#footer{
	clear: both;
	position: absolute;
	bottom: 0;
	width: 100%;
	background:url(images/bg-footer.jpg) #36281F;
	height: 200px; /*Height of footer section*/
	color: #FFECC2;
	z-index:999;
}

#footer ul {
	list-style: none;
	float:left;
	margin:15px 0;
}

#footer ul li {
	width:285px;
	text-align: left;
}

#footer ul li h3.header {
	font-family: 'Droid Serif', arial, serif;
	text-shadow: none;
	font-size: 18px;
	color:#FFECC2;
	margin-bottom: 10px;
}

#footer a,#footer ul li a{
	color:#FFECC2;
	text-decoration: none;
}

#footer #footer-content {
	width:980px;
	text-align: center;
	margin:0 auto;
}
span#divider {
	display:block;
	width:100%;
	height:1px;
	background:#765744;
	margin:15px;
}
/* End Footer */

/* Form */
div#mc_embed_signup {
	width:228px;
	height:150px;
	background:url(images/bg-box-brown.png);
	padding:10px;
	margin-top:15px;
}
div#mc_embed_signup .txtbox {
	width:164px;
	height:24px;
	background:url(images/bg_txtbox.png);
	border:0;
	margin:0;
	padding:0;
}
div#mc_embed_signup #mc-embedded-subscribe {
	display:block;
	margin: 10px 0;
	width:70px;
}
.txtbox:focus {
	outline: none;
}
.comment-form-comment label {
	display:block;
	font-weight:bold;
}
/* End form */

/* Misc */
.innertube{
	margin: 20px; /*Margins for inner DIV inside each column (to provide padding)*/
}
.addthis_toolbox .my_text {
	display: block;
	float: left;
}
/* Fix floats */
.clear { 
	clear:both; 
	line-height:1px; 
	height:1px;
}
/* Link styles */
.pdf, a[href $= '.pdf'] {
	background: url(images/icon_pdf.gif) left center no-repeat;
	padding:0 0 0 18px;
}
a[href $= '.doc'] {
	background: url("images/sprites.png") 0 -64px no-repeat;
	padding: 0 0 0 18px;
}
a.map,a[href *= 'hitta.se'] {
	background: url(images/sprites.png) 0 -32px no-repeat;
	padding:0 0 0 12px;
}
h2 a, h3 a {
	background:none!important;
	padding: 0!important;
}
a.audio {
	background: url(/wp-content/uploads/2012/03/Microphone-32.png) no-repeat;
	padding: 0 0 0 36px;
	line-height: 32px;
	display: block;
}
/* End misc */


/*  Blog */
#comments {
	margin:20px 0;
}

.alignright {
	float:right;
	margin:0 0 15px 15px;
}

.nocomments {
	display:none;
}

.form-allowed-tags {
	color:#ccc;
	width:inherit;
}
/*  End blog */
/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}
.entry-title {
	line-height:1.5em;
}

/* referenser och rapporter */
#contentcolumn div.references h2 {
	margin-top: 36px;
	font-size: 26px;
}
div.report {
	background: #E8E8E8;
	padding: 15px;
	margin-bottom: 5px;
	min-height: 110px;
}
div.odd {
	background: #F4F4F4;
}
div.report div.image {
	float:right;
	width: 150px;
	height: 150px;
}
div.report h3 {
	margin-top: 0;
	font-size: 18px;
}
div.reference_type {
	width: 32px;
	height: 32px;
	margin-right: 32px;
	background-repeat: no-repeat;
}
div.type_70 {
	background-image: url('/wp-content/uploads/2012/03/Magazine-32.png');
}
div.type_67 {
	background-image: url('/wp-content/uploads/2012/03/Books-32.png');
}
div.type_71 {
	background-image: url('/wp-content/uploads/2012/03/Radio-32.png');
}
div.type_72 {
	background-image: url('/wp-content/uploads/2012/03/Checked-User-32.png');
}
div.type_73 {
	background-image: url('/wp-content/uploads/2012/09/Combo-32.png');
}

/* Media library */
div.thumbs div.thumb {
	display: inline-block;
	border: 1px solid #ccc;
	padding: 4px;
	margin: 4px;
	width: 120px;
	height: 120px;
	overflow:hidden;
}
div.thumb {
	text-align:center;
}
div.thumb a {
	display:block;
	text-align: center;
}
div.thumb p.caption {
	margin-top: 2px;
}
/* Instagram */
/* .ig-b- { display: inline-block; } */
.ig-b- img { visibility: hidden; }
.ig-b-:hover { background-position: 0 -60px; } .ig-b-:active { background-position: 0 -120px; }
.ig-b-16 { width: 16px; height: 16px; background: url('//badges.instagram.com/static/images/ig-badge-sprite-16.png') no-repeat 0 0; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
	.ig-b-16 { 
		background-image: url('//badges.instagram.com/static/images/ig-badge-sprite-16@2x.png');
		background-size: 60px 178px;
	}
}
.widget_instagram_recent_media a:after {
	content: attr(title);
}
/* test */
div.category {
	/* border: 1px solid cadetblue; */
	/* padding: 4px; */
}

@media (min-width: 720px) {
	#contentcolumn blockquote p{
		width:560px;
	}
	div.report {
		width: 630px;
	}	
}

.circbadge {
	width:100px;
	height:100px;
	display: block;
	border-radius:100px;
	font-size:14px;
	color:#fff;
	line-height:100px;
	text-align:center;
	background:url('/wp-content/themes/silva/images/bg-centerblurb-brown.png');
	-ms-transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
	-moz-transform: rotate(10deg);
	transform: rotate(10deg);
}
#pp-front {
	position: absolute;
	top: 65px;
    left: -62px;
}
#pp-front:hover {
	text-decoration: none;
}
