html {
	overflow: scroll;
}

body {
	margin: 0px 0px 0px 0px;
	background: url('images/background.png') #555555 repeat-x;
	font-family: LiberationSans, Helvetica, Arial;
	font-size: 13px;
	color: #000000;
	height: 101%;
}

p {
	font-size: 1em;
}

h1 {
	font-size: 1.2em;
	font-weight: bold;
}

/*
 * PageFrame er rammen rundt alle objekter. Denne sørger for å holde siden centerjustert.
 */
#pageFrame {
	width: 900px;
	margin:35px auto;
	margin-bottom:20px;
	z-index: 1;
}

/*
 * Header er i bunn og grunn kun logoen
 */
.header {
	margin: 0px;
	padding: 0px;
	position: absolute;
}

.header img {
	border:0;
}

/*
 * left_image er bildet til venstre på siden. Denne div-tagen tar seg også av å få på plass
 * "left border" på sider som blir lengre enn høyden på bildet.
 */
#left_image {
	margin:0;
	padding:0;
	top:89px;
	height:auto;
	position: absolute;
	background: url('images/border_left.png') repeat-y;
}

#left_image div {
	width:202px;
	background: #000000;
	text-align: center;
}

#left_image div.validated {
    background:transparent; 
    font-size: 0.8em;
    color: #1a1a1a;
}

#left_image div.validated a {
    text-decoration: none;
    color: #1a1a1a;
}

/*
 * content er innholdstagen. Her ligger ogsa linjen pa hoyresiden
 */
#content {
	margin: 0px 0px 0px 202px;
	top:89px;
	padding: 10px 0px 0px 0px;
	min-height: 694px;
	width: 702px;
	position: absolute;
	background: url('images/border_right.png') repeat-y;
}

#content div.realcont {
        padding-bottom: 12px;
	margin-right: 16px;
}

#content #validator {
        background: #555555; 
	border: none; 
	text-align: center; 
	padding-top: 4px;
}

#content #validator a {
        color: black;
	text-decoration: none;
}

#content #validator #validation {
        display: none;
}

#content p, #content h1 {
	padding: 0px 15px 0px 14px;
}

p.abstract {
    font-weight: bold;
}

h2 {
	padding: 8px 0px 4px 10px;
	margin: 0px;
}

h2.faq {
	padding: 16px 0px 0px 10px;
	margin-bottom: 4px;
	margin-right: 4px;
	border-bottom: 1px #B8B8B8 solid;
}

div.news, div.code, p.code {
    border: 1px #B8B8B8 solid;
    background: #e0e0e0;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding: 12px;
}

div.code, p.code {
    font-family: monospace;
    width: 90%;
    white-space:nowrap;
}

div.news h1 {
    font-size: 1.3em;
    padding: 16px 0px 0px 10px;
    margin-top: 0px;
    margin-bottom: 4px;
    margin-right: 4px;
    border-bottom: 1px #B8B8B8 solid;
}

div.news p {
    font-weight: bold;
    font-style: normal;
}

div.news p span.newsdate {
    font-size: 0.9em;
    font-style: italic;
    font-weight: normal;
}

div.news p span.newsdate:after {
    content: ": ";
}

div.faq_q:before {
    content: ">> ";
}

div.faq_q {
    font-weight: bold;
    padding-top: 1px;
    padding-bottom: 2px;
    padding-left: 14px;
}

div.faq_a {
    padding-bottom: 8px;
    padding-left: 14px;
}

/*
 * border_bottom og border_top er bord på topp og bunn av content. Her ligger også avrundingen i hjørnene.
 */

.border_bottom {
	position: absolute;
	bottom: 0px;
	margin:0;
	padding:0;
	padding-top: 10px;
}

.border_top {
	position: absolute;
	top: 0px;
	margin:0;
	padding:0;
}


/*
 * menu er (ja du gjettet riktig) menyen.
 *
 * Du kan angi id="activePage" på det aktive menyelementet. Det blir da markert ut litt lysere forhold til de andre.
 *
 */

.menu {
	margin: 30px 0px 0px 336px;
	text-align: right;
	vertical-align:bottom;
	width:564px;
	padding: 0px;
	position: absolute;
	z-index: 2;
}

.menu a {
	font-family: LiberationSans, Helvetica, Arial;
	margin-left:20px;
	color:#CCCCCC;
	font-weight:bold;
	font-size: 1.2em;
	text-decoration: none;
	border:#FF0000;
	position: relative;
}

.menu a:hover, .menu .activePage  {
	color:#FFFFFF;
}

.menu .activePage {
	text-decoration: underline;
}

/*
 * SubMenu
 *
 */

.submenu {
	margin: 0px 0px 0px 0px;
	text-align: left;
	vertical-align:top;
	z-index: 10;
	opacity: 0;
	display: none;
	background: #000000;
}

.submenu a {
	margin: 10px;
	font-size: 1.1em;
	font-weight: normal;
}

.submenu li {
	list-style: none;
	display: block;
}

/* Basic code - don't modify */

.nav, .subset ul { display: block; margin: 0; padding: 0; position: relative; }
.nav li, .subset li { display: block; list-style: none; margin: 0; padding: 0; float: left; position: relative; }
.nav a, .subset a { display: block; }
.nav ul { display: none; position: absolute; left: 0; margin: 0; padding: 0; }
