/* CLEARFIX HACK \*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
.clearfix {display: block;}
/* End hide from IE-mac */

body {

	background-image: url('/images/top_bg.gif');
	background-repeat: repeat-x;
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-family: "Trebuchet MS",arial,helvetica,sans;
	color: #555555;
}

IMG {
	border: 0;
}

#leftcorner {
	z-index: 1;
	position: 0px;
	width: 125px;
	height: 70px;
	left: 0px;
	top: 0px;
	background-image: url(/images/left_corner.gif);
}

#logo_hoypuls {
	position: absolute;
	left: 20px;
	top: 40px;
}

#menu {
	position: absolute;
	z-index: 1;
	left: 184px;
	top: 0px;
	width: 693px;
	height: 66px;
	padding-top: 16px;
	background-image: url(/images/menu_bg.gif);
	background-repeat: no-repeat;
}

#menu ul {
 	padding: 0;
  	margin: 0px 0px 0px 15px;
	list-style: none;
	height: 28px;
	overflow: hidden;
}

#menuLineOne li {
	float: left;
	height: 28px;
	width: 331px;
	text-align: center;
	padding-top: 2px;
	background-image: none;
}
#menuLineOne li a {
	display: block;
	color: #FFFFFF;
	background: none;
	text-decoration: none;
}

#menuLineOne li.inactive {
	background-image: url(/images/menu_inactive_right.gif);
	background-repeat: no-repeat;
	background-position: top right;
	padding-top: 6px;
}
#menuLineOne li.inactive a {
	color: #8D8D8D;
	font-size: 0.9em;
}

#menuLineTwo {
	margin-top: 2px;
	clear: both;
}

#menuLineTwo li {
	float: left;
	height: 22px;
	text-align: center;
	font-size: 13px;
	background-image: none;
}

#menuLineTwo li a {
	display: block;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	color: #FFFFFF;
	text-decoration: none;
}
#menuLineTwo li a:hover {
	background-color: #000000;
}

#main {
	position: absolute;
	z-index: 1;
	left: 184px;
	top: 66px;
	width: 693px;
	height: 569px;
	background-image: url(/images/mainblock.gif);
	background-repeat: no-repeat;
}

#submenu {
	margin: 0;
	padding: 0;
	margin-left: 20px;
	width: 652px;
	list-style: none;
	height: 18px;
}
#submenu li {
	float: left;
	background: none;
	margin: 0;
	padding: 0;
	height: 18px;
	margin-bottom: 2px;
}
#submenu li a {
	float: left;
	display: block;
	color: #FFFFFF;
	margin: 0;
	padding: 0;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 11px;
	height: 15px;
	padding-top: 3px;
	text-decoration: none;
}
#submenu li a:hover {
	color: #666666;
	background-color: #FFFFFF;
}


#mainContent {
	margin-top: 19px;
	margin-left: 15px;
	margin-right: 16px;
}
#mainContent .text, .generic_text, .user_content {
	padding-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

#btnTrafikkskole {
	display: block;
	float: left;
	width: 327px;
	height: 324px;
	background-image: url(/images/btn_trafikkskole.jpg);
	background-repeat: no-repeat;
}
#btnTrafikkskole:hover {
	background-image: url(/images/btn_trafikkskole_onm.jpg);
}

#btnNettbutikk {
	display: block;
	float: left;
	width: 329px;
	height: 324px;
	background-image: url(/images/btn_nettbutikk.jpg);
	background-repeat: no-repeat;
}
#btnNettbutikk:hover {
	background-image: url(/images/btn_nettbutikk_onm.jpg);
}


/* ALL CODE REGARDING LEFT PANE */
#leftpane {
	position: absolute;
	z-index: 2;
	left: 13px;
	top: 44px;
	width: 186px;
	height: 208px;
	background-image: url(/images/leftpane_bg.jpg);
	background-repeat: no-repeat;
	overflow: visible;
}

#leftpaneContent {
	margin-left: 12px;
	margin-top: 75px;
}

#leftpaneContent .text {
	margin-left: 15px;
	font-size: 0.8em;
}

H1.leftpane {
	font-size: 1.5em;
	color: #1E467E;
}

H2.leftpane {
	font-size: 1.1em;
	color: #1E467E;
	margin-bottom: 0.3em;
}

H2.leftpane_inline {
	display: inline;
	clear: left;
	font-size: 1.1em;
	color: #1E467E;
}

/* ALL CODE REGARDING RIGHT PANE */
#rightpane {
	position: absolute;
	z-index: 2;
	left: 861px;
	top: 44px;
	width: 139px;
	height: 220px;
	background-image: url(/images/rightpane_bg.jpg);
	background-repeat: no-repeat;
	overflow: visible;
}

/* Remaining sections */
blockquote div {
	font-weight: bold;
	font-size: 1em;
}

