/* GENERAL STYLES */
/* 
General style definitions (applicapable to entire site).

Site: Cirkus Benneweis
Author: Joakim Jensen Møller & Adam Barry
Date: 1 march 2008
Base by Adam Barry
----------------------------------------------------------*/

/***********************************************************
Overall style definition
***********************************************************/
* { 	/* Remove padding and margin for all classes where
	   these attributes are not defined. Fixes some IE
	   bugs. */
	padding: 0;
	margin: 0;
}

body {
	background-color: #631010;
	/*background-image: url(/graphics/body-bg.gif);
	background-repeat: repeat-x;
	background-position: 0 0;*/

	background-image: url(/graphics/wallpaper2.gif);
	background-repeat: no-repeat;
	background-position: center top;

	font-family: "tahoma", sans-serif;
	font-size: small;
	text-align: center;
	color: black;
	cursor: default;
}


/*: Headings
----------------------------------------------------------*/
h1, h2, h3 {
	font-family: georgia, "trebuchet ms", sans-serif;
	text-align: left;
	cursor: text;
}

h1 {
	background-color: inherit;
	font-size: 2.2em;
	font-weight: normal;
	color: #651211;
}

h1:first-letter {
	text-transform: capitalize;
}

h2 {
	background-color: inherit;
	font-size: 1.2em; 
	font-weight: bolder;
	text-align: left;
	letter-spacing: 0em;
	color: #364F5C;
	margin-top: .2em;
	margin-bottom: .2em;
}

h2:first-letter {
	text-transform: capitalize;
}

h3 {
	background-color: inherit;
	font-size: 1.05em;
	font-weight: bold;	 
	text-align: left;
	color: black;
	clear: right;
}

h3:first-letter {
	text-transform: capitalize;
}


/*: Paragraphs
----------------------------------------------------------*/
p {
	font-size: .93em;
	text-align: left;
	line-height: 1.3em;
	margin-bottom: 8px;
	cursor: text;
}


/*: Lists
----------------------------------------------------------*/
ul {
	font-size: 1em;
	text-align: left;
}

li {
	line-height: 1.3em;
}

dl {
	list-style-type: none;
}

dt {
	font-family: georgia, serif;
	text-align: left;
	cursor: text;
	background-color: inherit;
	font-size: 1.2em; 
	font-weight: bolder;
	letter-spacing: 0em;
	color: black;
	margin-top: .2em;
	margin-bottom: .2em;
	list-style-type: none;
}

dd {
	list-style-type: none;
}


/*: Anchors/Links
----------------------------------------------------------*/
#site a {
	background-color: inherit;
	font-weight: normal;
	text-decoration: none;
	color: #631010;
	cursor: pointer;
}

a:hover {
	background-color: inherit;
	color: #EF7430;
	text-decoration: none;
}

a:active {
	background-color: inherit;
	color: #37658F;
}

a:visited {
	background-color: inherit;
	color: #37658F;
}


/*: Images
----------------------------------------------------------*/
img {
	border: none;
}


/*: Form elements
----------------------------------------------------------*/
#site form {
	padding-left: 15px;
	float: left;
	position: relative;
}

fieldset {
	width: 540px;
	padding-bottom: 10px;
	float: left;
	border: none;
}

legend {
	font-family: arial, "trebuchet ms", sans-serif;
	background-color: inherit;
	font-weight: bold;
	color: #032958;	
	margin-left: 5px;
	display: none;	
}

#site fieldset ul {
	width: 100%;
	padding-left: 0;
	padding-top: 10px;
	float: left;
}

fieldset li {
	width: 100%;
	list-style-type: none;
	padding-top: 2px;
	padding-bottom: 2px;
	float: left;
}

fieldset li.indent {
	width: 450px;
	padding-left: 90px;
}

fieldset label {
	width: 110px;
	float: left;
}

fieldset input {
	font-size: 1em;
	padding-left: 2px;
	float: left;
}

fieldset input.text {
	border: 1px solid #999999;
	background-color: white;
	color: inherit;
}

fieldset input.text.error {
	border-color: red;
}

fieldset input.text.filled {
	background-color: white;
	color: black;
}

fieldset input.checkbox {
	height: 1.2em;
	line-height: 1.em;
	float: left;
}

fieldset span.validator {
	background-color: inherit;
	color: red;
	padding-left: 5px;
	float: left;
}

#site fieldset p {
	padding-left: 15px;
	float: left;
}

