html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } 
table { border-collapse: collapse; border-spacing: 0; }


/* page setup */


body {
	background:#fff url('/template/skjaakportalen/images/background_body.jpg') repeat-x top;
	color:#666;
	font: 70%/1.3 TrebuchetMS,Arial,sans-serif;
}

#header {
	background:url('/template/skjaakportalen/images/header_background.jpg') no-repeat top right;
	height: 171px;
	margin:0 auto;
	position:relative;
	width:900px;
}
#header:after {
	clear:both;
	content:'.';
	display:block;
	height:0;
	visibility:hidden;
}

#header h1 {
	font-size: 60px;
	font-family: serif;
}

#header #headercontent {
	
	position:absolute;
	bottom:0px;
	width: 100%;
}

#header #headercontent a img {
	position: absolute;
	bottom: 30px;
}

#headercontent ul, #headercontent ul li{
	list-style-type:none;
	margin:0;
	padding:0;
	float:right;
}

#headercontent ul li {
	float:left;
	margin-left: 3px;
	display:inline;
	text-align: center
}
#headercontent ul a{
	float:left;
	width: 95px;
	padding: 5px 0;
	background: #E7F1F8;
	text-decoration:none;
	color: #666; 
	border-top : 1px solid #fff; 
	border-left : 1px solid #fff; 
	border-right : 1px solid #fff;
	text-align: center
}
#headercontent ul a:hover, 
#headercontent ul #selected {
	background: #fff;
	color: #000
}
#headercontent ul li.activelink a, #headercontent ul li.activelink a:hover{
	background: #FFF;
	color: #003
}

#content {
	height:auto;
	margin:0 auto;
	width:900px;

    	padding: 15px;
}
#content:after {
	clear:both;
	content:'.';
	display:block;
	height:0;
	visibility:hidden;
} 

#main {
	float:left;
	width:600px;
	background: #eee;
	padding: 10px;
	margin: 10px;
	margin-left: 0;
	margin-top: 5px;
	margin-bottom: 5px;
}

#main .field {
	width: 600px;
	padding: 0;
	margin: 0;
	float: left;
	clear: left;
        border: 0;
	margin-bottom: 10px;
	background: #cfcfcf url('/template/skjaakportalen/images/fieldbottomright.png') no-repeat bottom right;
}

#main .field .field2 {
	float: left;
	width: 580px;
	padding: 10px;
	margin-bottom: 0px;
	background: url('/template/skjaakportalen/images/fieldtopleft.png') no-repeat top left;
}

#main .half {
	width: 285px;
	background: #eeeedd;
	padding: 5px;
	border: 1px solid #fff; 
}

#main .halfright {
	float: right;
	background: #cfcfcf;
	border: 1px solid #fff; 
}

#navcontainer {
	float: right;
}

#navlist li {
	display: inline;
	padding: 0;
	margin: 0;
}

#sidebar {
	float:left;
	width:270px;
}

#sidebar .element {
	background : #FFF6BF;
	padding: 10px;
	margin: 10px;
	margin-top: 5px;
	margin-bottom: 20px;
	margin-right: 0;
}

#sidebar .element .elementObject {
	padding-bottom: 3px;
	clear: right;
}

#sidebar .element .elementRight {
	width: 120px;
	float: right;
	text-align: right;
	clear: left;
}



#footer {
	margin: auto;
	width:900px;

}

#footercontent {
	background: #bbd9ee;
	padding: 5px;
	width:890px;
	float: left;
	margin-bottom: 20px;
	font-size: 1.0em;
	color: #000;
}

#footercontent b {
        color: #666;
}


/* HTML */

hr {

	border-width: 0.05em;
	border-color: #666;
	border-style: dotted;
}

h1 { 
	font: bold 2.0em Arial, Arial, Sans-Serif;  
	padding-bottom: 10px;
}
h2 { 
	font: bold 1.6em Arial, Arial, Sans-Serif; padding: 0; margin: 0; 
        padding-top: 10px;
        padding-bottom: 10px;
}

p {
	margin-bottom: 5px;
}

#sidebar a, #sidebar a:link, #sidebar a:visited{
	color: #74a8f5;
}

#sidebar a:active, #sidebar a:hover{
	color: #fb9622;
}

#sidebar h2 {
        padding: 0;
}

#main a, #main a:link, #main a:visited{
	color: #039;
	text-decoration: none;
}

#main a:active, #main a:hover{
	color: #0000ff;
	text-decoration: underline;
}






/* Modulethings */

div.postDetailsBox {
   width: 100%;
   background: #ebebeb;
   padding: 5px;
   margin: -5px;
   font-size: 9px;
   line-height: normal; 
}

/* Module: news */

div.newsbox {
   float: left;
   width: 49%;
   border-style: solid;
   border-color: #eee;
   border-width: 1px;
   padding: 5px;
}

.newspost {
   padding-bottom: 15px;
   padding-top: 15px;
}


#main .newspost .newshead a {
   font-size: 18px;
   text-decoration: none;
   font-weight: bold;
   color: #666;
}

.newspost .infoline {
   border-style: solid;
   border-color: #ccc;
   border-width: 1px 0 1px 0;
   padding-top: 1px;
   padding-bottom: 1px;
   margin-bottom: 5px;
   font-size: 11px;
}

.newspost .toolbar {
   float: right;
   background: #E0E0E0;
   border: 1px solid #ccc;
   padding: 3px;
   padding-bottom: 0;
}

/* Module: admin */

.menuitem {
   float: left;
   width: 47%;
   margin: 0 15px 15px 0;
   padding: 0;
}

.menubox {
   float: left;
   width: 100%;
}


