/** Style sheet for EMQN - Back Office **/
/** $Id: site.css,v 1.17 2005/05/23 18:10:19 phil Exp $ **/

/* GENERIC HTML TAGS */

body {
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
  background: white url(../images/body_BG.gif) top left repeat-x;
  font-family: palatino, georgia, verdana, arial, sans-serif;
  font-size: 0.8em;
}
p {
  color: #000000;
  text-align: justify;
}
pre {
  font-family: courier, fixed;
  font-size: 1.0em;
  color: #000000;
  border: 1px solid #fde9a8;
  padding: 3px;
}
img {
  border: 0;
}
form {
  padding: 0;
  margin: 0;
}
input, select, textarea {
}
input.focus, select.focus, textarea.focus {
}

.ctaformt input {
  /* width: 100%; */
}

/* SPECIFIC CLASS NAMES */

/*********************************************************************
 * PAGE HEADER
 *********************************************************************/
.headertitle {
  padding-left: 10px;
  font: bold 1.2em Arial, Helvetica, Verdana, sans-serif;
  text-align: center;
  padding-left: 50px;
}

.headersubtitle {
  font: normal 0.7em Arial, Helvetica, Verdana, sans-serif;
  text-align: center;
}

.sitetitle {
  font: bold 1.6em Arial, Helvetica, Verdana, sans-serif;
  text-align: center;
}

/*********************************************************************
 * PAGE LAYOUT
 *********************************************************************/

/* Document header */
.ctaheaderd {
  margin-top: 10px;
  padding-top: 0px;
  padding-left: 0px;
  background: white url(../images/ctaheaderd_BG.gif) top left repeat-y;
}
.ctaheadert {
  border-top: darkblue solid 5px;
  width: 100%;
}

.ctaheadert td {
  padding: 0px;
}
.projectlogo {
  border: 0px;
  padding-top: 5px;
  padding-left: 5px;
}

.Main {
  padding-left: 10px;
}

/* Content header */
h1 {
  background: url(../images/pinstrip.gif) bottom repeat-x;
  font: bold 1.5em Arial, Helvetica, Verdana, sans-serif;
  letter-spacing: 1px;
  padding-bottom: 3px;
  color: #fdc20e;
}
.ctapageheaderd {
  text-align: right;
  background: #fdc20e url(../images/ctapageheaderd_BG.gif) top right repeat-y;
}
.ctapageheaderd table {
  margin: 0px 0px 0px auto;
  border: 0px;
  border-collapse:collapse;
  /* height: 30px; */
}
.ctapageheaderd table td {
  padding-right: 10px;
  font: bold 1.1em Arial, Helvetica, Verdana, sans-serif;
  letter-spacing: 1px;
  color: #FFFFFF;
}

/* Content body */
.ctapagebodyd {
  margin-top: 2px;
  border-bottom: 2px solid #FFFFFF;
  background-color: white;
}
.ctalayoutt {
  border: 0px;
  border-collapse: collapse;
  width: 100%;
}
.ctalayoutt td {
  padding: 0px;
}
.ctabodytd td {
  padding: 14px;
}
.ctabodyt {
  margin: 0px 0px 10px 0px;
  padding: 0px;
  border: 0px;
  border-collapse: collapse;
  width: 100%;
  font-family: palatino, georgia, verdana, arial, sans-serif;
  xfont-family: Verdana, Tahoma, Arial, sans-serif;
  xfont-family: small/1.7em "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, Sans-Serif;
  xfont-size: 0.9em;
  color: #003366;
  vertical-align: top;
}

.ctabodyt tr td {
  vertical-align: top;
}

.ctabodytd {
  vertical-align: top;
}

.ctasecheader {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  /** Leaving this small border means tables without headers,
   * e.g. tabbed tables, don't get squished up against the tab. */
  border: 1px solid #e3dbc9;
}

/*********************************************************************
 * NAVIGATION TABS
 *********************************************************************/

