body {
	background: #dfdfde url(/wp-content/themes/sppd/images/body-bg.jpg) repeat-x scroll top left;
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, sans-serif;
	line-height: 1.3;
}

#wrapper {
	width: 960px;
	margin: 0 auto 30px auto;
	padding-bottom: 60px;
	background: transparent url(/wp-content/themes/sppd/images/wrapper-bg.png) no-repeat scroll bottom center;
}

#branding {
	background: transparent url(/wp-content/themes/sppd/images/branding-bg.png) no-repeat scroll left 50px;
	background-position: top left;
	height: 120px;
	margin: 40px 0 7px 0;
}

#branding h1 {
	position:absolute;
	display: inline;
	float: left;
	margin: 0;
	height: 120px;
	width: 388px;
	text-indent: -3000px;
}

#branding h1 a {
	display: block;
	position: relative;
	height: 100%;
	width: 100%;
}

#branding #top-search {
	position: relative;
	display: inline; 
	float:right;
	top: 80px;
	right: 15px;
}

#branding #top-search .field {
	border: 1px solid black;
	padding: 1px;
	width: 160px;
}

#branding #top-search-submit {
	margin: 0;
	padding: 0;
	vertical-align: bottom;
	padding: 0;
}

#primary-navigation {
	margin: 0 0 7px 0;
	padding: 0;
}

#primary-navigation li{	
	display: inline;
	padding: 0px 0px 0px 11px;
	margin: 0 14px;
	list-style-type: none; 
	background: transparent url(/wp-content/themes/sppd/images/navigation-arrow-passive.jpg) no-repeat scroll 0px 3px;
}

#primary-navigation a, #primary-navigation a:visited {
	font-family: Tahoma, Kalimati, Geneva, sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
}

#primary-navigation a:hover, #primary-navigation a:active {
	text-decoration: underline;
}

#primary-navigation .current_page_item, #primary-navigation li:hover, #primary-navigation .current_page_ancestor {
	background-image: url(/wp-content/themes/sppd/images/navigation-arrow-active.jpg);
	background-repeat: no-repeat;
}

#primary-navigation .current_page_item a { 
	color: #a5ced1;
}


#direct-entries ul {
	margin: 0;
	padding: 0;
}

body#home #direct-entries {
	background: transparent url(/wp-content/themes/sppd/images/direct-entries-bg.png) no-repeat scroll top left;
	margin: 0px 0px 7px 0px;
	display: block;
	padding: 6px;
	height: 109px;
}

body#home #direct-entries li {
	float: left;
	list-style-type: none;
	width: 312px;
	height: 109px;
	margin-left: 0;
}

#direct-entries li a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -3000px;
}

body#home #direct-entry-patient {
	background: transparent url(/wp-content/themes/sppd/images/direct-entry-patient-front.png) no-repeat scroll top left;
	margin-right: 6px;
}

body#home #direct-entry-press {
	background: transparent url(/wp-content/themes/sppd/images/direct-entry-press-front.png) no-repeat scroll top left;
	margin-right: 6px;
}

body#home #direct-entry-politics {
	background: transparent url(/wp-content/themes/sppd/images/direct-entry-politics-front.png) no-repeat scroll top left;
}

body#subpage #direct-entries {
	background: transparent url(/wp-content/themes/sppd/images/direct-entries-subpage-bg.png) no-repeat scroll top left;
	margin: 0px 0px 7px 0px;
	display: block;
	padding: 6px;
	height: 30px;
}

body#subpage #direct-entries li {
	float: left;
	list-style-type: none;
	width: 312px;
	height: 30px;
	margin-left: 0px;
}

body#subpage #direct-entry-patient {
	background: transparent url(/wp-content/themes/sppd/images/direct-entry-patient-subpage.png) no-repeat scroll top left;
	margin-right: 6px;
}

