html,body{
	width:100%;
	height:100%;
	overflow:hidden;
	border:0;
	margin:0;
	padding:0;
	font:12px/20px "Trebuchet MS","Trebuchet","Tahoma","Helvetica","Arial",sans-serif;
	color:#616161;
}
html {
	background:url('../images/bodybg.png') repeat-x #8d8d8d;
	}
a {
	color:#881d25;
	text-decoration:underline;
	}
a:hover {
	text-decoration:none;
	}
img {
	border:0;
	}

/*For making the background size*/
.scaler{position:absolute;width:200%;height:200%;top:-50%;left:-50%;display:table; z-index: -1;}
.scaler div{position:absolute;left:0;top:50%;width:100%}
.scaler > div{display:table-cell;vertical-align:middle;height:100%;position:static;top:0}
.scaler img{margin:0 auto;display:block;min-height:50%;min-width:50%;-ms-interpolation-mode:bicubic}
*:first-child+html .scaler img{position:relative;top:-50%} /*Fix IE7*/
*:first-child+html .scaler div{position:absolute;top:50%;height:auto} /*Fix IE7*/
* html .scaler img{height:50%;position:relative;top:-50%} /*Fix IE6*/

.gridwrap {
	width:960px;
	padding:0px;
	margin:0 auto;
	position:relative;
	}
#wrapper {
	width:100%;;
	height:100%;
	overflow:auto;
	position:absolute;
	top:0px;
	left:0px;
	z-index: 3;
	}
.inner {
	margin-bottom:-40px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	
	}
#footer, .push {
	height: 40px;
	clear:both;
}

p {
	margin:0px;
	padding-bottom:1em;
	}

div.intro {
	font-size:14px;
	line-height:22px;
	font-style:italic;
	}
.clr {
	clear:both;
	height:0px;
	}

/* header */

div#header {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	background:url('../images/head-bg.png') repeat-x;
	height:104px;
	}
#logo a {
	width:126px;
	height:71px;
	text-indent:-3000px;
	display:block;
	position:absolute;
	top:0px;
	left:0px;
	background:url('../images/logo.png');
	outline:0 none;
	}

ul#nav {
	float:right;
	list-style:none;
	margin:0px;
	padding:0px 80px 0px 0px;
	height:74px;
	background:url('../images/topnav-shadow.png') no-repeat top right;
	font-size:13px;
	}
#nav li {
	display:block;
	float:left;
	width:160px;
	height:74px;
	margin:0 -15px 0 0;
	padding:0 0 0 0px;
	background:url('../images/topnav-shadow.png') no-repeat top left;
	}
#nav li a {
	display:block;
	height:14px;
	line-height:14px;
	padding:30px 5px 30px 72px;
	text-align:left;
	color:#646464;
	text-transform:uppercase;
	text-decoration:none;
	width:83px;
	font-weight:bold;	
	}	
#nav li a:hover, #nav li.active a {
	color:#881d25;
	background:url('../images/topnav-active-a.png') no-repeat 5px 0px;
	}

ul#subnav {
	display:block;
	margin:0px 74px 0 0;
	padding:0px 50px 0 0;
	height:30px;
	float:right;
	clear:both;
	list-style:none;
	background:url('../images/subnav-bg.png') no-repeat top right;
	font-size:12px;
	}
#subnav li {
	display:block;
	float:left;
	background:url('../images/subnav-bg.png') no-repeat top left;
	height:30px;
	width:160px;
	margin-right:-15px;
	text-align:center;
	}	
#subnav li a {
	display:block;
	float:left;
	text-align:left;
	padding-left:60px;
	width:105px;
	color:#646464;
	text-decoration:none;
	height:22px;
	padding-top:8px;
	}
#subnav li a:hover, #subnav li.active a {
	color:#881d25;
	text-decoration:underline;
	background:url('../images/topnav-active-a.png') no-repeat -25px 0px;
	}
	
/* Content */

#content {
	padding-top:125px;
	}


h1, h2 {
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-weight:lighter;
	margin:0px;
	color:#373737;
	font-size:28px;
	line-height:30px;
	}
h1 {	
	padding:23px 0px;
	}
h2 {
	padding:16px 0px;
	}
	
