/************ COLOURS ************

	#FF7D1B		orange
	#006330		text green
	#E4D2C5		results box grey

*/

/************ CSS RESET ************/
/* courtesy of Eric Meyer */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/************ UTILTIY ************/

.clearfix:after {
	clear: both; 
	content: "."; 
	display: block;
	height: 0; 
	visibility: hidden;
}
.clearfix {
	display:inline-block;
}
.clearfix {
	display:block;
}



/************ TAGS ************/

body {
	font-family:"arial narrow", arial, helvetica;
	font-size: 76%;
	color:#006330;
}

html > body {
	font-size:12px;
}

a {
	text-decoration:none;
	color:#FF7D1B;
}
	a:link {
	}
		a:focus { 
		}
		a:active { 
		}
		a:visited { 
		}
		a:hover {
		}

h1 {
	font-size:4.2em;
	font-weight:nornal;
	margin-bottom:0.25em;
}

h2 {
	font-size:1.5em;
	font-weight:normal;
}

h3 {
	
}

p {
	margin-bottom:1em;
	line-height:1.2em;
}

b, strong {
	font-weight:bold;
}

i, em {
	font-style:italic;
}

pre {
	background-color:#F9F9F9;
	padding:4px;
	border:1px solid #E3E3E3;
	margin:4px;
	text-align:left;
}

/************ MESSAGES ************/

#authMessage {
	font-weight:bold;
	color:#FF0000;
	margin-bottom:1em;
}

#flashMessage {
	font-weight:bold;
	color:#FF0000;
	margin-bottom:1em;
}

/************ STRUCTURE ************/

#Wrapper {
	width:1024px;
	width:990px;
	margin:0px auto;
}

#UserNameText {
	font-size:1.5em;
	/*float:left;*/
}

#Content {
	padding:20px;
}

#InnerContent {
	width:764px;
	
	float:right;
}




/************ HEADER ************/

#Header {
	height:145px;
	padding:0 0 0 0;
	background:url('../img/banner.jpg') center bottom no-repeat;
	position:relative;
	border-bottom:4px solid #FF7D1B;
}
	#Logo {
		position:absolute;
			right:12px;
			bottom:20px;
	}


/************ FOOTER ************/

#Footer {
	height:64px;
	padding:0 0 0 0;
	position:relative;
	border-top:4px solid #FF7D1B;
	z-index:1;
	text-align:center;
}
	#Footer img {
		margin:0px 10px;
	}


/************ MAIN MENU ************/

#MainMenu {
	float:left;
}
	#MainMenu li {
		font-size:1.25em;
		padding:0.2em 0;
	}
	#MainMenu a {
		color:#006330;
	}
	#MainMenu span {
		font-weight:bold;
	}





/************ RESULTS  ************/

.resultsBox {
	background:#E4D2C5;
	padding:10px;
}
	.resultsBox h2 {
	}
	.resultsBox h2 span {
		font-size:0.8em;
		padding-left:30px;
	}

.resultsBox p {
	clear:both;
}
	

table.resultsTable {
	width:100%;
	margin:2em 0;
}
	table.resultsTable tr {
	}
	table.resultsTable td, table.resultsTable th {
		/*padding:2px 30px 10px 2px;*/
		padding:5px 30px 5px 2px;
		
	}
		table.resultsTable td.last, table.resultsTable th.last {
			padding-right:0px;
		}
	table.resultsTable td {
		font-size:0.9em;
	}
	table.resultsTable th {
		font-size:1.2em;
		font-weight:bold;
	}

	table.resultsTable .odd {
		background-color:#DAC5B1;
	}


	table.resultsTable a {
		display:block;
	}
	
	
	.resultsTable .read-more {
		
	}
		.resultsTable .read-more a {
			display:inline;
			font-weight:bold;
		}

/************ VIEW  ************/

.viewItem {
	margin:2em 0;
	float:left;
	z-index:5;
}
	.viewItem li {
		position:relative;
		clear:both;
		width:360px;
		margin-bottom:1em;
		z-index:6;
	}

	.viewItem label {
		display:inline;
		float:left;
		font-weight:bold;
		font-size:1.2em;
		width:115px;
		
		padding-top:4px;
		
		position:absolute;
			left:0;
			top:0;
	}
	.viewItem p {
		padding-left:120px;
		display:block;
		clear:none;
		margin-bottom:0.2em;
		width:240px;
	}
	
	.viewItem input {
		margin-left:0;
		position:relative;
	}
	



	.column2 {
		float:right;
	}

