/*
Kunde: Ungdommens Hus Gjøvik
© 2006 Potetgutta - www.potetgutta.no
Dokumentet er laget med enerett for www.uhus.no
*/

/*----------Attributter for dokumentet----------*/

body {
	background:url(../images/bg.gif);
	margin:0px;
	padding: 0px;
	width:100%;
	height:100%;
	behavior:url("stylesheet/csshover.htc");
	font-family: Tahoma, Verdana, Arial;
	font-size: 11px;
	font-weight:normal;
	color: #3f3f3f;
}

/*----------Layout-DIV'er----------*/


#bilde {
	position:absolute;
	top:80px;
	left:199px;
	width:635px;
	height:188px;
	z-index:1;
	background-image:url(../images/toppbilder.gif);
}

#aapningstider {
	position:absolute;
	top:366px;
	left:646px;
	width:244px;
	height:183px;
	z-index:1;
	background-image:url(../images/aapning.gif);
}

a#gjestebok {
	position:absolute;
	top:559px;
	left:646px;
	width:188px;
	height:38px;
	z-index:1;
	background-image:url(../images/gb.gif);
	display:block;
}


#adresse {
	position:absolute;
	top:27px;
	left:627px;
	width:207px;
	height:25px;
	z-index:2;
	background-image:url(../images/adresse.gif);
}

#wrap {
	top:366px;
	left:199px;
	z-index:2;
	height:auto;
	width:436px;
	padding-bottom:40px;
	position:absolute;
}

#footer {
	float:left;
	height:17px;
	margin:0px;
	width:242px;
	background:url(../images/copyleft.gif);
}

#sponsorar {
	float:left;
	height:49px;
	margin:0px;
	width:480px;
	background:url(../images/sponsorar.gif);
}

#tekstfelt {
	float:left;
	padding:30px;
	width:376px;
	height:auto;
	background:#ffffff;
}

.teaserwrap {
	width:350px;
	padding:13px;
	margin-top:13px;
	background:url(../images/bgkort.jpg);
	float:left;
	min-height:55px;
}

.teaserwrap:hover {
	background:url(../images/bgkort.jpg) -376px 0px;
	text-decoration:none;
}

.teaserwrap img {
	float:left;
	margin-right:13px;
	border-right:3px solid #fff;
}

.teaserwrap p {
	margin:0;
	padding:0;
}

.teaserheader {
	font-family:Arial, Verdana, Arial;
	font-size:16px;
	line-height:18px;
	color:#db0b05;
	font-weight:bold;
	text-align:left;
	text-decoration:none;
	display:block;
	margin-top:0px;
	margin-bottom:6px;
} 


a#sistenytt {
	position: absolute;
	top:279px;
	left:0px;
	width:188px;
	height:76px;
	background-image:url(../images/sistenytt.gif);
}


#sistewrap {
	position: absolute;
	top:366px;
	left:0px;
	width:188px;
	height:auto;
}


/*----------Tekststiler----------*/

p {
	font-family: Tahoma, Verdana, Arial;
	font-size: 11px;
	font-weight:normal;
	color: #3f3f3f;
	line-height:18px;
	text-align:left;
	text-decoration: none;
	display:block;
	margin-bottom:0px;
} 

td {
	font-family: Tahoma, Verdana, Arial;
	font-size: 11px;
	font-weight:normal;
	color: #3f3f3f;
	line-height:18px;
	text-align:left;
	text-decoration: none;
}

.dato {
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 10px;
	font-weight:normal;
	text-transform:uppercase;
	text-align:left;
	color: #67ddeb;
	display:block;
	margin-top:0px;
	margin-bottom:7px;
}

.ulf {
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 10px;
	font-weight:normal;
	text-transform:uppercase;
	text-align:left;
	color: #3f3f3f;
	display:block;
	margin-top:0px;
	margin-bottom:7px;
}


.skjult {
	display: none;
	visibility: hidden;
}

a.siste {
	float:left;
	width:156px;
	padding:16px;
	padding-top:13px;
	padding-bottom:11px;
	height:auto;
	margin-top:0px;
	margin-bottom:11px;
	background-color: #9ee2ea;
	font-family:  Tahoma, Helvetica, sans-serif;
	font-size: 10px;
	font-weight:normal;
	color: #3f3f3f;
	line-height:13px;
	text-align:right;
	text-transform:uppercase;
}

.sistedato {
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 10px;
	line-height:13px;
	font-weight:bold;
	text-align:right;
	color: #ffffff;
	display:inline;
	margin:0px;
}

a.siste:hover {
	background-color: #baeaf0;
	font-family:  Tahoma, Helvetica, sans-serif;
	color: #3f3f3f;
	text-decoration:none;
}


.arkivdato {
	font-family:Tahoma, Verdana, Arial;
	font-size:10px;
	line-height:10px;
	color:#67ddeb;
	font-weight:normal;
	text-align:left;
	text-decoration: none;
	display:inline;
} 

