/* 
   Reset
------------------------------------------------------------------- */
table {
	border-collapse: separate;
	border-spacing: 0;
}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none;}
:focus {outline: 0;}


/* 
   General 
------------------------------------------------------------------- */

html {
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
}

body {
	background: #FFFFFF url('img/body.jpg');
	color: #444;
	font: normal 80% sans-serif;
	line-height: 1.5;
}


/* 
   Typography 
------------------------------------------------------------------- */

/* Headings */

h1,h2,h3,h4,h5,h6 {
	color: #555;
	font-weight: normal;
	line-height: 1;
	margin-bottom: 0.3em;
}
h4,h5,h6 {font-weight: bold;font-color: #7F91B3;}

h1 {font-size: 2.6em;}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.25em;}
h5 {font-size: 1.1em;}
h6 {font-size: 1em;}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin: 0;}


/* Text elements */

p {margin-bottom: 1em;}

a:focus,a:hover {color: #000;}
a {
	color: #357;
	text-decoration: underline;
}

abbr, acronym {border-bottom: 1px dotted #666;}
address {margin-bottom: 1.5em;}
blockquote {margin: 1.5em;}
del, blockquote {color: #666;}
em, dfn, blockquote, address {font-style: italic;}
strong, dfn {font-weight: bold;}
sup, sub {line-height: 0;}

pre {
	margin: 1.5em 0;
	white-space: pre;
}
pre,code,tt {
	font: 1em monospace;
	line-height: 1.5;
}



/* Lists */

li ul, li ol {margin-left: 1.5em;}
ul, ol {margin: 0 1.5em 1.5em 1.5em;}

ul {list-style-type: disc;}
ol {list-style-type: decimal;}

dl {margin: 0 0 1.5em 0;}
dl dt {font-weight: bold;}
dd {margin-left: 1.5em;}

ul.tabbed {
	display: inline;
	margin: 0;
}
ul.tabbed li {
	float: left;
	list-style: none;
	margin: 0;
}


/* Tables */


/* Misc classes */

.small {font-size: 0.9em;}
.smaller {font-size: 0.8em;}
.smallest {font-size: 0.7em;}

.large {font-size: 1.1em;}
.larger {font-size: 1.2em;}
.largest {font-size: 1.3em;}

.hidden {display: none;}

.quiet {color: #666;}
.loud {color: #000;}
.highlight {background: #FF0;}

.text_left {text-align: left;}
.text_right {text-align: right;}
.text_center {text-align: center;}

.error, .notice, .success {
	font-size: 1.1em;
	border: 1px solid #DDD;
	margin-bottom: 1em;
	padding: 0.6em 0.8em;
}

.error {
	background: #FBE3E4;
	border-color: #FBC2C4;
	color: #8A1F11;
}
.error a {color: #8A1F11;}

.notice {
	background: #FFF6BF;
	border-color: #FFD324;
	color: #514721; 
}
.notice a {color: #514721;}

.success {
	background: #E6EFC2;
	border-color: #C6D880;
	color: #264409;
}
.success a {color: #264409;}


/* 
   Forms 
------------------------------------------------------------------- */
/* 
 wFORMS 2.0 Stylesheet - Post-It Theme v3 by Jason Shore (www.shoremark.com) - Aug. 2006
 See http://www.formassembly.com/wForms
 
 To be used along with wforms-jsonly.css
 This stylesheet and the associated images are Copyright (c) 2005 Jason Shore (http://www.shoremark.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/

form {
	margin: 0;
	padding: 0 10px 10px 10px;
	font-family:"Trebuchet MS", Helvetica, Verdana;	
	font-size: small;
	background-position: 0 0;
}
form a{
	color:#3366cc;
	text-decoration: none;	
}
form a:hover{
	color:#00c;
	border-bottom: 1px dotted #00c;
}

/* Form Sections ======================================================================== */

/* Fieldset  */
fieldset {
	margin: 20px 0;
	padding: 15px 10px 55px;
	background-color:#fff;
	background-image: url(_images/fieldset-bg.jpg);
	background-repeat:no-repeat;
	background-position: bottom right;
	border: 1px solid #f2f2f2;	
	overflow: auto;
}
legend {
	padding: 2px 5px;
	text-transform: uppercase;
	text-indent: 0;
	background-color: #fff;
	border: 2px solid #f2f2f2;	
}
legend:first-letter {
	font-size: 120%;
}
/* Nested Fieldset  */
fieldset fieldset  {
	background-image: url(_images/fieldset2-bg.jpg);	
	background-color: #fffce3;
	margin: 20px 50px 0 50px;
	border-top: 2px solid #f5f2da;	
	border-left: 2px solid #f5f2da;
	border-bottom: 0px;
	border-right: 0px;
}
fieldset fieldset legend {
	font-size: small;
	background-color: #fffacc;
	border: 2px solid #f5f2da;	
}
/* Inline Section */
.inlineSection {
	overflow: auto;
	width: 100%;	
}
/* Grid Section */
form table {
	border-collapse: collapse;
}
form td {
	padding: 4 4px;
	border-left: 0px solid #6E7da4;
	border-right: 0px solid #6E7da4;	
}
form th {
	padding: 4 4px;
}
form .alternate-1 {
	background-color:#FFFFFF;
}
form .alternate-1 td {
	border-left: 1px solid #6E7da4;
	border-right: 1px solid #6E7da4;	
}
form .alternate-0 {
}

/* Combo Label + Input Field =========================================================== */
form .oneField {
	margin: 6px 0;
	display: block;
	vertical-align: middle;
}

/* Ties together a label and its checkbox or radio */
form .oneChoice {
	white-space: nowrap; 	
}

/* Field Labels ======================================================================== */

/* Base */
label, form .label {	
	color: #333;
	margin: 0;
}
/* Text inputs / Select label */
label.preField {
	display: -moz-inline-box;
	display: inline-block;	
	margin: 0.6em 4px 0 0;
	padding: 0 2px;
	min-width: 7em;
}
/* Radio / Checkbox group label */
form .label  {
	display: block; 
	margin: 0.6em 4px 0 0;
	padding: 2px;
}
/* Individual Checkbox / Radio label */
label.postField  {
	margin: 0 4px 0 4px;
}
/* Label when inside an inline section */
form .inlineSection .oneField .inlineLabel {
	display: -moz-inline-box;
	display: inline-block;	
	margin: 0.6em 4px 0 0;
	padding: 0 2px;
	min-width: 7em;
	white-space: normal;
}

/* Inputs ======================================================================== */

textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 2px 1px 0;
}
input {
}
input[type=text], input[type=password] {
	border: 2px solid #e2e2e2;	
}
select {
	border: 2px solid #e2e2e2;
	padding: 0;
	
}
.inlineSection .oneField select {
	margin: 0 2px 1px 0 !important;
}
.gridSection select  {
	margin: 0 !important;
}

/* Buttons ======================================================================= */

form .actions {
	margin: 20px 0 10px 0;	
	text-align: right;
}
/* Submit button */
form .primaryAction {
}
/* Cancel button */
form .secondaryAction {
	color: grey;
}
form .secondaryAction:hover {
	color: black;
}

/* Form Builder Related Rules ===================================================== */

/* Form or Fieldset instruction paragraph. */
form .instructions {
	padding: 1.5em 0 2em 0;
	color: #000;
	font-size: 90%;		
}
fieldset .instructions {	
	margin: 1em auto 2em auto;
	padding: 0;
	text-indent: 2em;
	width: 75%;
}
/* Asterisk on required fields */
form .reqMark {
	color: #F00;
	padding: 0 4px;
}
/* wForms Related Rules ========================================================== */

/* Field w/ a validation error */
form .errFld {
	padding: 1px;
	border: 1px solid #F00;
}
/* Styling for message associated with a validation error. */
form .errMsg {	
	color: #CC3333 !important;
	display: block;
}
/* Field-Hint with focus */
form .field-hint {
	color: #000;
	float: right;
	clear: right;
	width: 190px;
	font-size: 85%;
	min-height: 2em;	
	background-image: url(/images/tfa-bracket.gif);
	background-repeat: no-repeat;
	background-position: left center;	
	padding: 0 0 0 20px ;
}
/* Field-Hint without focus */
form .field-hint-inactive {
	color: #666;
	float: right;
	clear: right;
	width: 190px;
	font-size: 85%;
	min-height: 2em;
	background-image: url(/images/tfa-greybracket.gif);
	background-repeat: no-repeat;
	background-position: left center;		
	padding: 0 0 0 20px ;
}
/* Repeat Behavior divs (when not set on a fieldset) */
div.repeat {
	border: 1px solid #ddd;
	background-color: #FFFFFF;
	padding-right: 6px;	
	background-image: none;	
	margin: 5px 50px 0 50px;
	padding-bottom:	10px;
}
div.removeable {
	border-top: 2px solid #f5f2da;	
	border-left: 2px solid #f5f2da;
	border-bottom: 0px;
	border-right: 0px;
	background-image: url(_images/fieldset2-bg.jpg);	
	background-color: #fffce3;
	margin: 5px 50px 0 50px;	
}
/* Links generated by the Repeat Behavior */
form .duplicateLink {
	padding-left: 15px;
	float: right;
	text-transform: uppercase;
	font-size: 75%;
	background-image: url(_images/plus.gif);
	background-repeat: no-repeat;
	background-position: 2px 0;	
}
form .removeLink {
	margin-top: 10px;
	padding-left: 15px;
	background-image: url(_images/minus.gif);
	background-repeat: no-repeat;
	background-position:  0 2px;
	float: right;
	text-transform: uppercase;
	font-size: 75%
}
form td .duplicateLink, form td .removeLink  {
	margin: 0;
	float: none;
	line-height: 100%;
}
/* Switch Behavior Classes */
.onstate-a,  .onstate-b,  .onstate-c,  .onstate-d,
.onstate-e,  .onstate-f,  .onstate-g,  .onstate-h, 
.onstate-i,  .onstate-j,  .onstate-k,  .onstate-l, 
.onstate-m,  .onstate-n,  .onstate-o,  .onstate-p, 
.onstate-q,  .onstate-r,  .onstate-s,  .onstate-t,
.onstate-u,  .onstate-v,  .onstate-w,  .onstate-x,  
.onstate-y,  .onstate-z,  .onstate-aa, .onstate-ab,
.onstate-ac, .onstate-ad, .onstate-ae, .onstate-af,
.onstate-ag, .onstate-ah, .onstate-ai, .onstate-aj,
.onstate-ak, .onstate-al, .onstate-am, .onstate-an,
.onstate-ao, .onstate-ap, .onstate-aq, .onstate-ar,
.onstate-as, .onstate-at, .onstate-au, .onstate-av,
.onstate-aw, .onstate-ax, .onstate-ay, .onstate-az {
	display: block;
}
/* offstate classes for the Switch Behavior are in wforms-jsonly.css */


 
/* IE6 BUG FIXES ==================================================================== */
form {
	height:expression('1%'); /* IE Pick-a-boo bug fix */
}
form fieldset {
	position:expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	margin-top:expression('1em');
	padding-top:expression('1.5em');
	overflow: expression('visible');
}
form fieldset legend {
	position: expression('absolute'); 
	top: expression('-.5em'); /* Fixes IE problem with fieldset+legend boundaries */
	left:expression('.5em');
}
form .inlineSection .oneField {
	display: expression('inline-block');		
}
label, form .label {	
	font-size: expression('90%');
}
label.preField, form .inlineSection .oneField .inlineLabel {
	width: expression('7em');
	white-space: expression('nowrap');
}




/* 
   Alignment 
------------------------------------------------------------------- */

/* General */

.center,.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* Images */

img.bordered,img.alignleft,img.alignright,img.aligncenter {
	background-color: #FFF;
	border: 1px solid #DDD;
	padding: 3px;
}
img.alignleft, img.left {margin: 0 1.5em 1em 0;}
img.alignright, img.right {margin: 0 0 1em 1.5em;}


/* Floats */   

.left,.alignleft {float: left;}
.right,.alignright {float: right;}

.clear,.clearer {clear: both;}
.clearer {
	display: block;
	font-size: 0;
	line-height: 0;	
}



/* General wrappers */

#layout_wrapper {
	background: url('img/layout_wrapper.jpg') repeat-x;
	padding-bottom: 16px;
}
#layout_wrapper2 {
	background: url('img/layout_wrapper2.jpg') no-repeat center top;
	padding-top: 90px;
}
#layout_wrapper3 {
	background: #FFF;
	margin: 0 auto;
	width: 992px;	
}
#layout_wrapper4 {padding: 6px;}


/* Header */

#header_wrapper {
	background: #222 url('img/header.jpg') repeat-x;
	height: 145px;
}
#header {padding: 20px 20px 0 20px;}

#site_title h1 {
	color: #A0C3D0;
	font-size: 2.5em;
}
#site_title h1 a {
	color: #A0C3D0;
	text-decoration: none;
}
#site_title h1 a:hover {color: #DDD;}
#site_title h2 {
	color: #999;
	font-size: 1.3em;
}

/* Main */

#main_wrapper {
	background: url('img/main_wrapper.gif') repeat-y;
	border-bottom: 1px solid #C3C4C1;
	margin-bottom: 3px;
}
#main {
	background: url('img/main.gif') no-repeat;
	padding: 24px 0;
}
#content_wrapper {width: 690px;}
#content {padding: 0 20px;}


/* Sidebar */

#sidebar_wrapper {width: 180px;}
#sidebar {padding: 0 18px;}



/* Footer */

#footer {	
	background: #DDD;
	border: 1px solid #CCC;
	padding: 8px 12px;
}
#footer .right, #footer .right a {
	color: #777;
	text-decoration: none;
}
#footer .right a:hover {
	color: #223;
	text-decoration: underline;
}

/* 
   Single line IE-fix
------------------------------------------------------------------- */
* html #main, * html #dashboard {height: 0.01%; min-height: 0.01%;}