body#subpage #direct-entry-press {
	background: transparent url(/wp-content/themes/sppd/images/direct-entry-press-subpage.png) no-repeat scroll top left;
	margin-right: 6px;
}

body#subpage #direct-entry-politics {
	background: transparent url(/wp-content/themes/sppd/images/direct-entry-politics-subpage.png) no-repeat scroll top left;
}


body#home #content {
	margin: 0 0 6px 0;
	padding: 5px 6px;
	background: #fff url(/wp-content/themes/sppd/images/content-bg-front.jpg) no-repeat scroll bottom right;
}
body#home #content h2 {
	padding-left: 23px;
	margin-bottom: 0px;
}

body#home #content-main {
	width: 312px;
	height: 230px;
	background: transparent url(/wp-content/themes/sppd/images/front/Forside01.jpg) no-repeat scroll top left;
	float: left;
}

body#home #content-supp {
	display: inline;
	margin-right: 5px;
	float: left;
	font-size: 11px;
	padding-left: 6px;
	
}

body#home #content-supp #about-us, body#home #content-supp #advisor {
	background: #e9e9e8 url(/wp-content/themes/sppd/images/content-supp-items-bg.png) repeat-x scroll top left;
	width: 283px;
	height: 93px;
}

#about-us, #advisor {
	padding: 10px 15px;
}

#advisor {
	margin-top: 5px;
}

#about-us h2 a, #about-us h2 a:hover, #about-us h2 a:active, #about-us h2 a:visited,
#advisor h2 a, #advisor h2 a:hover, #advisor h2 a:active, #advisor h2 a:visited, 
#recently h2 a, #recently h2 a:hover, #recently h2 a:active, #recently h2 a:visited {
	color: #1c2f4e;
}

#about-us h2 {
	background: transparent url(/wp-content/themes/sppd/images/icon-sppd.png) no-repeat scroll 0px 2px;
}

#advisor h2 {
	background: transparent url(/wp-content/themes/sppd/images/icon-advisor.png) no-repeat scroll 0px 3px;
}

body#home #recently h2 {
	background: transparent url(/wp-content/themes/sppd/images/icon-news.png) no-repeat scroll 0px 2px;
	padding-left: 25px;
}

body#home #recently {
	display: inline;
	margin: 0;
	width: 282px;
	height: 231px;
	float: left;
	padding: 0 15px;
	overflow: hidden;
	font-size:  11px;
}


body#home #recently p {
margin-bottom: 0;	
}

body#home #recently a:link,body#home #recently a:visited {
	text-decoration: none;
}

body#home #recently a p {
 color: #000;
margin: 0;

}


#site-info {
	margin-bottom: 5px;
}

#site-info #member-login, #site-info #future-events, #site-info #newsletter-subscription {
	background: transparent url(/wp-content/themes/sppd/images/site-info-item-bg.jpg) no-repeat scroll top left;
	width: 296px;
	height: 109px;
	float: left;
	font-size: 11px;
	padding: 0 10px;
}

#site-info h3 {
	color: #1c2f4e;
	padding-top: 16px;
	padding-left: 38px;
	margin-bottom: 0;
	display: inline-block;
	height: 20px;
}

#member-login h3 {
	background: transparent url(/wp-content/themes/sppd/images/icon-siteinfo-login.png) no-repeat scroll 10px 12px;
}

#future-events h3 {
	background: transparent url(/wp-content/themes/sppd/images/icon-siteinfo-events.png) no-repeat scroll 15px 15px;
}

#newsletter-subscription h3 {
	background: transparent url(/wp-content/themes/sppd/images/icon-siteinfo-newsletter.png) no-repeat scroll 15px 14px;
}


#site-info form {
	margin: 0;
}

#future-events, #newsletter-subscription {
	margin-left: 6px;
}

#the-address {
	background: transparent url(/wp-content/themes/sppd/images/address-bg.png) no-repeat scroll top left;
	font-size: 11px;
	height: 25px;
	text-align: center;
	padding-top: 6px;
}

