/*
Theme Name: SFOAK Shaded
Theme URI: http://wordpress.org/
Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 0.2
Author: Ingemar Hultquist
Author URI: http://binarybonsai.com/

        Kubrick v1.5
         http://binarybonsai.com/kubrick/

        This theme was designed and built by Michael Heilemann,
        whose blog you will find at http://binarybonsai.com/

        The CSS, XHTML and design is released under GPL:
        http://www.opensource.org/licenses/gpl-license.php

*/


body,
html {
    margin:0;
    padding:0;
    background:#fff;
    color:#000;

    }
body {
    	min-width:810px;
        background-image: url(images/cols-bg.png); background-repeat: repeat-y;

    border-bottom: 3em solid #fff;
        font: 78%/120% helvetica, arial, sans-serif;
    }
    
a:link, a:visited {
  color: #002c5d;
}

a:hover {color: red;}

#wrap {
    margin:0px 0 0px 54px;
 /*   margin: 0 auto;*/
    width:800px;
    padding-top: 0;
    margin-bottom: -32px;
    }

    
 #content {
    float:left;
    width:490px;
 /*   padding-left: 1em; */
    }
#sidebar {
    float:right;
    width:250px;
    padding: 0;
    padding-right: 0px;
    }
#sidebar ul {

  padding-left: 4px;
  margin-left: 13px;
  margin-right: 17px;
  width: 190px;
  list-style-type: none;
  list-style-image: url(images/blue-dot.png);
  }
#sidebar li {
margin-bottom: 1.3em;
margin-left: 12px;
}

#sidebar ul a,
#sidebar ul a:link, 
#sidebar ul a:visited
{
  text-decoration: underline;
  color: #002c5d;	
  
  }





/* top nav */

#nav {
   margin:0px 25px 4px 2px;
    background-color: #fff;
    background-image: url(images/horizontal-background.png);
    background-repeat: repeat-x;
    background-position: bottom;
    padding-bottom: 0px;	
    border-bottom: 14px solid #fff;
    height: 115px
    }

#nav h1 {
    padding:0px;
    margin:0;
    margin-bottom: 35px;
    }

#nav img {
	margin: 0;
	padding:0;
	border: none;
	}


/* nav top links */

#nav ul{
    margin:0;
    margin-left: 40px;
    margin-top: -19px;
    padding: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    list-style:none;
    background-color: #fff;
    z-index: 75;
    }
#nav li{
    display:inline;
    margin:0;
    padding:0;
    }



#nav ul a,
#nav ul a:link,
#nav ul a:visited {
  padding-top: 4px;
  padding-bottom: 4px !IMPORTANT;
  padding-left: 12px;
  padding-right: 12px;
  text-decoration: none;
  color: #002c5d;	
  }

#nav ul a:hover,
#nav ul a:focus,
.level1current,
.level1highlight,
.home-active {
  background-color: #2c5685;
  color: #fff !IMPORTANT;
  text-decoration: none;
  }


#content h2, #content h3, #content p {
    padding:0;
    }
#content h2 {
	margin-top: 0;	
}
#sidebar ul {
    margin-bottom:0;
    }
#sidebar h3, #sidebar p {
    padding-right:25px;
    padding-left: 10px;
    margin-top: 0;
    }
div.box {
    background-image: url(images/horizontal-background.png);
    background-repeat: repeat-x;
    background-position: bottom;
    padding-top: 6px;
    padding-bottom: 6px;
    width: 220px;
    margin-left: 6px;

}



#footer p {
    padding:0px;
    margin:0;
    }


#footer {
    clear: both;
    width: 776px;
    height: 26px;
    padding-top:12px;
}
 
h1, h2, h3 {
	color: #2c5685;
	text-transform: uppercase;
	}
	
h2 {
  font-size: 125%;
}	

h3 {
  font-size: 110%;
}

/* Stilar frontpage */

.front-box {
 width: 520px;
 margin-bottom: 1em;
 padding-bottom: 1em;
 background-image: url(images/horizontal-background.png);
 background-repeat: repeat-x;
 background-position: bottom;
}

.front-box h2, #front-sidebar h2 {
  font-size: 125%;
}



