/* textfield */
div.textfield {
	background: white url(../images/nice_textfield.png) top left no-repeat;
	display: block;
	float: left;
	height: 21px;
	line-height: 21px;
	padding: 0 0 0 5px;
	margin: 0;
}
div.textfield span {
	background: url(../images/nice_textfield.png) top right no-repeat;
	height: 21px;
	line-height: 21px;
	display: block;
	width: 100%;
	padding-right: 5px;
}
div.textfield span input {
	border: 0 none;
	color: black;
	width: 100%;
	height: 15px;
	line-height: 15px;
	?height: 17px;	/* IE7 hack */
	?line-height: 17px; /* IE7 hack */
}
div.combobox {
	margin-left: 100px;	
}
* html body div.selectbox { /* ignored by firefox, for ie6 */
	margin-left: -3px;
}

.hide, .hidden {
	display: none;
	visibility: hidden;
}
.transparent {
	position: absolute;
	width: 1px;
	height: 1px;
	top: 0;
	height: 0;
	-moz-opacity: 0;
	filter: alpha(opacity: 0);
	opacity: 0;
}

textarea.textfield, input.textfield {
	border: 1px solid #909090;
	padding: 2px 4px;
}
select.textfield {
	border: 1px solid #909090;
	padding: 1px;
}

/* checkbox */
/*
.checkboxOff, .checkboxOff:hover, .checkboxOffDisabled, .checkboxOn, .checkboxOn:hover, .checkboxOnDisabled {
	display: inline;
	padding: 2px 5px 3px 18px;
	line-height: 15px;
	background: 0 2px url(../images/nice_checkbox.png) no-repeat;
	border: 0 none;
	color: #4E626E;
}
.checkboxOff:hover { 
	background-position: 0 -14px; 
	color: #000; 
	cursor:pointer; 
}
.checkboxOffDisabled { 
	background-position: 0 -30px; 
	color: #BBB; 
}
.checkboxOn { 
	background-position: 0 -46px; 
	color: black; 
}
.checkboxOn:hover { 
	background-position: 0 -46px; 
	color: black; 
	cursor:pointer; 
}
.checkboxOnDisabled { 
	background-position: 0 -62px; 
}
*/


/* radio */
/*
.radioOff, .radioOff:hover, .radioOffDisabled, .radioOn, .radioOn:hover, .radioOnDisabled {
	display: inline;
	padding: 2px 5px 3px 18px;
	line-height: 15px;
	background: 0 1px url(../images/nice_radio.png) no-repeat;
	border: 0 none;
	color: #4E626E;
}
.radioOff:hover { 
	background-position: 0 -15px; 
	color: #000; 
	cursor:pointer; 
}
.radioOffDisabled { 
	background-position: 0 -30px; 
	color: #BBB; 
}
.radioOn { 
	background-position: 0 -47px; 
	color: black; 
}
.radioOn:hover { 
	background-position: 0 -47px; 
	color: black; 
	cursor:pointer; 
}
.radioOnDisabled { 
	background-position: 0 -63px; 
}
*/

