
/*******************************
COMMON STYLES
*******************************/

.grid h6, .mini_grid h6 {
	font-size: 10px;
	text-transform: uppercase;
	color: #000;
	float: right;
	margin: 0 9px 0 0;
	}
.grid .footer_cell_action h6, .mini_grid .footer_cell_action h6 {
	color: #FFF;
	}
td.footer_cell a:link.button4, td.footer_cell a:visited.button4  {
	float: right;
	text-indent: 0px;
	height: 27px;
	line-height: 26px;
	margin: 7px 7px 0;
	text-shadow: none;
	color: #000;
	}
.grid th button {
	float: right;
	margin: 8px 8px 0;
	}
.mini_grid th button {
	float: right;
	margin: 8px 8px 0;
	}

/*******************************
GRID STYLES
*******************************/

/*** GENERAL STYLES ***/

.grid {
	margin: 0 0 10px 0;
	border-collapse: collapse;
	width: 690
	}
.report_border {
	background: #AAE227 url(../images/tables/grid_report_border_top.png) no-repeat top left;
	margin: 0 0 20px;
	}
.report_border_inner {
	display: block;
	padding: 5px;
	background: url(../images/tables/grid_report_border_bottom.png) no-repeat bottom left;
	}
.report_border .grid {
	margin: 0;
	background: #AAE227;
	}
#content #content_col .report_border .grid .last_cell {
	border-right: none !important;
	}
	
.report_border .grid .grid_thfull {background: url(../images/tables/grid_report_th_full.png) no-repeat top left;}
#content .report_border .grid .footer_cell {background: url(../images/tables/grid_report_footer_full.png);}
.report_border .grid .grid_thleft {background: url(../images/tables/grid_report_th_left.png) no-repeat top left;}
.report_border .grid .grid_thright {background: url(../images/tables/grid_report_th_right.png) no-repeat top right;}

.grid caption {
	position: absolute;
	display: none;
	}
	
/*** GRID TH ***/

.grid th {
	color: #FFF;
	height: 45px;
	font-size: 15px;
	line-height: 45px;
	text-indent: 10px;
	background: #555 url(../images/tables/grid_th.png);
	border-bottom: 1px solid #FFF;
	overflow: hidden;
	text-shadow: #444 -1px -1px 0;
	}
#content #content_col .grid .multi_line {
	font-size: 12px;
	line-height: 16px;
	text-indent: 0;
	padding: 5px 10px;
	text-align: center;
	}
#content #content_col .grid tr .multi_line:first-child {
	text-align: left;
	}
.grid th+th {
	border-left: 1px solid #A9A9A9;
	}
.grid .grid_thfull {background: #FFF url(../images/tables/grid_th_full.png) no-repeat top left;}
.grid .grid_thleft {background: #FFF url(../images/tables/grid_th_left.png) no-repeat top left;}
.grid .grid_thright {background: #FFF url(../images/tables/grid_th_right.png) no-repeat top right;}

#content .td_rightalign td {
	text-align: right;
	}

/*** GRID ROWS & CELLS ***/
	
.grid tr {
	background: #EEE;
	}
.grid .short_cell {
	width: 80px;
	text-align: center;
	}
.grid .last_cell {
	border-right: none;
	}
#content .grid .td_subheader {
	background: #999;
	color: #FFF;
	border-bottom: 1px solid #FFF;
	text-align: left;
	}
.grid .td_total {
	font-size: 14px;
	border-bottom: 1px solid #FFF;
	color: #333;
	background: #F1FFC3;
	border-right: 1px solid #BBB;
	}
.grid tr td:first-child.td_total {
	text-transform: uppercase;
	font-size: 10px;
	color: #777;
	}
.grid .td_grandtotal {
	font-size: 16px;
	background: #999;
	color: #FFF;
	border-top: 2px solid #666;
	border-bottom: 1px solid #FFF;
	}
#content .grid tr td:first-child.td_grandtotal {
	text-transform: uppercase;
	font-size: 10px;
	color: #FFF;
	text-align: left;
	}
