/* Table Formatting from Bootstrap, altered to
    remove the .table class and instead just call this styling
    on all tables */
    
table {
  font-size: 1em;
  width: 100%;
}

table th,
table td {
  padding: 8px;
  line-height:1.2;
  text-align: left;
  vertical-align: top;
  /* border-top: 1px solid #dddddd; */
}

table th {
  font-weight: bold;
}

table thead th {
  vertical-align: bottom;
}

table tbody + tbody {
  border-top: 2px solid #dddddd;
}

table table {
  background-color: #ffffff;
}

table-condensed th,
table-condensed td {
  padding: 4px 5px;
}
table caption{
  background-color: #DDD;
  padding: 4px;
  font-style: italic;
  font-weight: bold;
  font-size: .95em;
  color: #A00000;
}
/* originally table-bordered but changed to give all tables borders
table {
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
}

table th,
table td {
  border-left: 1px solid #dddddd;
}


table.plaintable{
  border: none;
  border-left: none;
}

table.plaintable th,
table.plaintable td {
  border-left: none;
}

table.plaintable th, table.plaintable td {
  border-top: none;
}

table.menuplaintable{
  border: none;
}
table.menuplaintable th,
table.menuplaintable td {
  border-left: none;
}
*/
/* set table striped to specific tables */
table.menuplaintable tbody > tr:nth-child(odd) > td,
table.menuplaintable tbody > tr:nth-child(odd) > th
{
  background-color: #f9f9f9;
}

table.menuplaintable td, table.datadisplaytable td{
  border-top:1px solid #ccc;
  border-left: 1px solid #ccc;
}
table.menuplaintable td:first-child, table.datadisplaytable td:first-child{
  border-left: none;
}


table.menuplaintable, table.datadisplaytable{
    border-bottom: 3px solid #B30838;
    margin-bottom:10px;
}

/* Data Display Tables */

table.datadisplaytable tbody > tr:nth-child(odd) > td,
table.datadisplaytable tbody > tr:nth-child(odd) > th{
  background-color: #f9f9f9;
}

table.dataentrytable tbody > tr > td.ddheader,
table.dataentrytable tbody > tr > th.ddheader{
  background-color:#ccc;
  border-top: 1px solid #999;
}
table.dataentrytable tbody > tr > td.ddtitle,
table.dataentrytable tbody > tr > th.ddtitle{
  background-color:#ccc;
  font-weight: bold;
  padding-bottom: 1em;
}
table.datadisplaytable tbody > tr > td.ddseparator,
table.datadisplaytable tbody > tr > th.ddseparator{
  border-top:1px solid #ccc;
  background-color:white;
  height:3px;padding:0px;
}


/* Data Entry Tables */

table.dataentrytable tbody > tr:nth-child(odd) > td,
table.dataentrytable tbody > tr:nth-child(odd) > th{
  background-color: #f9f9f9;
}

table.dataentrytable tbody > tr > td.deheader,
table.dataentrytable tbody > tr > th.deheader{
  background-color:#ccc;
  border-top: 1px solid #999;
}
table.dataentrytable tbody > tr > td.detitle,
table.dataentrytable tbody > tr > th.detitle{
  background-color:#ccc;
  font-weight: bold;
  padding-bottom: 1em;
}

table.dataentrytable tbody > tr > td.ddseparator,
table.dataentrytable tbody > tr > th.ddseparator{
  border-top:1px solid #ccc;
  background-color:white;
  height:3px;padding:0px;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"]{
  padding:3px 8px;
  background-color: #FFF;
  border: 1px solid #CCC;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"] {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}