/* button */
a.button_gray_hover, a.button_gray, a.button_gray_disabled, a.button_gray_hover span, a.button_gray span, a.button_gray_disabled span {
	background: transparent url(../images/nice-button-gray.png) no-repeat;
}
a.button_hover, a.button, a.button_disabled, a.button_hover span, a.button span, a.button_disabled span
 {
	background: transparent url(../images/nice-button-brown.png) no-repeat;
}
a.button_hover, a.button, a.button_disabled,
a.button_gray_hover, a.button_gray, a.button_gray_disabled {
	background-position: top right;
	display: block;
	float: left;
	height: 21px;
	margin-right: 6px;
	padding-right: 10px; /*sliding doors padding */
	text-decoration: none;
	white-space: nowrap;
}
a.button_hover img, a.button img,
a.button_gray_hover img, a.button_gray img {
	float: left;
	margin: 2px 5px 0 10px;
}
a.button_hover span, a.button span, a.button_disabled span,
a.button_gray_hover span, a.button_gray span, a.button_gray_disabled span {
	background-position: top left;
	display: block;
	line-height: 14px;
	padding: 3px 0 4px 10px;
	text-decoration: none;
	white-space: nowrap;
}
a.button_hover, a.button:hover,
a.button_gray_hover, a.button_gray:hover {
	outline: none;
}
a.button_hover span, a.button:hover span,
a.button_gray_hover span, a.button_gray:hover span {
	color: black;
}
a.button_hover span.pngfix, a.button span.pngfix,
a.button_gray_hover span.pngfix, a.button_gray span.pngfix {
	background: none;
	display: inline-block;
	margin: 0;
	padding: 0;
	float: left;
	margin: 2px 5px 0 10px;
	line-height: 1em;
	padding: 0;
}
a.button_disabled,
a.button_gray_disabled {
	-moz-opacity: 0.5;
	filter: alpha(opacity: 50);
	opacity: 0.5;
	cursor: default;
}

/* selectbox */
div.selectbox {
  position: absolute;
  background: transparent url(../images/nice_selectbox.png) no-repeat scroll top right;
  padding: 0 21px 0 0;
  line-height: 21px;
  height: 21px;
  margin: 0;
}
div.selectbox_disabled {
  position: absolute;
  background: transparent url(../images/nice_selectbox.png) no-repeat scroll top right;
  padding: 0 21px 0 0;
  line-height: 21px;
  height: 21px;
  margin: 0;
}
div.selectbox_disabled {
    -moz-opacity: 0.5;
    filter: alpha(opacity: 50);
    opacity: 0.5;
}
div.selectbox div {
  background: url(../images/nice_selectbox.png) no-repeat top left;
  margin: 0;
  padding: 0;
  height: 21px;
}
div.selectbox_disabled div {
  background: url(../images/nice_selectbox.png) no-repeat top left;
  margin: 0;
  padding: 0;
  height: 21px;
}
div.selectbox input {
  background: transparent;
  float: left;
  color: black;
  border: 0 none;
  padding: 4px 4px 2px 7px;
  margin: 0;
  font-size: 8pt;
}
div.selectbox_disabled input {
  background: transparent;
  float: left;
  color: black;
  border: 0 none;
  padding: 4px 4px 2px 7px;
  margin: 0;
  font-size: 8pt;
}
div.selectbox_disabled input {
	color: #666;
}
div.selectbox br {
    clear: left;
}
ul.selectbox_options {
    position: absolute;
    list-style: none;
    margin: 21px 0 0 2px;
    border: 1px solid #d7c8af;
    border-top: 0 none;
    padding: 0;
    background-color: white;
    overflow: auto;
    z-index: 2;
}
ul.selectbox_options div {
  margin: 0;
  padding: 0;
  line-height: 1em;
}
ul.selectbox_options li {
  padding: 0;
  margin: 1px;
  cursor: pointer;
  line-height: 1em;
}
ul.selectbox_options li div {
  padding: 0;
  margin: 0;
  line-height: 1em;
}
ul.selectbox_options li a, ul.selectbox_options li a:link {
  display: block;
  border: 1px solid white;
  text-decoration: none;
  color: black;
}
ul.selectbox_options li a:active {
  display: block;
  border: 1px solid #d7c8af;
  text-decoration: none;
  color: black;
}
ul.selectbox_options li a:visited {
  display: block;
  border: 1px solid white;
  text-decoration: none;
  color: black;
}
ul.selectbox_options li a:hover {
  display: block;
  border: 1px solid #d7c8af;
  background-color: #ebeffa;
  text-decoration: none;
  color: black;
}
ul.selectbox_options li a.selected {
  display: block;
  border: 1px solid #d7c8af;
  text-decoration: none;
  color: black;
}
ul.selectbox_options li a.selected:visited {
  display: block;
  border: 1px solid #d7c8af;
  text-decoration: none;
  color: black;
}
ul.selectbox_options li a:hover {
  color: #50280f;
  background-color: white;
  border: 1px solid #d7c8af;
}
ul.selectbox_options li a.selected {
  color: #50280f;
  background-color: white;
  border: 1px solid #d7c8af;
}
ul.selectbox_options li a.selected:visited {
  color: #50280f;
  background-color: white;
  border: 1px solid #d7c8af;
}
ul.selectbox_options li a.multiple_on {
  background: url(../images/nice_checkbox.gif) 2px 2px no-repeat;
}
ul.selectbox_options li a.multiple_off {
  background: url(../images/nice_checkbox.gif) 2px 2px no-repeat;
}
ul.selectbox_options li a.multiple_off:hover {
	
}
ul.selectbox_options li a.multiple_on {
  background: 2px -46px url(../images/nice_checkbox.gif) no-repeat;
  background-color: white;
  color: #50280f;
}
ul.selectbox_options li a.selectall {
  background-color: transparent;
}
ul.selectbox_options a {
    padding: 3px;
}
ul.selectbox_options a.multiple_on {
  padding-left: 18px;
}
ul.selectbox_options a.multiple_off {
  padding-left: 18px;
}