/* Module: guestbook */

.guestbookpost {
   margin-top: 10px;
   padding-bottom: 15px;
   border-style: solid;
   border-color: #eee;
   border-width: 1px 0 0 0;
}


/* Module: blog */

.blog {
   margin-bottom: 20px;
   padding: 5px;
   border-style: solid;
   border-color: #555;
   border-width: 1px;
   background: #fafafa;
}

.blog h2 {
   margin-top: 2px;
}

.blog .title {
   font-size: 14px;
   font-weight: bold;
}

.blog .title small {
   font-weight: normal;
   border-width: 0;
}

.blog .user {
   float: right;
}

.blog p {
   margin: 2px;
}

.blogpost {
   border-style: solid;
   border-color: #eee;
   border-width: 1px;
   padding: 5px;
   margin-bottom: 15px;
}

.blogpost h3 {
   font-size: 15px;
   margin: 0;
}

/* Module: comment */

div.comment {
   margin-bottom: 20px;
}

img.commentProfilPic {
	float: left;
	background: #fafafa;
	padding: 2px;
	border-style: solid;
	border-color: #ccc;
	border-width: 1px;
}

div.commentInfoline {
	margin-left: 72px;
	background:url(/template/skjaakportalen/images/commentUp.png) left bottom no-repeat;
	padding-bottom:10px;
}

div.commentContent {
	font-size: 9px;
	padding: 5px;
	margin-left: 72px;
	background:  #fafafa;
	min-height: 30px;
}


/* Module: gallery */

div.galleryContainer {
   float: left;
   width: 100%;
}

div.gallery {
   float: left;
   width: 47%;
   margin: 0 10px 10px 0;
   border-style: solid;
   border-color: #555;
   border-width: 1px;
   background: #fafafa;
   padding: 2px;
}

div.galleryImage {
   float: left;
   width: 23%;
   margin: 0 10px 10px 0;
   text-align: center;
}

div.galleryImage img {
   border-style: solid;
   border-color: #555;
   border-width: 1px;
}

/* Module: RSS */

.feedhead {
	font-size: 14px;
	font-weight: bold;
	color: #CCC;
}

/* Module: Yr */

.vaer {
	width: 100%;
	height: 70px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.vaerelement {
	float: left;
	text-align: center;
	width: 60px;
}

.yr-float {
	float: left;
}
.yr-element {
	float: left;
 	width: 100%;
}

.yr-temperature {
 	margin-left: 15px;
 	margin-top: 7px;
 	font-size: 15px;
 	font-weight: bold;
 	width: 7%;
}

.yr-time {
 	width: 8%;
 	margin-left: 15px;
 	margin-top: 10px;
}

.yr-rain {
 	width: 15%;
 	margin-left: 15px;
 	margin-top: 10px;
}

.yr-wind {
 	width: 20%;
 	margin-left: 15px;
 	margin-top: 10px;
}

.yr-pressure {
 	width: 15%;
 	margin-left: 15px;
 	margin-top: 10px;
}

.yr-text {
 	width: 10%;
 	margin-left: 15px;
 	margin-top: 10px;
}


/* module: webcam */

.webcamPreview {
	float: left;
	width: 193px;
	text-align: center;
}
.webcamPreview img {
	width: 185px;
	border: 1px solid #666;
}

.webcamFull img {
	float: left;
	width: 580px;
	text-align: center;
}

ul.webcamMenu {
	display: block;
	width: 100%;
	list-style-type:none;
	margin:0;
	padding:0;
	padding-bottom: 27px;
	background: #cfcfcf;
	border-bottom: 1px solid #666;
	clear: both;
}

ul.webcamMenu li {
	height: 16px;
	width: 80px;
	list-style-type:none;
	float:left;
	padding: 5px;
	text-align: center;
	

}

ul.webcamMenu a:hover {
	color: #fff;
}

ul.webcamMenu li.active {
	font-weight: bold;
	background: #eee;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	border-top: 1px solid #666;
	border-bottom: 1px solid #eee;
}

div.webcamLastImages {
	float: left;
	width: 100%;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
}

div.webcamLastImages .hidden {
	display: none;
}

div.webcamLastImages .active {
	display: block;
}

div.webcamGalleryPreview {
	float: left;
	padding: 5px;
	text-align: center;
}
div.webcamGalleryPreview img {
	width: 110px;
}


/* Module: poll */

div.poll {

}

div.poll .pollresult {
  width: 100%;
}

div.poll .pollresult .pollbarholder {
  width: 90%;
  float: left;
}

div.poll .pollresult .pollbarholder span {
  heigth: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  background: #eee;
}

div.poll .pollresult .pollpercentholder {
  width: 10%;
  float: left;
}

div.poll .numVotes span {
  font-weight: bold;
}

div.pollinfo {
	width: 100%;
}

div.pollinfo .title {
	font-size: 16px;
	font-weight: bold;
	width: 100%;
}


.button {
  background: #E0E0E0;
  border: 1px solid #666;
  margin-right: 2px;
  padding: 2px;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  font-weight: normal;
  font-size: 10px;
}

a.button:hover {
  background: #eee;
  border: 1px solid #ccc;
  text-decoration: none;
}


.admain iframe {
	margin: 10px;
	margin-left: 56px;
	width: 468px;
}

.adsidebar iframe {
	margin: 10px;
	margin-left: 20px;
}

/* CSS for visuelt skjult meny */
a.focusOnly {
	width: 100%;
	float: left;
	position: absolute;
	top: -999em;
	left: -999em;
}
a.focusOnly:active,
a.focusOnly:focus {
	top: 0.1em;
	left: 0.1em;
}