.arkiv {
	font-family:Tahoma, Verdana, Arial;
	font-size:10px;
	line-height:10px;
	color:#db0b05;
	font-weight:bold;
	text-align:left;
	text-transform:uppercase;
	text-decoration: none;
	width:356px;
	display:block;
	float:left;
	margin-bottom:-1px;
	padding:10px;
	border-top:1px #67ddeb dashed;
	border-bottom:1px #67ddeb dashed;
} 

.arkiv:hover {
	color:#db0b05;
	font-weight:bold;
	text-align:left;
	text-decoration: none;
	border-top:1px #67ddeb dashed;
	border-bottom:1px #67ddeb dashed;
	background:#f1fbfc;
}




/*----------Attributter for bilder----------*/

img {
	border:0px;
}

.saksbilde {
	float:right;
	margin-left:22px;
	margin-bottom:20px;
}

.galleriwrap {
	padding:0;
	margin:0;
	display:block;
	width:376px;
	height:auto;
	float:left;
	margin-bottom:23px;
}

.galleri1 {
	float:left;
	margin-right:23px;

}

.galleri2 {
	float:left;

}


/*----------Overskrifter----------*/

h1 {
	position:absolute;
	top:80px;
	left:0px;
	margin:0px;
	background: url(../images/logo.gif) no-repeat;
	height:188px;
	width:188px;
	z-index:2;
}

h1 a {
	display:block;
	height:188px;
	width:188px;
}
	
h2 {
	font-family:  sans-serif, Arial, Helvetica, Verdana, Tahoma;
	font-weight:bold;
	font-size:20px;
	line-height:24px;
	display:block;
	margin-bottom:30px;
	margin:0;
	text-transform:uppercase;
	color:#db0b05;
}


/* HERE IS THE WHOLE THING */

#rollovermenu{
	position:absolute;
	top:279px;
	left:199px;
	width:700px;
	z-index:3;
}

#rollovermenu, #rollovermenu ul { /* all lists */
	list-style: none;
	padding:0;
	margin:0px;
}

#rollovermenu ul{
	margin-top:87px;
}

#rollovermenu li, #rollovermenu ul li { /* all list items */
	position:relative;
	float:left;
	display:block;
}

li a.submenyvalg {
	font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#ffffff;
	font-weight:normal;
	text-decoration:none;
	line-height:11px;
	margin:0;
	background:#db0b05;
	padding:8px 12px 8px 1px;
	float:left;
	text-align:right;
	width:105px;
	cursor:pointer;
}

li a.submenyvalg:hover {
	color:#ffffff;
	font-weight:normal;
	text-decoration:none;
	background:#3f3f3f;
}

#rollovermenu li ul { /* second-level lists */
	position: absolute;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#rollovermenu li:hover ul, #rollovermenu li.sfhover ul { /* lists nested under hovered list items */
	left:0px;
	top:0px;
}

li#nyheter {
	margin-right:11px;
	height:87px;
	width:118px;
	background:url(../images/nyheter.gif) no-repeat;
}

li#nyheter:hover {
	background:#db0b05 url(../images/nyheter_mo.gif) no-repeat;
	height:87px;
	width:118px;
}

.nyheteraktiv {
	background:url(../images/nyheter_mo.gif);
	height:76px;
	width:118px;
	display:block;
}

li#omuhus {
	margin-right:11px;
	height:87px;
	width:118px;
	background:url(../images/omuhus.gif) no-repeat;
}

li#omuhus:hover {
	background:#db0b05 url(../images/omuhus_mo.gif) no-repeat;
	height:87px;
	width:118px;
}

li#hvaskjer {
	margin-right:11px;
	height:87px;
	width:118px;
	background:url(../images/hvaskjer.gif) no-repeat;
}

li#hvaskjer:hover {
	background:#db0b05 url(../images/hvaskjer_mo.gif) no-repeat;
	height:87px;
	width:118px;
}

li#bilder {
	margin-right:11px;
	height:87px;
	width:118px;
	background:url(../images/bilder.gif) no-repeat;
}

li#bilder:hover {
	background:#db0b05 url(../images/bilder_mo.gif) no-repeat;
	height:87px;
	width:118px;
}


li#kontakt {
	margin-right:11px;
	height:87px;
	width:118px;
	background:url(../images/kontakt.gif) no-repeat;
}

li#kontakt:hover {
	background:#db0b05 url(../images/kontakt_mo.gif) no-repeat;
	height:87px;
	width:118px;
}


/*----------Linker i dokumentet----------*/

a { 
	text-decoration: none; 
	COLOR: #db0b05;
}

a:hover { 
	COLOR: #db0b05;
	text-decoration:underline;
}

/* Lightbox JS */



#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: normal; color:#333333;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 100%;
	background-color: #000;
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	