/*
Theme Name: Norges Jordskiftekandidatforening
Description: Design for Norges Jordskiftekandidatforening
Version: 1.0
Author: &Aring;shild Nerhus
*/

html, body {
	background: #187e80 url(images/bakgrunnsfarge_del1.jpg) repeat-x left top;
	color: #333333;
	font-size: 100%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
}

#page {
	background: transparent url(images/bakgrunn_hvit.png) repeat-y left top;
	height: auto;
	margin: 0 auto;
	min-height: 100%;
	padding: 0 7px;
	position: relative;
	text-align: left;
	width: 955px;
}

/* Header */
#header {
	background: #ffffff url(images/topp_logofelt.jpg) no-repeat left top;
	height: 129px;
	margin: 0;
	padding: 0;
	width: 955px;
}
#header #logo {
	height: 129px;
	float: left;
	margin: 0;
	padding: 0;
	width: 343px;
}
#header #logo a {
	display: block;
	height: 129px;
	width: 343px;
}
#header #logo a span {
	display: none;
}
#header #tekna {
	height: 42px;
	float: right;
	margin: 50px 16px 0 0;
	padding: 0;
	width: 100px;
}
#header #tekna a {
	display: block;
	height: 42px;
	width: 100px;
}
#header #tekna a span {
	display: none;
}
/* Header */

/* Mainmenu */
#mainmenu {
	float: left;
	margin: 0;
	padding: 0;
	width: 955px;
}
#mainmenu ul {
	height: 60px;
	list-style: none;
	margin: 0;
	padding: 0;
}
#mainmenu li {
	color: #ffffff;
	display: block;
	float: left;
	font-size: 0.75em;
	font-weight: bold;
	height: 46px;
	line-height: 1em;
	margin: 0 0 0 4px;
	padding: 0;
	width: 133px;
}
#mainmenu li:first-child {
	margin: 0;
}
#mainmenu li a {
	background: #187e80 url(images/knapp01.jpg) no-repeat left top;
	color: #ffffff;
	display: inline-block;
	height: 32px;
	margin: 0;
	padding: 14px 8px 0 17px;
	text-decoration: none;
	width: 108px;
}
#mainmenu li.page-item-5 a, #mainmenu li.page-item-6 a {
	padding-top: 8px;
	height: 38px;
}
#mainmenu li a:hover, .top-level-parent-pageid-2 #mainmenu li.page-item-2 a, .top-level-parent-pageid-4 #mainmenu li.page-item-4 a, .top-level-parent-pageid-5 #mainmenu li.page-item-5 a, .top-level-parent-pageid-6 #mainmenu li.page-item-6 a, .top-level-parent-pageid-7 #mainmenu li.page-item-7 a, .top-level-parent-pageid-8 #mainmenu li.page-item-8 a, .top-level-parent-pageid-9 #mainmenu li.page-item-9 a, .post-catogoryid-4 #mainmenu .page-item-6 a {
	background-image: url(images/knapp02.jpg);
}
#mainmenu li strong {
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
}
/* Mainmenu */

#maincontent {
	padding: 0 0 50px 0;
}
#maincontent #bottom {
	clear: both;
	height: 1px;
}

