/*  ##############################################
   ### MySource ------------------------------###
  ##- Site Design Xtra --- CSS ---------------##
 #-- Copyright Squiz.net ---------------------#
##############################################
## This file is subject to version 1.0 of the
## MySource License, that is bundled with
## this package in the file LICENSE, and is
## available at through the world-wide-web at
## http://mysource.squiz.net/
## If you did not receive a copy of the MySource
## license and are unable to obtain it through
## the world-wide-web, please contact us at
## mysource@squiz.net so we can mail you a copy
## immediately.
##
## $Source: /home/cvsroot/mysource/web/__lib/css/general.css,v $
## $Revision: 2.2 $
## $Author: bvial $
## $Date: 2003/06/27 07:20:58 $
#######################################################################
*/

body,p,td,ul,li,input,select,textarea {
	color: #000000;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 100%;
}

.plain {
}

.bold {
	font-weight: bold;
}

.smallprint {
	font-size: 90%;
}

.fineprint {
	font-size: 80%;
}

.mainheading {
	font-weight: bold;
	font-size: 180%;
}

.heading {
	font-weight: bold;
	font-size: 160%;
}

.subheading {
	font-weight: bold;
	font-size: 140%;
}

.field {
	font-weight: bold;
}

.data {
	font-family: courier, courier new, fixed-width;
}

.bodycopy {
}

.error {
	color: #FF0000;
}

a {
	color: #000000;
}

body {
	background-color: #F1F1F1;
	color: #000;
	font-size: 62.5%;	
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;

	/*
	background-image: url(/resources/layout/grid.gif);
	background-repeat: repeat-y;
	background-position: center;
	*/
}

p {
	font-size: 1.1em;
	margin-top: 0.1em;
	margin-bottom: 0.7em;
	line-height: 1.3em;
}

/* PAGE */
#page {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
	margin-bottom: 2em;
	background-color: #FFF;
	background-image: url(/resources/layout/page-background.gif);
	background-repeat: repeat-y;
	padding-left: 4px;
	padding-right: 6px;
}

/* HEADER */

#header {
	/*
	margin-bottom: 2px;
	width: 960px;
	*/
	border-top: 1px solid #CCC;
}

#logo object {
	float: right; 
}

/* LOGO */
#logo {
	background-image: url(/resources/layout/header-background.gif);
	background-repeat: repeat-x;
	width: 960px;
	height: 105px;
}

#logo a img {
	border: none;
	float: left;
	margin-left: 100px;
	margin-top: 30px;
}

/* NAV-MAIN */
#nav-main {
	background-image: url(/resources/layout/nav-main-background.jpg);
	background-repeat: repeat-y;
	width: 800px;
	border-bottom: 1px solid #9FAE7F;
	clear: both;
	padding-left: 160px;
}

#nav-main ul {
	width: 800px;
}

/* DROPDOWN-MENY */

#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	/* width: 10em; */
	display: block;
	padding: 0;
	text-decoration: none;
	color: #000;
	padding: 0.5em 1em 0.5em 1em;
	white-space: nowrap;

	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;	

	border-left: 1px solid #AAD255;
	border-right: 1px solid #AAD255;

}

#nav a:hover {
	background-color: #C8E885;
	border-left: 1px solid #9FAE7F;
	border-right: 1px solid #9FAE7F;
}

#nav li { /* all list items */
	float: left;
	/* width needed or else Opera goes nuts */
	/* width: 10em; */
}

#nav ul {
	background-color: #C8E885;
}

#nav li ul li {
	width: 15em;
	/* padding: 0.5em; */
	height: 1%; 
}

#nav li ul li a {
	white-space: normal;
	padding: 0.4em;
	display: block;
	height: 1%;
	font-size: 1em;
}

#nav li ul li a:hover {
	background-color: #D2EF93;
}

#nav li ul { /* second-level lists */
	position: absolute;
	/* background: #AAD255; */
	width: 15em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	border: 1px solid #9FAE7F;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 10em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav-main ul li#nav-main-first a {
	margin-left: -1em;
}


/*
#nav-main ul {
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: block;
	width: 800px;
}

#nav-main li {
	float: left;
}

#nav-main a {
	display: block;
	padding: 0;
	font-size: 1.2em;	
	text-decoration: none;
	color: #000;
	padding: 0.3em 1.5em 0.3em 1em;
}

#nav-main a:hover {
	color: #666;
}

#nav-main ul li#nav-main-first a {
	padding-left: 0;
}
*/

/* BRANDING */
#branding {
}

/* NAV-SEC */

#nav-sec {
	width: 160px;
	float: left;
	padding-top: 1.5em;
}

#nav-sec ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav-sec ul li {
	height: 1%; /* hack */ /* unngå ekstra luft */
}

#nav-sec ul li a {
	color: #666;
	text-decoration: none;
	display: block;
	padding: 0.5em 1em;
	height: 1%; /* hack */ /* la linkene få utstrekning i IE */

	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.1em;
}

#nav-sec ul li a:hover {
	text-decoration: underline;
}

#nav-sec ul ul li { /* third-and-above-level lists */
	margin: 0 0 0 1em;
}


/* CONTENT */ 
/*
#content {
	background-image: url(/resources/layout/content-background.gif);
	background-repeat: repeat-y;
	border-bottom: 1px solid #FFF; 
}
*/

/*
body#forside #content {
	background-image: url(/resources/layout/content-background-forside.gif);
	background-repeat: repeat-y;
}
*/

#maincontent {
	width: 520px;
	float: left;
	padding: 0 10px 2em 0px;
}

#maincontent p, 
#maincontent li {
	font-size: 1.2em;
}

#maincontent li p { font-size: 100%; }

#maincontent table { 
  font-size: 1em;
} 