.topmenu {
  border: 0px;
  background-color: #fff;
  padding: 0px;
  margin: 0px;
  height: 34px;
  font: bold 0.7em Tahoma, Verdana, Arial, sans-serif;
  text-align: right;
  vertical-align: middle;
}
.topmenu table {
  border: 0px;
  padding: 0px;
  height: 25px;
  margin: 0px 0px 0px auto;
  border-collapse: collapse;
}
.topmenu .ctatabst table {
  /* Override the CSS for ctatabst here as it is modified for the page tabs later. */
  position: relative;
  top: 0px;
}
.topmenu table th, .topmenu table td {
  padding: 5px 2px;
}
.topmenu table th table, .topmenu table td table {
  border: 0;
  padding: 0;
  height: 25px;
  border-collapse: collapse;
  background: url(../images/pinstrip.gif) bottom repeat-x;

}
.topmenu table th table td, .topmenu table td table td {
  padding: 0px 10px;

}
.topmenu table a {
  font-size: 11px;
}
.topmenu table td table td a, .topmenu table td table td img {
  vertical-align: middle;
}
.topmenu table th table td a, .topmenu table th table td img {
  vertical-align: middle;
}
.topmenu table th table td a {
  color: #020673;
  font-weight: bold;
  text-decoration: none;
}
.topmenu table th table td a:hover {
  color: #FF6600;
}
.topmenu table td table td a {
  color: #020673;
  font-weight: normal;
  text-decoration: none;
  align: middle;
}
.topmenu table td table td a:hover {
  color: #FF6600;
}


/*********************************************************************
 * VERTICAL MENU
 *********************************************************************/
.ctamenutd {
  width:170px;
  vertical-align:top;
  background: #e5decc;
}
.ctamenud {
  padding-bottom: 25px;
  width: 170px;
  background: url(../images/ctamenud_BG.gif) bottom left repeat-x;
}

/* Level 1 menu, first sub-level. */
.ctamenutd1 {
  width: 170px;
  vertical-align: top;
}
.ctamenud1 {
  padding-bottom: 25px;
  width: 170px;
  background: url(../images/ctamenud_BG.gif) bottom left repeat-x;
}
.ctamenut1 {
  border: 0px;
  border-collapse: collapse;
  width: 170px;
}
.ctamenut1 td, .ctamenut1 th {
  padding: 0px;
  background: url(../images/ctamenud_BG.gif) bottom left repeat-x;
}

.ctamenut1 td a, .ctamenut1 td a:link, .ctamenut1 td a:visited, .ctamenut1 td a:active {
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  padding-left: 20px;
  border-bottom: 2px solid white;
  width: 150px;
  font: bold 0.7em Verdana, Tahoma, Arial, sans-serif;
  color: #020673;
  letter-spacing: 1px;
  line-height: 24px;
  text-decoration: none;
  text-transform: uppercase;
  background: #fde9a8 url(../images/menu_item_BG.gif) top left no-repeat;
}
.ctamenut1 th a, .ctamenut1 th a:link, .ctamenut1 th a:visited, .ctamenut1 th a:active {
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  padding-left: 15px;
  border-bottom: 2px solid white;
  width: 155px;
  font: bold 0.7em Verdana, Tahoma, Arial, sans-serif;
  color: white;
  letter-spacing: 1px;
  line-height: 27px;
  text-decoration: none;
  text-transform: uppercase;
  background: #fdc20e url(../images/menu_item_BGhover.gif) top left no-repeat;
}

* html .ctamenut1 td a, .ctamenut1 td a:link, .ctamenut1 td a:visited, .ctamenut1 td a:active {
  width: 150px;
}
.ctamenut1 tr td a:hover {
  color: #FFFFFF;
  background: #fdc20e url(../images/menu_item_BGhover.gif) top left no-repeat;
}

