BODY {
  background-color: #DDD;
}

SPAN.perms {
  cursor: pointer;
}

TR.toggle TH {
  cursor: pointer;
}

TR.toggle TH:hover {
  color: #FF0 !important;
}

TR.toggle TABLE {
  display: none;
}

.rtp_progcontainer {
  margin: 0 auto;
}

.rtp_progressbar {
  widTH: 500px;
  border: 1px solid #000;
  padding: 5px;
  margin: 0 auto;
  text-align: left;
  background-color: #FFF;
}

.rtp_progressbar DIV {
  background-color: #0A0;
  height: 20px;
}

.rtp_progcontainer H1 {
  font-size: 1.5em;
  color: #00F;
}

.hiddenrow {
  display: none;
}

.hiddentoggle, .accountrow {
  cursor: pointer;
}

#searcher {
  display: none;
}

#searchertoggle {
  border-widTH: 0px 0px 1px 1px;
  border-style: solid;
  border-color: #00F;
  max-widTH: 800px;
  padding: 8px 0px 8px 8px;
  text-align: left;
  cursor: pointer;
}

#searchertoggle:hover {
  color: #080;
}

.stats TR.subtotal TD {
  background-color: #C0C0FF !important;
}

.money.positive {
  color: #080 !important;
}

.money.negative {
  color: #800 !important;
}

DIV#search {
  border: 1px solid #000;
  widTH: 400px;
  padding: 5px;
}

INPUT[type="radio"] {
  transform: scale(1.5);
}

TABLE.amountsrc {
  text-align: left;
}

TABLE.amountsrc TD,TH {
  padding-right: 20px;
}

TABLE.amountsrc TD.code {
  color: #00F;
}

DIV.ms_available {
  margin-bottom: 8px;
}

DIV.ms_available SPAN.title {
  font-weight: bold;
  color: #00F;
}

DIV.ms_available SPAN.amount {
}

DIV.ms_nextpay SPAN.title {
  font-weight: bold;
}

DIV.ms_nextpay SPAN.date {
}

DIV.ms_nextpay SPAN.remaining {
  font-style: italic;
}

SPAN.addmonthly {
  cursor: pointer;
  font-style: italic;
}

TR.subtotal TH {
  color: #AAA !important;
  font-style: italic;
}

TR.subtotal TH SPAN.net {
  color: #FF0 !important;
}

TR.subtotal TH SPAN.credit {
  color: #0F0 !important;
}

TR.subtotal TH SPAN.debit {
  color: #800 !important;
}

SPAN.future {
  font-style: italic;
  color: #888;
}

.paid td {
  color: #888 !important;
}

table.compare {
  border: none;
}
  table.compare td {
    vertical-align: top;
    padding-right: 10px;
  }
  
table.compare_subtbl {
  border: none;
}
  table.compare_subtbl td {
    font-size: 8pt;
  }
  table.compare_subtbl td:first-child {
    padding-right: 10px;
  }

