/*
Theme Name: Trinnvis
Description: Tema laget av Kjetil Solli for TrinnVis as.
Version: 2.0
Author: Kjetil Solli
*/


body {
	margin: 0;
	padding: 0;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Helvetica, 'Lucida Grande', Verdana, Sans-Serif;
	background: #e0dfd4 url('images/bakgrunn.gif') repeat-x center top;
	color: #3e3e3e;
	text-align: center;
	}

/*
#wrapper	{border: 1px solid blue}	
#super		{border: 1px solid white}
#page		{border: 1px solid black}
#sidebar	{border: 1px solid red}
#content	{border: 1px solid green}
*/

/* LAYOUT ====================================== */


#wrapper {
	margin: 0 auto;
	margin-bottom: 20px;
	padding: 0;
	width: 1000px; 
	background: url('images/hovedboks_midt.gif');
	text-align: left;
	}
	
#super {
	background: #1b85a6 url('images/bakgrunn.gif') repeat-x center top;
	height: 50px;
	}

#page {
	background: url('images/hovedboks_topp.gif') no-repeat;
	}

#sidebar {
	margin: 16px 0 0 12px;
	display: inline;
	padding: 0;
	width: 210px;
	float: left;
	}
	
#content {
	float: right;
	display: inline;
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	width: 730px;
	min-height: 400px;
	font-size: 1.2em;
	padding: 0;
	}

#footer {
	padding: 0;
	margin: 0 auto;
	height: 34px;
	clear: both;
	background: #e2e2e2 url('images/hovedboks_bunn.gif') no-repeat bottom;
	}
	
	
/* LOGO ================================================*/

#sidebar h1 {
	margin: 0;
	}

#sidebar h1 a {
	display: block;
	width: 180px;
	height: 73px;
	outline: none;
	text-indent: -4000px;
	background-image: url('images/trinnvis_logo.gif')
	}

/* HOVEDMENY ===========================================*/


#hovedmeny {
	margin: 0 0 0 8px;
	}

#hovedmeny ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0 0;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
    }

#hovedmeny ul li {
	display: inline;
    }

#hovedmeny ul li a {
	text-decoration: none;
    padding: 8px 0 8px 0;
    display: block;
    color: gray;
    }

#hovedmeny ul li ul li a {
    padding-left: 20px;
    font-weight: normal;
    }

#hovedmeny a:hover {
    color: black;
    }

#hovedmeny ul li ul {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    }

#hovedmeny ul li.current_page_item a, #hovedmeny ul li ul li.current_page_item a {
   	color: #494949;
   	}

#hovedmeny ul li ul li.current_page_item ul li {
   	display: block;
   	}

#hovedmeny ul li.current_page_item ul li a {
    background: none;
    color: gray;
    }

#hovedmeny ul li.current_page_item ul li a:hover {
    color: black;
    }
    
#hovedmeny ul li ul li ul li a {
    padding-left: 40px;
    font-size: 12px;
    font-weight: normal;
    }
    
/* FORSIDE ===========================================*/
 
#toppsak h2 {
	font-size: 30px;
	line-height: 30px;
	}

#toppsak p {
	font-size: 15px;
	line-height: 20px;
	}
	

#toppsak .more-link {
	font-weight: bold;
	margin-left: 4px;
	}

.glossyknapp {
	text-align: center;
	text-decoration: none;
	display: block;
	width: 200px;
	margin: 24px 0 20px 0;
	background: url('images/glossyknapp_v.gif') no-repeat left top;
	}
	
.glossyknapp span {
	display: block;
	margin-left: 22px;
	padding: 12px 18px 0 0;
	height: 68px;
	background: url('images/glossyknapp_h.gif') no-repeat right top;
	font-size: 18px;
	color: white;
	}

#content .glossyknapp:hover {
	background: url('images/glossyknapp_v.gif') no-repeat left -100px;
	text-decoration: none;
	}

#content .glossyknapp:hover span {
	background: url('images/glossyknapp_h.gif') no-repeat right -100px;
	text-decoration: none;
	}

#forsidenyheter {
	clear: both;
	margin-top: 16px;
	border-top: 1px dotted #b7b7b7;
	}
	
.forsidenyhetsbilde {
	margin: 9px -7px 0 9px;
	width: 134px;
	height: 84px;
	background: url('images/thumbshad.gif') no-repeat;
	display: inline;
	float: left;
	}
	
.forsidenyhetsbilde img {
	margin: 11px 0 0 11px
	}

.forsidenyhetstekst {
	width: 594px;
	float: right;
	}
	
#forsidenyheter h3 {
	margin: 13px 16px 0 16px;
	font-size: 20px;
	}

#forsidenyheter p {
	margin: 2px 16px 0 16px;
	}

.forsidenyhet {
	padding-bottom: 12px;
	border-bottom: 1px dotted #b7b7b7;
	background-color: #e1e0d4;
	}
	
/* Påmeldingsskjema ===========================================*/

.skjema1 {
	margin: 20px auto;
	padding: 20px;
	background-color: #e1e0d3;
	width: 500px;
	}
	
.skjema1 h3 {
	margin-bottom: 40px;
	}

.skjema1 .element {
	margin-top: 12px;
	height: 20px;
	}

.skjema1 label {
	float: left;
	padding-top: 4px;
	margin-right: 10px;
	display: block;
	width: 150px;
	text-align: right;
	font-size: 14px;
	}

