/*
Theme Name: SPM
Theme URI: http://spm-erfa.dk/
Description: SPM\s custom theme.
Author: 
Author URI: 
Template: k2
*/

body {
	background: #ccc;
	font-family: verdana,arial,helvetica,sans-serif;
}

#page {
	border: none;
	-webkit-border-radius: 5px;
	padding-top: 0;
	-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 5px;
}

img.flourish {
	position: absolute;
	bottom: 0;
	left: 30px;
}

#header {
	min-height: 100px;
	height: auto;
	background: white;
	padding-bottom: 30px;
	overflow: visible;
}

.blog-title, .description {
	display: none;
}

.wp-post-image {
}

.logo {
	z-index: 10;
	position: absolute;
	top: 10px;
	left: 30px;
}

.secondary {
	overflow: visible;
	font-size: 1.2em;
}

.secondary a {
	color: #777;
	padding: 3px 0;
}

.secondary li {
	margin: 6px 0 !important;
}

.secondary a:hover {
	text-decoration: none;
}

.secondary #search {
	display: none;
}

.secondary h4 {
	display: none;
}

#search {
	z-index: 10 !important;
	position: absolute;
	top: 20px;
	right: 20px;
	margin-top: 0;
	width: 220px;
}

#search #s2 {
	width: 160px;
	position: absolute;
	right: 70px;
}

#search #searchsubmit {
	cursor:pointer;
	width: 60px;
	position: absolute;
	right: 0;
	font-weight: bold;
	background: url('images/searchbuttonbg.png') no-repeat;
	margin-top: 1px;
	border: none;
	height: 20px;
}

.content {
	margin-top: 20px;
	min-height: 350px;
}


h1, h2, h3, h4, h5, h6 {
}

h1.entry-title {
	text-align: left !important;
	margin: 0 0 20px !important;
}

.entry-content {
	font-size: 1.4em;
	line-height: 1.6em;
	text-align: left;
}

.uppercase {
	text-transform: uppercase;
}

.flexipages_widget h4 {
	font: 1.4em 'Helvtica Neue';
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.flexipages_widget a {
	color: #666;
	line-height: 20px;
	padding: 3px 0;
}

#footer {
	padding: 4px 0 40px;
}

#footer h4 {
	display: none;
}

#footer p {
	background: #EE7D0B;
	-webkit-border-radius: 5px;
	width: 950px;
	margin: 0 auto;
	padding: 10px 0;
	font-size: 11px;
	color: #000;
}

#footer p a {
	color: #ccc !important;
}

#footer p span {
	margin: 0 10px;
}

#widgets-sidebar-1 {
	margin-bottom: 50px;
}


/**
 * Forside
 */

body.home h1.entry-title {
	display: none;
}

body.home h2.entry-title {
	text-align: left !important;
	margin: 0 !important;
	font-size: 3.3em;
}

body.home #primary {
	margin-left: 70px !important;
	width: 450px;
}

body.home p {
	margin-bottom: 0;
}

body.home #widgets-sidebar-1,
body.home #widgets-sidebar-2 {
	float: right;
}

body.home #widgets-sidebar-1 {
	font-size: 1.2em;
	left: -195px !important;
	min-height: 100px;
}

body.home #widgets-sidebar-2 {
	font-size: 1.2em;
	min-height: 100px;
	margin-left: 95px;
	top: 0;
}

body.home #widgets-sidebar-2 strong {
	font-weight: normal;
	font-size: 2em;
	color: #444;
}

body.home #widgets-sidebar-2 strong.large {
	font-size: 3em;
}

body.home #widgets-sidebar-2 h4 {
	display: none;
}

#primary {
	margin-left: 190px;
}

body.home #primary {
	margin-left: 0;
}


/* Main Menu in Header */

.headermenu {
	background: #fff;
	height: 34px;
	margin: 0 !important;
	width: 920px;
	padding-left: 30px;
	left: 0;
}

.headermenu li a {
	line-height: 24px;
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	font-size: 1.4em !important;
}

.headermenu li a:hover,
.login:hover, .logout:hover {
	background: #EE7D0B !important;
	color: white !important;
	text-decoration: none !important;
}

.login, .logout {
	line-height: 34px;
	padding: 0 10px;
	margin-right: 10px;
	color: black;
	position: absolute;
	right: 10px;
	bottom: 0;
}

.headermenu {
	position: absolute;
	white-space: nowrap;
	bottom: 0;
	margin: 0 20px;
	}

.headermenu > ul {
	float: left;
	}