#content .grid .td_scope {
	text-align: left;
	border-bottom: 1px solid #FFF;
	text-align: left;
	vertical-align: top;
	color: #333;
	}
#content .grid .td_label {
	width: 17%;
	text-align: right;
	font-size: 10px;
	text-transform: uppercase;
	padding: 12px 2px 5px 5px;
	line-height: 14px;
	color: #333;
	border-right: 0;
	}
.grid td {
	padding: 10px;
	color: #666;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	}
#content .capture td {
	padding: 5px;
	text-indent: 0;
	vertical-align: top;
	width: 33%;
	}
#content .grid .footer_cell {
	padding: 0;
	text-indent: 0px;
	background: url(../images/tables/grid_footer_full.png);
	border: none;
	height: 40px;
	line-height: 40px;
	overflow: hidden;
	}
#content .grid .footer_cell_action {
	background: url(../images/tables/grid_footer_full_action.png);
	}

/*** GRID BUTTONS ***/

.grid a:link.button3, .grid a:visited.button3  {
	display: block;
	text-indent: 0px;
	height: 27px;
	line-height: 26px;
	margin: 7px 10px 6px;
	}
.grid a:link.button3 span, .grid a:visited.button3 span {
	display: block;
	text-align: center;
	}
#content .grid th a:link.button3, #content .grid th a:visited.button3  {
	float: right;
	text-indent: 0px;
	height: 27px;
	line-height: 26px;
	margin: 9px 8px 0 0;
	text-shadow: #FFF 1px 1px 0;
	color: #000;
	overflow: hidden;
	}
#content .grid th a:link.button3 span, #content .grid th a:visited.button3 span {
	text-shadow: #FFF 1px 1px 0;
	color: #333;
	}
#content .grid th a:hover.button3 span, #content .grid th a:active.button3 span {
	text-shadow: #689d1d 1px 1px 0;
	color: #FFF;
	}

/*******************************
MINI GRID STYLES
*******************************/
	
.mini_grid {
	margin: 0 0 10px 0;
	border-collapse: collapse;
	}
.mini_grid td img {
	vertical-align: middle;
	}
.mini_grid caption {
	position: absolute;
	display: none;
	}
	
/*** MINI GRID TH ***/

.mini_grid th {
	height: 34px;
	line-height: 34px;
	color: #FFF;
	font-size: 10px;
	text-transform: uppercase;
	background: #555 url(../images/tables/minigrid_th.png);
	border-bottom: 1px solid #FFF;
	text-indent: 5px;
	}
.mini_grid th+th {
	border-left: 1px solid #A9A9A9;
	}