/* Undermeny */
#undermenu {
	background-color: #ffffff;
	float: left;
	font-size: 0.825em;
	margin: 10px 18px 0 18px;
	padding: 20px 0 20px 0;
	width: 115px;
}
#undermenu ul {
	margin: 0;
	padding: 0;
}
#undermenu li {
	list-style-type: none;
	margin: 0;
	padding: 6px 0;
	word-wrap: break-word;
}
#undermenu li li {
	margin: 0;
	padding: 6px 0 6px 8px;
}
#undermenu li li li {
	margin: 0;
	padding: 4px 0 4px 8px;
}
#undermenu li a {
	color: #187e80;
	text-decoration: none;
}
#undermenu li a:hover {
	text-decoration: underline;
}
#undermenu .current_page_item a {
	text-decoration: underline;
}
#undermenu .current_page_item li a {
	text-decoration: none;
}
#undermenu .current_page_item li a:hover {
	text-decoration: underline;
}
#undermenu .current_page_item, #undermenu .current_page_ancestor {
	font-weight: bold;
}
#undermenu li .current_page_item, #undermenu li .current_page_ancestor, #undermenu .current_page_item li, #undermenu .current_page_ancestor li {
	font-weight: normal;
}
/* Vise kun relevant underside */
#undermenu li li {
	display: none;
}
#undermenu li.current_page_ancestor li, #undermenu li.current_page_item li {
	display: block;
}
#undermenu li li li, #undermenu li.current_page_ancestor li li, #undermenu li.current_page_item li li {
	display: none;
}
#undermenu li.current_page_ancestor li.current_page_ancestor li, #undermenu li.current_page_ancestor li.current_page_item li {
	display: block;
}
#undermenu li li li li, #undermenu li.current_page_ancestor li.current_page_ancestor li li, #undermenu li.current_page_ancestor li.current_page_item li li {
	display: none;
}
#undermenu li.current_page_ancestor li.current_page_ancestor li.current_page_ancestor li, #undermenu li.current_page_ancestor li.current_page_ancestor li.current_page_item li {
	display: block;
}
/* Undermeny */

/* Høgremeny */
#rightmenu {
	float: right;
	font-size: 0.75em;
	margin: 10px 0 0 18px;
	padding: 20px 0 20px 0;
	width: 229px;
}
#rightmenu h2 {
	background-color: #e9edee;
	font-size: 1.125em;
	font-weight: bold;
	margin: 0;
	padding: 10px 0 10px 15px;
	text-transform: uppercase;
}
#rightmenu .textwidget {
	margin: 0;
	padding: 0 0 10px 15px;
}
#rightmenu .widget_categoryposts, #rightmenu .widget_simple_upcoming_events {
	margin-top: 10px;
}
#rightmenu .widget_categoryposts .cat-post-item {
	border-bottom: 1px solid #cccccc;
	padding: 5px 0 5px 0;
	position: relative;
}
#rightmenu .widget_categoryposts .cat-post-item:last-child {
	border-bottom: none;
}
#rightmenu .widget_categoryposts p {
	padding-left: 65px;
}
#rightmenu .widget_categoryposts img {
	left: 0;
	position: absolute;
	top: 25px;
}
#rightmenu .widget_simple_upcoming_events ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#rightmenu .widget_simple_upcoming_events li {
	border-bottom: 1px solid #cccccc;
	padding: 15px 0 15px 15px;
}
/* Høgremeny */

/* Innhold */
#content {
	float: left;
	font-size: 0.875em;
	margin: 30px 0 0 0;
	padding: 0 0 20px 0;
	width: 520px;
}
#content .entry {
	font-size: 0.875em;
	line-height: 1.4em;
}
/* Innhold */

/* Innlegg */
.home .post, .archive .post {
	border-bottom: 1px solid #cccccc;
	margin-bottom: 20px;
}
.home .post:last-child, .archive .post:last-child {
	border: none;
}
.home .post h3, .archive .post h3 {
	clear: both;
	font-size: 1em;
	font-weight: bold;
	margin: 0;
}
.home .post h3 small, .archive .post h3 small {
	font-size: 0.75em;
	font-weight: normal;
}
.post .post-image {
	float: right;
	margin: 0 0 10px 10px;
	padding: 0;
}
.post .entry .ingress {
	font-weight: bold;
}
.post .entry p {
	margin-bottom: 0;
}
.home .post .entry, .archive .post .entry {
	margin: 0;
}
.home .post .entry p, .archive .post .entry p {
	width: 330px;
}
.home .post .entry p:first-child, .archive .post .entry p:first-child {
	margin: 0;
}
.post .postmetadata {
	margin: 0;
	padding: 0;
}
.post .readmore, .post .post-edit-link {
	display: inline;
	margin: 0;
}
.events .eventtitle {
	clear: both;
	color: #187e80;
	font-size: 1em;
	font-weight: bold;
	margin: 40px 0 10px 0;
	padding: 20px 0 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}