#maincontent table table { 
  font-size: 1em;
} 

#maincontent td { 
  font-size: 1em;
} 

#maincontent td p, #maincontent td td,#maincontent td td p, #maincontent td td li {
	font-size: 1.2em;
}

#maincontent td td li, #maincontent td td p,#maincontent td td td, #maincontent td td td p,#maincontent td td td td {
	font-size: 12px;
}

#maincontent h1 {
	font-size: 1.6em;
	color: #666;
	padding: 0 0 0.3em 0;
	margin: 1em 0 0.5em 0;
}

#maincontent h2 {
	margin-bottom: 0;
	color: #666;
	font-size: 1.4em;
}

#maincontent h3 {
	margin-bottom: 0;
	color: #666;
	font-size: 1.2em;
}

#maincontent h4, #maincontent h5, #maincontent h6 {
	margin-bottom: 0;
	color: #000;
	font-size: 1.1em;
}

#maincontent a {
	color: #13749F;
}

#maincontent a:hover {
	color: #444;
}

#maincontent ul {
	margin-top: 0.5em;
}

#maincontent li {
	margin-top: 0.3em;
}

/* Bernt */ 
#manuellboks {
	width: 730px;
	padding: 0 10px 2em 0px;
}

/* SIDEBAR */
#sidebar {
	/*
	width: 210px;
	*/
	width: 210px;
	float: right;
	/*
	padding: 10px 10px;
	background-color: #F0F0F0;
	border-top: 3px solid #ABD358;
	margin-right: 10px;
	margin-top: 1.5em;
	*/
	margin-top: 1em;
}

#sidebar-content {
    clear: both; 
	padding: 10px 10px;
	background-color: #F0F0F0;
	border-top: 3px solid #ABD358;
	margin-right: 10px;
	margin-top: 1em;
}

#sidebar-content td, #sidebar-content table, #sidebar-content td p {
	font-size: 1em;
}

#sidebar-content h2 {
	color: #666;
	font-size: 1.5em;
	margin-bottom: 0.5em;
	margin-top: 0;
}

#sidebar-content a {
	color: #666;
}

#sidebar-content h3 {
	color: #666;
	margin-bottom: 0;
	margin-top: 0;
	font-size: 1.2em;
}

#sidebar-content p {
	margin-top: 0;
	padding-top: 0;
	color: #444
}

/* FOOTER */
#footer {
	clear: both;
	margin-top: 0.5em;
	background-image: url(/resources/layout/footer-background.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	width: 970px;
	margin-left: -4px;
	margin-right: -6px;
	text-align: center;
	padding-bottom: 2em;
}

#footer p {
	margin: 0;
}

#footer a { 
	color: #666;
}

/* FORSIDE */
body#forside #maincontent h1 {
	margin-bottom: 0;
}


div.clear { clear: both; }


/* ==== INNHOLDS-STILER ==== */

#maincontent a img {
	border-color: #13749F;;
}

#maincontent a:hover img {
	border-color: #444;
}

table {
}

table td {
	font-size: 1.1em;
	vertical-align: top;
}

table th {
	font-weight: bold;
	font-size: 1.1em;
	text-align: left;
	background-color: #F0F0F0;
	vertical-align: top;
}

/* TABELL-GALLERI */
table.tabell-galleri {
	
}

table.tabell-galleri td img {
	margin: 0.5em 0.5em 0.5em 0;
}

/* TABELL-TEMA */

table.tabell-tema {
	/* margin-left: 2em; */
}

table.tabell-tema td {
	width: 106px;
	border: 1px solid #CCC;
	border-bottom: 3px solid #CCC;
	vertical-align: top;
	text-align: center;
	color: #666;
	padding-top: 3px;
}

table.tabell-tema td p {
	margin: 0;
}

@media print {
	#branding, #nav-sec, #sidebar, #footer, #nav-main {
		display: none;
	}
	
	#content, #page, #header, body {
		background: none;
		border: none;
		padding: 0;
		margin: 0;
	}
	
	#header object {
		display: none;
	}
	
	#logo, #logo a img {
		display: block;
		background: none;
		border: none;
		padding: 0;
		margin: 0;
	}
	
	#maincontent {
		width: 100%;
		margin: 0;
		padding: 0;
	}
}

#search {
	margin-bottom: 1em;
}

#search input#search-q {
	margin-right: 0.5em;
}

 
.byline { float: left; width: 100%; color: #666; border-top: 1px #999 dotted; margin-bottom: 10px; padding-top: 3px; font-size: 100%; }
.abstract { font-weight: bold; }
.sitemap { }
.sitemap ul { list-style-type: none; margin-left: 0; padding-left: 0; }
.sitemap ul ul { margin-left: 20px; }
.sitemap li { font-size: 12px !important; }
.sitemap > ul li { margin-bottom: 25px; }
.sitemap > ul ul li { margin-bottom: 0; }
.sitemap .top-level { font-weight: bold; }

.widgets { float: left; margin-top: 2px; margin-bottom: 10px; }
.widgets a { text-decoration: none; line-height: 16px; }
.widget { float: left; width: 16px; height: 16px; margin-left: 3px; background: url(/resources/images/layout/social_icons.png) no-repeat; cursor: pointer; }
.widget.facebook { background-position: 0px -240px; }
.widget.digg { background-position: 0px -192px; }
.widget.twitter { background-position: 0px -784px; }
.widget.reddit { background-position: 0px -592px; }
.widget.linkedin { background-position: 0px -400px; }
.widget.googleplus { background-position: 0px -848px; }

.newsletter a { color: #13749F; }

.related { font-size: 120%; }

#maincontent .text img { border: 1px #000 solid; margin: 4px 0; max-width: 520px; }