table.entrytable {
  border: 1px solid #000;
  border-spacing: 0px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  margin-top: 25px;
  background-color: #808080;
  border-collapse: collapse;
}

  table.entrytable th {
    padding: 10px;
    background-color: #808080;
    color: #FFF;
    font-weight: bold;
    vertical-align: top;
    text-align: left;
    position: relative;
  }
  
  table.entrytable th.bordered {
    border-width: 0px 1px;
    border-color: #000;
    border-style: solid;
  }

  table.entrytable th.hdr {
    border-bottom: 1px solid #000;
    background-color: #444;
    color: #FF0;
  }
  
  table.entrytable th.hdr span {
    float: right;
  }
  
  table.entrytable th.hdr span.subtle {
    color: #CCC;
    font-size: 0.65em;
    font-style: italic;
    margin-left: 20px;
  }

  table.entrytable th.tags {
    border-bottom: 1px solid #000;
    background-color: #DDD;
    color: #000;
    font-size: 0.7em;
    text-transform: uppercase;
  }
  
  table.entrytable th.tags span {
    display: inline-block;
    border: 1px solid #C0C0FF;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #AAA;
    color: #333;
    cursor: pointer;
    -moz-box-shadow: 1px 1px 2px #000;
    -webkit-box-shadow: 1px 1px 2px #000;
    box-shadow: 1px 1px 2px #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000');
    margin-right: 5px;
  }
  
  table.entrytable th.tags span:hover {
    background-color: #FFF;
  }
  
  table.entrytable th.tags .active {
    background-color: #C0C0FF;
  }
  
  table.entrytable th.subfolder {
    background-color: #626262;
    color: #FF0;
  }
  
  table.entrytable th.subfolder a {
    color: #FF0;
    text-decoration: none;
  }
  
  table.entrytable th.disabled {
    background-color: #FFC0C0 !important;
    color: #000 !important;
  }
  
  table.entrytable tr.compact td {
    font-size: 0.7em !important;
  }

  table.entrytable tr.compact th {
    font-size: 0.7em !important;
  }

  table.entrytable tr.highlighted-white td {
    background-color: #FFF;
  }
  
  table.entrytable tr.highlighted-red td {
    background-color: #FFC0C0;
  }
  
  table.entrytable tr.highlighted-green td {
    background-color: #C0FFC0;
  }
  
  table.entrytable tr.highlighted-blue td {
    background-color: #C0C0FF;
  }
  
  table.entrytable tr.highlighted-teal td {
    background-color: #C0FFFF;
  }
  
  table.entrytable tr.highlighted-purple td {
    background-color: #FFC0FF;
  }
  
  table.entrytable tr.highlighted-gray td {
    background-color: #DDD;
  }
  
  table.entrytable tr.userheader th {
    font-size: 2em; 
    font-weight: normal; 
    text-align: right;
    color: #FF0;
    background-color: #0A0;
  }
  
  table.entrytable tr.userheader th.disabled {
    background-color: #A00;
  }
  
  table.entrytable tr.header th {
    color: #FF0;
    text-transform: uppercase;
  }

  table.entrytable tr.clickable td {
    cursor: pointer;
  }
  
  table.entrytable tr.middle td {
    vertical-align: middle;
  }
  
  table.entrytable tr.clickable:hover td {
    cursor: pointer;
    background-color: #FFF;
  }
  
  table.entrytable tr.hover:hover td {
    cursor: pointer;
    background-color: #FFF;
  }

  table.entrytable td {
    padding: 10px;
    vertical-align: top;
    background-color: #EEE;
    text-align: left;
  }
  
  tr.tally th {
    background-color: #FFF;
    top: 0px;
    color: #000;
    border-top: 1px solid #000;
    vertical-align: bottom;
  }

  table.entrytable tr.tally td {
    background-color: #FFF;
    height: 25px;
  }
  
  table.entrytable tr.spacer {
    height: 25px;
  }
  
  table.entrytable tr.spacer td {
    vertical-align: bottom;
  }
  
  table.entrytable tr.tallyext td {
    vertical-align: top;
    background-color: #FFF;
    color: #00F;
  }

  tr.tally th {
    background-color: #FFF;
    top: 0px;
    color: #000;
    vertical-align: bottom;
  }
  
  table.entrytable tr.tallyext td.subtotal {
    font-weight: bold;
    color: #00F;
  }
  
  table.entrytable tr.tally td.subtotal {
    font-weight: bold;
    color: #00F;
  }
  
  table.entrytable tr.tally {
    height: 50px;
  }
  
  table.entrytable tr.tally td {
    vertical-align: bottom;
    border-top: 1px solid #000;
    color: #00F;
  }
  
  table.entrytable tr.pagination td {
    text-align: center;
  }
  
  table.entrytable tr.pagination .stdbtn {
    height: 31px;
    position: relative;
    top: -2px;
  }

  table.smalltext td, table.smalltext th {
    font-size: 0.7em !important;
  }

div.datebuttons {
  display: inline-block;
}

@media screen and (max-width: 600px) {
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  table.entrytable {
    width: 100%;
    max-width: 100%;
    display: block;
    border-collapse: collapse;
    background-color: #AAA;
  }

  table.entrytable th, 
  table.entrytable td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  table.entrytable th {
    background-color: #AAA;
    margin-top: 15px;
  }
  
  .datebuttons {
    margin-top: 10px;
    text-align: center;
    display: block !important;
  }
  
  .datebuttons img {
    margin: 0px 8px 0px 8px;
    height: 50px;
  }

  .entrytable input[type=text],
  .entrytable input[type=number],
  .entrytable input[type=date],
  .entrytable select,
  .entrytable textarea {
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .entrytable td,
  .entrytable th {
    display: block;
    width: 100%;
  }
}
