/* Default stylesheet */
body {
  color: #353535;
  font-family: Arial, Helvetica, Sans-serif;
  font-size: 75%;																		
  background-color: #FFFFFE;
  background-image: url(http://img6.custompublish.com/getfile.php/908366.746.acapswdsrr/body-bkg.gif); 	
  background-position: top left;
  background-repeat: repeat-x;
  margin: 0px;
}
#rightsection {
  font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", "Lucida Sans Unicode", Geneva, Sans-serif;
}

table,td {
  font-size: 1em;
}
th, caption {
	text-align: left;
	font-size: 1.1em;
	font-weight: bold;
	
}
h1 {
  margin: 4px 0px;
  padding: 0px;
  font-size: 1.4em;
}
h2 {
  margin: 4px 0px;
  padding: 0px;
  font-size: 1.2em;
}
h3 {
  margin: 4px 0px;
  padding: 0px;
  font-size: 1.1em;
}
h4, h5, h6 {
  margin: 4px 0px;
  padding: 0px;
  font-size: 1em;
}
p {
  padding: 0px;
  margin: 4px 0px 16px 0px;
}
/* End General elements*/

/* Use class layout on images and tables used for layout */
img.layout, a img.layout {
  margin: 0px;
  padding: 0px;
  border: 0px;
}
table.layout {
  margin: 0px;
  padding: 0px;
}
td.layout {
  padding: 0px;
  text-align: left;
  vertical-align: top;
}
.body table span, .body p span { background-color: transparent !important; }