.ctamenut1 tr th a:hover {
  color: #020673;
  background: #fde9a8 url(../images/menu_item_BG.gif) top left no-repeat;
}

/* Level 2 menu, second sub-level. */
.ctamenutd2 {
  width: 170px;
  vertical-align: top;
}
.ctamenud2 {
  padding-bottom: 0px;
  width: 170px;
  background: none;
}
.ctamenut2 {
  border: 0px;
  border-collapse: collapse;
  width: 170px;
}
.ctamenut1 td, .ctamenut1 th {
  padding: 0px;
  background: none;
}

.ctamenut2 td a, .ctamenut2 td a:link, .ctamenut2 td a:visited, .ctamenut2 td a:active {
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  padding-left: 20px;
  border-bottom: 2px solid white;
  width: 160px;
  font: bold 0.6em Verdana, Tahoma, Arial, sans-serif;
  color: #020673;
  letter-spacing: 1px;
  line-height: 24px;
  text-decoration: none;
  text-transform: uppercase;
  background: #fde9a8 url(../images/menu_item_BG.gif) top left no-repeat;
  background-position: 10px 0px;
  padding-left: 20px;
}
.ctamenut2 th a, .ctamenut2 th a:link, .ctamenut2 th a:visited, .ctamenut2 th a:active {
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  padding-left: 15px;
  border-bottom: 2px solid white;
  width: 150px;
  font: bold 0.7em Verdana, Tahoma, Arial, sans-serif;
  color: white;
  letter-spacing: 1px;
  line-height: 27px;
  text-decoration: none;
  text-transform: uppercase;
  background: #fdc20e url(../images/menu_item_BGhover.gif) top left no-repeat;
  background-position: 10px 0px;
  padding-left: 20px;
}

* html .ctamenut2 td a, .ctamenut2 td a:link, .ctamenut2 td a:visited, .ctamenut2 td a:active {
  width: 150px;
}
.ctamenut2 tr td a:hover {
  color: #FFFFFF;
  background: #fdc20e url(../images/menu_item_BGhover.gif) top left no-repeat;
  background-position: 10px 0px;
  padding-left: 20px;
}

.ctamenut2 tr th a:hover {
  color: #020673;
  background: #fde9a8 url(../images/menu_item_BG.gif) top left no-repeat;
  background-position: 10px 0px;
  padding-left: 20px;
}

/*********************************************************************
 * TABBED MENUS
 *********************************************************************/

.ctatabst  {
  width: auto;
  /*move the first tab across a little*/
  margin: 0px 0px 0px 15px;
}

.ctatabst table  {
  /* move all the tab down a bit, to overlap the table. This is how we can
  /* get the selected tab to look right.*/
  position: relative;
  /* Pull the tabs down flush with the tab content. */
  margin-bottom: -1px;
}

/* set up the text in both selected and unselected tabs */
.ctatabst table, .ctatabst a  {
  border-collapse: collapse;
  font: bold 0.9em Verdana, Tahoma, Arial, sans-serif;
  text-decoration: none;
  color: white;
}

/* Bright orange hover. */
.ctatabst a:hover  {
  color: #ff6600;
}

/* in all cases, need some room for the tab start and end images. */
td.tabend, td.tabstart {
  /* This is the width of the image. */
  width:12px;
}

/* Pad the text */
.ctatabst td.tabbody {
  padding: 5px 5px 0px 5px;
}

/* SELECTED TAB */
.ctatabst th table {
  background-color: #e5ddca;
  color: #003366;
  margin: 0px;
  padding: 0px;
  /** Here we are squishing the tab down onto the table to hide to border where the tab is. */
  height: 25px;
  top: 7px;
  z-index: 10;
}

.ctatabst th table td.tabstart {
  background: url(../images/tabs_left_over.gif) top right no-repeat;
}
.ctatabst th table td.tabbody {
  background: url(../images/tabs_over_centre.gif) top right repeat;
}
.ctatabst th table td.tabend {
  background: url(../images/tabs_right_over.gif) top left no-repeat;
}