.mini_grid th.mini_grid_thfull {background: #555 url(../images/tables/minigrid_th_full.png) no-repeat top left;}
.mini_grid th.mini_grid_thleft {background: #555 url(../images/tables/minigrid_th_left.png) no-repeat top left;}
.mini_grid th.mini_grid_thright {background: #555 url(../images/tables/minigrid_th_right.png) no-repeat top right;}
.mini_grid th a:link, .mini_grid th a:visited {
	float: right;
	line-height: 14px;
	padding: 4px 7px;
	background: #444;
	color: #FFF;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin: 6px 6px 0;
	text-indent: 0;
	}
.mini_grid th a:hover, .mini_grid th a:active {
	background: #AAE227;
	color: #222;
	}
.mini_grid th.center_cell {
	text-align: center;
	}
	
/*** MINI GRID TD & TR ***/

.mini_grid .footer_cell {
	/*background: url(../images/backgrounds/mini_grid_pagination.gif) repeat-x bottom;*/
	}
.mini_grid .short_cell {
	width: 39px;
	text-align: center;
	text-indent: 0;
	}
#content .mini_grid .number_cell {
	width: 10px;
	padding: 0 5px;
	text-align: center;
	text-indent: 0;
	border-right: 1px solid #FFF;
	background: #7C7D7B;
	}
.mini_grid tr {
	background: #EEE;
	}
.mini_grid td {
	padding: 5px;
	color: #666;
	line-height: 16px;
	border-top: 1px solid #DDD;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #FFF;
	vertical-align: middle;
	text-indent: 2px;
	}
.mini_grid td strong {
	display: block;
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	}
#content .mini_grid .footer_cell {
	padding: 0;
	text-indent: 0px;
	background: url(../images/tables/minigrid_footer_full.png);
	border: none;
	height: 40px;
	line-height: 40px;
	overflow: hidden;
	}	
	
.mini_grid td a:link, .mini_grid td a:visited  {
  	color: #0085cf;
	line-height: 16px;
	}
.mini_grid td a:hover, .mini_grid td a:active  {
	color: #000;
	}
.mini_grid a:link.button5, .mini_grid a:visited.button5  {
	display: block;
	text-indent: 0px;
	height: 23px;
	line-height: 23px;
	margin: 1px 4px 0 5px;
	padding: 0 8px 0 0;
	}
.mini_grid a:link.button5 span, .mini_grid a:visited.button5 span {
	display: block;
	text-align: center;
	padding: 0 0 0 8px;
	}
.mini_grid .textfield {
	padding: 4px;
	font-size: 12px;
	width: 180px;
	}
.mini_grid a:link.grid_link, .mini_grid a:visited.grid_link {
	float: left;
	height: 20px;
	line-height: 20px;
	color: #06C;
	border-left: 1px dotted #AAA;
	padding: 0 0 0 7px;
	margin: 5px 0 5px 7px;
	text-indent: 0;
	}
.mini_grid a:hover.grid_link, .mini_grid a:active.grid_link {
	text-decoration: underline;
	}
#content a.mg_btn, #content a.mg_btn:link, #content a.mg_btn:visited {
	display: block;
	width: 39px;
	height: 23px;
	line-height: 23px;
	text-indent: -9999px;
	overflow: hidden;
	background-position: top left;
	}
#content a.mg_btn:hover, #content a.mg_btn:active {
	background-position: bottom left;
	}
.mg_btn_upload {background-image: url(../images/nav/mg_btn_upload.gif);}
.mg_btn_download {background-image: url(../images/nav/mg_btn_download.gif);}
.mg_btn_delete {background-image: url(../images/nav/mg_btn_delete.gif);}
.mg_btn_plus {background-image: url(../images/nav/mg_btn_plus.gif);}
.mg_btn_minus {background-image: url(../images/nav/mg_btn_minus.gif);}
.mg_btn_calendar {background-image: url(../images/nav/mg_btn_calendar.gif);}
.mg_btn_edit {background-image: url(../images/nav/mg_btn_edit.gif);}
#container #content .mg_btn_datepicker {background-image: url(../images/nav/mg_btn_datepicker.gif); width: 33px; height: 28px;}
	
/***************************
GRID MODIFIERS
***************************/

.grid_header .textfield {
	float: left;
	border: 1px solid #CCC;
	background-color: #FFF;
	width: 150px;
	font-size: 13px;
	margin: 0 0 0 10px;
	}
input[type="text"]:focus, input[type="password"]:focus {
	border-color: #AAA;
	background: #FFF;
	}

/***************************
DATEPICKER STYLES
***************************/

#container #content .date_cell {
	background: url(../images/tables/bg_datepicker.gif);
	border-bottom: 1px solid #AAA;
	padding: 10px;
	}
.date_cell a.mg_btn {
	float: left;
	}
#content #content_col .date_cell .textfield {
	padding: 5px;
	line-height: 16px;
	border-color: #AAA;
	margin: 0;
	width: 170px !important;
	}
#content #content_col .date_cell .selectfield {
	padding: 5px;
	line-height: 16px;
	border-color: #AAA;
	margin: 0;
  margin-right: 37px;
	width: 180px;
	}