.skjema1 .tekstfelt {
	float: left;
	width: 300px;
	font-family: Arial, Helvetica, 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 14px;
	}
	
.skjema1 .checkboxfelt {
	float: left;
	width: 300px;
	}
	
.skjema1 .checkbox {
	float: left;
	margin-right: 6px;
	height: 30px;
	}	
	
.checkboxtekst {
	padding-top: 3px;
	font-size: 12px;
	line-height: 16px;
	}
	
#content .skjema1 a {
	float: left;
	margin-top: 18px;
	margin-left: 160px;
	text-decoration: underline;
	}

.skjema1 a:hover {
	color: black;
	}

.skjema1 .knappefelt {
	float: left;
	width: 300px;
	text-align: right;
	}
	
.radio {
	margin-top: 6px;
	}	
		
/* GENERELT ===========================================*/

.clear {
	clear:both;
	}

#header h2 {
	float: left;
	margin-top: 82px;
	margin-left: 0;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 0;
	border: 0;
	}
	
#header h2 a {
	color: #636363;
	text-decoration: none;
	border-bottom: 0;
	border: 0;
	}
	
#header h2 a:hover {
	color: black;
	text-decoration: none;
	border-bottom: 0;
	border: 0;
	}

#breadcrumb a {
	color: #636363;
	}
	
#breadcrumb a:hover {
	color: #1b85a6;
	}

#content a {
	text-decoration: none;
	outline: none;
	}

#content a:hover {
	text-decoration: underline;
	}

a img {
	border: none;
	}

p {
	margin: 0 0 10px 0;
	font-size: 13px;
	line-height: 17px;
	}
	
ul, ol {
	font-size: 13px;
	line-height: 17px;
	}
	

/*adress er brukt som ingress*/	
address {
	font-weight: bold;
	font-style: normal;
	margin: 0 0 10px 0;
	font-size: 14px;
	line-height: 18px;
	}

a, h2 a:hover, h3 a:hover {
	color: #1b85a6;
	}
	
a:hover {
	text-decoration: underline;
	}
	
h2 {
	font-size: 30px;
	margin: 0;
	margin-bottom: 10px;
	}
	
h3 {
	font-size: 14px;
	margin: 0 0 6px 0;
	clear:both;
	}
	
.post-edit-link {
	clear: both;
	margin-top: 10px;
	padding: 3px 6px 3px 6px;
	background-color: #dddddd;
	color: white;
	}
	
a:hover.post-edit-link {
	background-color: silver;
	color: white;
	text-decoration: none;
	}
	
hr	{
	border:	0; 		
	width: 100%; 
	height: 1px; 
	background-color: #CCCCCC; 
	margin: 10px 0 10px 0;
	}
	
#footer p {
		padding: 0;
		margin-left: 250px; 
		font-size: 11px;
		}
		
.grafelt {
	background-color: #f1f1f1;
	padding: 20px;
	margin-top: 16px;
	}
	
	
/* TABELL ===========================================*/

table {
	border: none;
	border-collapse: collapse;
	width: 100%;
	text-align: center;
	}
	
	
th {
	font-weight: bold;
	font-size: 10px;
	padding-bottom: 6px;
	}
	
tbody tr:hover {
	background-color: white;
	}

.firstRow {
	margin-top: 50px;
	/*border-top: 1px solid #cccccc;*/
	}

.firstRow td	{
	}

	
td {
	border: none;
	font-weight: normal;
	vertical-align: center;
	}
	
.firstCol {
	text-align: left;
	width: 170px;
	}
	
.firstCol span {
	display: block;
	margin: 5px 5px 5px 6px;
	font-size: 11px;
	}
	
/* NYHETER PÅ HOVEDINNHOLDSFELT ===========================================*/

.nyhet p {
	margin: 0 0 10px 0;
	font-size: 12px;
	line-height: 16px;
	}
	
.nyhet h4 {
	margin: 0 0 0 0;
	font-size: 12px;
	line-height: 16px;
	}

.nyhet p.dato {
	margin-bottom: 0;
	font-style: italic;
	}

	
/* DRIFTSMELDINGER ===========================================*/

#sidebar #driftsmeldinger {
	margin: 20px 14px 20px 8px;
	}

#driftsmeldinger {
	border-top: 1px solid #d4d3c8;
	}

#driftsmeldinger h3 {
	font-size: 15px;
	}

.driftsmelding {
	padding: 0;
	border-bottom: 1px solid #d4d3c8;
	}

.driftsmelding a {
    color: gray;
	padding: 3px 0 3px 0;
	text-decoration: none;
	display: block;
	}
	
.driftsmelding a:hover, #content .driftsmelding a:hover {
	background-color: #d4d3c8;
	text-decoration: none;
	}

.driftsmelding h4 {
	font-size: 12px;
	margin: 0;
	}

.driftsmelding p {
	font-size: 12px;
	line-height: 14px;
	padding: 0;
	margin: 0;
	}

.category-driftsmeldinger h2 {
	font-size: 14px;
	margin-bottom: 0;
	}
	
.meldingsdato {
	margin-bottom: 0;
	}

/* BILDER ===========================================*/

p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 6px 7px;
	display: inline;
	}

img.alignleft {
	padding: 0;
	margin: 0 7px 6px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}

img.img-shadow {
	margin-top: -4px;
	margin-right: -8px;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}