/* UNSELECTED TAB */
.ctatabst td table {
  /** Here we are squishing the tab down onto the table to hide to border where the tab is. */
  height: 22px;
  top: 5px;
  z-index: 1;
}
.ctatabst tr td.tabstart {
  background: url(../images/tabs_left_out.gif) top right no-repeat;
}
.ctatabst td table td.tabbody {
  background: url(../images/tabs_out_centre.gif) top right repeat;
}
.ctatabst tr td.tabend {
  background: url(../images/tabs_right_out.gif) top left no-repeat;
}

/*********************************************************************
 * FORM ELEMENTS
 *********************************************************************/

.ctaformwd {
  border-top: 2px solid #003366;
  background-color: #e5decc;
}
.ctaformd {
  border: 0px;
  margin: 0px;
  padding: 0px;
}
.ctaformt {
  margin: 0px;
  padding: 0px;
  border: 0px;
  width: 100%;
}
.ctaformt td {
  padding: 5px;
  font: 0.8em Verdana, Tahoma, Arial, sans-serif;
  color: #395262;
  text-align: left;
  line-height: 25px;
  background: #fde9a8;
}
.ctaformt th {
  padding: 5px;
  font: bold 0.8em Verdana, Tahoma, Arial, sans-serif;
  color: #FFFFFF;
  text-align: right;
  line-height: 20px;
  background: #e4c367;
  width: 25%;
}
.ctabuttonsd {
  padding-top: 5px;
}
.ctabuttonst {
  border: 0px;
}
.ctabuttonst td {
  padding: 0px;
}
.ctainputtext, .ctainputpassword {
  background-color: #e3dbc9;
  width: 90%;
  border: 1px solid #49538b;
}

.ctafocustext, .ctafocuspassword {
  width: 90%;
  border: 1px solid #49538b;
}
.ctaformt select {
  background-color: #e3dbc9;
  border: 6px solid #49538b;
}
.ctamanytomany select {
  width: 100%;
}
.ctamanytomany td {
  width: 50%;
}

.ctadatetext {
  background-color: #e3dbc9;
  border: 1px solid #49538b;
  width: 150px;
}
.ctafocusdatetext {
  border: 1px solid #49538b;
  width: 150px;
}

/*********************************************************************
 * TABLES
 *********************************************************************/

.TableContainer {
  background-color: white;
}
.ctatablewd {
  background-color: #e3dbc9;
  border-top: 2px solid #49538b;
  position: relative;
  /** This x-index value works with the tab z-index values. */
  z-index: 5;
  margin-top: 0px;
}
.ctatabled {
  width: 100%;
}
.ctatablet {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}
.ctatabled th {
  font: bold 1.0em Verdana, Tahoma, Arial, sans-serif;
  color: #FFFFFF;
  text-align: left;
  text-indent: 5px;
  line-height: 20px;
  background: #e4c367;
}
.ctatabled td {
  margin: 0;
  padding: 0;
  border: 0;
  font: 0.8em Verdana, Tahoma, Arial, sans-serif;
  color: #020673;
  text-align: left;
  text-indent: 2px;
  background: #fde9a8;
}
.ctatabled td a {
  margin: 0;
  padding: 5px 5px 5px 5px;
  display: block;
  font: bold 1em Verdana, Tahoma, Arial, sans-serif;
  color: #FFFFFF;
  text-decoration: none;
  text-indent: 2px;
  background: #e4c367;
}
.ctatabled td a:hover {
  color: #e4c367;
  background-color: #FFFFFF;
}

/*********************************************************************
 * FOOTER ELEMENTS
 *********************************************************************/