.date_cell h6 {
	float: left;
	line-height: 28px;
	text-transform: uppercase;
	font-size: 10px;
	color: #333;
	}
.date_cell h6, .date_cell .textfield, .date_cell a.mg_btn, .date_cell .selectfield {
	margin: 0 10px;
	}
.date_cell a.mg_btn {
	margin: 0 0 0 2px;
	}

/*************
GRID MODS
*************/

.grid .select {
	padding: 4px;
	width: 192px;
	background: #FFF;
	line-height: 18px;
	}
.grid .textarea, .grid .textfield {
	width: 180px;
	background: #FFF;
	margin: 0;
	}
#content .grid .standalone, #content .grid .standalone {
	margin: 0 0 5px;
	}
#content a.helpme:link, #content a.helpme:visited {
	float: left;
	width: 16px;
	height: 16px;
	margin: 5px 0 0 3px;
	text-indent: -9999px;
	overflow: hidden;
	background: url(../images/icons/icon_help.gif) no-repeat top left;
	}
#content .mini_grid a.helpme:link, #content .mini_grid a.helpme:visited {
	float: left;
	width: 16px;
	height: 16px;
	margin: 4px 0 0 3px;
	text-indent: -9999px;
	overflow: hidden;
	background: url(../images/icons/icon_help.gif) no-repeat top left;
	}

/************************
IINLINE BUTTON
************************/	

a:link.inline_button, a:visited.inline_button  {
	float: right;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border: 1px solid #BBB;
	background-color: #DDD;
    color: #999;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-transform: uppercase;
	line-height: 16px; 
	padding: 5px;
	width: 29px;
	text-align: center;
	margin: 0 0 0 1px;
	}
a:hover.inline_button, a:active.inline_button  {
	background-color: #666;
	color: #FFF;
	border: 1px solid #FFF;
	}

/*******************************
GRID HEADER
*******************************/

.grid_header_holder {
	background: #FFF;
	overflow: auto;
	}
.grid_header {
	height: 27px;
	padding: 7px 7px 6px 12px;
	float: right;
	background: #EEE;
	text-align: right;
	margin: 0;
	background: url(../images/backgrounds/bg_gridheader.jpg);
	border-top: 1px solid #DDD;
	border-right: 1px solid #EEE;
	border-left: 1px solid #DDD;
	-moz-border-radius-topleft: 3px;
	-webkit-border-top-left-radius: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-right-radius: 3px;
	}
#content .grid_header h6 {
	float: left;
	margin: 0;
	padding: 0;
	height: 27px;
	line-height: 27px;
	color: #666;
	font-size: 10px;
	text-transform: uppercase;
	}
.grid_header span.vert_break {
	display: block;
	float: left;
	height: 27px;
	width: 8px;
	border-right: 1px dotted #BBB;
	margin: 0 8px 0 0;
	}
.grid_header a:link.button3, .grid_header a:visited.button3 {
	float: left;
	margin: 0;
	}
.grid_header a:link.inline_button, .grid_header a:visited.inline_button {
	float: left;
	line-height: 15px;
	border: 1px solid #CCC;
	}
span.grid_headertr {
	float: right;
	width: 8px;
	height: 40px;
	background: url(../images/backgrounds/gridheader_right.jpg) no-repeat top right;
	}



/*Start of Rohan's new styles.*/




/*******************************
2COLUMN TABLE
*******************************/

#content #content_col .twocolumn .td_label {
	width: 30%;
	background-color: #DDD;
	border-right: 1px solid #BBB;
	padding: 12px 5px 5px 5px;
	}
#content #content_col .twocolumn td {
	width: 70%;
	overflow: auto;
	}
#content #content_col .twocolumn td .textfield {
	width: 300px;
	}
#content #content_col .twocolumn td .radio_cell {
	float: left;
	margin: 0 20px 0 0;
	padding: 2px 0 4px;
	display: inline;
	}
