body {
	margin: 0;
	padding: 0;	
	background: #FFF url('../images/bg.gif') center top repeat-y;
}

body, p, td, th, button {
	font-size: 11px;
	font-family: Tahoma, Arial, sans-serif;
}

a {
	text-decoration: none;
}

a img {
	border: none;
}

form {
	margin: 0;
	padding: 0;
}

fieldset {
	padding: 0;
	margin: 0;
	border: none;
}

.left {
	float: left;
}

.right {
	float: right;	
}

.clear {
	clear: both;
}

.Error, .req {
	color: red;
}


#frame {
	width: 975px;
	margin: 0 auto;
	background: #FFF;
}

#header, #main, #footer {
	clear: both;
}


/* Header */

#header {
	height: 156px;
	background-color: #C7E88F;
	position: relative;
}


/* Logo */

#logo {
	position: absolute;
	top: 39px;
	left: 43px;
}

	#logo a {	
		display: block;
		width: 259px;
		height: 52px;
		text-indent: -20000px;
		background: url('../images/logo.gif') transparent no-repeat;
	}
	
	#logo .Note {
		text-align: right;
		text-transform: lowercase;
		font-style: normal;
		font-weight: bold;
		color: #7F8184;
	}


/* NavigationBar */

.NavigationBar {
	width: 100%;
	height: 25px;
	background-color: #D81205;
	background-position: right top;
	background-repeat: no-repeat;	
}

#header .NavigationBar {
	position: absolute;
	top: 131px;
	background-image: url('../images/rt-corner.gif');
}

#footer .NavigationBar {
	background-image: url('../images/rb-corner.gif');
}


/* Main */

#main {
	margin-top: 10px;
}

#main h1, 
#main h2 {
	margin: 0;
	padding: 4px 10px 6px;
	font-size: 12px;
	text-transform: lowercase;
}


/* List and Form styles */

table.List, 
table.Form {
	width: 100%;
	background-color: #EEE;
	border-collapse: collapse;
	border: 1px solid #DDD;
	margin: 0;
}

table.List caption, 
table.Form caption {
	padding: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	color: #FFF;
	background-color: #858585;	
	border-top:1px solid #FFF;
	border-bottom:1px solid #FFF;
}

table.List colgroup {
	text-align: left;
	font-weight: normal;
}

table.List th, 
table.List td {		
	color: #000;
	padding: 7px 10px;
	border-bottom: 1px solid #DDD;
}

table.List thead th,
table.List tfoot th {
	border-right: 1px solid #FFF;
}

table.List thead th {
	padding: 10px;
	font-weight: bold;
	text-align: left;
	color: #67685A;
	background-color: #D0D0D0;
}

table.List thead th a {
	display: block;
}

table.List td {
	border-right: 1px solid #FFF;	
}

table.List th a {
	color: #67685A;
}

table.Form th, 
table.Form td {
	font-weight: normal;
	color: #000;
	padding: 7px 10px;
	border-bottom: 1px solid #DDD;
}

table.Form th {
	width: 30%;
	text-align: right;
	background-color: #EEE;
	border-right: 1px solid #FFF;
}

table.List td a, 
table.Form td a {
	font-weight: normal;
	color: #000;
	margin-right: 7px;
	text-decoration: underline;
}

table.List a:hover, 
table.Form a:hover {
	color: #D81205;
	text-decoration: none;
}

table.List ul, 
table.Form ul {	
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/* Extra form styles */

.text {
	width: 90%;
}

.Error {
	margin-bottom: 10px;
}

.Form .Error {
	clear: both;
	display: block;
	margin: 0;
	padding-top: 3px;
}

.Note {	
	font-style: italic;
}

p.Note {	
	margin: 0 0 10px 0;
}

.Pager {
    clear: both;
}

    .Pager ol {
    	margin: 0 0 5px 0;
    	padding: 0;
    	list-style-type: none;
    }

        .Pager ol li {
        	display: inline;
        	margin: 0 2px 0 0;
        }

        .Pager ol li.Active {
        	font-weight: bold;
        }

            .Pager ol li a {
            	text-decoration: none;
            	margin: 0;
            }

.Buttons {
	margin-top: 10px;
	padding: 5px 0;
}

.Buttons a, 
.Buttons button {
	margin: 0 10px 0 0;
}


/* Footer */

#footer {
	padding-top: 50px;
	height: 100%;
}

/* Copyright block */

#copyright {
	float: left;
	height: 100%;
	padding: 0 50px 0 60px;
	line-height: 25px;
	color: #FFF;
	background: transparent url('../images/lb-corner.gif') no-repeat left top;	
}


/* jQuery Date Picker */

table.jCalendar {
	border: 1px solid #000;
	background: #AAA;
    border-collapse: separate;
    border-spacing: 2px;
}

table.jCalendar th {
	background: #333;
	color: #FFF;
	font-weight: bold;
	padding: 3px 5px;
}

table.jCalendar td {
	background: #CCC;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}

table.jCalendar td.other-month {
	background: #DDD;
	color: #AAA;
}

table.jCalendar td.today {
	background: #666;
	color: #FFF;
}

table.jCalendar td.selected {
	background: #F66;
	color: #FFF;
}

table.jCalendar td.selected.dp-hover {
	background: #F33;
	color: #FFF;
}

table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
	background: #FFF;
	color: #000;
}

table.jCalendar tr.selectedWeek td {
	background: #F66;
	color: #FFF;
}

table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
	background: #BBB;
	color: #888;
}

table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
	background: #BBB;
	color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
	position: relative;
	background: #CCC;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 171px;
	line-height: 1.2em;
}

div#dp-popup {
	position: absolute;
	z-index: 199;
}

div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}

a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}

a#dp-close:hover {
	text-decoration: underline;
}

div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}

div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
}

div.dp-popup div.dp-nav-prev a {
	float: left;
}

/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}

div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}

div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}

div.dp-popup div.dp-nav-next a {
	float: right;
}

div.dp-popup a.disabled {
	cursor: default;
	color: #AAA;
}

div.dp-popup td {
	cursor: pointer;
}

div.dp-popup td.disabled {
	cursor: default;
}

a.dp-choose-date {
	float: left;
	width: 16px;
	height: 15px;
	padding: 0;
	margin: 3px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: transparent url(../images/icons/calendar.gif) 0 0 no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 70px;
	float: left;
}