.ctafooterd {
  color: #020673;
  border-top: 2px solid #444291;
  background: #FFFFFF url(../images/footer_cornerRight.gif) bottom right no-repeat;
}
.copyrightl {
  color: #020673;
  text-align: left;
}
.copyrightr {
  color: #020673;
  text-align: right;
}
.ctafootert {
  font: 0.7em Tahoma, Verdana, Arial, sans-serif;
  color: #020673;
  text-align: center;
  width:100%;
}
.ctafootert a {
  color: black;
  text-decoration: none;
}
.ctafootert a:hover {
  color: #ff6600;
}

/*****************************************************************
 * Button elements
 *****************************************************************/
.button, .button_1, .button_2, .button_3, .button_4 {
  border-style: solid;
  border-top: 1px solid white;
  border-right: 2px solid #fdc20e;
  border-left: 2px solid white;
  border-bottom: 2px solid #fdc20e;
  background-color: #e4c367;
  font-size: 10px;
  text-align: center;
  font-weight: bold;
  height: 25px;
  color: #003366;
  margin: 2px;
  margin-left: 5px;
  margin-right: 5px;
}
.button:hover, .button_1:hover, .button_2:hover, .button_3:hover, .button_4:hover {
  color: white;
}

/*******
 *  Error Tags
 *******/

.ctaerrord {
  background-color: #ffe827;
  padding: 4px;
  border: 1px solid #968917;
}

.versionjar table, .versionjar tr, .versionjar td {
  padding: 1px;
  margin: 0px;
}

.ctarow td {
  background-color: #C0C2D9;
}

.ctatablelinkcol {
  width: 120px;
}


.ctapagenavd {
  float: left;
  font-weight: normal;
  font-size: 12px;
  height: 13px;
}

.ctapagenavd {
  font-weight: normal;
  font-size: 12px;
  width: 30%;
  margin: 0px;
}

.ctapagenavt th {
  border: 1px solid #cccccc;
  font-weight: normal;
  font-size: 12px;
}

.ctapagenavt td {
  font-weight: normal;
  font-size: 12px;
}
.ctapagenavt a {
  font-weight: normal;
  font-size: 12px;
  height: 1px;
}

.ctapagenavt, .ctapagenavt tr {
  height: 10px;
  padding: 0px;
  margin: 0px;
}

.ctapagenavhd {
  font-weight: normal;
  font-size: 12px;
  float: right;
  height: 13px;
}

.ctapagenavwd {
  height: 25px;
  padding: 2px;
}

.ctaerrord {
  border: 1px solid #ffaaaa;
  margin: 4px;
  padding: 0px;
  background-color: #fbf0b6;
}

.ctawarnd {
  border: 1px solid #000000;
  margin: 4px;
  padding: 0px;
  background-color: #ff8888;
}

.ctainfod {
  border: 1px solid #000000;
  margin: 4px;
  padding: 0px;
  background-color: #FDE9A8;
}


/*
  Calendar style (for activities/reminders)
 */
/* Wrapper div. */
.ctacalendarwd {
}
.ctacalendarwd body {
  padding: 1;
}
.ctacalendarwd a {
  color: black;
}
.ctacalendarwd a:hover {
  color: #00BBF1;
}

/* Project title/type. */
.ctacalendar-project {
  text-align: center;
  color: black;
}
.ctacalendar-project table {
  /* EMQN form lighter yellow. */
  background-color: #FDE9A8;
  text-align: justify;
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
  padding: 0px;

/*   color: white; */
  border-style: solid;
  border-collapse: collapse;
  border-width: 1px;
}
.ctacalendar-project td, .ctacalendar-project th {
  font-size: 0.9em;
  font-weight: bold;
  /* EMQN text dark blue. */
  color: #003366;
  border-style: solid;
  border-collapse: collapse;
  border-color: white;
  border-width: 1px;
  padding: 2px 2px 2px 2px;
}
.ctacalendar-project td {
  text-align: left;
  padding-left: 10px;
}
.ctacalendar-project th {
  width: 30%;
  text-align: center;
}

