/* 
General style definitions (applicapable to entire site).

Site: FADD
Author: Adam Barry for Neolab
Date: 17 October 2007
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: #CBDAEE;
	/*background-image: url(../graphics/background/top.gif);*/
	background-position: 0 0;
	background-repeat: repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	text-align: center;
	color: black;
	padding-bottom: 30px;
	cursor: default;
}

td {
	padding: 2px;
	
	}
/*: Headings
----------------------------------------------------------*/
h1, h2, h3 {
	text-align: left;
	cursor: text;
}

h1 {
	background-color: inherit;
	font-size: 1.5em;
	font-weight: normal;
	color: black;
	padding-bottom: 10px;
}

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

h2 {
	background-color: inherit;
	font-size: 1.2em; 
	font-weight: bolder;
	text-align: left;
	color: black;
	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 {
	text-align: left;
	cursor: text;
	background-color: inherit;
	font-size: 1.5em;
	color: black;
	margin-top: .2em;
	margin-bottom: .2em;
	list-style-type: none;
}

dd {
	list-style-type: none;
}


/*: Anchors/Links
----------------------------------------------------------*/
a {
	background-color: inherit;
	font-weight: normal;
	text-decoration: none;
	color: #000000;
	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
----------------------------------------------------------*/
fieldset {
	width: 100%;
	float: left;
}

legend {
	font-family: arial, "trebuchet ms", sans-serif;
	background-color: inherit;
	font-weight: bold;
	color: black;	
	text-transform: uppercase;
	margin-left: 5px;	
}

fieldset ul {
	width: 100%;
	padding-top: 10px;
	float: left;
}

fieldset li {
	width: 100%;
	list-style-type: none;
	padding-top: 2px;
	padding-bottom: 2px;
	float: left;
}

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

fieldset input {
	font-size: 1em;
	padding-left: 2px;
	float: left;
}

fieldset span.validator {
	background-color: inherit;
	color: red;
	padding-left: 5px;
	float: left;
}


/*: Special styles used toughout the site
----------------------------------------------------------*/
.hidden {
	display: none;
}

acronym {
	border-bottom: 1px dotted black;
	cursor: help;
}

span.heading {
	font-weight: bold;
	display: block;
}


/***********************************************************
Global Layout definition
***********************************************************/
#container { /* Container responsible for centering #site */
	width: 917px;
	margin-left: auto;
	margin-right: auto;
}

#site { /* Global site container. Floated to enable Liquid
	   layout */
	width: 100%;
	margin-bottom: 50px;
	float: left;
	position: relative;
	top: 0;
	left: 0;
}


/*: Branding
----------------------------------------------------------*/
.branding {
	width: 100%;
	height: 88px;
	border-bottom: 1px solid white;
	float: left;
	overflow: hidden;
	cursor: pointer;
}

.branding h1, .branding h2 {
	display: none;
}


/*: Navigation: Primary
----------------------------------------------------------*/
.primary {
	width: 100%;
	font-size: 1em;
	list-style-type: none;
	margin-left: 0px;
	clear: left;
	float: left;
	z-index: 2;
	background-image: url(../graphics/themes/seden/elements/topbjaelke.gif);
	
}

.primary li {
	list-style-type: none;
	float: left;
}

#site .primary a {
	height: 25px;
	background-color: inherit;

	line-height: 1.9em;
	padding-top: 4px;
	padding-left: 14px;
	padding-right: 12px;
	padding-bottom: 4px;
	float: left;
}

#site .primary a:hover {
	
	color: white;	
}


/*: Navigation: special
----------------------------------------------------------*/
#site .primary li.selected a {
	background-color: #9F1C08;
	color: #D8E3F2;
}


/*: Column
----------------------------------------------------------*/
.column {
	width: 203px;
	float: left;
}


/*: Navigation: Secondary
----------------------------------------------------------*/
.navContainer {
	width: 203px;
	padding-bottom: 3px;
	float: left;
}

.secondary {
	width: 179px;
	
	font-family: arial, sans-serif;
	font-size: 1.05em;
	padding-top: 10px;
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 10px;
	float: left;
}

#site .secondary li {
	width: 100%;
	list-style-type: none;
	border-bottom: 1px solid white;	
	float: left;
	position: relative;
}

#site .secondary a {
	width: 155px;
	background-color: inherit;
	font-weight: bold;
	color: #710000;
	padding-top: 6px;
	padding-left: 0px;
	padding-right: 12px;
	padding-bottom: 7px;
	float: left;
	position: relative;
	z-index: 10;
}

#site .secondary a:hover {
	background-color: inherit;
	color: #16345B;
}

#site .secondary li.selected a {
	background-color: inherit;
	color: #16345B;
}

#site .secondary li.selected a:hover {
	background-color: inherit;
	color: #16345B;
}


/*: Navigation: Secondary sub level
----------------------------------------------------------*/
.secondary li ul {
	width: 179px;
	height: 5px;
	background-image: url(../graphics/navigation/secondary/dropout.gif);
	background-repeat: no-repeat;
	background-position: 160px 0;
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: -13px;
	float: left;
	position: relative;
	top: -20px;
	left: 0;
	overflow: hidden;
	z-index: 1;
}

#site .secondary li ul li {
	width: 169px;
	height: auto;
	border: none;
	padding-left: 10px;
	display: none;
}

#site .secondary li ul li ul li {
	
	height: auto;
	border: none;
	padding-left: 20px;
	display: none;
}
#site .secondary li ul li a {
	width: 145px;
	font-family: georgia, serif;
	font-size: .85em;
	padding-top: 0;
	padding-bottom: 0;
}


