body
{
	margin: 0;
	padding: 0;
	font-size: 75%; /* this reduces the overall font size so we can use 12px = 9pt = .75em */
}

#wrapper 
{
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	background-color: #fff;
	width: 100%;
}

#header
{
	min-height: 76px;
	min-width: 800px;
	background-color: #009c7e;
	width: 100%;
}

#headerleft
{
	float: left;
	background-image: url(../Images/bannerLeft_extranet.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	height: 76px;
	width: 757px;
}

#headerright 
{
	float: right;
	background-color: #009c7e;
	height: 76px;
}

#title
{
	clear: both;
	margin: 0 20px 0 20px;
	background-color: #003466;
	padding: 8px 0 8px 10px;
	margin-top: 15px;
	color: #fff;
	font-weight: bold;
	font-family: Verdana, Arial;
	font-size: 1.1em;
}

#navigation 
{
	clear: both;
	margin: 0;
	background-color: #0b4c88;
	padding: 0;
	font-family: Verdana, Arial;
	font-size: 1em;
	height: 24px;
}

#nav_left
{
	padding:0;
	margin:0;
	float: left;
}

#nav_right
{
	padding-top:4px;
	padding-right: 3px;
	float: right;
}

#content
{
	margin: 0 20px 20px 20px;
	border: 1px solid #d9d9d4;
	padding: 10px;
}

#content h1
{
	font-family: Verdana, Arial;
	font-size: 1.6em;
	font-weight: bold;
	color: #003466;
}

#content h2
{
	font-family: Verdana, Arial;
	font-size: 1.4em;
	font-weight: bold;
	color: #003466;
}

#content h3
{
	font-family: Verdana, Arial;
	font-size: 1.2em;
	font-weight: bold;
	color: #003466;
}

#content p, span, td
{
	font-family: Verdana, Arial;
	font-size: 1em;
	color: #000;
}

#footer
{
	clear: both;
	background-color: #0b4c88;
	color: #fff;
	font-family: Verdana, Arial;
	font-size: 1em;	
	height: 24px;
}

#footer_left
{
	padding-top:4px;
	padding-left: 3px;
	float: left;
}

#footer_right
{
	padding-top:4px;
	padding-right: 3px;
	float: right;
}

#footer_right a:link
{
	color: #FFFFFF;
	text-decoration: none;
}

#footer_right a:visited
{
	color: #FFFFFF;
	text-decoration: none;
}

#footer_right a:hover
{
	color: #FFFFFF;
	text-decoration: underline;
}

/*****************************************************************************
 The following styles are for the menu behaviours,
 they can be manipulated as per application requirements
******************************************************************************/
.menuStatic
{
    padding: 4px 3px;
	font-family:Verdana !important;
    	color:#FFFFFF !important;
    	font-size:12px !important;
    	background-color: #0b4c88 !important;
    }
.menuHover
{
    padding: 4px 3px;
	font-family:Verdana !important;
    	color:#FFFFFF !important;
    	background-color: #9aa3bb !important;
    	font-size:12px !important;
    }

/*****************************************************************************
 The following styles are classes for the DAFF framework
******************************************************************************/

.information
{
    width: 100%;
	clear: both;
	vertical-align:bottom;
	margin: 0.25em 0 0.25em 0;
	-moz-box-sizing: border-box; /*we want the width to include the border, not just the content*/
}

.information .fieldLabel
{
	float:left;
	display: inline; /*ie fix http://www.positioniseverything.net/explorer/floatIndent.html*/
	clear: left;
	text-align: left;
	width:12em;
	vertical-align:bottom;
	
}

.information label
{
	white-space: nowrap;
	float:left;
	display: inline; /*ie fix http://www.positioniseverything.net/explorer/floatIndent.html*/
	text-align: left;
}


.data
{
	width: 100%;
	clear:both;
	margin: 0 0 0 0;
}

/* .fieldLabel is the label in the left of a daff field */

.fieldLabel			/* the labels don't play nicely with the input controls - they don't center properly against the text input*/
{
	position: relative;
	text-align:right !important;
	color:#000000 !important;
	width:22em;
	padding:9px;
	white-space: normal;
	float:left;
	display: inline; /*ie fix http://www.positioniseverything.net/explorer/floatIndent.html*/
	vertical-align: middle;
}

/* .field is the data in the right of a daff field */

.field
{
	margin-left: 25em;
	padding-top:5px;
	clear: right;
	vertical-align: middle;
}

.fieldSmall
{
	margin-left: -12em;
	padding-top:5px;
	clear: right;
	vertical-align: middle;
}

/* .fieldDescription is the text to the right of the field */

.fieldDescription
{
	margin-bottom:8px;
	clear: right;
	font-style: italic;
	color: Navy;
	vertical-align: top;
}

/* .fieldTopMargin simply creates a top margin for fields that have dropdownlists or tables etc */

.fieldTopMargin
{
	margin-top: 5px;
}

.twoLineFieldLabel label			/* the labels don't play nicely with the input controls - they don't center properly against the text input*/
{
	top: 0px !important;
}

.fieldLabelMandatory
{
    position: relative;
	font-size: 1em;
	font-weight:bold;
	color: Red;
}

.data[id] .fieldLabel		/*Mozilla doesn't display it properly but ie doesn't support attribute selectors so will ignore this. Fix for Moz*/
{
	position:static;
	top: auto;
	bottom: auto;
	margin:auto;
}

.data label			/* the labels don't play nicely with the input controls - they don't center properly against the text input*/
{
	position: relative;
	top: 5px;
	text-align:left;
	float:left;
}
.data[id] label		/*Mozilla doesn't display it properly but ie doesn't support attribute selectors so will ignore this. Fix for Moz*/
{
	position:static;
	top: auto;
	bottom: auto;
	margin:auto;
}


.details
{
	margin-left: 17em;
}

.details[id]				 /*do not apply the workaround to nice browsers*/
{	
	text-indent: 0;
	margin-left: 17em;
}

.data .field
{
	margin-left: 24em;
	width: auto;
}

.dataFieldLabel
{
	position:relative;
	top:5px;
}

.mandatory .fieldLabel
{
	color: #00A0E0;
}

.section
{
    font-family: Verdana, sans-serif;
	position: relative;
	width: 97%;
	overflow: auto;
	padding: 5px;
	margin-top: 7px;
	margin-right: auto;
	margin-bottom: 7px;
	margin-left: auto;
	border: solid 1px #d9d9d4; 
	background-color: #fdfdfd;
	text-align:left;
}

.messageSection
{
    
    position: relative;
	width: 97%;	/*must have a width for ie to position corners correctly*/
	overflow: auto;
	padding: 5px;
	margin-top: 7px;
	margin-right: auto;
	margin-bottom: 7px;
	margin-left: auto;
	border: solid 1px red;
	background-color: #fdfdfd;
}

.messageSectionYellowBorder
{
    
    position: relative;
	width: 97%;	/*must have a width for ie to position corners correctly*/
	overflow: auto;
	padding: 5px;
	margin-top: 7px;
	margin-right: auto;
	margin-bottom: 7px;
	margin-left: auto;
	border: solid 1px #fedb2f;
	background-color: #fdfdfd;
}

.messageSection h2
{
	font-size:small;
	font-family: Verdana, sans-serif;
	color: #003366;
	padding: 0;
	margin: 0;
	text-indent: 2px;	
}

.messageDescription
{
    font-size:small;
    font-family: Verdana, sans-serif;
	color: black;
	text-indent: 2px;   
	text-align:left;
}

.ButtonMargin
{
	margin-top: 5px;
	margin-left:5px;
}

.invalid
{
	border: red 1px solid;
	background: #ffcccc;
	padding: 0.125em;
	margin: 1px;
}

.invalidValue
{
	color: red !important;	/*make it important just in case anything else is trying to touch the colors*/
}

/*****************************************************************************
 The following styles are for the gridView behaviours,
 they can be manipulated as per application requirements
******************************************************************************/
.gridRow
{
    background-color:#f9f9f9;
    color:#000000;
    font-size:small;
    text-align:left;    
}
.gridAlternateRow
{
    background-color:#f2f2f2;
    color:#000000;
    font-size:small;   
    text-align:left;        
}
.gridHeader
{
    background-color:Silver;
    color:#000000;
    font-size:small;  
    text-align:left;       
}

.FormDate
{
	width: 100px;
}

.FormTiny
{
	width: 54px;
}

.FormSmall
{
	width: 150px;
}

.FormMedium
{
	width: 280px;
}

.FormLarge
{
	width: 390px;
}

.CheckboxPadding
{
	margin-left: -4px;
}

textarea
{
	font-family: Arial, Verdana;
	font-size: 1.1em;
}

#HomeMenu ul li
{
	list-style-type: square;
	padding-top: 10px;	
}

/* the following hack is to make detailsview align with a gridview when detailsview is 99% and gridview is 100% - for some reason
detailview's seem to get an extra table cell put in at the start making alignment between the two controls impossible */

.DetailsViewAlignmentFix
{
	border-right: 8px #FFFFFF solid;
	border-left: 2px #FFFFFF solid;
}

.FormatGridViewAsTable
{
	border-right: 0;
	border-bottom: 0;
}

.CheckBoxAlign
{
	margin-left: -4px;
}

.LabelNoPadding
{
	padding: 5px;
	margin: 0;
}

.PlainText
{
	font-family: Courier New;
}

.PreviewPadding
{
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}

.TableLeftBorder
{
	border-top: solid 1px #CCCCCC;
	border-bottom: solid 1px #CCCCCC;
	border-left: solid 1px #CCCCCC;
}

.TableRightBorder
{
	border-top: solid 1px #CCCCCC;
	border-bottom: solid 1px #CCCCCC;	
	border-right: solid 1px #CCCCCC;
}

.MarginTop
{
	margin-top: -5px;
}