/****************************************************************/
/*   Design:   Lokal hjemmeside for Bærum                                                       */
/*   File:     index.html + lokal-hjem.css                                                               */
/*---------------------------------------------------------------------------------------------*/
/*   Design:   Hilde Alai / Gunnar Jonsson                                                         */
/*   Date:     5. desember 2009                                                                            */
/****************************************************************/

/************/
/*  GLOBAL  */
/************/

/* NON-HEADER */
/* *{padding:0; margin:0;}*/
 body {background-color:#ccccff; font-family:Georgia,arial,sans-serif;} /*Font-size: 1.0em = 10px when browser default size is 16px*/
.page-container {width:900px; margin:0px auto; margin-top:20px; margin-bottom:10px; font-size:1.0em; background-color:#ffffe5; border:1px solid #202020}
.main {clear:both; width:900px; padding-bottom:30px;}


.main-content {display:inline; /*Fix IE floating margin bug*/; float:left; width:500px; margin:5px 5px 5px 5px; padding:15px 10px 50px 50px; line-height: 115%; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}
.main-subcontent {display:inline /*Fix IE floating margin bug*/; float:right; width:220px; margin:45px 50px 50px 5px; padding:25px 5px 25px 5px; border:1px solid #202020; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}
.footer {clear:both; width:900px; padding:1.0em 0 1.0em 0; background-color:#FFFFe5; font-size:75%; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}

/* HEADER */
.header {width:900px;}
.header-top {width:900px; height:203px; margin-top:0px; background:#ffffFF; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}

/*************/
/*  2. HEAD  */
/*************/
.sitelogo {width:900px; height:203px; position:absolute; z-index:1; margin:0px 0 0 0px; background:url(../baerum-topp.jpg);}
.sitename {width:400px; height:170px; position:absolute; z-index:1; margin:35px 0 0 50px; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}
.sitename h1 {color:#202020; font-family:"Belwe Cn BT"; text-transform:uppercase; font-size:52px; line-height:125%;}
.sitename a{text-decoration:none; color:#202020;}
.sitename a:hover {text-decoration:none; color:rgb(125,125,125);}

/* nav2 Drop-down menu
.nav2 {white-space:nowrap; float:left; width:960px; background-color:#CCFF66; color: #000000; font-size:130%; font-family:Georgia,arial,sans-serif;} 
.nav2 ul {list-style-type:none;}
.nav2 ul li {float:left; z-index:auto !important; z-index:1000; border-right:solid 1px rgb(175,175,175);}
.nav2 ul li a {float:none !important; float:left; display:block; height:2.1em; line-height:2.1em; padding:0 16px 0 16px; text-decoration:none; font-weight:normal; color: rgb(100,100,100);}
.nav2 ul li ul {display:none; border:none;}


.nav2 ul li:hover {position:relative;}
.nav2 ul li:hover a {background-color:#CCFF66; text-decoration:none;}
.nav2 ul li:hover ul {display:block; width:10.0em; position:absolute; z-index:999; top:2.0em; margin-top:0.1em; left:0;}
.nav2 ul li:hover ul li a {white-space:normal; display:block; width:10.0em; height:auto; line-height:1.3em; margin-left:-1px; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(240,240,240); font-weight:normal; color:rgb(100,100,100);}
.nav2 ul li:hover ul li a:hover {background-color:rgb(215,215,215); text-decoration:none;}


.nav2 table {position:absolute; top:0; left:0; border-collapse:collapse;}
.nav2 ul li a:hover {position:relative /*Sylvain IE hack*/; z-index:1000 ; background-color:#CCFF66; text-decoration:none;}
.nav2 ul li a:hover ul {display:block; width:10.0em; position:absolute; z-index:999; top:2.1em; t\op:2.0em; left:0; marg\in-top:0.1em;}
.nav2 ul li a:hover ul li a {white-space:normal; display:block; w\idth:10.0em; height:1px; line-height:1.3em; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(240,240,240); font-weight:normal; color:rgb(50,50,50);}
.nav2 ul li a:hover ul li a:hover {background-color:rgb(215,215,215); text-decoration:none;}
*/

/******************/
/*  MAIN SECTION  */
/******************/

/* MAIN SUBCONTENT */
.subcontent-unit-noborder {font-size:26px;}

/********************/
/*  FOOTER SECTION  */
/********************/
.footer p {line-height:1.3em; text-align:center; color:#505050;}  
.footer p.credits {font-weight:normal;}
.footer a {text-decoration:underline; color:rgb(125,125,125);}
.footer a:hover {text-decoration:none; color:rgb(0,0,0);}
.footer a:visited {color:rgb(0,0,0);}

/******************/
/*  CLEAR FLOATS  */
/******************/
.page-container:after, .header:after, .main:after, .main-content:after, .main-content div:after, .main-subcontent:after, {content:"."; display:block; height:0; clear:both; visibility:hidden;}
.subcontent-unit-noborder:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
 p:after {content:"."; display:block; height:0; /*clear:both*/; visibility:hidden;}
.footer:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}

/********************************/
/*  PRINTING and MISCELLANEOUS  */
/********************************/
@media print {.header-top {width:954px; height:80px; background:rgb(240,240,240); overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}}
@media print {.nav2 {float:left; width:954px; border:none; background:rgb(240,240,240); color:rgb(75,75,75); font-size:1.0em; font-size:130%;}} /*Color navigation bar normal mode*/
@media print {.main {clear:both; width:954px; padding-bottom:30px; background:transparent;}}
@media print {.footer {clear:both; width:954px; height:3.7em; padding:1.1em 0 0; background:rgb(240,240,240); font-size:1.0em; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}}

/*.csc-textpic-text { float:left; border:0; margin:0; }*/
.csc-textpicHeader h2 { border:0; margin:0;}
.csc-textpic-below .csc-textpic-imagewrap { clear:both; }

* html .nav0 ul.langnav { margin-right:3px; }

li.top-act a { text-decoration:underline; }
.lang a {color:rgb(70,122,167); font-weight:bold; text-decoration:none;}
.lang a:hover,  .rootline a:hover {color:rgb(42,90,138); text-decoration:underline;}
.lang a:visited,  .rootline a:visited {color:rgb(42,90,138);}

table.contenttable .tr-0 td {height:3.5em; padding:0 7px 0 7px; empty-cells:show; background-color:rgb(175,175,175); text-align:left; color:rgb(255,255,255); font-weight:bold; font-size:110%;}

/*##### CSS Flyoutmenu #####*/

#nav, #nav ul {
	float: left;
	white-space:nowrap;
	width:900px;
	background-color:#ffff99;
	color:rgb(100,100,100);
	font-size: 12px;
	list-style-type:none;
	padding:0; 
	margin:0;
}
 
#nav a {
	display: block;
	width: 10em;
	height:2.1em;
	line-height:2.1em;
	/*padding:0 16px 0 16px;*/
	text-align: center;
	text-decoration:none;
	font-weight:bold;
	font-family:"Georgia";
	color: #000000;
}

#nav a:hover {
	background-color:#ffcc66;
}
 
#nav a.menuparent  {
	background: url(../img/bg_bullet_arrow.gif) no-repeat 90% 40%;
}

 
#nav li {
	float:left;
	z-index:auto !important;
	z-index:1000;
	padding: 0;
	width: 12.5em;
}
 
#nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 20em;
	font-weight: normal;
	border-left: solid 0px rgb(175,175,175);
	margin: 0;
}
 
#nav li li {
	width: 10em;
}
 
#nav li ul a {
	width: 10em;
	/*padding-left: 1em;*/
	border-bottom: solid 0px rgb(175,175,175);
	white-space:normal;
	height:2em;
	line-height:2em;
	/*margin-left:-1px;
	padding-top:4px;
	padding-right:16px;
	padding-bottom: 4px;*/
	background-color:#CCFF66;
	font-weight:normal;
	color: #000000;
}
 
#nav li ul ul {
	margin: -2.1em 0 0 14em;
}
 
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}
 
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
min-height:0; 
}
 
#navli:hover, #nav li.sfhover {
	background-color:#ffff99;
	text-decoration:none;
}

.spacer-gif {	
	border:0px important;
}

h1{
	font-family:"Georgia";
	text-align:left;
	font-size:150%;
}

h1.header{
	color:#202020;
	font-family:"Georgia";
	text-transform:uppercase;
	font-size:150%;
}

h4{
	font-family:"Georgia";
	text-align:left;
	color:#000000;
}

p{
	font-family:"Verdana";
	text-align:left;
	line-height:135%;
	font-size: 90%;
}

.subcontent-unit-noborder p {
	text-align: center;
	font-style: italic;
	font-size: smaller;
	text-indent: 0;
}
