/* 
General style-definitions applicapable to entire site.

Site: Kirkebyterapi.dk
Author: Joakim Jensen Møller
Date: 28 July 2009
----------------------------------------------------------*/

/***********************************************************
Overall style-definitions
***********************************************************/
* { /* Remove padding and margin from all elements. Fixes some bugs caused by browser-specific styles. */
	padding: 0;
	margin: 0;
}

body {
	padding-bottom: 30px;
	background-color: white;
	background-image: url(/graphics/body-bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	font-family: "arial", sans-serif;
	font-size: small;
	text-align: left;
	color: black;
	cursor: default;
}


/* Headings */

h1, h2, h3, dt, legend, span.heading {
	background-color: transparent;
	font-family: "arial", sans-serif;
	/*color: #1a4056;*/
	color: #028ebf;
	text-align: left;
	margin-top: .2em;
	margin-bottom: .2em;
	cursor: text;
}

h1:first-letter {
	text-transform: capitalize;
}

.hidden {
	display: none;
}

/* Fieldsets */
div.form {
	display: block;
	float: left;
}

fieldset {
	width: 100%;
	border: none;
	float: left;
}

fieldset legend {
	display: none;
}

fieldset ul {
	width: 100%;
	float: left;
}

fieldset label {
	width: 150px;
	float: left;
}

fieldset .text {
	width: 250px;
	border: 1px solid #cccccc;
	background-color: inherit;
	font-family: arial, sans-serif;
	color: black;
}

fieldset .text.error {
	border-color: red;
}

fieldset textarea {
	height: 80px;
	float: left;
	overflow: auto;
}


/***********************************************************
Global layout definitions
***********************************************************/
.container {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}
	
.site {
	width: 100%;
	padding-top: 20px;
	padding-bottom: 30px;
	float: left;
	
}

/* Logo */

.logo {
	width: 900px;
	font-size: 1.9em;
	float: left;
}

.logo span {
	width: auto;
	display: block;
	float: left;
}

.logo .expertise {
	width: auto;
	text-transform: uppercase;
	text-align: center;
	display: block;
	float: right;
}

.logo .expertise span {
	font-size: 0.5em;
	text-transform: none;
	display: block;
	text-align: center;
	float: none;
}


/* Navigation: general */

.navigation li ul li a {
	display: none;
}

.navigation li.stretch a {
	display: block;
	z-index: 10;
}

/* Navigation: primary */

.primary {
	width: 908px;
	padding-top: 10px;
	padding-left: 4px;
	padding-right: 4px;
	padding-bottom: 30px;
	background-image: url(/graphics/navi-bg.png);
	background-position: left bottom;
	background-repeat: no-repeat;
	float: left;
	position: relative;
	top: 0;
	left: 0;
	z-index: 5;
}

.primary li {
	padding-left: 8px;
	padding-right: 8px;
	list-style-type: none;
	float: left;
	position: relative;
}

.primary li a {
	font-weight: bold;
	color: black;
	text-decoration: none;
	float: left;
}

.primary li.first {
	padding-left: 0;
}

/* Navigation: Sub-level */
.primary li ul {
	position: absolute;
	top: 16px;
	left: 8px;
	float: left;
}

.primary li ul li {
	padding: 0;
}

.primary li li a {
	width: 130px;
	border-top: 1px solid #cecece;
	padding-top: 5px;
	padding-left: 7px;
	padding-right: 8px;
	padding-bottom: 5px;
	background-color: #eeeeee;
	color: inherit;
}

.primary li ul li:first-child a {
	border: none;
}

.primary li li a:hover {
	background-color: white;
	color: #1a4056;
}

/* Navigation: Special */

.primary li.selected a {
	text-decoration: underline;
}

.primary li.selected li a {
	text-decoration: none;
}


/* Content */
.content, .footer {
	width: 860px;
	padding-left: 24px;
	padding-right: 24px;
	background-image: url(/graphics/content-bg.png);
	background-position: left top;
	background-repeat: repeat-y;
	float: left;
	position: relative;
	top: 0;
	left: 0;
	z-index: 2;
	overflow: hidden;
}

.content {
	padding-bottom: 30px;
}

.content p {
	line-height: 1.3em;
	margin-bottom: .8em;
}

.content a, .content a:link {
	background-color: inherit;
	color: #028ebf;
}

.content a:hover,
.content a:active {
	background-color: inherit;
	color: #005a8c;
}

.content ul, .content ol {
	padding-bottom: 10px;
}

.content li, .content dd {
	margin-left: 23px;
	line-height: 1.3em;
}

.content ul li {
	padding-top: 2px;
}


/* Content: columns */

.column {
	width: 320px;
	padding-left: 20px;
	float: left;
}
	
.column.first {
	width: 520px;
	padding-left: 0;
}

.column span.image {
	width: 320px;
	display: block;
	float: none;
	overflow: hidden;
}

.column img {
	margin-left: auto;
	margin-right: auto;
}

/* Footer */

.footer {
	padding-top: 25px;
	background-image: url(/graphics/footer-bg.png);
	background-repeat: no-repeat;
	background-color: inherit;
	color: #595959;
	z-index: 1;
}

.footer address {
	font-style: normal;
	padding-left: 55px;
}

.footer address span {
	padding-right: 20px;
	display: block;
	float: left;
}

.footer br {
	display: none;
}

/***********************************************************
Hacks to overcome IE's float bugs:
	* Randomly appearing text (text from the last
	  floated element in the markup).
***********************************************************/
/* Start: Hide from IE5-mac. Only IE-Win sees this. \*/
 
* html p {
  	height: 1%;
  }
  
* html select, * html textarea {
	margin-left: -3px;
  }  
  
/* End: Hide from IE5/mac */



























/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
