/*
Theme Name: Prostneset
Theme URI: http://www.prostneset.no/
Description: Skreddersydd design for Prostneset.no
Version: 1.0
Author: Gnist Design
Author URI: http://www.gnistdesign.no/
*/

	body {
	margin: 0;
	padding: 0;
	font: 62.5% Verdana, Tahoma, Arial, sans-serif;
	background: #015391;
	}
	
	a {
	color: #039;
	text-decoration: underline;
	}
	
	a:hover {
	color: #033;
	}
	
	#bodybox {
	background: #f5f5f5 url(images/top_bg.jpg) repeat-x;
	min-height: 400px;
	}
	
	#top {
	background: url(images/top_logo.jpg) no-repeat;
	width: 900px;
	height: 152px;
	margin: 0 auto;
	padding: 1px;
	}
	
	#topnav {
	color: #fff;
	text-align: right;
	padding-right: 10px;
	}
	
	#topnav a {
	color: #fff;
	text-decoration: none;
	}
	
	#topnav a:hover {
	color: #ccc;
	}
	
	#logo a {
	display: block;
	width: 400px;
	height: 90px;
	margin-left: 35px;
	margin-top: 22px;
	}
	
	#main {
	width: 900px;
	margin: 1em auto;
	}
	
	#left {
	float: left;
	width: 146px;
	}
	
	#right {
	float: right;
	width: 197px;
	}

	#right img {
	max-width: 98%;
	width:expression(document.body.clientWidth > 196? "95%": "auto" );
	}
	
	#nav ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
	margin-top: 0;
	}
	
	#nav ul li {
	background: url(images/nav_bg.jpg) no-repeat;
	font-size: 1.2em;
	margin-bottom: 1px;
	}
	
	#nav ul li a {
	display: block;
	padding: 6px 5px 6px 10px;
	color: #039;
	text-decoration: none;
	}
	
	#nav ul li a:hover {
	color: #003;
	background: url(images/nav_bg_hover.png) no-repeat;
	}
	
	#nav ul .current_page_item, #nav ul .current_page_parent {
	background: url(images/nav_bg_active.jpg) no-repeat;
	}
	
	#nav ul .current_page_item a, #nav ul .current_page_parent a {
	color: #033;
	}
	
	#nav ul li #submenu {
	margin-left: 0;
	padding-left: 0;
	margin: 0 2px;
	}
	
	#nav ul li #submenu li {
	background: #f7f7f7;
	font-size: 0.9em;
	padding: 3px 0 3px 0;
	}
	
	#nav ul li #submenu li a {
	padding-top: 0;
	padding-bottom: 0;
	}

	#nav ul li #submenu .current_page_item a, #nav ul li #submenu li a:hover {
	text-decoration: underline;
	background: #f7f7f7;
	}
	
	#splash {
	margin-left: 170px;
	width: 725px;
	height: 255px;
	border: 1px solid #c7c7c7;
	background: url(images/forsidebilde.jpg) no-repeat;
	}
	
	#splashtext {
	margin-left: 535px;
	width: 180px;
	}
	
	#splashtext p {
	color: #000;
	font-size: 1.2em;
	line-height: 1.5em;
	}
	
	#content {
	margin-left: 170px;
	width: 515px;
	}
	
	#content h2 a {
	color: #333;
	text-decoration: none;
	}
	
	#content p, #content ul, #content ol, #right p, #right ul, #right ol {
	font-size: 1.2em;
	line-height: 1.5em;
	}

	h3 {
	color: #666;
	font-size: 1.2em;
	}

	h2 {
	font-size: 1.8em;
	color: #333;
	font-weight: normal;
	}
			
	#footer {
	background: url(images/footer_bg.jpg) repeat-x;
	padding-top: 15px;
	}
	
	address {
	padding-left: 170px;
	width: 730px;
	margin: 0 auto;
	font-size: 1.1em;
	color: #ccc;
	font-style: normal;
	}
	
	address a {
	color: #9cf;
	text-decoration: none;
	}
	
	address a:hover {
	color: #fff;
	}
	
	.divider {
	clear: both;
	width: 1px;
	border: 1px solid #f7f7f7;
	margin: 0;
	padding: 1em 0 0 0;
	}
	
	img {
	max-width: 100%;
	}


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


a img {
	border: 4px solid #fff;
}