.front-box ul {
  list-style-type: none;
  list-style-image: url(images/blue-dot.png);
  margin-left: 0;
  padding-left: 16px;
  }
.front-box li {
margin-bottom: 1em;


}



#text-1, #text-2, #text-3,  #text-4,  #text-5,  #text-6,  #text-7 { 
 background-image: url(images/horizontal-background.png);
 background-repeat: repeat-x;
 background-position: bottom;
 margin-bottom: 1em;
 padding-bottom: 1em;
}

div#front-sidebar div ul {
 list-style-type: none ;
 list-style-image: none;
 width: 200px;
 padding-left: 0;}

div#front-sidebar div ul li p {
  margin-left: 0;
}

/* registrera form */

table.registrera {
  width: 200px;
  border: 1px solid #ccc;
  border-collapse: collapse;

}

table.registrera td, table.registrera th {
  text-align: left;
  vertical-align: top;
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 0.4em;
  padding-left: 2px;
  padding-right: 2px;
  width: 50%;
}

/* Nyhetsposter och pages */

div#the-post h2, div#the-post h3, div#the-post h4 {
  text-transform: uppercase;
  margin-bottom: 1em;
  margin-top: 1em;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 24px;
	}

img {
  border: none;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
div.postmetadata {
    background-image: url(images/horizontal-background.png);
    background-repeat: repeat-x;
    background-position: bottom;
    padding-bottom: 1em;
}

div#the-post table {
  border: 1px solid #ccc !IMPORTANT;  
  border-collapse: collapse;
  width: 100% !IMPORTANT;
}
div#the-post th {
  background-image: url(images/input_background.gif);
  background-repeat: repeat-x;
  background-attachment: scroll;
  border: 1px solid #ccc !IMPORTANT;  
  }
div#the-post td {
  border: 1px solid #ccc !IMPORTANT;  
  padding: 4px !IMPORTANT;
  }  

div#the-post img {
  border: 1px solid black;
  padding: 0px;
}


/* Sidfot */

.page-info {
  width: 510px;
  height: 10px;
  background-image: url(images/horizontal-background.png);
  background-repeat: repeat-x;
  background-position: top;
  padding-top: 16px;
}

/*form */

input, textarea {
  border: 1px solid #ccc;
  background-color: #fff;
  margin-bottom: 0.2em;
  background-color: White;
  background-image: url(images/input_background.gif);
  background-repeat: repeat-x;
  background-attachment: scroll;
}

.plain-input {
  border: none;
  margin-bottom: 0.2em;
  background-image: none;
}


fieldset {
  padding: 16px;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  }
  
legend {
  color: #000;
  font-weight: bold;
  font-size: 110%;

}

label {
  font-weight:normal;
  }

#adressuppgifter label {
width: 8em;
float: left;
text-align: right;
margin-right: 0.5em;
display: block;
}

input.send-button {
	background-color: #2C5685 !IMPORTANT;
	color: #000;
}

.send-button {
  background-color: #2C5685;
  color: white;
}

fieldset div {
   margin-bottom: 1em;
 }
 
 legend.obligatorisk {
   border: 1px solid #ccc;
   padding: 0.2em;
 }

.bg-fix {
   margin: 0; 
   padding:0;
   height: 35px; 
   width: 100%; 
  background-image: url(images/shader.png);
  background-repeat: repeat-x;
  background-position: top;
  z-index: 50;
}

.noshow {
   display: none;
   visibility: hidden;
}  
  
  .obligatorisk {
   color: red;
 }
 
 p.editlink {
   margin-top: 2.5em;
   text-align: right;
 } 
 p.editlink a {
   border: 1px solid #ccc;
   padding: 0.5em;
   color: #000;
   text-decoration: none;
   background-color: White;
   background-image: url(images/input_background.gif);
   background-repeat: repeat-x;
   background-attachment: scroll;   
 }
 
 p.editlink a:hover {
   color: red;
 }
 
ul#level2 li a {
  display: block;
}
 
a#level2current{

  display: block;
  text-decoration: none !IMPORTANT;
  color: #000 !IMPORTANT;
}

table, td {
  border: none !IMPORTANT;
}