#the-address div, #the-address div a {
	display: inline;
	font-size: 11px;
}

	
body#home #quick-links {
	position: absolute;
	left: 50%;
	top: 12px;
	margin: 0;
	padding-left: 215px;
	list-style-type: none;
	font-size: 11px;
	color: #fff;
	width: 360px;
}

body#subpage #quick-links {
	position: absolute;
	left: 50%;
	top: 12px;
	margin: 0;
	padding-left: 120px;
	list-style-type: none;
	font-size: 11px;
	color: #fff;
	width: 375px;
}

#quick-links a, #quick-links a:active, #quick-links a:visited {
	color: #fff;
	text-decoration: none;
}
#quick-links a:hover {
	text-decoration: underline;
}

#quick-links li {
	display: inline;
	margin-left: 0;
	margin-right: 30px;
	padding-top: 5px;
	padding-left: 25px;
	height: 25px;
}

#quick-links p {
	display: inline;
}

#quicklink-home {
	background: transparent url(/wp-content/themes/sppd/images/icon-home.gif) no-repeat scroll top left;
}

#quicklink-login {
	background: transparent url(/wp-content/themes/sppd/images/icon-login.png) no-repeat scroll top left;
}

#quicklink-print {
	background: transparent url(/wp-content/themes/sppd/images/icon-print.png) no-repeat scroll 0px 3px;
}

#quicklink-contact {
	background: transparent url(/wp-content/themes/sppd/images/icon-contact.png) no-repeat scroll 0 3px;
}

#member-login p,  #mp-formdiv {
	margin: 10px;
}

#member-login-form, #mp-form {
	padding: 0 5px;
}

#member-login-form .field {
	width: 100px;
}
#member-login-form #rememberme {
	margin: 0;
}

#member-login-form label {
	width: 85px;
	display: inline-block;
	font-weight: bold;
}

#member-login-form .tiny  {
	font-weight: normal;
	font-size: 9px;
	width: 48px;
}
div.MailPress div.mp-container, div.MailPress div.mp-formdiv {
	position:relative;
}

div.MailPress div.mp-loading, div.MailPress div.mp-message  {
	position:absolute;
	opacity:0;
}

div.MailPress div.mp-loading, div.MailPress div.mp-message {
	filter:alpha(opacity=0);
}
.mp-form {
	padding: 0 15px;
}
.MailPressFormEmail, .MailPressFormName  {
	width: 165px;
}

.MailPressFormSubmit, .button {
	background-color: #1c2f4e;	
	border: 1px solid black;
	color: #FFF;
	font-weight: bold;
}

a.more-link, a:visited.more-link {
	font-weight: bold;
	color: #2da1b5;
	margin-top: 0;
}

#secondary-navigation {
	width: 235px;
	margin: 0px;
	padding: 0px;
	font-size: 14px;
	font-family: Tahoma, Kalimati, Geneva, sans-serif;
	float: left;
	background-color: #e4f0f1;
}

#secondary-navigation ul {
	margin: 0;
}

#secondary-navigation ul li {
	display: block;
	margin: 0;
	border-bottom: 1px solid #fff;
	padding: 0;
	height: 30px;
	list-style-type: none; 
	background: transparent url(/wp-content/themes/sppd/images/secondary-navigation-item-bg.jpg) repeat-x scroll top left;	
}

#secondary-navigation ul li a {
	position: relative;
	display: block;
	margin: 0;
	padding: 5px 20px;
	background: transparent url(/wp-content/themes/sppd/images/navigation-arrow-passive-transparent.png) no-repeat scroll 8px 10px;
	color: #1c2f4e;
}

#secondary-navigation ul li a.current_page_item, #secondary-navigation ul li a:hover {
	position: relative;
	display: block;
	margin: 0;
	padding: 5px 20px;
	background: transparent url(/wp-content/themes/sppd/images/navigation-arrow-active-transparent.png) no-repeat scroll 8px 10px;
}