/* General links */
a:link { color: #0066CC; }								
a:visited {	color: #0066CC; }
a:hover, a:focus { color: #184172; }

/* read more.. links */
.link { font-size: 0.9em; }

/* Standard navigation links */
a.menu, span.menu {}
.menu a:link { text-decoration: none; }
.menu a:visited { text-decoration: none; }
.menu a:hover, .menu a:focus { text-decoration: none; }

a.menuselected, span.menuselected {}
a.menuselected:link, a.itemselected:link { text-decoration: underline; }
a.menuselected:visited, a.itemselected:visited { text-decoration: underline; }
a.menuselected:hover, a.menuselected:focus, a.itemselected:link { text-decoration: underline; }

a.topmenu, span.topmenu {}
a.topmenu:link { text-decoration: none; }
a.topmenu:visited { text-decoration: none; }
a.topmenu:hover, a.topmenu:focus { text-decoration: none; }

#topmenu a:link { color: #476E32; }
#topmenu a:visited { color: #476E32; }
#topmenu a:hover, #topmenu a:focus { color: #000000; }

#navbar a:link { color: #323232; }				
#navbar a:visited { color: #323232; }
#navbar a:hover, #navbar a:focus { color: #323232; }

/* Printable/tell a friend links  */
.toollink {}
a.toollink:link { text-decoration: none; }
a.toollink:visited { text-decoration: none; }
a.toollink:hover, a.toollink:focus { text-decoration: underline; }

/* Copyright, CustomPublish powered link etc.  */
.cp { text-decoration: none; }

/* Linked headlines (normally inside LIST-sections) */ 
.headlinelink {}
.headlinelink:link { color: #353535; text-decoration: none; }
.headlinelink:visited { color: #353535;	text-decoration: none; }
.headlinelink:hover, .headlinelink:focus { color: #353535; text-decoration: underline; }

#sidebar .box a.headlinelink {	/* color: #184172; */ }

/* Navigation path links */
#path { margin-bottom: 10px; }
#path span.arrow { padding: 0px 3px; }

/* Sitemap links */
.tree { font-weight: normal; } 
a.tree:link { text-decoration: none; 	/* color: #000000; */ } 
a.tree:visited { text-decoration: none; 	/* color: #000000; */ } 
a.tree:hover, a.tree:focus { text-decoration: underline; 	/* color: #000000; */ } 

.sitetree { font-weight: normal; } 
a.sitetree:link { text-decoration: none; 	/* color: #000000; */ } 
a.sitetree:visited { text-decoration: none; 	/* color: #000000; */ } 
a.sitetree:hover, a.sitetree:focus { text-decoration: underline; 	/* color: #000000; */ } 


/* SECTION: Standard CP classes*/
.default { }
.date { color: #666666; font-size: 0.85em; } 
.author { color: #333333; font-size: 0.85em; } 
.feedback {  } 
.copyright {  } 
/* Standard tools */
div.tools { margin: 50px 0px 15px 0px; } 
div.tool { margin: 2px 0px; } 
#skiplink { display: none; } 
div.adminbar {  padding: 0px 10px; }
#top .adminbar { position: absolute; top: 100px; left: 80px; }
#toolicons .adminbar { margin-top: 7px; }
.pagebar { margin: 0px 5px 10px 3px; text-align: right; } 
.pagebar a { padding-right: 10px; } 
a.printer, #colorscheme, #scaletext { float: left; padding: 0px 9px 0px 0px; } 
#PAFTOOLBAR { position: relative; right: 20px; }

#toolbox a { cursor: pointer; }
#tekstskalering{
  margin: 2px 0px;
  padding: 0px;
}
#tekstskalering a {
  padding: 0px 3px;
}

a#scalelargest{
  font-size: 18px;
}
a#scalelarger{
  font-size: 16px;
}
a#scalelarge{
  font-size: 14px;
}
a#scalenormal{
  font-size: 12px;
}

#colorscheme a.acctool {
  line-height: 22px;
  font-size: 1.5em;
	padding: 0px 2px;
  border: 1px solid #000000;
	display: block;
	float: left;
	margin: 0px 3px 0px 0px;

}

/* NB! Disse fargene SKAL defineres her fordi de skal vise fargeskjemaene uavhengig av hvilket fargeskjema som er valgt */
a.yb  {
	color: yellow !important;
	background-color: black !important;
}

a.by  {
	color: black !important;
	background-color: yellow !important;
}

a.bw  {
	color: black !important;
	background-color: white !important;
}

/* SECTION: listing/view styles */
div.pagedescription {
	margin: 0 0 15px;
}
.pagedescription { }
.headline, h1.headline {
	font-size: 1.2em;
  font-weight: bold;
  margin: 0px 0px 5px 0px;
  padding: 0px;
}
.headlineview, h1.headlineview {
  font-size: 1.35em; 
  font-weight: bold; 
  margin: 0px;
  padding: 0px;
}
.block.first a.headlinelink:link { color:#306893; }
.block.first a.headlinelink:visited { color:#306893; }
.block.first a.headlinelink:hover, .block.first a.headlinelink:focus { color:#306893; }

.box h1.headline { font-size: 1.1em; margin: 0px 0px; }
.box a.headlinelink:link { text-decoration: underline; }
.box a.headlinelink:visited { text-decoration: underline; }
.box a.headlinelink:hover, .box a.headlinelink:focus { text-decoration: underline; }

div.box.block a.headlinelink:link { color: #FFFFFF; text-decoration: none; }
div.box.block a.headlinelink:visited { color: #FFFFFF; text-decoration: none; }
div.box.block a.headlinelink:hover, div.box.block a.headlinelink:focus { color: #FFFFFF; text-decoration: underline; }

.subheadline, h2.subheadline {
  font-weight: normal; 
  margin: 5px 0px 0px 0px;
  padding: 0px;
  line-height: 1.0;
}
.ingress { 
}

.list-item { margin-bottom: 5px;}

div.ingress { 
  margin: 6px 0px; 
  padding: 0px;
}
.box div.ingress { margin: 2px 0px 0px 0px; }
div.box.block div.ingress { margin: 2px 0px 8px 0px; }

.ingressview { 
}
div.ingressview { 
  margin: 6px 0px; 
  padding: 0px;
}
p.byline, .byline { 
  margin: 0px; padding: 0px;
}

.listingarea img.dynimage { margin-left: 7px; }
.listingarea .sidebar .cell { border: 1px solid #306893; border-top: 1px solid #C1D4E2; }
.listingarea h1.headline { margin: 0px 0px 0px 0px; }
.listingarea h3.caption {
/* see #navbar h3.caption */
}

h3.caption2 { 
  background-color: #538439; 
  color: #FFFFFF; 
  padding: 3px 5px 3px 10px; 
  margin: 0px 0px 1px 0px;
	border: 1px solid #0E4D16;
}

#main .listmenu ul{ margin: 0px 4px; padding: 1px 0px 0px 0px; }
#main .listmenu li { margin: 2px 0px 4px 0px; }

#main .listmenu li a:link { color: #353535; text-decoration: none; }
#main .listmenu li a:visited { color: #353535; text-decoration: underline; }
#main .listmenu li a:hover, #main .listmenu li a:focus { color: #538439; text-decoration: underline; }



#section2 {
  margin: 10px 0px;
  border: 1px solid #B5B5B5;
}

.listingarea {

}
.listingarea .sectiontitle {
  padding: 4px 0px 4px 8px;
  border-bottom: 1px solid #B5B5B5;
  margin: 0px;
}
.listingsection {
  background-position: top left;
  background-repeat: repeat-x;
  padding: 8px;
  position: relative;
}

/* SECTION: viewarea block/spacing elements */
.viewarea { 
	margin-bottom: 15px;
	position: relative;
}
/* Tab listing/view */
.listingarea .viewarea, .viewarea .viewarea{
	border: 1px solid #22649C;
	min-height: 400px;
	padding: 10px 7px;
}
.block {
  margin-bottom: 7px;
  padding: 7px 0px 7px 1px;
  position: relative;
  zoom: 1;
}
.block.first { padding: 0px; }

.box .block{
	margin-bottom: 1px;
	padding: 3px 5px;
}
.listingarea .box .textwrap, .viewarea .box .textwrap{
	float: right;
	width: 340px;
}
.listingarea .box .imgwrap, .viewarea .box .imgwrap{
	float: left;
	width: 100px;
	height: 50px;
	overflow: hidden;
}

/* ulike tall, vises til venstre */
.odd{
 clear: both;  
 float: left;
}
/* like tall, til hoyre  */
.even{
 clear: right;  
 float: right;
}

.box.pair0 {
  float: left;
	margin-right: 20px;
	width: 270px;

}
.box.pair1 {
 float: right;
 width: 270px;
}

.block.pair2, .block.pair3 {
  float: right;
	clear: right;
	width: 260px;
}
.listingarea.v2 { }
.listingarea.v2 .block { }

hr {
  clear: both;
}
div.hr {/* Replacement for hr. This is easier to style */
  font-size: 1px;
  clear: both;
  height: 10px;
  margin-bottom: 10px;
}
div.body {
  margin: 0px 0px 22px 0px;
}
.clearfix { clear: both; font-size: 1px; height: 0px; }
/* SECTION ARTPICS */
td.artpic {
  padding: 5px;
  vertical-align: top;
  text-align: left;
}

/* SECTION ARTICLEMEDIA */
div.articlemedia{}
div.articlemedia.images{
	clear: both;
}
div.articleimage{
	width: 150px;
	float: left;
	margin: 0 8px 8px 0;
}
div.articleimage#articleimage0, div.articleimage#articleimage3, div.articleimage#articleimage6, div.articleimage#articleimage9, div.articleimage#articleimage12, div.articleimage#articleimage15, div.articleimage#articleimage18, div.articleimage#articleimage21, div.articleimage#articleimage24{
	clear: both;
}
div.articleimage#articleimage1, div.articleimage#articleimage4, div.articleimage#articleimage7, div.articleimage#articleimage10, div.articleimage#articleimage13, div.articleimage#articleimage16, div.articleimage#articleimage19, div.articleimage#articleimage22, div.articleimage#articleimage25{
	margin-right: 0px;
}
div.articleimage#articleimage2, div.articleimage#articleimage5, div.articleimage#articleimage8, div.articleimage#articleimage11, div.articleimage#articleimage14, div.articleimage#articleimage17, div.articleimage#articleimage20, div.articleimage#articleimage23, div.articleimage#articleimage26{
	margin-right: 0px;
	float: right;
}
div.articlemedia.video{}

.nosidebar1 div.articleimage{
	margin: 0 28px 8px 0;
}
.nosidebar1 div.articleimage#articleimage0, .nosidebar1 div.articleimage#articleimage4, .nosidebar1 div.articleimage#articleimage8, .nosidebar1 div.articleimage#articleimage12, .nosidebar1 div.articleimage#articleimage16, .nosidebar1 div.articleimage#articleimage20, .nosidebar1 div.articleimage#articleimage24{
	float: left;
	clear: both;
	margin-right: 28px;
}
.nosidebar1 div.articleimage#articleimage1, .nosidebar1 div.articleimage#articleimage5, .nosidebar1 div.articleimage#articleimage9, .nosidebar1 div.articleimage#articleimage13, .nosidebar1 div.articleimage#articleimage17, .nosidebar1 div.articleimage#articleimage21, .nosidebar1 div.articleimage#articleimage25{
	float: left;
	clear: none;
	margin-right: 28px;
}
.nosidebar1 div.articleimage#articleimage2, .nosidebar1  div.articleimage#articleimage6, .nosidebar1  div.articleimage#articleimage10, .nosidebar1  div.articleimage#articleimage14, .nosidebar1  div.articleimage#articleimage18, .nosidebar1  div.articleimage#articleimage22, .nosidebar1  div.articleimage#articleimage26{
	float: left;
	clear: none;
	margin-right: 0px;
}
.nosidebar1 div.articleimage#articleimage3, .nosidebar1  div.articleimage#articleimage7, .nosidebar1  div.articleimage#articleimage11, .nosidebar1  div.articleimage#articleimage15, .nosidebar1  div.articleimage#articleimage19, .nosidebar1  div.articleimage#articleimage23, .nosidebar1  div.articleimage#articleimage27{
	clear: right;
	margin-right: 0px;
	float: right;
}

