/*  
Theme Name: Petersotare -
Theme URI: http://www.dinwebb.nu/
Version: 1.0
Description: Design & Programmering av <a href="http://www.dinwebb.nu">Dinwebb.nu</a>.
Author: Dinwebb.nu
Author URI: http://www.dinwebb.nu

	Copyright: (c) 2010 dinwebb.nu
	License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html

*/


@import "css/reset.css";


/*-------------------------------------------------------------------------------------------*/
/*
/*   GENERAL  
/*
/*-------------------------------------------------------------------------------------------*/
html, body {}
html { background: url(images/bg.png) repeat; height: 100%;}
body  { color: #fff; font: 13px/1.4 Arial,Helvetica,Sans-serif; background: url(images/bg_f.png) repeat-y; min-height: 100%}

/*   Headers   */

h1, h2, h3, h4, h5, h6  {margin: 0 0 10px; line-height: 1.1; color: #212121;}
h1 {font-size: 28px;} 
h2 {font-size: 30px;} 
h3 {font-size: 20px;} 
h4 {font-size: 12px; font-weight: bold;} 
h5 {font-size: 14px;} 
h6 {font-size: 14px; border-bottom: 1px solid #dfdfdf; color: #333;}

p  {margin: 0 0 10px;}
a {text-decoration: none; color: #7aa8c6;}
a:hover {text-decoration: underline; border: none;}
a:hover, a:active { outline: none; }

em { font-style: italic;}
strong { font-weight: bold;}


/*-------------------------------------------------------------------------------------------*/
/*
/*   HEADER 
/*
/*-------------------------------------------------------------------------------------------*/

#container  { position: relative; width: 100%; }
#wrapper { width: 990px; float: left; z-index: 2; position: relative;}

#header {}

/* logo */
#logo { margin: 0; padding: 0; margin: 45px 0 0 20px; float: left;}
#logo a { width: 157px; height: 41px; background: url(images/sprites.png) no-repeat; display: block; text-indent: -999em; overflow: hidden; text-align: left; direction: ltr;}


/* navigation */

#mainNav  { width: 198px; height: 100%; float: left;  position: fixed; z-index: 4;}
#mainNav .nav .current_page_ancestor .children { left: 198px;}
.ie-bg {width: 198px; height: 1000%; background: url(images/menu.png) repeat-y;}
.nav { width: 170px; margin: 30px 0 0 27px; float: left;}
.nav li {display: inline;}
.nav a  { font-size: 14px; color: #fff; float: left; font-weight: normal; width: 161px; padding: 10px 0 14px 10px; }
.nav a:hover {}
.nav .current_page_item a  { color: #7aa8c6; text-decoration: none; background: url(images/sprites.png) no-repeat; background-position: 0px -49px; width: 175px; }

/* Lvl 2 */
#mainNav .nav ul ul { display: none;}
#mainNav .nav .current_page_item ul, .nav .current_page_ancestor ul { display: block; }
#mainNav .nav .children { background: url(images/subNav.png) repeat-y; height: 1000%; left: 198px; position: absolute; top: 0; width: 159px; padding: 125px 0 0; z-index: -1;}
#mainNav .nav .children { left: 50px;}
#mainNav .nav .children a { background: none; color: #fff; padding: 10px 0 10px 9px; width: 115px; text-shadow: 0px -1px #4a7b9b;}


.news-nav-hidden { padding:0; margin:0; }
#mainNav .nav .categories .categories-heading { 
	background: none; color: #fff; padding: 0px 0px 0px 9px; width: 115px; 
	float: left;
    font-size: 16px;
    font-weight: normal;
    height: 34px;
    margin-bottom:8px;
}

#mainNav .nav .categories .categories-heading span {
	padding-bottom:4px;
	border-bottom:1px solid #FFF;text-shadow: 0px -1px #4a7b9b;

}


#mainNav .nav .categories a {
	height:auto;
}



.nav .children a:hover { text-decoration: underline; }

#mainNav .current_page_ancestor .children { display: block;}
#mainNav .children .current_page_item a { text-decoration: underline; cursor: default;}

#mainNav .page-item-88 a { display: none;}
#mainNav .children a { display: block;}

.nav .current_page_ancestor a  { color: #7aa8c6; text-decoration: none; background: url(images/sprites.png) no-repeat; background-position: 0px -49px; width: 175px; }
/* Mini Nav */

#mini_nav { width: 245px; height: 40px; background: url(images/sprites.png) no-repeat; background-position: 0px -141px; position: fixed; right: 30px; top: 30px; z-index: 4; font-size: 11px;}

#mini_nav a { color: #fff; float: left; line-height: 36px; height: 38px; }

.om-oss { width: 58px; padding: 0 0 0 22px;}
.kontakta-oss { width: 89px; padding: 0 0 0 16px;}
.blogg { width: 50px; padding: 0 0 0 8px;}
#mini_nav .current-menu { color: #bbb }



/*-------------------------------------------------------------------------------------------*/
/*
/*   Content/main/entry
/*
/*-------------------------------------------------------------------------------------------*/

#content { width: 990px; float: left;}

#breadcrumbs { width: 645px; margin: 10px 0 0 25px; }
#crumbs a { color: #666;}
#crumbs { font-size: 11px; color: #666;}
#crumbs span { font-size: 11px; color: #000;}

/*   post   */
#post_holder { float: right; width: 645px; }
.post { float: left; position: relative; color: #343434; margin: 20px 0 0 25px; }
#post  { color: #343434; margin: 15px 0 0 25px;}
#post .attachment-post-thumbnail { background: url(images/sprites.png) no-repeat; background-position: -363px 236px; width: 593px; height: 279px; display: block; padding: 0 0 20px 0;}
.post_content { border-right: 1px solid #E8E8E8; float: left; padding: 0 15px 70px 0; width: 425px; position: relative;}
.archive .post_content, .blog .post_content, .single .post_content { float: left; padding: 0 15px 70px 0; position: relative; width: 525px; border-right: 0px; }
.post-title {}
.post-meta{}
.post_title { font-size: 28px; color: #000;}

/*.post_content ul li { list-style: disc; margin: 10px 0 10px 20px;}*/

/*   entry   */
.entry { position: relative;}
.entry ul, .entry ol { margin-left: 1.8em; }
.entry ol { list-style-type: decimal; }
.entry ul { list-style-type: disc; }



/*   INFOBOX   */

#info_box { width: 502px; height: 151px; background: url(images/sprites.png) no-repeat; background-position: 0px -457px; float: left; margin: 20px 0 0 235px; position: relative;}
.info_box_2 { background: url(images/sprites.png) no-repeat; background-position: 0px -307px; width: 221px; height: 151px; float: left; margin: 20px 0 0 15px; position: relative;}
.info_box_2 .ps_puff { width: 200px; margin: 10px 0 0 10px; }


/*   INFOBOX-SLIDER   */

#vtab .ps_puff { width: 185px; float: left; position: relative;}
#puff_holder #vtab .widget-title { width: 190px; float: left; margin: 0px 0 10px;}
#vtab { width: 500px; height: 151px; }
#vtab > ul > li { width: 113px; height: 38px; display: block; background: none; position: relative; margin: 0 0 3px; font-size: 12px; font-weight: bold; line-height: 38px; padding: 0 0 0 15px; cursor: pointer;}

#vtab > ul > li.selected { z-index: 10; background: url(images/sprites.png) no-repeat; background-position: 0px -608px; position: relative; }
#vtab > ul { float: left; width: 121px; display: block; position: relative; margin: 15px 0 0;}
#vtab > div { width: 355px; float: left; margin: 12px 0 0 20px; }

.angivenbild {float: right;}



/*-------------------------------------------------------------------------------------------*/
/*
/*   Widgets/Sidebars
/*
/*-------------------------------------------------------------------------------------------*/

.widget  { margin: 0 0 20px 0; }
.widget-title {}

/*   puff   */
.ps_puff {position: relative;}
#puff_holder { width: 100%; height: 195px; background: url(images/fade.png) repeat; position: fixed; z-index: 1; bottom: 55px; left: 0;}
#puff_holder p { font-size: 12px; color: #c3c3c3;}
#puff_holder .widget-title { font-size: 12px; font-weight: bold; color: #fff; margin: 10px 0 0 10px;}
#content_widget { width: 300px; height: 100px; float: left; margin: 20px 0 0; width: 433px;}
#content_widget .ps_puff { background: url(images/sprites.png) no-repeat; background-position: -527px -99px; height: 114px; padding: 10px 0 50px 3px;}
#content_widget.ps_puff .widget-title { font-size: 18px; margin: 0 0 5px; padding: 10px 0 0;}
#content_widget .widget-content { font-size: 12px; margin: 0 0 10px 10px; width: 415px; }
#content_widget .puff-content {}
.puff-content { color: #000;}

/* right sidebar */
#sidebar_right { float: right; width: 170px;}
#sidebar_right .ps_puff { width: 142px; font-size: 12px; background: none; padding: 0; margin: 0;}
#sidebar_right .widget-title { font-size: 16px;}
#sidebar_right .widget-content { width: 155px;}

/* left sidebar */
#sidebar_left {width: 220px; float: left;}


/* Nyheter sidebar */

#nyheter { width: 198px; height: 300px; background: url(images/sprites.png) no-repeat; background-position: 0px -958px; float: left; margin: 25px 0 0 0;}
#nyheter .holder .post { display: block; margin: 0 0 20px 0;}
#nyheter .holder { margin: 20px 0 0 35px; width: 130px;}
#nyheter .holder a { color: #fff; font-size: 12px; line-height: 20px;}
#nyheter .holder a:hover { text-decoration:underline; }
#nyheter .holder li { margin-bottom:5px; list-style-type: square;}
#nyheter .holder h3 { font-size: 12px; color: #fff; font-weight: bold;}
#nyheter .date { color: #a1a1a1; font-size: 10px; margin: 0 0 7px 0;}
/*-------------------------------------------------------------------------------------------*/
/*
/*   Forms/Edit/Knapp
/*
/*-------------------------------------------------------------------------------------------*/


/* gravity Forms  */
#post .gform_wrapper { margin: 25px 0 0;}
.gform_wrapper }
.gform_wrapper ul,
.gform_wrapper ol,
.gform_wrapper li {padding: 0; margin: 0; list-style: none;}

.gform_fields {position: relative;}
.gform_wrapper .gfield { margin: 0 0 10px;}
.gfield_required {display: none;}
#post .gform_wrapper input { height: 30px; width: 330px; border: none; background: #e1e1e1; float: right; padding: 0 0 0 10px; font-size: 12px;}
#post .gform_wrapper input:focus { background: #efefef;}

.gform_wrapper select {}
#post .gform_wrapper textarea { width: 330px; border: none; float: right; font-size: 12px; padding: 5px 0 0 10px; background: #e1e1e1;}
#post .gform_wrapper textarea:focus {background: #efefef;}
#post .gform_wrapper .button { background: url(images/sprites.png) no-repeat; background-position: 0px -667px; display: block; width: 89px; height: 28px; font-weight: bold; color: #fff; padding: 0;}
#post .gform_wrapper .top_label .gfield_label { font-weight: normal; margin: 0; float: left; font-size: 12px; line-height: 30px;}
#post .gform_title { font-size: 12px;}
#post .gform_wrapper .gform_footer { margin: 5px; padding: 0;}
.button:hover {background: #eee;}
.gform_edit_link {display: none;}

.gform_ajax_spinner {}
.gfield_error input,
.gfield_error textarea {}
.validation_error, 
.validation_message {display: none}


/* edit */
#post .redigera a,
.edit-puff-link  {position: absolute; top: 0; right: 15px; background: url(images/edit.png) no-repeat; width: 16px; height: 16px; text-indent: -9999px; overflow: hidden;}

.redigera a,
.edit-puff-link  {position: absolute; top: 0; right: 0px; background: url(images/edit.png) no-repeat; width: 16px; height: 16px; text-indent: -9999px; overflow: hidden;}

/* knapp */
.knapp {  background: url(images/sprites.png) no-repeat;  background-position: 0px -182px; display: block; font-size: 16px; font-weight: bold; height: 44px; padding: 19px 0 0 61px; width: 195px; color: #fff; position: absolute; bottom: 30px; left: 0; text-shadow: 1px 1px #04435e; }

.knapp:hover { text-indent: none;}

/*.kontakt_box { width: 254px; background: #fff; height: 37px; position: absolute; right: 30px; bottom: 5px; background: url(images/sprites.png) no-repeat; background-position: 0px -101px; }
*/

.kontakt_box { width: 254px; height: 37px; margin: 5px 30px; background: url(images/sprites.png) no-repeat 0px -101px; float: right; position: relative; }

.twitter { display: block; position: absolute; left: -35px; top: 4px;}
.fb { display: block; height: 32px; width: 28px; float: left;}
.youtube { display: block; height: 32px; width: 28px; float: left; margin: 0 0 0 9px;}
.rss { display: block; height: 32px; width: 28px; float: left; margin: 0 0 0 9px;}
.kontakt { display: block; float: left; font-size: 12px; font-weight: bold; margin: 11px 0 0 51px; width: 93px; color: #fff;}
.kontakt2 { display: block; float: left; font-size: 12px; font-weight: bold; margin: 20px 0 0 370px; color: #fff;}


/*-------------------------------------------------------------------------------------------*/
/*
/*   Footer
/*
/*-------------------------------------------------------------------------------------------*/

#footer  { height: 50px; width: 100%; background: #000; position: fixed; bottom: 0; left: 0; z-index: 1; }
#footer a {}
.dinwebb {}
#copy_text {}
.footer_overflow {
	color: #686868;
	font-size: 10px;
	height: 50px;
	line-height: 20px;
	margin: 14px 0 0 35px;
	width: 163px;
	bottom: 0;
	left: 0;
	position: absolute;
}
    
.footer_overflow a { color: #686868; font-size: 10px;}



/*   KAMPANJ   */

#slider { width: 100%; height: 100%; }

#mini-slider { position: absolute; right: 30px; top: 100px; z-index: 40;}
#mini-holder { width: 290px; height: 300px; background: url(images/fade.png) repeat;}

.slider-content { width: 260px; height: 250px; margin: 0 0 0 15px; padding: 30px 0 0 0; position: relative;}
.slider-content h1 {font-size: 21px; color: #fff;}

.slider-title { }

#kNav_holder { height: 25px; position: absolute; bottom: 0px; left: 105px; }
#kNav { float: left; margin: 2px 0 0;}
#kNav a { display: block; height: 11px; text-indent: -9999px; width: 11px;  background: url(images/sprites.png) no-repeat; background-position: 0px -257px; float: left;}
#kNav .activeSlide { display: block; height: 11px; text-indent: -9999px; width: 11px;  background: url(images/sprites.png) no-repeat; background-position: 0px -246px; float: left;}
#next { display: block; height: 15px; margin: 0 20px 0; text-indent: -9999px; width: 9px;  background: url(images/sprites.png) no-repeat; background-position: 0px -286px; float: left; margin: 0 0 0 5px;} 
#prev {  display: block; height: 15px; text-indent: -9999px; width: 9px;  background: url(images/sprites.png) no-repeat; background-position: 0px -271px; float: left; margin: 0 4px 0 0; }
.item { }
.img { left: 0; position: fixed; top: 0; }
.slide {height: 100%; width: 100% !important; overflow: hidden; position: absolute;}

.raster { width: 100%; height: 100%; background: url(images/raster.png) repeat; position: absolute; top:0px; left: 0px; z-index: 1;}

#slide_wrapper {width: 100% !important; height: 100% !important; position: absolute; top: 0; left: 0; bottom: 0; right: 0; position: fixed; }
#visual { width: 100% !important; height: 100% !important; position: relative; overflow: hidden; z-index: 0;}
.slide { position:absolute; top:0% !important; left:0% !important; width:100% !important; height:100% !important; }
.slide .abg { position:absolute; top:0; left:0; right:0; bottom:0; margin:auto; min-width:50%; min-height:50%; }
.slide .bg{ position:absolute; top:0;  left:0;  min-width:100%; min-height:100%; }



.small-doc #mini_nav { position: absolute; }
.small-doc #slide_wrapper {height: 705px !important; position: relative; }
.small-doc #visual { width: 100% !important; height: 705px !important; }
.small-doc #puff_holder { position: absolute; }
.small-doc #footer { position: relative; }

.small-doc .page-template-template-home-php body,
.small-doc .page-template-template-home-php #container  { height: 705px; }
.small-doc .page-template-template-home-php #mainNav {position: absolute; height: 705px;/* overflow: hidden;*/}
.small-doc .page-template-template-home-php #footer {position: absolute; }



/***** Comments styling *****/

#comments {	margin-top:30px;}
.comment-body {  -moz-border-radius:8px;  -webkit-border-radius:8px;  background-color:#e7e7e7;  margin:30px 0 0;  padding:15px 20px 5px;}
.comment-author {  background:url("images/commentArrows.png") no-repeat 20px 0;  padding:10px 10px 0;  height:20px;}
.comment-author CITE {	float:left;	margin-right:10px;	font-weight:bold;}
#comments .children {	margin: 0 0 15px 30px;}
#comments .reply {	float:right;}
.comment-meta {	font-size: 11px;    font-style: italic;    margin-top:2px;}
.comment-meta  a {	color:#555;}
#respond {	margin-top:30px;}
#respond p {	float:left;	min-width:450px;}
#respond #submit{	margin-left:85px;}
#respond p.form-allowed-tags {	display:none;}
#respond label{	display:block;	float:left;	width:85px;}
#respond .required { margin-left:5px;}
#respond input{	float:left;}



/* mobile phone */
@media (max-device-width: 768px) {
  
  html, body {height: 100%}
  #container { min-height: 100%; position: relative; }
  #wrapper { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; }
  #mainNav { position: absolute; bottom:0; left:0; top: 0;  }
  #footer { position: absolute; bottom: 0; height: 40px; z-index: 10; }
/*
<div id="container" class="clearfix">

	<div id="mini_nav">
		<a class="om-oss 
Fatal error: Call to undefined function is_page() in /web/se/www.petersotare.se/wp-content/themes/petersotare/style.css on line 388