#secondary-navigation h2 {
	padding: 6px 6px 0 6px;
}

#subpage-container {
	margin: 0px 0px 5px 0px;
	padding: 5px;
	vertical-align: top;
	background-color: #fff;
}

body#subpage #content-main {
	margin: 0px 20px;
	float: left;
	width: 430px;
}

body#subpage #content-main h3 {
	font-weight: bold;
	font-size: 12px;
	color: #000;
	margin: 9px 0 0 0;
}

body#subpage #content-main #post-  {
	margin-bottom: 0em;
}

#sidebar {
	width: 235px; 
	margin: 0px 0px 0px auto;
	padding: 0;
	overflow: hidden;
	background: transparent url(/wp-content/themes/sppd/images/subpage/01.jpg) repeat-x scroll bottom left;
	padding-bottom: 50px;
	font-size: 11px;
}

#sidebar li {
	list-style-type: none;
	margin-left: 0;
}

#sidebar li ul {
	margin: 0 15px;
}

p {
	margin: 1em 0;
}

hr {
	margin: 5px 0;
	padding: 0;
}


h1, h2, h3, h4, h5, h6, h7 {
	font-family: Tahoma, Kalimati, Geneva, sans-serif;
	margin-top: 0;
	margin-bottom: 0.5em;
	color: #49aebf;
	font-weight: normal;
}

h2 {
	font-size: 18px;
}

body#subpage #content-main h2 {
	font-weight: normal;
	background: transparent url(/wp-content/themes/sppd/images/icon-sppd.png) no-repeat scroll top left;
	padding-left: 25px;
	margin-top: 6px;
}
/*
.entry> p:first-child {
	color: #2da1b5;
	font-style: italic;
}
*/

body#subpage #sidebar h2 {
	font-weight: normal;
	background: transparent url(/wp-content/themes/sppd/images/sidebar-heading-bg.png) repeat-x scroll top left;
	display: block;
	height: 25px;
	padding: 3px 5px 0 15px;
	color: #1c2f4e;
	margin-bottom: 0;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #fff;
}

body#subpage #recently ul {
	margin: 5px 15px;
}

body#subpage #recently ul li {
	border-bottom: 1px solid #2da1b5;
	padding: 5px 0;
}

body#subpage #recently ul li.last {
	padding: 5px 0;
	border: 0;
}

h3 {
	font-size: 14px;
}

a, a:active, a:visited {
	color: #2DA1B5;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.hide {
	display: none;
}		

.clear {
	clear: both;
}

ul, ol {
	margin-top: 6px;
}

/* begin clearfix */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}
/* begin clearfix */

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

/* 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;
	}


/* End Images */

/* Begin event calendar 3 */

.ec3_events a, .ec3_events a:visited {
	color: #1C2F4E !important ;
}
.ec3_events { 
	margin: 5px 8px;
	padding: 0;
	list-style-type: none;
}

.ec3_list {
	display: inline;
	margin: 0 !important;
	color: #000 !important ;
	padding: 0 0px;
	font-weight: bold;
}

.ec3_list ul {
	display: inline;
	margin: 0 !important;
	padding-top: 6px;
}

.ec3_list_day li {
	font-weight: normal;
	list-style-type: none;
	margin: 0 0px;
}

#content-main .ec3_events {
	margin: 10px 0;	
}

#content-main .ec3_events li {
	list-style-type: none;
	margin-left: 15px;
	font-weight: normal;
}

.ec3_list_month {
	font-weight: bold !important;
	margin: 10px 0 !important;
}

table.ec3_schedule tr {
	padding: 15px !important;
}

table.ec3_schedule td {
	color: #000 !important;	
}

table.ec3_schedule {
	float: right !important;
	border: 1px solid black !important;
}

.date {
	clear: left;
	display: block;
	padding: 0;
	margin: 0;
}

/* End event calendar 3 */