/* SECTION: page containers */ 
#page {
  width: 1004px;
  background-color: #FEFEFE;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 0px;
  padding: 0px 0px 0px 0px;
  text-align: left;
}
#top {
  margin: 0px;
  padding: 0px;
  position: relative;
	zoom: 1;
	background: url(http://img6.custompublish.com/getfile.php/908364.746.wayecsuura/topp-groenn.jpg) top left no-repeat;
	/*background: url(http://img6.custompublish.com/getfile.php/998353.746.saffcsdcuv/topp_brun.jpg) top left no-repeat;*/
	height: 145px;
}
#top a.logo { 
  background: url(http://img6.custompublish.com/getfile.php/908407.746.qtvwbxsurc/as_kommune_logo.jpg) top left no-repeat;		
  display: block; 
	width: 262px;
  height: 90px;	
	text-indent: -9999px;
  position: relative;
	top: 20px;
	left: 10px;
}
#topnav {
 /* margin: 0px 22px;*/
	float: left;
	position: relative;
	zoom: 1;
}
#middle {
	/*background-image: url(http://img7.custompublish.com/getfile.php/897837.1437.vsqvatssby/middle-bkg.gif);*/
	background-position: top left;
	background-repeat: repeat-x;
  padding: 3px 10px 0px;
	position: relative;
	zoom: 1;
}
#navbar {
  float: left;
  width: 182px;
  padding: 10px 0px;
  margin-bottom: 10px;
	margin-right: 20px;
}
#main {
  float: left;
  width: 560px;
  min-height: 500px;
  height: auto !important;
  height: 500px;
  padding: 10px 0px;
  position: relative;
}
body.nosidebar1 #main { width: 700px; }