/* Navigation Bar (Months/Year) */
.ctacalendar-calendarNavBar {
  margin: 1em 0 2em 0;
  text-align: center;
  padding: 1;
}
.ctacalendar-calendarNavBar a {
  font-size: 90%;
  font-weight: bold;
  text-decoration: none;
  margin: 0;
  padding: 2px;
  border-color:white;
  color: white;
  /* EMQN form dark yellow. */
  background-color: #E4C367;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
}
.ctacalendar-calendarNavBar a:hover {
  /* EMQN form dark yellow. */
  color: #E4C367;
  background-color: white;
  /* EMQN table background tan. */
  border-color: #EFEBE0;
}

/*** CSS for actual calendar section. ***/
.ctacalendar-calendarMonth {
  font-size: 90%;
  text-align: center;
}
.ctacalendar-calendarMonth div {
  margin: .5em;
  font-weight: bold;
}
/** Calendar title. */
.ctacalendar-calendarMonth caption {
  font-size: 175%;
  /* EMQN text dark blue. */
  color: #003366;
  padding: 2px;
  font-weight: bolder;
}
/** Calendar table headers. */
.ctacalendar-calendarMonth thead {
  text-align: center;
}
.ctacalendar-calendarMonth th {
  /* Set a width so that smaller day names do not
    cause smaller table columns. */
  width: 100px;
  /* EMQN text dark blue. */
  color: #003366;
  /* EMQN heading dark yellow. */
  background-color: #FDC20E;
  border-style: solid;
  border-collapse: collapse;
  border-color: white;
  border-width: 1px;
  padding: .5em;
}
/** Actual Calendar table. */
.ctacalendar-calendarMonth table {
  /* Note the width and margins here serve to center position
   the table on the screen. */
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  border-style: solid;
  border-collapse: collapse;
  border-color: white;
  border-width: 1px;
  color: #000000;
  padding: 0px;
}

/* Calendar Day Cells. */
.ctacalendar-calendarMonth td {
  /* Day cell is always at least 60px so it doesn't look too small. */
  height: 60px;
  valign: top;
  text-align: left;
  overflow: hidden;
  border-style: solid;
  border-collapse: collapse;
  border-color: white;
  border-width: 1px;
  /* Pad the left and right side of the cell-
   at least for the day number. */
  padding: 0px 3px 0px 3px;
  margin: 0px 0px 0px 0px;
}
.ctacalendar-calendarMonth td.past {
  /* EMQN form dark yellow. */
  background-color: #E4C367;
}
.ctacalendar-calendarMonth td.present {
  /* EMQN form lighter yellow. */
  background-color: #FDE9A8;
}
.ctacalendar-calendarMonth td.future {
  /* EMQN form light yellow/brown. */
  background-color: #EEE9DD;
}
.ctacalendar-calendarMonth td.today {
  /* EMQN heading dark yellow. */
  background-color: #FDC20E;
}

/* Calendar Cell Events. */
.ctacalendar-calendarMonth table.calendarDayEvent {
  /* We want width to be the same for every event-
    this will not fill the cell because of the padding in ctacalendar-calendarMonth td */
  width: 95%;
  padding: 0px;
  /* Some margin to seperate events out. */
  margin: 3px 2px 3px 2px;
  /* EMQN dark blue form field outline. */
  border-color: #49538B;
  border-style: solid;
  border-width: 1px 0px 1px 0px;
}
.ctacalendar-calendarMonth table.calendarDayEvent td {
  /* EMQN dark blue text colour. */
  color: #003366;
  width: 0px;
  /* 0 height so that event doesn't fill the day cell. */
  height: 0px;
  padding: 0.15em 0.1em 0.1em 0.1em;
  border-style: none;
}
.ctacalendar-calendarMonth table.calendarDayEvent td a {
  /* EMQN dark blue text colour. */
  color: #003366;
  /* EMQN dark blue form field outline. */
  border-color: #49538B;
  font-size: 0.9em;
  display: block;
  text-decoration: none;
}
.ctacalendar-calendarMonth table.calendarDayEvent td a:hover {
  color: #FFFFFF;
  /* EMQN heading dark yellow. */
  background-color: #FDC20E;
}