#content.frontpage {
	background:url('../images/fpbox.png') no-repeat bottom left;
	position:relative;
	padding:210px 425px 15px 15px;
	width:520px;
	height:162px;
	margin:0px auto;
	}
#content.frontpage h1 {
	padding-left:165px;
	color:#881d25;
	}
#content.frontpage span {
	display:block;
	line-height:23px;
	height:23px;
	}	
#content.frontpage span.line1 {
	padding-left:125px;
	}
#content.frontpage span.line2 {
	padding-left:97px;
	}
#content.frontpage span.line3 {
	padding-left:69px;
	}
	
#contact, #article {
	width:580px;
	margin:0px auto;
	background:#fff;
	padding:10px;
}
.article {
	padding:0px 30px;
	background:url('../images/contact-bg.png') repeat-x;
	}
.article h1 {
	color:#373737;
	}
.article h3 {
	color:#881d25;
	font-size:12px;
	font-weight:bold;
	margin:0px;
	padding:12px 0 0 0;
	}
	
#contact {
	font-size:14px;
	line-height:22px;
	}
#contact #map {
	height:240px;
	padding-bottom:10px;
	}
#contact #contact-info {
	background:url('../images/contact-bg.png') repeat-x;
	padding:0px 30px;
	}	
#contact #contact-info h1 {
	color:#373737;
	}
#contact #contact-info p {
	margin:0px;
	padding:0px;
	width:190px;
	float:left;
	}
#contact #contact-info a {
	color:#656565;
	}
#contact #contacts {
	padding-top:20px;
	width:100%;
	clear:both;
	}
#contact #contacts tr {
	background:url('../images/contact-person-bg.png') repeat-x;
	}
#contact #contacts td {
	line-height:35px;
	height:35px;
	text-align:center;
	}
#contact #contacts td.name {
	padding-left:30px;
	text-align:left;
	}
#contact #contacts td.name a {
	color:#881d25;
	text-decoration:none;
	}
#contact #contacts td.mail {
	padding-right:30px;
	text-align:right;
	}	


/* Boxes */
#boxes {
	text-align:center;
	word-spacing:-1em;
	}

#boxes .box {
	width:293px;
	min-height:385px;
	padding:10px 10px 35px 10px;
	text-align:left;
	margin-left:10px;
	background:#fff;
	word-spacing:normal;
	
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	
	}
#boxes .box:first-child, #boxes .box.first {
	margin-left:0px;
	}
#boxes .box .image {
	width:293px;
	height:190px;
	padding-bottom:10px;
	overflow:hidden;
	}
#boxes .box .image img {
	display:block;
	}
#boxes .box h2 {
	padding-bottom:8px;
	}
#boxes .box .text {
	padding:0px 20px;
	background:url('../images/contact-bg.png') repeat-x;
	}
#boxes .box .text p {
	padding:0;
	line-height:19px;
	}
#boxes .box a.more {
	position:absolute;
	bottom:10px;
	display:block;
	padding:0px 20px;
	border-top:1px solid #881d25;
	background:url('../images/contact-person-bg.png') repeat-x;
	height:24px;
	line-height:24px;
	font-size:11px;
	width:253px;
	margin-top:10px;
	text-decoration:none;
	}


#boxes .box .reflinks {
	list-style:none;
	margin:0px;
	padding:10px 0 0 0;
	}
#boxes .box .reflinks li {
	list-style:none;
	margin:0;
	padding:0;
	}
#boxes .box .reflinks a {
	display:block;
	padding:0px 20px;
	height:26px;
	line-height:26px;
	text-decoration:none;
	background:url('../images/gradient-link.png') repeat-x;
	}
#boxes .box .reflinks a span {
	color:#707070;
	}
#boxes .box .reflinks a:hover, #boxes .box a.more:hover {
	background-image:url('../images/gradient-active.png');
	}

/* Big box */
#boxes #refs.box {
	width:330px;
	height:190px;
	min-height:190px;
	padding:10px 10px 270px 620px;
	position:relative;
	display:block;
	}	
#boxes #refs.box #info {
	background:url('../images/contact-bg.png') repeat-x;
	width:290px;
	height:190px;
	padding:0px 20px;
	}
#boxes #refs.box #pictures {
	position:absolute;
	top:10px;
	left:10px;
	width:600px;
	height:450px;
	overflow:hidden;
	}