#rightsection {
  float: right;
	padding-top: 7px;
  width: 189px;
	zoom: 1;
}

body.nosidebar1 #rightsection { display: none; }

/*body.nosidebar1 #sidebar1 { display: none; }*/
#footer {
  clear: both;
  text-align: center;
  padding: 5px 0px;
	color: #3C3C3C; 
  font-size: 0.85em;
	background-color: #FFFFFE;
}

#footer a:link { color: #979797; text-decoration: none; }
#footer a:visited { color: #979797; text-decoration: none; }
#footer a:hover, #footer a:focus { color: #979797; text-decoration: underline; }

#innerfooter {
  text-align: center;
	background-color: #538439;
	color: #FFFFFF;
  padding: 5px 0px;
	margin: 10px 10px 0px 10px;
	position: relative;
}
#innerfooter a:link { color: #FFFFFF;}
#innerfooter a:visited { color: #FFFFFF;}
#innerfooter a:hover, #innerfooter a:focus { color: #CCFFCC;}

/* SECTION: Sidebar */

div.box.menu { 
  margin-bottom: 10px; 
  position: relative; 
  zoom: 1; 
  font-size: 1.0em;
}
.box {
  padding: 0px;
  margin: 0px;
  margin-bottom: 5px;
	background-color: #F7FAFB;
	position: relative;
	zoom: 1;
}
.box .head {
}
.box .cell {
  padding: 5px;
	border: 1px solid #BBDAB8;
}
.box .listall { font-size: 0.9em; text-align: center; }

/*.box.imagebox .cell { border: 0px none; }*/

div.box.block .cell {
  padding: 5px 15px 10px;
}
div.box.imagebox .cell{
	padding: 0px;
}
div.box.imagebox .cell img{
	display: block;
}

.box ul {
  padding: 0px;
  margin: 0px 0px 0px 0px;
  list-style-type: none;
}
.box ul li {
  margin: 0px 0px;
  padding: 0px;
}
.box p {
  padding: 0px;
  margin: 0px 0px 5px 0px;
}
.box h3.caption {
	font-weight: normal;
  margin: 0px;
  padding: 0px;
}
#sidebar1 {
	margin-bottom: 15px;
}

.box .footer{
	font-size: 0.9em;
	padding-top: 5px;
	text-align: right;
	
}
#sidebar1 .box h3.caption, #rightsection .box h3.caption {
	color: #386074;
  padding: 0px 0px 7px 0px;
	font-size: 1.4em;
}