.ctacalendar-calendarMonth tfoot {
  text-align: center;
}

/* Calendar footer text. */
.ctacalendarwd-footer {
  text-align: center;
}


/* The main calendar widget.  DIV containing a table. */
/*
Heading dark yellow - #FDC20E;
Dark blue form field outline. -  #49538B;
Dark blue text colour - #003366;
Form dark yellow. - #E4C367;
Form lighter yellow. - #FDE9A8;
Form light yellow/brown. - #EEE9DD;
*/
div.calendar { position: relative; }

.calendar, .calendar table {
  z-index: 120;
  border: 1px solid #556;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #FDE9A8;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
}

.calendar .nav {
  background: #E4C367 url(menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  background: #FDC20E;
  color: white;
  padding: 2px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #E4C367;
  color: black;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #E4C367;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #556;
  padding: 2px;
  text-align: center;
  color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #AC0000;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #FDC20E;
  color: black;
  border: 1px solid black;
  padding: 1px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #FDE9A8;
  padding: 2px 0px 0px 2px;
}

/* The body part -- contains all the days in month. */

.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 {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #E4C367;
  color: black;
}

.calendar tbody .rowhilite td {
  background: #FDC20E;
}

.calendar tbody .rowhilite td.wn {
  background: #FDE9A8;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: white;
  color: #003366;
  padding: 1px 3px 1px 1px;
  border: 1px solid #bbb;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #FDE9A8;
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  border: 1px solid #000;
  padding: 1px 3px 1px 1px;
  background: #fff;
  color: #000;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #a66;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #00f;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #556;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #445;
  border-top: 1px solid #556;
  padding: 1px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #aaf;
  border: 1px solid #04f;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
  background: #FDE9A8;
  color: black;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #E4C367;
}

.calendar .combo .active {
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  background: #FDC20E;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}


.labreport {
  border: 1px solid #b5d8ff;
  background-color: #ffebad;
  padding: 5px;
}
.labreport table {
  width: 95%
}

.labreport h1 {
  font-weight: bold;
  font-size: 14px;
  background-color: #ffebad;
  margin: 0;
  padding: 2px;
  border: 1px solid #ffc380;
}

.labreport h2 {
  font-weight: bold;
  font-size:12px;
}

.labreport th {
  font-weight: normal;
  font-size:11px;
  text-align: right;
  width: 15%
}

.labreport th {
  text-align: right;
  width: 15%
}

.labreport td {
  font-weight: normal;
  font-size: 11px;
  vertical-align: middle;
}

.labreport pre {
  border: 0px;
}

.info {
  border: 1px solid #ffc380;
  background-color: #fff;
}

.invoice table {
  width: 100%;
}
.invoice td {
  border: 1px solid #ffc380;
}

.invoice th {
  text-align: left;
  width: 15%;
  background-color: #ffebad;
  border: 1px solid #ffc380;
}

.invoice .number {
  text-align: right;
  width: 15%
}

.ctacurrentuser {
  float: right;
  font: 0.7em Tahoma, Verdana, Arial, sans-serif;
  color: #fff;
}

.schemetable {
  width: 100%;
  padding-left: 0px;
  margin: 2px;
}
.schemetable table {
  border-collapse: separate;
  background-color: white;
  padding: 0px;
  width: 100%;
  border: 1px solid #ffebad;
}
.schemetable td {
  padding: 2px;
}
.schemetable th {
  background: #fdc20e;
  padding: 2px;
  text-align: left;
}
.schemerow0 {
  background: #ffebad;
}
.schemerow1 {
  background: #fff5d7;
}