.printLink {
	float:right;
	clear:both;
	margin-bottom:0;
}

	.viewItem li.wide {
		width:auto;
	}
		.viewItem li.wide p {
			width:auto;
		}

		.viewItem li.wide textarea {
			width:600px;
		}


/************ ADD/EDIT  ************/

.formBox {
	background:#FFFFFF;
	border:2px solid #E4D2C5;
}

	.formBox textarea {
		width:235px;
		font-family:arial;
		font-size:1em;
	}


/************ SEARCH  ************/

#Pagination {
}
	#Pagination li {
		list-style-type:none;
		float:left;
	}
		#Pagination li.previous {
			
		}
		#Pagination li.numbers {
			padding:0 1em;
		}
		#Pagination li.next {
			
		}
		
		

	#Pagination a {
		
	}
	#Pagination div.disabled {
		display:inline;
	}

	#Pagination span {
	}
		#Pagination span.current {
		}
		#Pagination span a {
		}



/************ SEARCH FORM ************/

#SearchForm div {
	
}

	#SearchForm label {
		
	}
	
	
	
/************ LOGIN PAGE ************/


.loginPage #InnerContent {
	width:840px;
}

.rightTextBox {
	background-color:#E4D2C5;
	width:300px;
	float:right;
	padding:20px 20px 0px 20px;
	font-size:1.2em;
}
	


/************ DATE PICKER ************/

.ui-component-content li {
	width:auto;
	margin-bottom:0;
	clear:none;
}

#datePickerContainer {
	position:relative;
}

.ui-daterangepickercontain {
	position: absolute;
	z-index: 999;
}
.ui-daterangepickercontain .ui-daterangepicker {
	float: left;
	padding: 5px !important;
	width: auto;
	display: inline;
}
.ui-daterangepicker ul, .ui-daterangepicker .ranges, .ui-daterangepicker .range-start, .ui-daterangepicker .range-end {
	float: left;
	padding: 0;
	margin: 0;
}
.ui-daterangepicker .ranges {
	width: auto;
	position: relative;
	padding-bottom: 40px;
}
.ui-daterangepicker .range-start, .ui-daterangepicker .range-end {
	margin-left: 5px;
}
.ui-daterangepicker button.btnDone {
	margin: 10px 0;
	position: absolute;
	bottom: 0;
	right: 0;
	clear: both;
	cursor: pointer;
	font-size: 1.1em;
}
.ui-daterangepicker ul {
	width: 17.6em;
	background: none;
	border: 0;
}
.ui-daterangepicker li {
	list-style: none;
	padding: 1px;
	cursor: pointer;
}
.ui-daterangepicker li.ui-hover-state, .ui-daterangepicker li.ui-active-state {
	padding: 0;
}
.ui-daterangepicker li.preset_0 {
	margin-top: 1.5em !important;
}
.ui-daterangepicker li a, .ui-daterangepicker li a:hover {
	background-position: 98% 50%;
	display: block;
	padding: .2em;
}
.ui-daterangepicker .ui-component-content a {
	text-decoration: none !important;
}
.ui-daterangepicker li a {
	margin: 1px;
}
.ui-daterangepicker .title {
	display: block;
	margin: 1em 0;
	font-size: 1.1em;
}
.ui-daterangepicker .ui-datepicker-inline {
	font-size: 1em;
}
.ui-daterangepicker-arrows {
	padding: 0 16px;
	position: relative;
}
.ui-daterangepicker-arrows a {
	overflow: hidden;
}
.ui-daterangepicker-arrows .ui-datepicker-prev, .ui-daterangepicker-arrows .ui-datepicker-next {
	top: 0;
	left: 0;
}
.ui-daterangepicker-arrows .ui-datepicker-next {
	left: auto;
	right: 0;
}






/************ CAKE ************/

.error {
	color:#FF0000;
}

.notice {

}


.cake-debug {
	color:#FF0000;
	background-color:#FFE2E2;
	border:1px solid #FF8F8F;
}
	.cake-stack-trace {
		background-color:#FFE2E2;
		padding:4px;
		border:1px solid #FF8F8F;
		margin:4px;
	}


/************ CAKE DEBUG ************/
.cake-sql-log {
	/*position:fixed;
	top:98.3%;*/
	z-index:10;
	width:100%;
	background-color:#000;
	color:#FFF;
	border-collapse:collapse;
}

.cake-sql-log caption {
	background-color:#900;
	color:#FFF;	
}

.cake-sql-log:hover {
	top:auto;
	bottom:0;
}

.cake-sql-log td {
	padding:3px;
	border:1px solid #999;
	background-color:#EEE;
	color:#000;
}