#rightsection .box { 
  background-image: url(http://img6.custompublish.com/getfile.php/908367.746.afxudecpua/box-bkg.gif); 
  background-position: top left;
  background-repeat;
  background-color: #E5E5E5; 
}
#rightsection .box.menu { background: none; }
#rightsection .box.menu li {  }

/* SECTION: page elements */ 
ul.menu, ul.submenu {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
ul.menu li, ul.submenu li {
  margin: 0;
  padding: 0px 0px;
}
#topmenu {
  padding: 0px 0px;
  margin: 0px;
	font-size: 1.1em;
	font-weight: bold;
	text-align: left;
	background-color: #F4FCED;
	border: 1px solid #538439;
}
#topmenu li {
  margin: 0px;
  padding: 0px 4px 0px 1px;
  list-style-type: none;
	display: inline;
  border-right: 1px solid #538439;
}
#topmenu li.lastitem {
	border-right: 0px none;
}
#topmenu a {
	display: inline-block; 
	padding: 3px 5px;
	margin: 0px;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
	position: relative;

}
#topmenu li a:hover, #topmenu li a:focus { 
	background-color: #DAF8BC;
	background-image: url(http://img6.custompublish.com/getfile.php/908353.746.eacadqpwcx/topmenu-btn-bkg.gif);
	background-position: top left;
	background-repeat: repeat-x;
	color: #000000;
	border: 1px solid #538439;
}

#toolicons {
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}
#toolicons li {
  display: inline;
  vertical-align: middle;
  line-height: 20px;
}
#toolicons li img {
  vertical-align: middle;
  border: none;
	padding-left: 3px;
	padding-right: 3px;
} 


/* --- MENU START Ny type meny styling --- */

#navbar .box.menu { background-color: #F7FBF7; border: 1px solid #306B11; }

#navbar, .section { position: relative; }
#navbar h3.caption, .listingarea h3.caption {
  background-image: url(http://img6.custompublish.com/getfile.php/908385.746.fcrqdftvvd/main-caption-grad-bkg.gif);
	background-position: top left;
	background-repeat: repeat-x;
  background-color: #E1FCC5;
  color: #324B22;
  padding-left: 10px;
	padding-top: 3px;
  margin: 0px 0px 1px 0px;
	font-weight: bold;
	min-height: 21px;
	height: auto !important;
	height: 21px;
	border: 1px solid #78A85C;
}
#navbar ul { list-style-type: none; margin: 0px; }
#navbar div.box.menu ul.menu { padding: 5px 0px 8px 0px; }

#navbar ul.menu li { display: block; }
#navbar ul.menu a {
	display: inline-block;
}
#navbar ul.menu a {
	display: block; 
	border-width: 1px 0;
	border-style: solid;
	border-color: transparent;
	padding: 0px 5px;
}
#navbar ul.submenu a {
	padding: 0;
}
#navbar ul.menu a.itemselected{
	margin-bottom: 1px;
}
#navbar ul.menu a:hover, #navbar ul.menu a:focus, #navbar ul.menu a.itemselected{
	background-color: #F4FCED; 
	border-color: #BBDAB8; 
}

#navbar ul.menu a.menulevel0:before { content: "- "; }

#navbar ul.menulevel1 {
	/* Start av hver menyseksjon paa rotnivaa */
  background-position: top left;
  background-repeat: repeat-x;
	font-size: 0.9em;
}
#navbar li.menulevel1.firstitem {
	/* border: 1px solid orange; */
}
#navbar li.menulevel1.lastitem {
	/* Siste menypunkt paa innevarerede meny */
  background-position: bottom left;
  background-repeat: no-repeat;  
}

#navbar li.menulevel0.lastitem ul.submenu li.lastitem {
	/* Siste menypunkt paa rootnivaa */
  background-position: bottom left;
  background-repeat: no-repeat;
}
/*#navbar li.menulevel0.lastitem ul{border-bottom: 0px none;}*/

#navbar a.menulevel1.lastitem { 
}
#navbar ul {}
#navbar li.menulevel0 { }
#navbar ul.submenu li{ padding-left: 0px; }
#navbar ul.submenu li a{ padding-left: 20px; }
#navbar ul.submenu li li a{ padding-left: 30px; }
#navbar ul.submenu li li li a{ padding-left: 40px; }
#navbar ul.submenu li li li li a{ padding-left: 50px; }
#navbar ul.submenu li li li li li a{ padding-left: 60px; }