/*
$themes[$x]['body_bg'] = '#E3E6E8';
$themes[$x]['text_color'] = '#666';
$themes[$x]['light_text_color'] = '#999';
$themes[$x]['border'] = '#95A0A7';
$themes[$x]['light_border'] = '#ccc';
$themes[$x]['light_bg'] = '#E3E6E8';
$themes[$x]['lighter_bg'] = '#F5F5F5';
$themes[$x]['link'] = '#4E626E';
$themes[$x]['link_visited'] = '#4E626E';
$themes[$x]['link_hover'] = 'black';
$themes[$x]['heading'] = '#4E626E';
$themes[$x]['table_border'] = '#b8c0c5';
$themes[$x]['table_bg_first'] = '#f6f7f8';
$themes[$x]['table_th_bg'] = '#edeff0';
$themes[$x]['table_td_border'] = '#dce0e2';
$themes[$x]['table_text_color'] = '#5f6d75';
$themes[$x]['topnav_bg'] = '#D5D9DC';
$themes[$x]['dark_bg'] = '#4e626e';
$themes[$x]['bottom_height'] = '18px';
*/

table.datatable {
	width: 100%;
	border-top: 1px solid #b8c0c5;
	border-bottom: 1px solid #b8c0c5;
	border-right: 1px solid #b8c0c5;
	border-collapse: collapse;
}
table.datatable .first {
	background-color: #f6f7f8;
}
table.datatable td {
	border-top: 1px solid #dce0e2;
	border-left: 1px solid #dce0e2;
	padding: .5em;
	color: #5f6d75;
}
table.datatable .first {
	border-left: 1px solid #b8c0c5;
}	
table.datatable .sortcol {
	cursor: pointer;
	padding-right: 20px;
	background-repeat: no-repeat;
	background-position: right center;
}
table.datatable .sortasc {
	background-image: url(../images/up.gif);
}
table.datatable .sortdesc {
	background-image: url(../images/down.gif);
}
table.datatable .nosort {
	color: #5f6d75;
	background-color: #f6f7f8;
	cursor: default;
}
table.datatable th {
	font-weight: normal;
	color: #5f6d75;
	text-align: left;
	border-bottom: 1px solid #b8c0c5;
	border-left: 1px solid #dce0e2;
	padding: .5em;
}	
table.datatable thead th {
	background-color: #edeff0;
	text-align: center;
	color: #5f6d75;
}				
table.datatable tfoot th {
	border-top: 1px solid #b8c0c5;
	background-color: #f6f7f8;
	text-align: center;
}	
table.datatable tfoot th strong {
	font: bold 1em Verdana;
	margin: .5em .5em .5em 0;
	color: #5f6d75;
}		
table.datatable tfoot th em {
	color: #5f6d75;
	font-weight: bold;
	font-size: 1.1em;
	font-style: normal;
}
