tr.success {
	background-color: #dff0d8;
}

tr.warning {
	background-color: #fcf8e3;;
}

tr.danger {
	background-color: #f2dede;
}

body.testmode {
	background-color: #ff5000;
}

body.live {
	background-color: #7B3239;
}

table.cclist {
	width: 100%;
	border-spacing: 1px;
	background-color: #e7e7e7;
	color: #666;
}

table.cclist td,
table.cclist th { padding: 4px; }

table.cclist thead th {
	text-align: center;
	background: #f0f0f0;
	color: #666;
	border-bottom: 1px solid #999;
	border-left: 1px solid #fff;
}

table.cclist thead a:hover { text-decoration: none; }
table.cclist thead th img { vertical-align: middle; }
table.cclist tbody th { font-weight: bold; }

table.cclist tbody tr			{ background-color: #fff;  text-align: left; }
table.cclist tbody tr.row1 	{ background: #f9f9f9; border-top: 1px solid #fff; }

table.cclist tbody tr.row0:hover td,
table.cclist tbody tr.row1:hover td  { background-color: #ffd ; }

table.cclist tbody tr td 	   { height: 25px; border: 1px solid #fff; }
table.cclist tbody tr.row1 td { background: #f9f9f9; border-top: 1px solid #FFF; }

table.cclist tfoot tr { text-align: center;  color: #333; }
table.cclist tfoot td,
table.cclist tfoot th { background-color: #f3f3f3; border-top: 1px solid #999; text-align: center; }

table.cclist td.order 		{ text-align: center; white-space: nowrap; }
table.cclist td.order span { float: left; display: block; width: 20px; text-align: center; }

table.cclist tr.suspendAccount {
	background: #ff3300;
	color: #000;
}
table.cclist tr.barAccount {
	background: #ff6600;
	color: #000;
}
table.cclist tr.preBarAccount {
	color: #ff5500;
}
table.cclist tr.applyLatePay {
	background: #ffcc00;
	color: #000;
}
table.cclist tr.preApplyLatePay {
	color: #cc5500;
}
table.cclist tr.sendReminder {
	font-weight: bold;
	color: #ffcc00;
}
table.cclist tr.doNothing {
	text-decoration: line-through;
}
table.cclist tr.oldDebts {
	text-decoration: blink;
}

/* New CC List Classes */
tr.preSuspendAccount {
	background: #ff3300;
	color: #000;
}
tr.suspendAccount {
	background: #ff3300;
	color: #000;
}
tr.barAccount {
	font-weight: bold;
	background: #ff6600;
	color: #ffff99;
}
tr.preBarAccount {
	color: #ffff99;
	background: #ff6600;
}
tr.applyLatePay {
	font-weight: bold;
	background: #ffcc00;
	color: #000;
}
tr.preApplyLatePay {
	background: #ffcc00;
	color: #cc5500;
}
tr.sendStatement {
	font-weight: bold;
}
tr.sendReminder {
	font-weight: bold;
}
tr.doNothing {
	text-decoration: line-through;
}
tr.oldDebts {
	text-decoration: blink;
}


/* Joomla Extensions */

.alert-message {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-message hr {
  border-top-color: #a6e1ec;
}
.alert-message .alert-link {
  color: #245269;
}

.mybill-btn-default {
  color: #fff;
  background-color: #7B3239;
  border-color: #d43f3a;
}
.mybill-form-control::-moz-placeholder {
  color: #7B3239;
  opacity: 1;
}
.mybill-form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #7B3239;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}


/* Bootstrap Extensions */

.mybillTable {
  width: 100%;
  margin-bottom: 20px;
    margin:0px !important;
    table-layout:fixed;  
    word-wrap: break-word;
}
.mybillTable > thead > tr > th,
.mybillTable > tbody > tr > th,
.mybillTable > tfoot > tr > th,
.mybillTable > thead > tr > td,
.mybillTable > tbody > tr > td,
.mybillTable > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}
.mybillTable > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}
.mybillTable > caption + thead > tr:first-child > th,
.mybillTable > colgroup + thead > tr:first-child > th,
.mybillTable > thead:first-child > tr:first-child > th,
.mybillTable > caption + thead > tr:first-child > td,
.mybillTable > colgroup + thead > tr:first-child > td,
.mybillTable > thead:first-child > tr:first-child > td {
  border-top: 0;
}
.mybillTable > tbody + tbody {
  border-top: 2px solid #ddd;
}
.mybillTable .mybillTable {
  background-color: #fff;
}


.container { width: @container-desktop !important; }

.dropdown-submenu{
    position:relative;
}

.dropdown-submenu > .dropdown-menu
{
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu{
    display:block;
}

.dropdown-submenu > a:after{
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}

.dropdown-submenu:hover > a:after{
    border-left-color:#ffffff;
}

.dropdown-submenu .pull-left{
    float:none;
}

.dropdown-submenu.pull-left > .dropdown-menu{
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

/* DataTables - Grouping Plugin */

.expanded-group{
	background: url("../images/minus.jpg") no-repeat scroll left center transparent;
	padding-left: 15px !important
}

.collapsed-group{
	background: url("../images/plus.jpg") no-repeat scroll left center transparent;
	padding-left: 15px !important
}

td.group {
    background-color: #7B3239;
    color: #FFFFFF;
    border-bottom: 2px solid #A19B9E;
    border-top: 2px solid #A19B9E;
}