#navbar ul.menulevel0 { padding-left: 0px; }
#navbar ul.menulevel1 { padding-bottom: 0px; padding-left: 0px; }
#navbar li { margin: 0px 0px; padding: 2px 0px; display: block; }
#navbar li.spacingabove { margin-top: 5px; padding-top: 9px;
  background: url(http://img7.custompublish.com/getfile.php/894252.1437.peacwvbcdw/navbar_menu_spaceabove.gif) top left repeat-x; 
}
#navbar li.spacingbelow { margin-bottom: 5px; padding-bottom: 9px;
  background: url(http://img7.custompublish.com/getfile.php/894252.1437.peacwvbcdw/navbar_menu_spaceabove.gif) bottom left repeat-x; 
}
#navbar li.menulevel1.lastitem  { padding-bottom: 5px; }

#rightsection .menu {
	font-size: 1.0em;
	font-weight: normal;
}
#rightsection .menu li { 
  background-image: url(http://img6.custompublish.com/getfile.php/908375.746.crcwpbrtxp/hurtigmeny-bkg.gif);
	background-position: top left;
	background-repeat: repeat-x;
  display: block; 
  margin: 0px;
}
#richtsection .menu li a { display: block; }
#rightsection .box div.s1 { background-image: url(http://img6.custompublish.com/getfile.php/908369.746.uyprdfypre/box-shadow-mid.gif) }
#rightsection .box div.s2 { background-image: url(http://img6.custompublish.com/getfile.php/908370.746.spsseatprb/box-shadow-top.gif) }
#rightsection .box div.s3 { background-image: url(http://img6.custompublish.com/getfile.php/908368.746.bvtbbrrqbs/box-shadow-bottom.gif);
  padding: 9px 10px 10px 12px;
}
#rightsection .menu span { display: block; }
#rightsection .menu span.s1 { background-image: url(http://img6.custompublish.com/getfile.php/916388.746.yrutasvfcx/hurtigmeny-shadow-mid.gif) }
#rightsection .menu span.s2 { background-image: url(http://img6.custompublish.com/getfile.php/908378.746.fsvtqafqdy/hurtigmeny-shadow-top.gif) }
#rightsection .menu span.s3 { background-image: url(http://img6.custompublish.com/getfile.php/908376.746.vuryawarrb/hurtigmeny-shadow-bottom.gif);
  padding: 9px 10px 12px 12px;
}

#rightsection .menu li a:link { color: #3A532B; text-decoration: none; }
#rightsection .menu li a:visited { color: #3A532B; text-decoration: none; }
#rightsection .menu li a:hover, #rightsection .menu li a:focus { color: #3A532B; text-decoration: underline; }

/* CSS code for (rounded) corners. Remember position: relative; on container element */
span.corner, span.acorner{
  background-repeat: no-repeat;
	display: block;
  position: absolute;
  /* Set width/height to size of corner images */
  width: 13px;
  height: 13px;
}
span.acorner {/* border: 1px solid red;*/
  width: 5px;
  height: 5px;

}
/*#topmenu li  { border: 1px solid blue;}*/

span.corner.tl {
  background-position: top left;
  left: 0px;
  top: 0px;
}
span.corner.tr {
  background-position: top right;
  right: 0px;
  top: 0px;
}
span.corner.bl {
  background-position: bottom left;
  bottom: 0px;
  left: 0px;
}
span.corner.br {
  background-position: bottom right;
  bottom: 0px;
  right: 0px;
}

span.acorner.tl {
  background-position: top left;
  top: -1px;
	left: -1px;
}
span.acorner.tr {
  background-position: top right;
  top: -1px;
	right: -1px;
}
span.acorner.bl {
  background-position: bottom left;
  bottom: -1px;
	left: -1px;
}
span.acorner.br {
  background-position: bottom right;
  bottom: -1px;
	right: -1px;
}

#topnav span.corner.tl { background-image: url(http://img6.custompublish.com/getfile.php/908360.746.rbcpxwtruu/topmenu-corner-tl.gif); }	
#topnav span.corner.tr { background-image: url(http://img6.custompublish.com/getfile.php/908361.746.wbwfadeaud/topmenu-corner-tr.gif); }	
#topnav span.corner.bl { background-image: url(http://img6.custompublish.com/getfile.php/908358.746.weyxsfppec/topmenu-corner-bl.gif); }	
#topnav span.corner.br { background-image: url(http://img6.custompublish.com/getfile.php/908359.746.svuvxxftca/topmenu-corner-br.gif); }	

#topmenu li a:hover span.acorner, #topmenu li a:focus span.acorner { background-image: url(http://img6.custompublish.com/getfile.php/917709.746.wdxadbpqqb/topmenu_selected.gif); }