#oldevents .eventtitle {
	margin-top: 50px;
}
.events .post {
	margin: 0 0 20px 0;
}
.events h3 {
	margin-bottom: 0;
}
.events .wp-post-image {
	float: right;
}
.events .post-date {
	margin: 0;
}
.events .post .entry p {
	margin: 0;
}
/* Innlegg */

/* Forside */
#frontmenu .widget {
	float: left;
	width: 240px;
}
#frontmenu h2 {
	background-color: #e9edee;
	font-size: 1.25em;
	margin: 0;
	padding: 5px 0 5px 10px;
}
#frontmenu h2 a {
	background-color: #e9edee;
	font-size: 1.125em;
	font-weight: bold;
	margin: 0;
	padding: 10px 0 10px 15px;
}
#frontmenu .widget_categoryposts {
	float: right;
	margin: 0;
	padding: 0;
}
#frontmenu .widget_categoryposts .cat-post-item {
	font-size: 0.875em;
	margin: 10px;
}
#frontmenu .widget_categoryposts .cat-post-item p {
	margin-bottom: 0;
}
#frontmenu .widget_categoryposts .cat-post-item .post-readmore {
	margin-top: 0;
}
#frontmenu .widget_kbrss ul {
	font-size: 0.875em;
	list-style: none;
	margin: 0 0 0 10px;
	padding: 0;
}
#frontmenu .widget_kbrss li {
	margin: 10px 0 10px 0;
}
#frontmenu .widget_kbrss .rss-date {
	clear: both;
	display: block;
	font-size: 0.875em;
}
/* Høgremeny */

/* Bunntekst */
#footer {
	bottom: 0;
	font-size: 0.75em; /* 12px */
	padding: 5px 0 10px 0;
	position: absolute;
	text-align: center;
	width: 955px;
}
/* Bunntekst */

/* Bilder */
p img {
	max-width: 100%;
	padding: 0;
}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	display: inline;
	margin: 0 0 2px 7px;
	padding: 4px;
}
img.alignleft {
	display: inline;
	margin: 0 7px 2px 0;
	padding: 4px;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
.wp-caption {
	margin: 10px;
	padding-top: 4px;
	text-align: center;
}
.wp-caption img {
	border: 0 none;
	margin: 0;
	padding: 0;
}
.wp-caption p.wp-caption-text {
	font-size: 9px;
	line-height: 17px;
	margin: 0;
	padding: 0 6px 5px 6px;
	text-align: left;
}
/* Bilder */


/* Generelt */
h1 {
	font-size: 2em;
	margin: 0;
}
h2 {
	color: #187e80;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.7143em;
	font-weight: normal;
	margin: 0 0 20px 0;
}
h3 {
	font-size: 1.3em;
	font-weight: normal;
	margin: 10px 0;
}
h3 a {
	color: #666666;
	text-decoration: none;
}
a {  
	color: #187e80;
}  
a:hover, a:focus, a:active {  
	color: #187e80;
	text-decoration: none;  
}  
acronym, abbr, span.caps {
	cursor: help;
}
acronym, abbr {
	border-bottom: 1px dashed #999;
}
blockquote {
	border-left: 5px solid #ddd;
	margin: 15px 30px 0 10px;
	padding-left: 20px;
}
blockquote cite {
	display: block;
	margin: 5px 0 0;
}
.center {
	text-align: center;
}
.hidden {
	display: none;
}
.screen-reader-text {
	 left: -1000em;
	 position: absolute;
}
hr {
	display: none;
}
a img {
	border: none;
}
.navigation {
	display: block;
	margin-bottom: 60px;
	margin-top: 10px;
	text-align: center;
}
.post-edit-link {
	display: block;
	clear: both;
}
.clear {
	clear: both;
}
/* Generelt */
