/* GENERAL STYLES */
/* 
General style definitions (applicapable to entire site).

Site: Front-safe
Author: Joakim Jensen Møller
Date: 17 Oct 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: #cccccc;
	background-image: url(/graphics/bg.jpg);
	background-position: 0 0;
	font-family: "verdana", sans-serif;
	font-size: 0.75em;
	text-align: center;
	color: #808080;
	padding-bottom: 30px;
	cursor: default;
}


/*: Headings
----------------------------------------------------------*/
h1, h2, h3 {
	font-family: "verdana", sans-serif;
	text-align: left;
	cursor: text;
}

h1 {
	background-color: inherit;
	font-size: 1em;
	font-weight: bold;
	color: #1d5669;
	padding-bottom: 15px;
}

h1:first-letter {
	text-transform: capitalize;
}

h2 {
	background-color: inherit;
	font-size: 1em; 
	font-weight: bolder;
	text-align: left;
	letter-spacing: 0;
	color: #364F5C;
	margin-top: .2em;
	margin-bottom: .2em;
}

h2:first-letter {
	text-transform: capitalize;
}

h3 {
	background-color: inherit;
	font-size: 1em; 
	font-weight: bold;	 
	text-align: left;
	color: #064747;
	clear: right;
}

h3:first-letter {
	text-transform: capitalize;
}


/*: Paragraphs & general text definitions
----------------------------------------------------------*/
p {
	text-align: left;
	margin-bottom: 1.3em;
	cursor: text;
}

p, ul, ol, dd {
	font-size: .90em;
}

/*: Lists
----------------------------------------------------------*/
ul, ol {

	text-align: left;
}

li {
	line-height: 1.3em;
}

dl {
	list-style-type: none;
}

dt {
	font-family: "verdana", sans-serif;
	text-align: left;
	text-transform: capitalize;
	cursor: text;
	background-color: inherit;
	font-size: 1em;
	letter-spacing: 0em;
	color: black;
	padding-top: 15px;
	list-style-type: none;
}

dt a {
	font-weight: bold;
}

dd {
	list-style-type: none;
}


/*: Anchors/Links
----------------------------------------------------------*/
a {
	background-color: inherit;
	font-weight: normal;
	text-decoration: underline;
	color: #1d5669;
	cursor: pointer;
}

a:hover {
	background-color: inherit;
	color: #1d5669;
}

a:active {
	background-color: inherit;
	color: #1d5669;
}

a:visited {
	background-color: inherit;
	color: #1d5669;
}


/*: Images
----------------------------------------------------------*/
img {
	border: none;
}


/*: Form elements
----------------------------------------------------------*/
fieldset {
	width: 100%;
	padding-top: 5px;
	padding-bottom: 10px;	
	float: left;
}

legend {
	font-family: arial, "trebuchet ms", sans-serif;
	background-color: inherit;
	font-weight: bold;
	color: #032958;	
	margin-left: 5px;	
}

fieldset ul {
	width: 100%;
	padding-top: 10px;
	float: left;
}

#site fieldset li {
	width: 100%;
	list-style-type: none;
	padding-top: 2px;
	padding-bottom: 2px;
	float: left;
}

fieldset label {
	text-align: left;
	line-height: 1.3em;
	margin-bottom: 8px;
	float: left;
}

fieldset li label {
	padding-top: 3px;
	margin-bottom: 0;
}

fieldset input {
	float: left;
}

fieldset li input {
	font-size: 1em;
	padding-left: 2px;
}

fieldset input.text {
	width: 110px;
}

fieldset input.text.filled {
	background-color: white;
	color: black;
}

fieldset textarea {
	width: 165px;
	height: 50px;
	font-size: 1em;
	float: left;
}

fieldset span.validator {
	background-color: inherit;
	color: red;
	padding-left: 5px;
	float: left;
}

button {
	width: 33px;		/* IE requires this paramater to avoid extra width on buttons. Is dependent on overflow:visible in same CSS class :| */
	font-family: arial, "trebuchet ms", sans-serif;
	margin-top: 5px;
	margin-right: 5px;
	float: left;
	cursor: pointer;
	overflow: visible;
	z-index: 0;
}

.error {
	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 {
	font-family: "trebuchet ms", sans-serif;
	font-weight: bold;
	display: block;
}


/***********************************************************
Global Layout definition
***********************************************************/
#container { /* Container responsible for centering #site */
	width: 780px;
	margin-left: auto;
	margin-right: auto;
}

#site { /* Global site container. Floated to enable Liquid
	   layout */
	width: 780px;
	background-color: white;
	background-position: 0 0;
	background-repeat: repeat-x;
	color: inherit;
	margin-top: 15px;
	margin-bottom: 30px;
	float: left;
	position: relative;
	top: 0;
	left: 0;
}