#navbar div.box.menu span.corner.tl, .section span.corner.tl { background-image: url(http://img6.custompublish.com/getfile.php/908386.746.xuqxefecpx/main-caption-grad-corner-tl.gif); }					
#navbar div.box.menu span.corner.tr, .section span.corner.tr { background-image: url(http://img6.custompublish.com/getfile.php/908387.746.xwabdrtted/main-caption-grad-corner-tr.gif); }
#navbar div.box.menu span.corner.bl { background-image: url(http://img6.custompublish.com/getfile.php/908341.746.qsspucfqwf/navbar-box-corner-bl.gif); }
#navbar div.box.menu span.corner.br { background-image: url(http://img6.custompublish.com/getfile.php/908342.746.pfrdytwasb/navbar-box-corner-br.gif); }

#rightsection .box span.corner.tl { background-image: url(http://img7.custompublish.com/getfile.php/894005.1437.ccxpaeqrfa/sidebar1_h3_corner_TL.gif); }					
#rightsection .box span.corner.tr { background-image: url(http://img7.custompublish.com/getfile.php/894006.1437.aurwfcvsfs/sidebar1_h3_corner_TR.gif); }
.sidebar .box span.corner.bl, .listingarea .section span.corner.bl { background-image: url(http://img7.custompublish.com/getfile.php/897902.1437.wyueuqwweb/sidebar-box-corner-bl-2.gif); }
.sidebar .box span.corner.br, .listingarea .section span.corner.br { background-image: url(http://img7.custompublish.com/getfile.php/897903.1437.putaqtqevr/sidebar-box-corner-br-2.gif); }
.listingarea .box span.corner.tl, #navbar .box span.corner.tl { background-image: url(http://img6.custompublish.com/getfile.php/908383.746.uassyfsvuv/main-caption-corner-tl.gif); }
.listingarea .box span.corner.tr, #navbar .box span.corner.tr { background-image: url(http://img6.custompublish.com/getfile.php/908384.746.addxtpaefx/main-caption-corner-tr.gif); }
.listingarea .box span.corner.bl, #navbar .box span.corner.bl { background-image: url(http://img6.custompublish.com/getfile.php/908381.746.bueweypdxt/main-box-corner-bl.gif); bottom: 0px; left: 0px;}
.listingarea .box span.corner.br, #navbar .box span.corner.br { background-image: url(http://img6.custompublish.com/getfile.php/908382.746.fbuwqqppff/main-box-corner-br.gif); bottom: 0px; right: 0px;}

#innerfooter span.corner.tl { background-image: url(http://img6.custompublish.com/getfile.php/908373.746.vfsysryfup/footer-corner-tl.gif); }
#innerfooter span.corner.tr { background-image: url(http://img6.custompublish.com/getfile.php/908374.746.xtpvtywavx/footer-corner-tr.gif); }
#innerfooter span.corner.bl { background-image: url(http://img6.custompublish.com/getfile.php/908371.746.usbddrsyud/footer-corner-bl.gif); }
#innerfooter span.corner.br { background-image: url(http://img6.custompublish.com/getfile.php/908372.746.yvrvfffutq/footer-corner-br.gif); }


/* utility icons in menu */
a.newwindow {
	padding-right: 12px; 
/*	background: url(/images/icons/newwindow-8x8.gif) right center no-repeat;*/
} 
a.hassubitem:after {	content: " +"; /* background: url(/images/dot.php/0000ff.gif) left no-repeat; */ }
a.hassubitem.itemexpanded:after { content: ""; /* background: url(/images/dot.php/ff0000.gif) left no-repeat; */ } 
a.alwaysexpanded:after { content: ""; } 

/* li.spacingbelow  { background-color: red; margin-bottom: 100px; padding-bottom: 100px; } */
/* --- END MENU Ny type meny styling --- */


#tools{
  list-style-type: none;
}
#tools li{
  background-position: center left;
  background-repeat: no-repeat;
}
#tools li#tips{
}
#tools li#printable{
}
#search{														
/*  position: absolute;
	zoom: 1;
  right: 20px;
  xtop: 10px;
	top: -29px;*/
	float: right;
  width: 186px;
	margin-bottom:  10px;
}
#searchform div.inner{
  background: url(http://img7.custompublish.com/getfile.php/899601.1437.xqvqpcpdeu/search_c_top.gif) top left no-repeat;														
  padding: 4px 1px 2px 5px;
}
#searchform{
  background: url(http://img7.custompublish.com/getfile.php/899600.1437.spfwvxetfr/search_c_bottom.gif) bottom left no-repeat;														
  background-color: #FAFAFA;
  padding: 0px;
  margin: 0px;
}
input.searchinput{
  margin: 0px;
  padding: 0px;
  border: none;
  background-color: #FAFAFA;
  width: 155px;
  font-size: 0.9em;
}	
input.searchsubmit{
  margin: 0px;
  padding: 0px;
}
#search_bottom{
}
#tekstskalering { float: right; padding: 0px 10px; cursor: pointer; }