#boxes #refs.box .reflinks {
	width:330px;
	position:absolute;
	bottom:35px;
	right:10px;
	}
#boxes #refs.box .pagination {
	width:330px;
	position:absolute;
	bottom:10px;
	right:10px;
	height:24px;
	border-top:1px solid #881d25;
	background:url('../images/contact-person-bg.png') repeat-x;	
	}
#boxes #refs.box .pagination td {
	padding:0px 20px;
	}
#boxes #refs.box .pagination td.prev {
	text-align:left;
	}
#boxes #refs.box .pagination td.pages {
	text-align:center;
	}
#boxes #refs.box .pagination td.next {
	text-align:right;
	}
#boxes #refs.box .pagination a {
	color:#707070;
	text-decoration:none;
	line-height:24px;
	height:24px;
	}
#boxes #refs.box .pagination a:hover {
	text-decoration:underline;
	}
#boxes #refs.box #info em {
	font-style:normal;
	padding-right:5px;
	}
#boxes #refs.box #info strong {
	font-weight:normal;
	color:#881d25;
	padding-right:20px;
	}
#boxes #refs.box #info h1 {
	padding:18px 0;
	}
#boxes #refs.box #next-pic, #boxes #refs.box #prev-pic {
	position:absolute;
	top:10px;
	height:450px;
	display:block;
	width:26px;
	left:10px;
	z-index: 10;
	}
#boxes #refs.box #next-pic {
	left:584px;
	}
#boxes #refs.box #next-pic:hover, #boxes #refs.box #prev-pic:hover {
	background:url('../images/black35.png');
	}
#boxes #refs.box #next-pic span, #boxes #refs.box #prev-pic span {
	display:block;
	width:26px;
	height:450px;
	text-indent:-3000px;
	background-position:center center;
	background-repeat:no-repeat;
	}
#boxes #refs.box #next-pic span {
	background-image:url('../images/next.png');
	}
#boxes #refs.box #prev-pic span {
	background-image:url('../images/prev.png');
	}

/* Våre eiendommer */
.eiendommer {
	width:950px;
	padding:10px 0 10px 10px;
	background:#fff;
	}	
.eiendommer h1 {
	padding-left:20px;
	margin-right:10px;
	margin-bottom:10px;
	background:url('../images/gradient-med.png') repeat-x;
	}	
.eiendom {
	width:425px;
	margin-right:10px;
	padding:10px 20px;
	background:url('../images/gradient-med.png') repeat-x;
	height:100px;
	float:left;
	
	}
.eiendom .image {
	width:140px;
	height:100px;
	float:left;
	margin-right:20px;
	}
.eiendom h3 {
	font-weight:normal;
	font-size:12px;
	color:#881d25;
	line-height:20px;
	margin:0px;
	padding:0px;
	}
.eiendom span {
	display:block;
	}
	
/* Footer */

#footer {
	width:985px;
	height:25px;
	padding-top:15px;
	background:url('../images/footerbg.png');
	margin:0 auto;
	bottom:0px;
	font:10px/25px Arial,Helvetica,sans-serif;
	color:#656565;
	position:relative;
	}
#footer #name {
	font-weight:bold;
	text-transform:uppercase;
	padding:0px 40px 0 30px;
	}
#footer #credits {
	display:block;
	position:absolute;
	right:0px;
	top:0px;
	text-align:right;
	width:188px;
	padding-right:26px;
	}
#footer a {
	color:#656565;
	font-weight:bold;
	text-decoration:none;
	}
	

		/*Supersize Plugin Styles*/
		#navigation{
			background: url('../images/navbg.gif') no-repeat;
			float: right;
			margin:22px 20px 0 0;
		}
		#loading {
			position: absolute;
			top: 49.5%; 
			left: 49.5%;
			z-index: 3;
			width: 24px; 
			height: 24px;
			text-indent: -999em;
			background-image: url(../images/progress.gif);
		}
		#supersize{
			position:fixed;
		}
		#supersize img, #supersize a{
			height:100%;
			width:100%;
			position:absolute;
			z-index: 0;
		}
		#supersize .prevslide, #supersize .prevslide img{
			z-index: 1;
		}
		#supersize .activeslide, #supersize .activeslide img{
			z-index: 2;
		}