
/* W.A.F. misc. */

.waf_title
{
  color: rgb(20, 109, 177); 
	font-size: 16px;
  font-weight: bolder;  
}

/* W.A.F. table */

table.waf_table { width: 100%; border-style: none; } /* border-collapse:	collapse; }*/
/*table.waf_table td { padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; }*/
/*table.waf_table td { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; }*/

/* W.A.F. table rows  */

table.waf_table  tr.waf_row { background-color: white; }
table.waf_table  tr.waf_row_light { background-color: #e8e8e8; }
table.waf_table  tr.waf_row_hover { background-color: #a0a0a0; }
table.waf_table  tr.waf_row_selected { background-color: #A9BFC7; }

/* W.A.F. table headers */

td.waf_head_gradient,
table.waf_table  td.waf_head, 
table.waf_table  td.waf_head_center, 
table.waf_table  td.waf_head_right
{ 
  padding: 2px; 
  color: black; 
  font-weight: bold; 
  font-size: 13px; 
	background-image: url(images/header-gradient.gif);
  background-color: rgb(66, 140, 185);
	background-repeat: repeat-x;
  text-transform: capitalize;
  border-bottom: solid 2px rgb(20, 109, 177);
  cursor: pointer;
}
table.waf_table  td.waf_head_center { text-align: center; }
table.waf_table  td.waf_head_right { text-align: right; }
/* I know, it makes more sense to use class="waf_head right_text" but Excel doesn't get it... */

/* W.A.F. table cells */

table.waf_table  td.waf_cell,       /* normal data cell */
table.waf_table  td.waf_cell_right, /* normal data cell, right aligned text */
table.waf_table  td.waf_cell_center,/* normal data cell, center aligned text */
table.waf_table  td.waf_cell_last      /* final data cell, extra border-right */
{ padding: 2px; }

table.waf_table  td.waf_cell,
table.waf_table  td.waf_cell_right,
table.waf_table  td.waf_cell_center,
table.waf_table  td.waf_cell_last { border-bottom: 1px solid #ddd; }

table.waf_table  td.waf_cell,
table.waf_table  td.waf_cell_right,
table.waf_table  td.waf_cell_center,
table.waf_table  td.waf_cell_last { border-left: 1px solid #ddd; }

table.waf_table  td.waf_cell_last { border-right: 1px solid #ddd; }

table.waf_table  td.waf_cell_center { text-align: center; }

table.waf_table  td.waf_cell_right  { text-align: right; }

/* -------------------------------------------------*/
/* W.A.F. status_table */  
  
table.waf_status_table { border-style: none; }

/* W.A.F. status_table headers */

table.waf_status_table  td.waf_head, 
table.waf_status_table  td.waf_head_center, 
table.waf_status_table  td.waf_head_right
{
  border-bottom: 1px solid #ddd;
  padding: 0px 5px;
  font-weight: bold;
  vertical-align: bottom;
}
table.waf_status_table  td.waf_head_center { text-align: center; }
table.waf_status_table  td.waf_head_right { text-align: right; }

/* W.A.F. status_table cells */

table.waf_status_table  td.waf_cell,       /* normal data cell, no border */
table.waf_status_table  td.waf_cell_left,  /* normal data cell */
table.waf_status_table  td.waf_cell_right, /* normal data cell, right aligned text */
table.waf_status_table  td.waf_cell_center  { padding: 5px; }

table.waf_status_table  td.waf_cell_left,
table.waf_status_table  td.waf_cell_right,
table.waf_status_table  td.waf_cell_center { border-right: 1px solid #ddd; }

table.waf_status_table  td.waf_cell_right  { text-align: right; }
table.waf_status_table  td.waf_cell_center { text-align: center; }

/* -------------------------------------------------*/
/* W.A.F. form  */

div.waf_form_container { width:98%; margin:1%;}

td.waf_form_label { width: 180px; vertical-align: top; }

td.waf_form_prefix { vertical-align: top; text-align: right;}

span.waf_error { color: red; font-weight: bold; }

textarea.waf_form_control,
input.waf_form_control,
select.waf_form_control
{ width: 400px; }

.waf_100
{ width: 100px; }
.waf_200
{ width: 200px; }
.waf_300
{ width: 300px; }

input.waf_form_date { padding: 0px; margin: 0px; width: 150px; vertical-align: top; }
img.waf_form_date { padding: 0px; margin: 0px; }

table.waf_form tr,
table.waf_form td { text-align:left; }

div.waf_form_div,
table.waf_form
{
  width: 650px; 
  text-align:center; /* fix for IE, undone in tr,td above */
  margin-left:auto; 
  margin-right:auto;
}

td.waf_form_buttons { padding-left: 50px;  padding-right: 50px; }

table.waf_form_buttons
{
  text-align:center; /* fix for IE, undone in tr,td above */
  margin-left:auto; 
  margin-right:auto;
}

/*-------*/

/* W.A.F. select  */

select.waf_select { }


div.waf_paging1
{
  text-align: left;
  font-size: 14px;
}
div.waf_paging2
{
 /* text-align: right;*/
  font-size: 14px;
}

div.waf_paging2 a.waf_page_link,
div.waf_paging2 a.waf_active_page_link,
div.waf_paging2 a.waf_page_link_start,
div.waf_paging2 a.waf_page_link_end
{
  text-decoration: underline;
}


div.waf_paging2 a.waf_active_page_link
{
  border: 1px solid #aaa;
  background-color: #f4f4f4;
  font-size: 16px;
}

div.waf_paging2 a.waf_page_link_next,
div.waf_paging2 a.waf_page_link_previous
{
  border: 1px solid #ccc;
  background-color: #eee;
}

waf_button
{
  cursor: hand;
}

input.waf_search_box
{ 
	background-color: white;
  border: 1px solid #bbb;
  width: 99%;
  margin-right: 1%;
}

td.waf_search_box_cell
{
  border-bottom: 1px solid #ddd;
}

td.waf_search_box_button
{
  border-bottom: 1px solid #ddd;
}