button {
	height: 19px;
	width: auto;		/* IE requires this paramater to avoid extra width on buttons. Is dependent on overflow:visible in same CSS class :| */
	background-color: white;
	font-family: arial, "trebuchet ms", sans-serif;
	font-size: .8em;
	color: inherit;
	border: none;
	margin-top: 5px;
	margin-right: 5px;
	float: left;
	cursor: pointer;
	overflow: visible;
	z-index: 0;
}

button span {
	height: 18px;
	background-color: inherit;
	background-image: url(/graphics/buttons/left.gif);
	background-position: left center;
	background-repeat: no-repeat;
	color: white;
	padding-left: 2px;
	padding-right: 2px;
	margin: 0;
	float: left;
	z-index: 1;
}

button span span {
	background-image: url(/graphics/buttons/right.gif);
	background-position: right center;
	background-repeat: no-repeat;
	padding-left: 0;
	padding-right: 2px;
}

button span span span {
	height: 16px;
	background-color: inherit;
	background-image: url(/graphics/buttons/center.gif);
	background-repeat: repeat-x;
	font-weight: bold;
	color: white;
	white-space: nowrap;
	padding-top: 1px;
	padding-left: 4px;
	padding-right: 4px;
	padding-bottom: 1px;
}

button.submit span {
	background-image: url(/graphics/buttons/leftGreen.gif);
}
button.submit span span {
	background-image: url(/graphics/buttons/rightGreen.gif);
}
button.submit span span span {
	background-image: url(/graphics/buttons/centerGreen.gif);
}

.watermark {
	background-color: inherit;
	color: #808080;
}

.error input {
	border: 1px solid red;
}


/*: Special styles used throughout the site
----------------------------------------------------------*/
.hidden {
	display: none;
}

.date {
	background-color: inherit;
	font-size: 0.8em;
	font-weight: bold;
	color: #5E5E62;
}

a.rss {
	background-image: url(/graphics/feed-icon-14x14.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 17px;
}

acronym {
	border-bottom: 1px dotted black;
	cursor: help;
}

span.heading {
	background-color: inherit;
	font-family: georgia, serif;
	font-size: 1.5em;
	color: #651211;
	display: block;
}


/***********************************************************
Global Layout definition
***********************************************************/
#container { /* Container responsible for centering #site */
	width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

#site { /* Global site container. Floated to enable Liquid
	   layout */
	width: 776px;
/*	background-image: url(/graphics/site-bg.gif);
	background-position: 7px 0;
	background-repeat: no-repeat;*/
	padding-top: 220px;
	padding-left: 177px;
	padding-right: 177px;
	padding-bottom: 15px;
	float: left;
	position: relative;
	top: 0;
	left: -27px;
}

#main {	
	width: 771px;	
	background-image: url(/graphics/main-bg.png);
	background-repeat: repeat-y;
	background-position: 0 0;
	padding-left: 35px;
	padding-right: 35px;
	float: left;
}

#topgraphics {
	width: 840px;
	height: 186px;
	background-image: url(/graphics/main-top.png);	
	background-repeat: no-repeat;
	float: left;
	position: absolute;
	top: 140px;
	left: 177px;
	z-index: 2;
}

/*: Cards
----------------------------------------------------------*/
.cards {
	width: auto;
	padding: 0;
	margin: 0;
	float: right;
	position: absolute;
	top: 10px;
	right: 144px;
}

.cards li {
	list-style-type: none;
	padding: 0;
	margin: 0;
	float: left;
}

.cards li img {

}

/*: Logo
----------------------------------------------------------*/
#logo {
	float: left;
	position: absolute;
	left: 410px;
	top: 120px;
	cursor: pointer;
	z-index: 5;
	display: none;
}

#logo img {
	float: left;
}

#logo h1, #logo h2, #logo p {
	display: none;
}


/*: Navigation: General
----------------------------------------------------------*/
.navigation li ul li a {
	z-index: 1;
	display: none;		/* initial display state */
}

.navigation li.stretch a {
	display: block;
	z-index: 10;
}


/*: Navigation: Primary
----------------------------------------------------------*/
#site .primary {
	width: 100%;
	background-color: inherit;
	font-family: arial, sans-serif;
	font-size: 0.93em;
	color: inherit;
	list-style-type: none;	
	clear: left;
	float: left;
	position: relative;
	z-index: 3;
}

#site .primary li {
	background-image: url(/graphics/navigation/anchor.gif);
	background-position: left center;
	background-repeat: no-repeat;
	padding-right: 8px;
	float: left;	
}

#site .primary a {	
	background-color: inherit;	
	font-weight: bold;
	color: #DAA520;
	text-transform: capitalize;
	line-height: 2em;
	padding-left: 18px;
	padding-right: 3px;
	float: left;
}