/*: Navigation: Secondary special
----------------------------------------------------------*/
#site .secondary li.selected {
	height: auto;
}

#site .secondary li.selected ul {
	height: auto;
	background-image: url(../graphics/navigation/secondary/dropout-selected.gif);
	padding-top: 15px;
	display: block;
}

#site .secondary li.selected ul li {
	display: block;
}

#site .secondary li.selected ul a {
	background-color: inherit;
	color: #710000;
}

#site .secondary li.selected li.selected a {
	background-color: inherit;
	color: #16345B;
}
.secnavtre {
	color: #FF0;
	background-color: #3FC;
	display: inline;
}


/*: Login
----------------------------------------------------------*/
.login {
	width: 203px;
	background-color: #D8E3F2;
	background-image: url(../graphics/elements/top.gif);
	background-repeat: no-repeat;
	font-size: .9em;
	padding-top: 20px;
	margin-top: 16px;
	float: left;
}

.login h2 {
	font-family: arial, sans-serif;
	font-size: 1em;
	text-transform: uppercase;
	padding-left: 20px;
	padding-bottom: 5px;
	margin-top: 0;
	margin-bottom: 0;
	float: left;
}

.login fieldset {
	width: 163px;	
	background-image: url(../graphics/elements/bottom.gif);
	background-position: left bottom;
	background-repeat: no-repeat;
	border: none;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	float: left;
}

.login legend {
	font-size: 1.2em;
	margin-left: -1px;
	float: left;
}

.login li {
	width: 163px;
	float: left;
}

.login span {
	padding-bottom: 3px;
	float: left;
}

.login input {
	width: 159px;
	font-size: 1.1em;
	border-top: 1px solid #4E4E4E;
	border-left: 1px solid #4E4E4E;
	border-right: 1px solid #4E4E4E;
	border-bottom: 1px solid #D9D6CF;
	float: left;
}

.login .loginButton {
	width: 63px;
	height: 20px;
	background-image: url(../graphics/login/login.gif);
	background-position: 0 0;
	background-repeat: no-repeat;
	margin-top: 5px;
	float: right;
}

.login .loginButton span {
	display: none;
}

.login .loginButton:hover {
	background-position: 0 -20px; 
}


/*: Main
----------------------------------------------------------*/
.main {
	width: 650px;
	background-image: url(../graphics/main-back.gif);
	background-repeat: no-repeat;
	padding-top: 21px;
	padding-left: 10px;
	float: left;
	padding-bottom: 20px;
	text-align: left;
}
.main2 {
	width: 300px;
	background-image: url(../graphics/main-back.gif);
	background-repeat: no-repeat;
	padding-top: 21px;
	padding-left: 30px;
	float: left;
	padding-bottom: 20px;
	text-align: left;
}
.main_right {
	width: 300px;
	background-image: url(../graphics/main-back.gif);
	background-repeat: no-repeat;
	padding-top: 21px;
	padding-left: 30px;
	float: right;
	padding-bottom: 20px;
	text-align: left;
}



/*: Content
----------------------------------------------------------*/
#content {
	width: 660px;
	background-color: #D8E3F2;
	background-image: url(../graphics/content/top.gif);
	background-repeat: no-repeat;
	font-size: medium;
	color: inherit;
	text-align: left;
	float: left;
}

#content .container {
	width: 620px;
	background-image: url(../graphics/content/bottom.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
	padding: 20px;
	float: left;
}

#content.frontpage {
	width: 700px;
	background-color: #CBDAEE;
	background-image: none;
	color: inherit;
	padding: 0;
}

#content.frontpage .column {
	width: 400px;
	padding-right: 85px;
}

#content p {
	font-size: .8em;
	font-weight: normal;
}

#content p a {
	background-color: inherit;
	color: #710000;
	white-space: nowrap;
	border-bottom: none;
}

#content p a:hover {
	background-color: inherit;
	color: #16345B;
	border-bottom: 1px solid #16345B;
}

#content p span.image {
	width: 228px;
	height: 181px;
	background-image: url(../graphics/image-mask.gif);
	background-repeat: no-repeat;
	padding: 9px;
	margin-left: 20px;
	margin-bottom: 20px;
	float: right;
	display: block;
}

#content p span.image span {
	width: 228px;
	height: 181px;
	background-color: white;
	float: left;
	overflow: hidden;
}

#content p img {
	float: left;
}

#content ul {
	list-style-type: square;
	padding-bottom: 1em;
}

#content li {
	margin-left: 1.2em;
}


/*: Footer
----------------------------------------------------------*/
#footer {
	width: 100%;
	background-color: white;
	float: left;
	position: relative;
	top: 20px;
}

#footer .graphic {
	width: 100%;
	background-color: #CBDAEE;
	color: inherit;
	display: block;
}

#footer .graphic span {
	width: 917px;
	height: 18px;
	background-position: 0 0;
	background-repeat: no-repeat;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

#footer .graphic.top span {
	background-image: url(../graphics/footer/top.gif);
}

#footer .graphic.bottom span {
	height: 50px;
	background-image: url(../graphics/footer/bottom.gif);
}

#footer div {
	width: 897px;
	height: 31px;
	background-color: white;
	color: #A3A1A2;
	padding-top: 14px;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#footer p {
	font-size: 1em;
	white-space: nowrap;
	float: left;
}

#footer p span {
	text-transform: uppercase;
}

#footer p.copyright {
	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;
  }  
