/* Table styles */
table {
  border-collapse: collapse;
  margin: 5px;
}
th {
  background-color: #ACC8F2;
  vertical-align: bottom;
  font-size: 10pt;
}

td {
  vertical-align: middle;
}

/* Tables with no borders */
table.noBorder {
  border: 0px none;
  margin: 5px;
}
table.noBorder td {
  border: 0px none;
  padding-right: 10px;
}
table.noBorder th {
  border: 0px none;
  background: none;
  vertical-align: bottom;
  padding-right: 10px;
}

/* Tables with no borders simple */
table.noBorderSimple {
  border: 0px none;
  margin: 5px;
}
table.noBorderSimple td {
  border: 0px none;
  padding-left: 10px;
}

table.noMargin {
  margin: 0px;
  padding: 0px;
}

/* Datatable styles */
table.dataTable {
  border-collapse: collapse;
  margin: 5px;
  text-align: left;
  border: 0px none;
}

table.dataTable thead {
  border-top: 2px solid #3E6FB8;
}

table.dataTable th {
  background: #ACC8F2 none repeat scroll 0 0;
  border-left: 0px none;
  border-right: 0px none;
  color: #0A2F66;
  font-size: 10pt;
  font-weight: bold;
  padding: 0px 4px 4px 0px;
}

table.dataTable th img {
  border-bottom: none;
}

table.dataTable th #dsColumn {
  border-bottom: 1px solid #0A2F66;
}

table.dataTable th.firstRow {
  border-bottom: 1px solid #ACC8F2;
  padding-bottom: 0px;
  padding-top: 4px;
  white-space: nowrap;
}

table th.titleRow {
  padding-bottom: 0px;
  padding-top: 4px;
  white-space: nowrap;
  border-bottom: 2px solid #3E6FB8;
  text-align: center;
  background-color: #3E6FB8;
  color: white;
}

table.dataTable th input, table.dataTable th select {
  background-color: #DEEBFF;
  font-size: 7pt;
}

table.dataTable th.cellBorderBottom {
  border-bottom: 1px solid #3e6fb8;
}

table.dataTable .cellBorderRight {
  border-right: 1px solid #3e6fb8;
}

table.dataTable th.sort {
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

table.dataTable td {
  background-color: #d1e3ff;
  color: #0A2F66;
  padding: 2px;
}

table.dataTable tr.even td {
  background-color: #e6f0ff;
}

table.dataTable tr.odd td {
  background-color: #d1e3ff;
}

table.dataTable td.children {
  background-color: #e6f0ff;
  border-bottom: 0px none;
  border-top: 0px none;
}

table.dataTable tr.total td {
  background-color: #ACC8F2;
}

table.dataTable tr.inactive td {
  background-color: lightgrey;
}

/* row highlighting */
tr.hover td {
  background-color: #73C2FF !important;
}

/* Remove border from nested tables */
table table, table table td {
  border: 0px;
}

table.twoRowButtons {
  padding: 0px;
  margin: 0px;
  border: 0px none;
}
table.twoRowButtons td {
  padding: 0px;
}

table.formData {
  margin: 0px;
  padding: 0px;
  border: 0px none;
  border-spacing: 0; /* equivalent to cellspacing="0" in modern browsers */
  border-collapse: collapse; /* equivalent to cellspacing="0" in IE7 and earlier */
}

table.formData td {
  padding: 3px;
  white-space: nowrap;
}

table.formData td.labelCell {
  text-align: right;
}

table.formData td.dataCell {
  text-align: left;
}

/* dataTableWithBorder styles */
table.dataTableWithBorder {
  border-collapse: collapse;
  margin: 10px;
  text-align: left;
  border: 0px none;
}

table.dataTableWithBorder thead {
  border-top: 2px solid #3E6FB8;
}

table.dataTableWithBorder th {
  background: #ACC8F2 none repeat scroll 0 0;
  border-left: 0px none;
  border-right: 0px none;
  color: #0A2F66;
  font-size: 8pt;
  font-weight: bold;
  padding: 0px 4px 4px 0px;
  border-color: #FFFFFF;
  border-width: 1px;
  border-style: solid;
}

table.dataTableWithBorder th img {
  border-bottom: none;
}

table.dataTableWithBorder th.firstRow {
  border-bottom: 1px solid #ACC8F2;
  padding-bottom: 0px;
  padding-top: 4px;
  white-space: nowrap;
  border-color: #FFFFFF;
  border-width: 1px;
  border-style: solid;
}

table.dataTableWithBorder td {
  background-color: #d1e3ff;
  border-left: 0px none;
  border-right: 0px none;
  border-top: 1px solid #d1e3ff;
  border-bottom: 1px solid #e6f0ff;
  color: #0A2F66;
  padding: 2px;
  border-color: #FFFFFF;
  border-width: 1px;
  border-style: solid;
}

table.dataTableWithBorder tr.even td {
  background-color: #e6f0ff;
  border-bottom: 1px solid #d1e3ff !important;
  border-top: 1px solid #e6f0ff !important;
  border-color: #FFFFFF;
  border-width: 1px;
  border-style: solid;
}

table.dataTableWithBorder tr.odd td {
  background-color: #d1e3ff;
  border-bottom: 1px solid #e6f0ff !important;
  border-top: 1px solid #d1e3ff !important;
  border-color: #FFFFFF;
  border-width: 1px;
  border-style: solid;
}

table td.center, table th.center {
  text-align:center;
}

table td.left, table th.left {
  text-align:left;
}

table td.right, table th.right {
  text-align:right;
}

table td.middle, table th.middle {
  vertical-align: middle;
}

table td.bottom, table th.bottom {
  vertical-align: bottom;
}

table td.top, table th.top {
  vertical-align: top;
}

/** Styles for the tablesorter plugin **/
table thead tr .header {
  background-position:right bottom;
  background-repeat:no-repeat;
  cursor: pointer;
  /** padding-right: 10px; **/
}

table thead tr .headerSortDown {
  /** background-image:url("../images/arrow_up.gif"); **/
  background-position:right bottom;
  background-repeat:no-repeat;
}

table thead tr .headerSortUp {
  /** background-image:url("../images/arrow_down.gif"); **/
  background-position:right bottom;
  background-repeat:no-repeat;
}

table thead .sortHeader {
  display: none;
}

table th.normalHeader {
  font-size:1.3em
}

table th.smallerHeader {
  font-size:1.1em
}

table tfoot tr.total td {
  border-top: 2px solid #3E6FB8 !important;
}

table .displayHeader th {
  padding: 4px 0px !important;
}

table thead tr .sortAsc {
  background-image:url("../images/arrow_up.gif");
  background-position:right;
  background-repeat:no-repeat;
}

table thead tr .sortDesc {
  background-image:url("../images/arrow_down.gif");
  background-position:right;
  background-repeat:no-repeat;
}