#site .primary a:hover {
	background-color: inherit;
	color: white;
}


/*: Navigation primary: special
----------------------------------------------------------*/
#site .primary li.first {
	background-image: none;
	border-left: none;
	padding-left: 12px;
}

#site .primary li.selected a {
	background-color: inherit;
	color: white;
}

#site .primary li.selected ul li a {
	background-color: #223F6D;
	color: white;
	text-transform: none;
	line-height: 1.3em;
	padding-top: 2px;
	padding-bottom: 2px;
}

#site .primary li.selected ul li a:hover {
	background-color: #49597B;
	color: white;	
}


/*: Wrapper element
----------------------------------------------------------*/
.wrapper {
	width: 100%;
	padding-top: 20px;
	float: left;
	overflow: hidden;
}


/*: Navigation: Secondary
----------------------------------------------------------*/
#site .secondary {
	width: 175px;
	list-style-type: none;
	padding-top: 80px;	
	float: left;
	position: relative;
}

#site .secondary li {
	clear: left;
}

#site .secondary a {
	width: 145px;
	background-color: inherit;
	color: #DAA520;
	border-top: 1px solid #DAA520;
	padding-top: 5px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 5px;
	float: left;	
}

#site .secondary a:hover {
	background-color: inherit;
	color: white;
}

/*: Navigation secondary: special
----------------------------------------------------------*/
#site .secondary li.selected a {
	background-color: inherit;
	color: white;
}

#site .secondary li.selected ul li a {
	background-color: #223F6D;
	color: white;
	text-transform: none;
	line-height: 1.3em;
	padding-top: 2px;
	padding-bottom: 2px;
}

#site .secondary li.selected ul li a:hover {
	background-color: #49597B;
	color: white;	
}

#site .secondary li.first a {
	border: none;
}

/*: Content
----------------------------------------------------------*/
.content {	
	width: 594px;
	background-image: url(/graphics/content-bg.gif);
	background-repeat: repeat-x;	
	padding-top: 62px;
	float: right;
	position: relative;
}

.content h1, .content h2 {
	width: 579px;
	background-color: inherit;
	font-family: georgia, serif;
	color: #651211;
	padding-top: 15px;
	padding-left: 15px;
	padding-bottom: 15px;
	float: left;
}

.content h2 {
	padding-top: 0;
	padding-bottom: 0;
}

.content p {
	width: 550px;
	padding-left: 15px;
	padding-right: 25px;
	padding-bottom: 1em;
}

.content p a {
	border-bottom: 1px dotted #631010;
}

.content p a:hover {
	border-bottom: 1px solid #EF7430;
}

.content ul {
	width: 540px;
	list-style-type: square;
	padding-left: 15px;
	padding-bottom: 1em;
	float: left;
}

.content li {
	margin-left: 1.2em;
}

#preamble {
	width: 594px;
	background-color: #d9d9d9;
	color: inherit;
	float: left;
}

#preamble img {
	padding: 0;
	margin: 0;
	float: left;
}

#preamble div {	
	width: 370px;
	padding-top: 25px;
	padding-left: 0;
	padding-right: 0;
	float: left;
}

#preamble div p {
	width: 330px;
	float: none;
}

p.signature {
	text-transform: uppercase;	
	font-style: normal;
	display: block;
}

.nextEvent {
	width: 280px;
	text-align: left;
	margin-left: 15px;
	float: left;
}

#site .nextEvent a {
	width: 280px;
	background-color: black;
	background-image: url(/graphics/kugle-stjerne.gif);
	background-repeat: no-repeat;
	color: #DAA520;
	padding-top: 10px;
	padding-left: 60px;
	padding-right: 10px;
	padding-bottom: 10px;
	float: left;
}

#site .nextEvent a:hover {
	background-color: black;
	color: #FFE800;
}


/*: Footer
----------------------------------------------------------*/
#footer {
	width: 770px;
	background-image: url(/graphics/bottom.png);
	background-repeat: no-repeat;
	padding-top: 30px;	
	padding-left: 35px;
	padding-right: 35px;
	padding-bottom: 10px;
	float: left;
	clear: both;
}

.frontPage #footer {
	background-image: url(/graphics/frontpage/bottom-frontpage.png);
}


#site #footer li.first {
	padding-left: 165px;
}


/*: Creator
----------------------------------------------------------*/
.klestrup {
	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 #site {
	left: 0;
}
 
* html p {
  	height: 1%;
  }
  
* html select, * html textarea {
	margin-left: -3px;
  }  
  
/* End: Hide from IE5/mac */

/* EDITOR PROPERTIES */
