/* stylesheet for ledger-smb */
@import url(system/global.css);

td.money {
   text-align: right;
}
/* general stuff */
A:link { text-decoration: none; }
A:visited {text-decoration: none; }
A:active { text-decoration: underline; }
A:hover { 
  background-color: transparent;
  text-decoration: underline;
}

body {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  color: black;
  font-size: 10pt;
  background-color: #ffcccc;
}

span.warning_label {
  font-weight: bold;
  color: red
}
td {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
}

th {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
}

table.form th {
  text-align: right;
}

table.form th.centered, th.centered {
  text-align: center;
}

table.criteria td {
  text-align: right;
}

#company_info, #version_info {
   font-weight: bold;
   font-size: 9pt;
}

/* login and admin */
.login {
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
body#app-login {
  background: #5a7d9b;
  color: black;
}
h1.login {
  font-size: 18pt;
}
table.login {
  background-color: #FFFFFF;
  padding: 20px;
}
td.login {
  text-align: center;
}
th.login {
  text-align: right;
}

table.report {
   width: 100%
}

div.report_header {
   overflow: auto;
}

div.report_header label {
   display: block;
   float: left;
   width: 12em;
   font-weight: bold;
   text-align: right;
   margin-right: 1em;
}

body.admin {
  background-color: #FFFFFF;
  color: black;
}

body.menu {
  background-color: #ffcccc;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: black;
}

body.menu a:link {
  color: black;
}

body.menu a:visited {
  color: black;
}

cornerlogo {
        border: 1px solid #000000;
        margin-left: auto;
        margin-right: auto;
        background: #ffffff;
        padding: 4px;
}

.submenu {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  padding-left: 20px;
  padding-top: 2px;
  list-style: none;
}

.menu_item {
    padding-left: 12px;
    padding-top: 2px;
    font-size: 12px;
}

#top_menu {
  margin: 10px 0 0 0;
  padding: 0;
  -webkit-padding-start: 0;
  list-style: none;
  background-image: none;
}

#top_menu ul {
  margin : 0;
  padding : 0;
}

.menu_open {
background-image: url('../images/up.gif');
background-repeat: no-repeat;
background-position: 0 0; 
padding-left: 12px; 
padding-top: 2px;
font-size: 12px;
}

.menu_closed {
background-image: url('../images/down.gif');
background-repeat: no-repeat;
background-position: 0 0; 
padding-left: 12px; 
padding-top: 2px;
font-size: 12px;
}



.submenu a {
  color: #004a80;
  text-decoration: none;
}

.submenu a:hover {
  text-decoration: none;
  color: #eeeeee;
  background: #004a80;
}

.listtop { font-size: 10pt; background-color: red; color: white; font-weight: bold}
.listheading, thead th { font-size: 10pt; background-color: #b02a00;
                         font-weight: bold; color: white; }
.listheading, thead A:link {
text-decoration: none; color: white; font-weight: bold
}
A.listheading:link, A.listheading:active, A.listheading:visited {
  text-decoration: none; color: white; font-weight: bold}
.listrow1, table.dynatable tr:nth-child(odd) { font-size: 10pt; background-color: #e6e6fa; color: black; vertical-align: top; }
.listrow0, table.dynatable tr:nth-child(even) { font-size: 10pt; background-color: #ffe4e1; color: black; vertical-align: top; }
.listrow1, table.dynatable tbody tr:nth-child(odd):hover { background-color: #bbb; }
.listrow0, table.dynatable tbody tr:nth-child(even):hover { background-color: #bbb; }
.listsubtotal, table.dynatable tr.sublisttotal { font-size: 10pt; background-color: #5a7d9b; color: white; }
.listtotal, table.dynatable tr.listtotal { font-size: 10pt; background-color: #004d99; color: white; font-weight: bold}

textarea {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  border: 1px solid #888888;
  font-size: 11px;
  background-color: #eeeeee;
  font-weight: bold;
}

input {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  border: 1px solid #888888;
  font-size: 11px;
  background-color: #eeeeee;
  font-weight: bold;
}

select {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
}

.submit {
  font-size: 10pt;
  color: #000080;
  font-weight: normal;
}

.checkbox, .radio {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
}

.plus0 {    /* font color for negative numbers */
  color: red;
}

.plus1 {
  color: green;
}

h2.confirm {
  color: blue;
  font-size: 14pt;
}

h2.error {
  color: red;
  font-size: 14pt;
}

#notes_div div.note {
        margin: 1em;
        padding: 1em;
        border: 2px;
        height: 5em;
        width: 90%;
        overflow: hidden;
        background-color: #ddd;
        border-style: groove;
}

#notes_div div.note:hover {
        overflow:visible;
        background-color: #ddd;
        border-style: groove;
        height: 100%;
        width: 90%;
        min-height: 5em;
        overflow: auto;
}

#company_div div.note {
        display: none;
}

tr.active {
        background-color: #ddd;
}

tr.record {
        background-color: pink;
}

tr.warning {
        background-color: yellow;
}
input[type=checkbox].remove::before {
    display: inline-block;
    content: ' X '; 
    width: 12px;
    text-align: center;
    background: white;
    color: white; 
}
input[type=checkbox].remove:checked:before { 
    background:red; 
}

/* Theming controls based on transaction status */
/* disabled for now to speed release 
#statusdiv.new input {
}

#statusdiv.posted input {
       background-color: white;
}

#statusdiv.saved input {
       background-color: #ccccff;
}

*/

/* media stuff */

@media screen {
  .noscreen {   /* items with this class won't display */
    display: none;
  }
}

@media print {
  .noprint {   /* items with this class won't print */
    display: none;
  }
}

/* ajax-specific styling */

div.autocomplete {
  position:absolute; width:350px; background-color:white; border:1px solid #888; margin:0; padding:0;
}
div.autocomplete ul {
  list-style-type:none; margin:0; padding:0;
}
div.autocomplete ul li.selected { background-color: #ccc;}
div.autocomplete ul li {
  list-style-type:none; display:block; margin:0; padding:2px; height:16px; font-size: 10px; cursor:pointer;
}
span.indicator {
  border: 1px solid black; font-size: 10px; padding: 2px; background-color: #eee;
}

/* ajax-specific styling */

div.autocomplete {
  position:absolute; width:350px; background-color:white; border:1px solid #888; margin:0; padding:0;
}
div.autocomplete ul {
  list-style-type:none; margin:0; padding:0;
}
div.autocomplete ul li.selected { background-color: #ccc;}
div.autocomplete ul li {
  list-style-type:none; display:block; margin:0; padding:2px; height:16px; font-size: 10px; cursor:pointer;
}
span.indicator {
  border: 1px solid black; font-size: 10px; padding: 2px; background-color: #eee;
}

.financial-statement h1, .financial-statement h2 {
   text-align: center;
}   

.financial-statement table {
   margin-left: auto;
   margin-right: auto;
}

.financial-statement td.amount{
   text-align: right;
   padding-left: 4em;
}

.financial-statement tr.total td, .financial-statement tr.total th {
   padding-bottom: 2em;
}
.financial-statement tr.total td.amount {
   border-top: thick double black;
}

.financial-statement th {
   text-align: left;
}

.financial-statement tr.section-head th, .financial-statement tr.total th {
   text-align: center;
}

.financial-statement a, .financial-statement a:visited {
   color: black;
   text-decoration: none;
}