div.tagcloud {											
  	/* background-color: #EFEFEF; */		
  	/* color: #00336F; */
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  padding: 10px;  
  margin: 10px 0px;
  position: relative;
  
}
.tagcloud a {padding: 3px; }

/* midtskygge */
div.s1, span.s1 {
  background-position: top left;
  background-repeat: repeat-y;
  background-image: url(http://img6.custompublish.com/getfile.php/908344.746.cderdrbxcs/page-shadow-mid.gif); 			
}
/* toppskygge */
div.s2, span.s2 {
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url(http://img6.custompublish.com/getfile.php/908345.746.qpxyppsppc/page-shadow-top.gif);				
}
/* bunnskygge */
div.s3, span.s3 {
  background-position: bottom left;
  background-repeat: no-repeat;
	background-image: url(http://img6.custompublish.com/getfile.php/908343.746.pcpxbtbvur/page-shadow-bottom.gif);
  padding: 0px 7px 15px 7px;
}


/* SECTION: banner locations */
.bannerlocation {
  clear: both;
  text-align: center;
}
.bannerlocation table {
  margin-left: auto;
  margin-right: auto;
}
.bannerlocation td {
  text-align: center;
  padding: 5px 0px;
}
.bannerlocation img {
  border-width: 0px;
	margin-bottom: 10px;
}



/* ----------------=============== CUSTOM BELOW THIS LINE ==================================================================------------------------------ */
/* SECTION: Calendar */
#calendar {
  	/* background-image: url(http://img5.custompublish.com/getfile.php/770333.1295.yayurxduyy/calendar_watermark.jpg); */			
  background-position: 95% 75%;
  background-repeat: no-repeat;
  min-height: 180px;
  height: auto !important;
  height: 180px;
  position: relative;
}

.icalendardayhead { 	/* background-color: #D8E7F0; */ }
.monthlycalendartable { width: 100%;}
.calendardate {  	/* color:#333333; */ font-size: 85%; }

#calendar h3.sectiontitle { 
  	/* background-color: #EFEFEF; */
  font-size: 1.0em;
}

#calendar a { 
  /*padding-left: 1px;*/ 
}
#calendar .cell li { 
  margin-top: 5px;
}
#calendar .cell ul { 
  padding: 0px 5px 0px 10px;
}
#calendar .listall { 
  text-align: center;
}
#calendar a:link { text-decoration: none; 	/* color: #333333; */}
#calendar a:visited { text-decoration: none; 	/* color: #333333; */}
#calendar a:hover, #calendar a:focus { text-decoration: underline; 	/* color: #333333; */}

div.monthlycalendar { 
  padding: 6px 1px;
  margin: 0px 10px 5px 10px;
}
div.monthlycalendar table { 
  border-collapse: collapse;
}
div.monthlycalendar th, th.caldayname { 
  border: 1px solid #D9D9D9;
  background-color: #FFFFFF;
  color: #666666;
  font-weight: bold;
}
div.monthlycalendar td, td.calday, td.calsaturday, td.caltoday, td.calsunday, td.caldayhasevent { 
  border: 1px solid #D9D9D9;
  background-color: #F0F4FC;
  color: #666666;
  font-weight: normal;
}
div.monthlycalendar td.caldayhasevent {
  background-color: #F5F5F5;
	cursor: help;
	color: black;
}
div.monthlycalendar td:first-child, td.calday:first-child { 
  background-color: #F5F5F5;
  color: #666666;
}
div.monthlycalendar td.caltoday, td.caltoday { 
  background-color: #8F8F98;
  color: #FFFFFF;
  font-weight: bold;  
}
div.monthlycalendar td.calsunday, td.calsunday { 
  	background-color: #F0F4FC;
  	color: #ff3300;
}

div.monthlycalendar td.calmonthname { 
  padding-left: 3px;

}
#kalenderoppforinger { padding: 13px;}
#calfooter { position: relative; bottom: 1px; left: 10px; padding-top: 3px; }

/* SECTION: Weather */
#weather { text-align: center; }
td.weatherlocname { width: 60px; }
td.weathericon {}
td.weathertemperature { width: 20px; }