body {
background-color:#FFFFFF;
margin:0pt;
padding:0pt;
font-family:Arial,Helvetica,sans-serif;
font-size: 14px;
}
#container {
background-image:url(../images/bodybg.jpg);
background-position:center top;
background-repeat:repeat-x;
height:auto;
width:auto;
}
#header {
background-image:url(../images/logo.jpg);
background-position:left top;
background-repeat:no-repeat;
color:#FFFFFF;
font-family:Verdana;
font-size:11px;
height:79px;
width:auto;
}
#header a {
color:#FFFFFF;
text-decoration:none;
}
.head_wrapper {
background-image:url(../images/cms.jpg);
background-position:right top;
background-repeat:no-repeat;
line-height:16px;
padding-right:10px;
padding-top:35px;
text-align:right;
}
#nav {
color:#FFFFFF;
font-family:Verdana;
font-size:11px;
height:33px;
margin-left:10px;
width:auto;
}
#nav ul {
margin:0pt;
padding:0pt;
}
#nav li {
display:inline;
line-height:33px;
list-style-type:none;
margin:0pt;
padding:0pt;
}
#nav a {
border-right:1px solid #FFCDCE;
color:#FFFFFF;
padding:9px 20px;
text-decoration:none;
}
#content {
height:auto;
padding:10px;
width:auto;
}
#content table {
border-left:1px solid #FFDEDE;
border-right:1px solid #FFDEDE;
}
.message_head td {
background-image:url(../images/mbg.jpg);
background-repeat:repeat-x;
border-bottom:1px solid #FFDEDE;
border-top:1px solid #FFDEDE;
color:#BD212A;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
padding:6px 5px;
}
.message_head td.last {
border-right:medium none;
}
.td_items {
background-color:#FFFFFF;
border-bottom:1px solid #FFDEDE;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
padding:5px 5px;
}
#footer {
border-top:1px solid #F0F0F0;
color:#CCCCCC;
font-family:verdana;
font-size:11px;
height:40px;
margin-top:20px;
padding:10px;
width:auto;
}
hr {
border-color:#FFD1D1 -moz-use-text-color -moz-use-text-color;
border-style:solid none none;
border-width:1px medium medium;
height:1px;
}
form {
margin:0pt;
padding:0pt;
}
.login_border {
border:1px solid #FFD1D1;
}
#login_container {
color:#BD212A;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;
height:auto;
margin:150px auto 0pt;
width:289px;
}
.login_content {
background-color:#FFFFFF;
background-image:url(../images/login_bg.jpg);
background-position:center top;
background-repeat:repeat-x;
border-left:1px solid #FFD1D1;
border-right:1px solid #FFD1D1;
padding:10px 10px 10px 0px;
width:277px;
}
.img_left {
float:left;
padding-right:15px;
}
.form_heads {
font-weight:bold;
}
.form_bg {
background-color:#FFFFFF;
border-bottom:1px solid #FFDEDE;
}
.form_bg td {
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
padding:5px 10px;
}
.linkblack, tr.table_foot a.linkblack {
background-color:#FFFFFF;
border:1px solid #E1E1E1;
color:#666666;
margin:2px;
padding:3px 8px;
text-decoration:none;
font-size: 14px;
}
a.main, input.main{
color: #000000;
border:1px solid #000000;
background-color:#CCCCCF;
}
input.linkblack{
cursor: pointer;
}
a.linkblack:hover{
  background-color:#FFDEDE;
  color: #000000; /*#BD212A;*/
}
#content .table2 {
border:medium none;
}
.table_head2 {
background-color:#EEFFF0;
font-weight:bold;
}
.table_head td {
background-color:#FFDEDE;
border-bottom:1px solid #FFDEDE;
border-top:1px solid #FFDEDE;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
padding:5px 10px;
}
.table_foot {
background-color:#FFDEDE;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
}
.table_foot td{
padding:5px 5px;
}
.table_foot a {
border:1px solid #EEFFF0;
color:#000000;
padding:0 5px;
text-decoration:none;
}
.table_foot a:hover {
background-color:#FFFFFF;
border:1px solid #E1E1E1;
color:#000000;
text-decoration:none;
}
.section_bg {
background-color:#EAEAEA;
border-bottom:1px solid #E1E1E1;
}
.field_items td {
background-color:#FFFFFF;
border-bottom:1px solid #FFDEDE;
}
h1 {
color:#BD212A;
font-family:tahoma;
font-size:14px;
}
h2 {
color:#333333;
font-family:tahoma;
font-size:14px;
}
.search_box{
text-align: right;
}
td.red, p.red{
  color:#FF0000;
}
.missing{
  background: #FFCC66;
}
.calendar{
  vertical-align: middle;
  padding-bottom: 2px;
  margin-left: 2px;
}
.total td{
border-top: 1px solid #BD212A; 
}
#invoice{
width: 600px;
}
#invoice table{
border: none;
}
#invoice_detail{
width: 100%;
}
#invoice_detail table tr.address td{
  vertical-align: top;
}
.invoice_head td{
  font-weight: bold;
  padding: 10px 0 0 0;
}
tr.row_blue td{
  background-color: #0000FF;
}
tr.row_green td{
  background-color: #00CC00;
}
tr.row_red td{
  background-color: #FF0000;
}
tr.row_white td{
  background-color: #FFFFFF;
}
a.gray{
  color: #999999;
}
#info{
  background: #FFCC99;
  color: #000000;
  text-align: center;
  padding: 5px;
}
.buttons{
  margin: 5px 0;
}
.provisional{
  background: #FFCC99;
}
.fa-check, .fa-list-alt{
  color: green;
}
.fa-times{
  color: red;
}
.fa-caret-up, .fa-caret-down{
  color: #bd212a;
}
.stats{
  vertical-align: top;
  text-align: center;
}
.stats h2{
  font-size: 4em;
}
.stats h3{
  font-size: 2em;
}
/*autocomplete*/
.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
.linkred, tr.table_foot a.linkred {
  background-color:#FFDEDE;
  border:1px solid #E1E1E1;
  color:#bd212a;
  margin:2px;
  padding:3px 8px;
  text-decoration:none;
  font-size: 14px;
}
.images img{
	margin: 5px;
}
.bartercard {
  background: #CCCCFF;
}
.flagged {
  background: #FFFF00;
}
.query {
  background: #00CC00;
}
.modal {
  /* This way it could be display flex or grid or whatever also. */
  display: block;  
  /* Probably need media queries here */
  width: 600px;
  max-width: 100%;  
  height: 400px;
  max-height: 100%;  
  position: fixed;  
  z-index: 100;  
  left: 50%;
  top: 50%;  
  /* Use this for centering if unknown width/height */
  transform: translate(-50%, -50%); 
  /* If known, negative margins are probably better (less chance of blurry text). */
  /* margin: -200px 0 0 -200px; */  
  background: white;
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}
.closed {
  display: none;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;  
  background: rgba(0, 0, 0, 0.6);
}
.modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 20px 50px 20px 20px;
}
.modal .close-button {
  position: absolute;  
  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1;  
  top: 10px;  
  /* needs to look OK with or without scrollbar */
  right: 20px;  
  border: 0;
  background: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
}
.borderhighlight td{
  color: red;
  border: 5px solid red;
}