/*
Theme Name: Stella Polaris
Description: Stella Polaris design implemented for Wordpress by Erlend Graff
Author: Stella Polaris/Erlend Graff
Version: 0.1a
*/

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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	background-color: #fff;
}

body {
	background-color: #fff;
	font-family: verdana, sans-serif;
	font-size: 12px;
	line-height: 1.5;
}

a {
	color: #017E70;
	text-decoration: none;
}

a:hover {
	color: #003A34;
	text-decoration: underline;
}

h1 { /* Main header */
	text-indent: -9000px; /* Get rid of text */
	margin: 0 auto;
	width: 750px;
	height: 123px;
	background-image: url('http://stellapolaris.no/bgx.jpg');
	background-repeat: no-repeat;
}

h1 a { /* In case header is used as front page link */
	display: block;
	height: 123px;
}

h2 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 14px;
}

ul#lang { /* Language switching bar */
	margin: 0 auto;
	padding: 3px 0 2px 0;
	width: 750px;
	display: block; /* Self-explanatory */
	overflow: hidden; /* To allow floating children */
	height: 11px;
	border-bottom: 1px dotted #017E70;
}

ul#lang li {
	display: block;
	float: left;
	height: 11px;
	width: 16px;
	margin-right: 4px; /* Spacing between flags */
	text-indent: -9000px; /* Get rid of text */
	background-repeat: no-repeat;
}

ul#lang li a {
	display: block;
	height: 11px;
	width: 16px;
}

ul#lang li.en {
	background-image: url('http://www.stellapolaris.no/img/eng.gif');
}

/* **** NOT USED *****
ul#lang li.en.active {
	background-image: url('http://www.stellapolaris.no/img/eng_active.gif');
}
*/

ul#lang li.nb {
	background-image: url('http://www.stellapolaris.no/img/nor.gif');
}

/* **** NOT USED ****
ul#lang li.nb.active {
	background-image: url('http://www.stellapolaris.no/img/nor_active.gif');
}
*/

div#wrapper {
	width: 865px; /* 750px main grid + 115px navigation menu */
	padding-right: 115px; /* To compensate for navigation menu, which is placed outside the main grid */
	margin: 0 auto;
	overflow: hidden; /* To allow floating children */
}

/* FIXME - these code blocks should be rewritten when WPML is updates */
div.nav {
	float: left;
	width: 110px;
	margin-right: 5px;
	margin-top: 20px;
}

div.nav ul {
	display: block;
	overflow: hidden; /* To allow floating children */
}

div.nav ul li {
	margin-bottom: 4px;
}


div#content {
	float: left;
	width: 750px;
	padding-top: 17px;
	overflow: hidden; /* To allow floating children */
}

div#content p {
	margin: 18px 0;
}

div#footer {
	padding-top: 5px;
	width: 750px;
	margin: 30px auto 0 auto;
	text-align: right;
	height: 100px;
	color: #B8B8B8;
	border-top: 3px solid #017E70;
}



div.frontpic {
	float: right;
	width: 500px;
	padding-left: 9px;
	padding-top: 20px;
	font-size: 11px;
	line-height: 100%;
}
