html
{
	background: #c3dbff url(/images/background.png) repeat fixed 0px 0px;
}

body
{
	font-family: Candara, Corbel, "Segoe UI", Trebuchet, "Trebuchet MS", "Gill Sans MT", Verdana, "Verdana Ref", Arial, sans-serif;
	font-size: 1em;
	color: #062866;
	
	width: 628px;
	margin: 1em auto;
}

.right { text-align: right; }

/* Header ***********************************************/

#header
{
	width: 550px;
	margin: 0 auto;
}

#header h1
{
	margin: 0 0 -20px 0;
	font-size: 2em;
}

#header h2
{
	float: left;
	margin: -105px 0 0 300px;
	
	font-size: 1.4em;
	font-weight: bold;
}

#header form
{
	display: none;
	float: right;
	
	margin-top: -68px;
	
	border: 1px solid #69c;
	border-bottom-color: #369;
	border-top-color: #9cf;
	padding: 1em;
	
	background: #8bf;
	background-image: -webkit-gradient(linear, 0% 20%, 0% 100%, from(#BDDAFF), to(#6699FF));
	background-image: -moz-linear-gradient(0% 100% 90deg, #6699FF, #BDDAFF);
	
	width: 270px;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#header form .img
{
	margin: -32px 0 0 0;
	float: right;
}

#header form input.input-text, #header form label.inlined
{
	margin-right: 24px;
}

.showonload { display: none; }

/* Forms ************************************************/

input.input-text, textarea, input.input-submit, .input-label-wrapper
{
	background-color: white;
	display: block;
	border: 1px solid #369;
	padding: 3px;
	margin: 0px 0;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

input.input-text, .input-label-wrapper { width: 14em; }
input.input-submit { width: auto; background: #eee; }
textarea { width: 90%; }

.input-label-wrapper { margin: 3px 0; }
.input-label-wrapper input.input-text { border: none; margin: 0; padding: 0 3px; outline: none;}

.invisible { display: none; }

.invalid, input.invalid { border-color: red; }

label.inlined + input.input-text
{
	margin-top: -23px;
	background-color: transparent;
	position: relative; z-index: 2;
}


label.inlined
{
	display: block;
	padding-left: 6px;
	margin-top: .5em;
	font: normal 12px/18px;
	position: relative; z-index: 1;
	opacity: 0.75;
	-webkit-transition: opacity 0.15s linear;
}

.input-label-wrapper label.inlined { margin: .1em 0 .2em; }

label.focus
{
	opacity: 0.35;
}

label.has-text
{
	opacity: 0.0;
	-webkit-transition-duration: 0s;
}

/* Navigation *******************************************/

ul#nav
{
	margin: 1em 0 0 22px;
	
	position: relative;
	z-index: 2;
}

ul#nav li
{
	list-style-type: none;

	float: left;
	padding: 0;
	margin: 0;
}

ul#nav li a
{
	display: block;
	padding: .2em 1.2em .3em 1em;
	text-decoration: none;
	color: white;
	
	height: 22px;
	
	background: #062866;
	
	border-top: 2px solid #062866;
	-moz-border-radius: 2px 2px 0 0;
	-webkit-border-radius: 2px 2px 0 0;
	border-radius: 2px 2px 0 0;
}

ul#nav li a img
{
	border: none;
	vertical-align: bottom;
	
	margin-right: .1em;
}

ul#nav li.selected a, ul#nav li.selected a:hover
{
	background: white;
	color: #062866;
	
	margin-top: -2px;
	border-top: 4px solid #062866;
	
	border-bottom: 1px solid white;
	margin-bottom: -1px;
}

ul#nav li a:hover
{
	background: #0c50cd;
	border-top-color: #0c50cd;
}

ul#nav li a:focus { outline: none; }

/* Links ************************************************/

a { text-decoration: underline; color: black; }
a:visited { color: black; }
a:hover { color: #556688; }

/* Content **********************************************/

#content { position: relative; width: 100%; }

.scroll {
	height: 24em;
	overflow: auto;
	position: relative;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	border: 1px solid #062866;
	
	clear: left;
	background: white;
	
	z-index: 1;
}

.scrollContainer div.scrollPanel {
	padding: 25px;
	min-height: 20.8em;
	width: 558px;
}

#tjenester ul { margin: .1em 200px .5em 2px; padding: 0 0 0 0; }
#tjenester ul ul { margin: .2em 0 0 0; }
#tjenester ul li { list-style-type: none; margin: 0; padding: 0 0 .2em 17px; border-left: 2px solid #062866; color: #062866; }
#tjenester ul li ul li { list-style-type: none; margin-left: -15px; padding-left: 26px; padding-bottom: 0; border-left: 2px solid #0c50cd; border-bottom: none; color: #0c50cd; }

.scrollButton {
  position: absolute;
  top: 150px;
  cursor: pointer;
  
  width: 40px;
  height: 40px;
}

.scrollButton.left {
  left: -50px;
}

.scrollButton.right {
  right: -50px;
}

/* General **********************************************/

h3 { font-size: 1.6em; font-weight: bold; margin: .3em 0 .5em 0; }
h4 { font-size: 1.1em; font-weight: bold; margin: 0 0 .1em 0; }
h4.big { font-size: 1.4em; }
h5 { font-size: 1.2em; font-weight: bold; margin: .6em 0 .1em 0; }
h6 { font-size: 1.0em; font-weight: bold; margin: .6em 0 .1em 0; }
h6.weak { margin: 0 0 1em 0; color: #89b; }
p { margin: 0 0 1em 0; }
strong { font-weight: bold; }
em { font-style: italic; }
address { margin: 0 0 1em 1em; }
ul { margin: 0 0 .3em 1.5em; }
ul li { list-style-type: disc; padding-left: .2em; }
ul li ul li { list-style-type: square; }

/* Pages ************************************************/

#hjem { background: url('/images/globe.png') 96% 25px no-repeat; }
#tjenester { background: url('/images/services.png') 96% 25px no-repeat; }
#kontakt { background: url('/images/contact.png') 96% 25px no-repeat; }

#portefolje .slides img {
	border: 2px solid #062866;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#portefolje .slides h5 {
	margin: 1em 0 .5em 0;
	border-bottom: 1px solid #062866;
}

/* Footer ***********************************************/

div#footer {
	margin: 2em 0 0 0;
	border-top: 1px solid #062866;
}

div#footer span {
	background: #062866;
	
	color: white;
	
	float: left;
	display: block;
	padding: .3em 1em;
}

.clear { clear: both; }

/* Slideshow ********************************************/

.slideshow {
	text-align: center;
	width: 45%;
	
	min-height: 21em;
	padding: 1em;
	
	background: white;
	border: 1px solid #062866;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#slideshow-wrapper {
	width: 100%;
	height: 280px;
	overflow: hidden;

	border: 1px solid #062866;

	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

#slideshow-img {
}
#slideshow-label { padding: .4em; font-style: italic; }