blockquote div span, blockquote span {
	font-family: Baskerville, Times, Courier;
	font-weight: bold;
	font-size: 1.8em;
	line-height: 1.0em;
	color: #9CB69C;
}

blockquote div span.commentor {
	font-size: 1.0em;
}

ul.rss_list {
	padding: 0;
  	margin: 0;
  	margin-top: 6px;
	list-style: none;
}

ul.rss_list li {
	background-image: none;
	padding-left: 0px;
}

ul.rss_list li a {
	display: block;
	height: 20px;
	font-size: 0.8em;
	padding-left: 25px;
	background-image: url(/images/icon_rss.gif);
	background-repeat: no-repeat;
	background-position: 0px 2px;
	padding-top: 8px;
}

#venstremeny li {
	height: 32px;
}

#rss_table {
	border-collapse: collapse;
	font-size: 0.7em;
	margin-top: 20px;
	margin-bottom: 40px;
}

#rss_table thead a {
	margin-left: 10px;
}

#rss_table tfoot tr td {
	height: 20px;
	border-top: 1px solid #ECECEC;
}

#rss_table tbody tr td {
	vertical-align: middle;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
	border-top: 1px solid #ECECEC;
}

#rss_table tr td.first {
	border-right: 1px solid #ECECEC;
}

#rss_table tr.row1 td {
	background-color: #FFFFFF;
}

#rss_table tr.row2 td {
	background-color: #F2FAF3;
}

A {
	text-decoration: underline;
	color: #789F6F;
}

A:hover {
	text-decoration: none;
	background-color: #FCE7A7;
	color: #789F6F;
}

H1 {
	font-size: 1.4em;
}

H2 {
	font-size: 1.2em;
	margin-bottom: 0.3em;
}

H3 {
	margin: 0em;
	font-size: 1.1em;
	font-style: italic;
}

#mainContent ul {
	list-style: none;
	padding-left: 10px;
}

#mainContent ul li {
	background-image: url(/images/li.gif);
	background-repeat: no-repeat;
	background-position: 0px 4px;
	padding-left: 20px;
	line-height: 1.5em;
}

ul.linklist, #mainContent ul.linklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.linklist li, #mainContent ul.linklist li {
	background-image: none;
	padding: 0;
	margin: 0;
	line-height: 1em;
}

ul.linklist li a, #mainContent ul.linklist li a {
	display: block;
	height: 20px;
	font-size: 0.9em;
	padding-left: 25px;
	background-image: url(/images/icon_link.gif);
	background-repeat: no-repeat;
	background-position: 0px 2px;
	padding-top: 8px;
}


#footer {
	font-size: 0.8em;
	color: #999999;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 60px;
}

DIV.navigationBar {
	background-image: url(/images/navigation_bg.jpg);
	background-repeat: repeat-x;
	padding-left: 5px;
	font-size: 12px;
}

DIV.navigationBar a {
	display: block;
	float: left;
	padding-left: 10px;
	padding-right: 30px;
	padding-top: 5px;
	height: 21px;
	font-size: 14px;
	font-weight: bold;
	color: #474747;
	text-decoration: none;
	background-color: #C3D9BE;
	background-image: url(/images/navigation_link.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}
DIV.navigationBar a:hover {
	color: #FFFFFF;
	background-image: url(/images/navigation_link_onm.jpg);
}
DIV.navigationBar a.last {
	background-image: url(/images/navigation_link_end.jpg);
}
DIV.navigationBar a.last:hover {
	background-image: url(/images/navigation_link_end_onm.jpg);
}

fieldset {
	padding: 1.6em;
	margin-top: 1.3em;
}

fieldset p label {
	float: left;
	text-align: right;
	width: 20%;
	margin-right: 10px;
}

fieldset p label.nopadding {
	float: none;
	text-align: left;
	margin-right: 30px;
}


#leftpaneContent .containerMenu ul {
 margin: 0;
 padding: 0;
 list-style: none;
 width: 150px; /* Width of Menu Items */
 border-bottom: 1px solid #ccc;
}

#leftpaneContent .containerMenu ul li {
 position: relative;
}

#leftpaneContent .containerMenu li ul {
 position: absolute;
 left: 149px; /* Set 1px less than menu width */
 top: 0;
 display: none;
}

/* Styles for Menu Items */
#leftpaneContent .containerMenu ul li a {
 display: block;
 text-decoration: none;
 color: #777;
 padding: 2px;
}

#leftpaneContent .containerMenu ul li ul li a {
 border: 1px solid #ccc;
 border-bottom: 0;
 background: #fff; /* IE6 Bug */
}

.error {
	color: white;
	border: 1px solid #777777;
	background-color: #333333;
	margin: 10px;
	margin-top: 30px;
	padding: 10px;
}

.error h1 {
	text-align: center;
}

.formstatus {
	margin-left: 2px; padding-left: 30px; background-repeat: no-repeat; color: red; font-weight: bold;
}