#content #content_col .twocolumn td .radio_cell input {
	float: left;
	overflow: auto;
	vertical-align: middle;
	margin: 7px 5px 0 0;
	display: inline;
	}
#content #content_col .twocolumn td .radio_cell label {
	float: left;
	width: auto;
	vertical-align: middle;
	padding: 7px 3px 0 0;
	display: inline;
	}

/*******************************
2COLUMN2 TABLE
*******************************/

#content #content_col .twocolumn2 .td_label {
	width: 40%;
	background-color: #DDD;
	border-right: 1px solid #BBB;
	padding: 12px 5px 5px 5px;
	}
#content #content_col .twocolumn2 .links {
	width: 60%;
	padding: 12px 5px 5px 5px;
	overflow: auto;
	}

/*******************************
MISC NEW STYLES
*******************************/

#content .grid th input.btn_submit {
	float: right;
	padding: 0 5px;
	height: 28px;
	line-height: 28px;
	font-size: 13px;
	margin: 8px 8px 0;
	display: inline;
	overflow: hidden;
	border: 1px solid #ACE427;
	font-size: 10px;
	text-transform: uppercase;
	}
.grid h6.mandatory, .mini_grid h6.mandatory {
	float: left;
	margin-left: 10px;
	display: inline;
	}
.grid h6.info, .mini_grid h6.info {
	float: left;
	margin-left: 10px;
	display: inline;
	}
#content #content_col .mandatory {
	color: #900;
	}
#content #content_col .last_cell .short_input {
	width: 145px;
	}
#content .address_cell {
	text-transform: uppercase;
	font-size: 10px;
	}
.pageLinks {
	margin: 0 0 0 8px;
	text-transform: uppercase;
	font-size: 10px;
	}
span.infotext {
	float: left;
	line-height: 28px;
	}
#content .grid td h5 {
	text-align: left;
	background: #AAA;
	color: #FFF;
	padding: 3px 5px;
	border-top: 1px solid #FFF;
	text-transform: uppercase;
	font-size: 10px;
	margin: 0;
	}

td.td_label span.notrans {
  text-transform: none;
}

/*******************************
CHECKBOX TABLE
*******************************/

#content #content_col .checkbox .td_wide_label {
        width: 40%;
        background-color: #DDD;
        border-right: 1px solid #BBB;
        padding: 12px 5px 5px 5px;
        }
#content #content_col .checkbox .td_checkbox {
        width: 10%;
        }
#content #content_col .last_checbox_cell {
	border-right: none !important;
	}

#content #content_col .subtable td {
  border: none;
  width: 33%;
  padding: 1px;
}

#content #content_col .subtable th {
  width: 33%;
  background: none;
  color: #000000;
  text-shadow: none;
  border-bottom: 1px solid #A9A9A9;
  text-align: center;
  line-height: 15px;
  height: 15px;
}

#content #content_col .subtable tr.odd {
  background: #ffffff;
}

#content #content_col .subtable tbody tr:hover {
  background: yellow;
}


#content #content_col .missingtable td {
  border: none;
  padding: 4px 1px 4px 1px;
  width: auto;
  vertical-align: middle;
}

/*
#content #content_col .missingtable td.short {
  width: 10%;
}

#content #content_col .missingtable td.medium {
  width: 20%;
}
*/

#content #content_col .missingtable td.centre {
  text-align: center;
}

#content #content_col .missingtable th {
  background: none;
  color: #000000;
  text-shadow: none;
  text-indent: 0;
  border-bottom: 1px solid #A9A9A9;
  text-align: center;
  line-height: 18px;
  height: 60px;
  width: auto;
}

#content #content_col .missingtable th.leftalign {
  text-align: left;
  padding-left: 10px;
}

#content #content_col .missingtable tr.odd {
  background: #ffffff;
}

.submitter .changed {
  background: #f4a0a0;
}

.submitter .updated {
  background: #aae227;
}
