/*  
Theme Name: Transportkompentanse
Theme URI: 
Description: Haugesund Transportkompetanse sin template.
Version: 1.0
Author: Helge Klausen
Author URI: http://medieverket.no/

*/
/* Begin Structure */
body  {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #313131;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
#container { 
	width: 100%;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
/*	background: #FFFFFF;*/
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 


#header {
	padding: 20px 0 20px 20px;  
	background-color: #000000;
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; 
}


#sidebar1 {
	color:#CCCCCC;
	float: left;
	width: 300px; 
	background: #444444; 
	height:400px;
	margin:0;
	padding:0;
}
#sidebar1 .bg {
	height:400px;
	background:url(images/sidebar_bg_element.gif) no-repeat bottom right;
}

#sidebar1 ul {
	background-color:#FFFFFF;
	margin:0;
	padding:0;
}
#sidebar1 li {
	margin:0;
	border-bottom:1px solid #999999;
	list-style-type: none;
	display:block;
	}
.cat_selected {
	padding:10px 0px 10px 10px;
	color: #000000;
	font-weight: bold;
	}

#sidebar1 li a{
	background-color:#444444;
	display:block;
	padding:10px 0px 10px 10px;
}

#sidebar1 li li{
	border-bottom:0px;
	background-color: #666666;
	display:block;

}

#sidebar1 a, #footer a:link, #footer a:visited {
	font-weight: bold;
	text-decoration: none;
	color: #CCCCCC;
}

#sidebar1 a:active, #sidebar1 a:hover {
 	text-decoration: none;
	color: #FFFFFF;
	background-color: #999999;
}
#sidebar1 .current_cat_ancestor {
	background-color:#FFFFFF;
}
#sidebar1 .children {
	border:solid #444444;
	border-width:0px 0px 0px 15px;
}







#mainContent {
	margin: 0 0 0 300px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background-color: #dadada;
	border:solid white;
	border-width:15px 0 15px 15px;
} 
#mainContent .stylecontent {
	padding:25px;
	width:600px;
}
#mainContent p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
#mainContent li{
	padding:0px 0px 10px 5px;
}
#mainContent UL{
	padding:0px 0px 0px 20px;
}

.tb1 {
	text-align: left; 
	font-size: 10px;
  }
  
.tbheader {
	text-align: left; 
	font-weight: bold; 
	font-size: 18px;
  }
  
.tbg {
	background-color: #C0C0C0;
	text-align: center; 
	font-size: 10px;
  }
/* background image table header */
  .rbg {
	background-color: #FFFFFF; 
	font-weight: bold; 
	background: url(http://www.medieverket.no/Transportkompetanse/images/table.gif) repeat-x 0 0;
  }  
/* cell color table */
table.tbg tr {
	background-color: #FFFFFF;
  }



#footer {
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#313131;
	color:#666666;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
#footer .copyright {
	font-family: verdana, sans-serif;
	font-size: 9px;
	padding-top:10px;
	padding-right: 60px; 
	float: right;
}
#footer a, #footer a:link, #footer a:visited {

	font-weight: bold;
	text-decoration: none;
	color: #CCCCCC;
}

#footer a:active, #footer a:hover {
 	text-decoration: none;
	color: #FFFFFF;
}



.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
/* End Structure */














/* Begin Typography & Colors */


h1, h2, h3 {
	font-weight: bold;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}


h2 {
	font-size: 1.6em;
	}


h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited {
	color:#CC3300;
	}
h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}


a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

/* End Typography & Colors */







/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;

	}

h2 {
	margin: 30px 0 10px 0;
	}



#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 10px 0;
	}


/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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
	}
/* End Images */



