/*
Theme Name: SisselRuud.no
Theme URI: http://sisselruud.no/
Description: SisselRuud.no.
Version: 1.0
Author: Bj&oslash;rnar Tollaksen
Author URI: http://bjornartollaksen.no/
*/

/* @override 
	http://sisselruud.dev/wp-content/themes/sisselruud/style.css
	http://sisselruud.no/wp-content/themes/sisselruud/style.css
*/

/* By Eric Meyer, with some adjustments: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */

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,
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%;
	font-family: inherit;
	vertical-align: baseline;
	}

img { -ms-interpolation-mode: bicubic; }

/* remember to define focus styles! */
:focus {
	outline: 0;
}

ol, ul {
	/* list-style: none; */
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}


.clear { clear: both; }

/* By BjÀrnar Tollaksen */

body {
	font-size: 100%;
	line-height: 1.6em;
	font-family: Helvetica, Verdana, sans-serif;
	margin: 0 auto;
	background: #7c7b7b url(/bilder/bg.png) repeat-x;
	}

html>body {
	clear: both;
	/* font-size: 16px; */
}

html, body {
	height: 100%;
}

body, a, #header a:hover { color: #dbdbdb; }

/* GENERAL */

#wrap {
	position: relative;
	min-height: 100%;
}

a {	text-decoration: none; }
a:hover { color: white; }

#content {
	margin: 0 auto;
	text-align: center;
	width: 720px;
	padding-bottom: 5em;
}


/* NAVIGATION */

#nav {
	background-color: #141414;
	border-bottom: 1px solid #afafaf;
	font-size: 0.75em;
	font-weight: bold;
	list-style: none;
	padding: 4px 0 2px;
	text-align: center;
	text-transform: uppercase;
}

#nav li {

	display: inline;
	margin: 5px 0.5em;
	padding: 5px 20px;
}

/* HEADER */

#header {
	margin: 4em 0 3em;
	text-align: center;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.2em; margin-top: 15px; }
h3 { font-size: 1.2em; }


/* FOOTER */

#footer {
	background-color: #141414;
	border-top: 1px solid #afafaf;
	font-size: 0.9em;
	font-weight: bold;
	margin: 4em 0 0;
	padding: 10px 0 5px;
	text-align: center;
	
	position:absolute;
	bottom:0;
   width:100%;
}

/* SUB PAGE NAVIGATION */

#sub_nav {
	text-align: center;
	margin-bottom: 40px;
}

#sub_nav li {
	display: inline;
	margin: 5px;
}

#sub_nav li a {
	background-color: #cac8c2;
	font-size: 0.95em;
	color: #353535;
	padding: 4px 25px;
	
	border-radius: 3px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-khtml-border-radius: 15px;
}

#sub_nav a:hover, #sub_nav a.selected { color: #161616; background-color: #fffeff; }


/* FRONT PAGE */

.front { margin: 0 auto; }
.front h3 { font-size: 1.2em; margin-top: 5px; text-transform: uppercase; }

.front div {
	float: left;
	margin: 9px;
}

.front img {
	border: 1px solid #a6a6a6;
	max-height: 400px;
	width: auto;
}
.front img {
	max-width: 220px;
	height: auto;
}

/* FRONT NEWS */

.news {
	margin: 4em auto 1em;
	text-align: left;
	width: 530px; }
	
.news h2 {
	margin-bottom: 0.8em;
	text-align: center;
	}
	
.news p { margin-bottom: 1.5em; }


/* LIST PAGE */

.page div {
	float: left;
	width: 340px;
	padding: 0 9px 30px;
	text-align: center;
}

.page div img {	max-width: 338px; height: auto; }
.page div img {	max-height: 338px; width: auto; }

.page div:nth-child(even) { clear: left; }

/* STATIC PAGE */

.static { width: 540px; margin: 0 auto; text-align: left;}
.static h3 {
	font-size: 1.7em;
	margin: 3em 0 1.3em;
	text-align: center;
}
.static p { margin: 1.5em 0;}


/* 404 ERROR */

.error-404 { margin-top: 5em; }
.error-404 p { margin-top: 2em; }
.error-404 a { text-decoration: underline; }

.edit {
	text-align: right;
}


/* CONTACT FORM */

form.registration { margin-top: 2em; }



form.registration h3 {
	font-size: 1.4em;
	/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
}

form.registration .options p { margin: 0;}

form.registration .p-information {
	margin: 2em 0 2.5em;
}

form.registration input, form.registration textarea {
border: 1px solid #bfc9b6;
color: #666666;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1em;
margin-right: 5px;
padding: 4px 5px;
}

form.registration p {
color: #242424;
display: block;
margin: 8px 0;
margin-bottom: 3px;
}

form.registration label {
display: block;
float: left;
font-weight: bold;
padding: 5px 0;
padding-right: 12px;
text-align: right;
width: 208px;
}
	


form.registration #name,
form.registration #address,
form.registration #email,
form.registration #message {
	width: 230px;
	}

form.registration #zipcode { width: 40px; }
form.registration #city { width: 170px; }
form.registration #mobile,
form.registration #fax { width: 70px; }
form.registration #message { height:  80px; }

form.registration #send {
	background-color: #e0e0e0;
	margin-left: 220px;
	padding: 5px 12px;
	}
form.registration #send:hover {
	background-color: #c2c2c2;
	cursor: pointer;
}


.message {
	color: #5ea767;
	text-align: center;
}
