/* User-defined styles for dform */

/*  **** USE WHEN FORM IS SELF-CONTAINED, NOT IN THINKADMIN TEMPLATE **** */
/* Overall Font setting */
html,p,th,td {
	/*font-family:'trebuchet ms',verdana;*/
	/*font-size:.9em;*/
	}
/* FORM width -- USE WHEN FORM IS SELF-CONTAINED, NOT IN THINKADMIN TEMPLATE  */
#content {
	/*width:770px;*/
	}
/* *********************** *********************** *********************** */
	
/* Overall Font setting for the form. Overrides page defaults */
#dform, #dform p,#dform th,#dform td {
	font-family:Verdana,Arial,sans-serif;
	color: #334;
	font-size:14px;
	}
/* Horizontal rule style */
#dform hr { 
	color:#8C939B;
	background:#8C939B;
	height:2px;
	}

/* =========================================*/
/*             FORM FIELDS                  */

/* Fieldset box, frame and background (framed by Legend) */
#dform fieldset,#dform .fieldset,#dform .error {
	border:1px solid #8C939B;
	background:url(images/bg_table.jpg) no-repeat 0 0; /* Legend (form group) Background */
	padding-bottom:0.5em;
	}
/* Legend heading */
#dform h3 {
	/*background:url(images/bg_utility.jpg) no-repeat -20px 0;*/
	background-color:#fff;
	border-bottom:1px solid #8C939B;
	color:#c06;
	}
/* Field border colour */
#dform .dform_textfield,
#dform select,
#dform .dform_textfield_required,
#dform .dform_required,
#dform .dform_textfield_error,
#dform .dform_error,
#dform .dform_control_error {
	border-color:#8C939B;
	}
#dform .dform_textfield_required,#dform .dform_required {
	background-color:#fff !important;	/* REQUIRED field background colour */
	}
/* Form Button style */
#dform .dform_button {
	/*background:url(images/bg_utility.jpg) no-repeat -20px 0;*/
	background-color:#006;
	/*color:#fff;*/
	/*border-color#fff;*/
	}
/* TABLE form set -- header style. */
#dform .dform_table th {
	background:#f60;
	}	
/* TABLE form set -- row cell style. */
#dform .dform_table td {
	border-color:#f60;
	}

/* =========================================*/
/* WHAT PAGE ARE WE ON -- Show progress bar */

/* Progress bar outline */
table.dform_progress_bar {
	border-color:#f60;
	}
/* Progress bar page cell */
table.dform_progress_bar td {
	border-color:#f60;
	}
/* Progress bar page cell -- the page we're on */
table.dform_progress_bar td.here {
	background:#fdcfb6;
	}
/* =========================================*/

/* CALENDAR POPUP -- for date fields */
.calendar, .calendar table {
  border-color:#f60;
  font-size: 16px;
  color: #000;
  background: #fff; /* affects background behind day numbers */
  font-family: tahoma,verdana,sans-serif;
}
.calendar .nav {
  background: #f60;
}
.calendar thead .headrow { /* Row <TR> containing navigation buttons and TODAY */
  background: #f60;
  color: #fff;
}
.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #fdcfb6;
}
.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #556;
  color: #000;
}
.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #a66;
}
.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background: #aaf;
  color: #000;
  border-color:#04f;
}
.calendar thead .active { /* Active (pressed) buttons in header */
  background: #77c;
}
.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #456;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}
.calendar table .wn { /* Cells <TD> containing the week numbers */
  border-right-color:#000;
  background: #fdcfb6;
}
.calendar tbody .rowhilite td {
  background: #def;
}
.calendar tbody .rowhilite td.wn {
  background: #eef;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #def;
  border-color:#bbb;
}
.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #cde;
}

.calendar tbody td.selected { /* Cell showing today date */
  border-color:#000;
  background: #fff;
  color: #000;
}
.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #a66;
}
.calendar tbody td.today { /* Cell showing selected date */
  color: #00f;
}
.calendar tbody .disabled { 
	color: #999;
	}
/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  background: #556;
  color: #fff;
}
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #445;
  border-top-color:#556;
}
.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #aaf;
  border: 1px solid #04f;
  color: #000;
}
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
}
/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
  border-color:#655;
  background: #def;
  color: #000;
}
.calendar .combo .hilite {
  background: #acf;
}
.calendar .combo .active {
  border-top-color:#46a;
  border-bottom-color#46a;
  background: #eef;
}
.calendar td.time {
  border-top-color:#000;
  background: #f4f0e8;
}
.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  border-color: #889;
  background: #fff;
}
.calendar td.time span.hilite {
  border-color: #000;
  background: #667;
  color: #fff;
}
.calendar td.time span.active {
  border-color: #f00;
  background: #000;
  color: #0f0;
}