.headermenu li {
	list-style: none;
	}

.headermenu li a {
	display: block;
	outline: none;
	}

.headermenu li a:hover {
	text-decoration: none;
	}

.headermenu > ul > li { /* Top Menu Items */
	float: left;
	}

.headermenu > ul > li > a { /* Top Menu */
	margin-left: 5px;
	padding: 5px 15px;
	color: #000;

	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	}

.headermenu > ul > li.current_page_ancestor > a,
.headermenu > ul > li.current_page_item > a {
	color: black;
	background: #EE7D0B;
	}

.headermenu > ul > li:hover > a,
.headermenu > ul > li.sfHover > a { /* Top level hover*/
	color: #eee;
	background-color: #EE7D0B;
	}

.headermenu > ul > li.has_children > a { /* Top level parent */
	padding-right: 18px;
	position: relative;
	}

.headermenu > ul > li.current_page_ancestor.has_children > a:after,
.headermenu > ul > li.current_page_item.has_children > a:after {
	background: url('../images/arrows.png') no-repeat left top;
	}

.headermenu > ul > li.has_children:hover > a:after,
.headermenu > ul > li.has_children.sfHover > a:after,
.headermenu > ul > li.has_children > a:after { /* Dropdown indicators */
	position: absolute;
	right: 5px;
	top: 10px;
	height: 4px;
	width: 7px;
	content: '';
	background: url('../images/arrows.png') no-repeat left bottom;
	}

.headermenu > ul > li > ul {  /* Child Menus */ 
	left: -999em;
	position: absolute;
	z-index: 50;
/*	max-width: 20em; */
	margin-left: 5px;

	-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
	
	background: #f3f3f3;
	border-radius: 0 3px 3px 3px;
	-moz-border-radius: 0 3px 3px 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-radius: 3px;
	-webkit-border-top-left-radius: 0;
	}

.headermenu > ul > li.sfHover > ul,
.headermenu > ul > li:hover > ul { /* Show submenu when hovering parent */
	left: inherit;
	}

.headermenu li li a { /* Submenu links */
	color: #333;
	padding: .4em 1.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	}

.headermenu li li a:hover { /* Child hover */
	background: #ddd;
	background: rgba(0, 0, 0, .1); /* To accomodate the gradient background in modern browsers */
	}

.headermenu li li li a { /* Indent 3rd child */
	display: none;
	padding-left: 2em;
}

.headermenu > ul > li > ul > li:first-child > a { /* First child 2nd level */
	border-radius: 0 3px 0 0;
	-moz-border-radius: 0 3px 0 0;
	-webkit-border-top-left-radius: 0;
	-webkit-border-top-right-radius: 3px;
	}

.headermenu > ul > li > ul > li:last-child > a:last-child { /* Last child 2nd level */
	border-radius: 0 0 3px 3px;
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	}

.headermenu ul ul li:last-child ul li:last-child a:last-child { /* Last child 3rd level */
	border-radius: 0 0 3px 3px;
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	}


/**
 * Kontakt Siden
 */
.contactform {
	background: #eee;
	padding-bottom: 40px;
	-webkit-border-radius: 5px;
	width: 375px;
	margin: 30px auto 0;
}

.contactform div {
	margin: 0 10px;
	width: 345px;
}

.contactform label {
	font-weight: bold;
	font-family: verdana,arial,helvetica,sans-serif;	
}

.contactform input[type=text],
.contactform textarea {
	width: 100%;
	padding: 3px;
	font-size: .9em;
}

.contactform input[type=submit] {
	min-width: 120px;
	float: right;
	margin-right: -10px !important;
	font-size: 16px !important;
}




/**
 * Custom CSS
 **/

.gruppeformand {
	margin: 0 !important;
	position: absolute;
	top: 0;
	right: -200px;
	width: 180px
}

body.search .entry-content {
	display: none;
}

a.admintab {
	background: #333;
	color: #eee;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 100;
	padding: 5px 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

a.admintab:hover {
	background: #dc000c;
	color: white;
	text-decoration: none;
}

.secondary li.current_page_item > a {
	color: #dc000c;
}

.secondary a:hover {
	text-decoration: underline;
}

.widget_subpages ul li ul {
	display: none;
}

.widget_subpages > ul > li.current_page_ancestor > ul,
.widget_subpages > ul > li.current_page_item > ul {
	display: block;
}



/**
 * Tables
 **/

.entry-content table {
	border-collapse: collapse;
	font-size: 14px;
}

.entry-content td {
	padding: 2px 4px;
}