/*: Logo
----------------------------------------------------------*/
#logo {
	width: 780px;
	float: left;
	cursor: pointer;
	clear: both;
}

#logo img {
	float: right;
}

#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
----------------------------------------------------------*/
.primary {
	width: 760px;
	background-color: inherit;
	color: inherit;
	list-style-type: none;
	padding-left: 16px;
	padding-bottom: 3px;
	margin-top: 14px;
	clear: left;
	float: left;
	/*position: relative;*/
	z-index: 2;
}

.primary li {
	border-left: 1px solid #1d5669;
	padding-right: 0;
	float: left;
	/*position: relative;*/
}

.primary a {
	background-color: inherit;
	font-family: "arial", sans-serif;
	font-weight: bolder;
	font-size: 1.1em;
	color: #1d5669;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.08em;
	line-height: 1em;
	padding-left: 5px;
	padding-right: 4px;
	float: left;
}

.primary a:hover {
	background-color: inherit;
	color: #9b9b9b;	
}


/*: Navigation: special
----------------------------------------------------------*/
.primary li.first {
	border-left: none;
}

.primary li.selected a {
	background-color: inherit;
	color: #9b9b9b;
}

.primary li.selected ul li a {
	background-color: #223F6D;
	color: white;
	text-transform: none;
	line-height: 1.3em;
	padding-top: 2px;
	padding-bottom: 2px;
}

.primary li.selected ul li a:hover {
	background-color: #49597B;
	color: white;	
}


/*: Navigation: Secondary
----------------------------------------------------------*/
.secondary {
	width: 185px;
	font-family: arial, sans-serif;
	font-size: .86em;
	float: right;
	overflow: hidden;
}

.secondary li {
	width: 100%;
	list-style-type: none;
	float: left;

}

.secondary a {
	width: 158px;
	background-color: inherit;
	background-image: url(/graphics/right.gif);
	background-position: 5px 7px;
	background-repeat: no-repeat;
	text-decoration: none;
	color: #123843;
	padding-top: 3px;
	padding-left: 15px;
	padding-right: 5px;
	padding-bottom: 3px;
	float: left;
}

.secondary a:hover {
	color: black;
}


/*: Navigation: Secondary - special
----------------------------------------------------------*/
.secondary li.selected a {
background-color: inherit;
font-weight: bold;
color: #6EB53F;
}


/*: Header
----------------------------------------------------------*/
.header {
	width: 100%;
	float: left;
}
.header img {
	float: left;
}

.header h1 {
	display: none;
}

.header .languageLink {
	background-color: inherit;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
	color: #9b9b9b;
	padding-top: 4px;
	padding-right: 15px;
	float: left;
	position: absolute;
	right: 0;
}

/*: Content
----------------------------------------------------------*/
.content {
	width: 505px;
	background-color: #f6f6f6;
	color: inherit;
	text-align: left;
	padding-left: 45px;
	padding-right: 30px;
	padding-bottom: 35px;
	float: left;
}

.content p a {
	background-color: inherit;
	color: #808080;
}

.content p a:hover {
	background-color: inherit;
	color: #808080;
}

.content ul, .content ol {
	padding-bottom: 1em;
	margin-left: 0;
}

.content ul li {
	list-style-type: square;
	margin-left: 1.2em;
}

.content ol li {
	list-style-type: decimal;
	margin-left: 1.7em;
}

/*: Footer
----------------------------------------------------------*/
#footer {
	width: 760px;
	border-left: 20px solid #808080;
	background-color: #d8d8d8;
	font-size: 0.75em;
	color: inherit;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 30px;
	float: left;
	clear: both;
}

#footer address {
	width: 606px;
	font-style: normal;
	text-transform: uppercase;
	text-align: left;
	padding-left: 10px;
	padding-bottom: 1px;
	float: left;
}

#footer address span {
	width: auto;
	border-left: 1px solid #808080;
	padding-left: 5px;
	padding-right: 3px;
}

#footer address span.first {
	border: none;
	padding-left: 0;
}

#footer address span.emphasize {
	font-weight: bold;
}

#footer address span.full {
	width: 100%;
	border: none;
	padding:0;
	float: left;
	display: block;
	clear: both;
}

#footer address a {
	background-color: inherit;
	color: #808080;
	text-decoration: none;
}


#footer ul {
	width: 130px;
	list-style-type: none;
	padding-top: 2px;
	padding-right: 10px;
	float: right;
}

#footer ul li {
	width: 100%;
	float: left;
	clear: both;
}

#footer ul a {
	font-weight: bold;
	font-size: 1.1em;
	text-transform: uppercase;
	text-decoration: none;
	float: right;
}

/***********************************************************
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 */
