/* Shortcut classes */
.fl{float:left;}
.fr{float:right;}
.cb{clear:both;}
.cl{clear:left;}
.cr{clear:right;}
.db{display:block;}
.di{display:inline;}
.ib{display:inline-block;}
.dn{display:none;}
.po{cursor:pointer;}
.tc{text-align:center;}
.tr{text-align:right;}
.tl{text-align:left;}
.np{padding:0;}
.nm{margin:0;}
.ab{position:absolute;}
.rl{position:relative;}
.fx{position:fixed;}
.oh{overflow:hidden;}
.oa{overflow:auto;}
.oy{overflow-y:scroll}
.b,strong{font-weight:700;}
.i,em{font-style:italic;}
.m{margin:10px}
.mb{margin-bottom:10px;}
.mt{margin-top:10px;}
.ml{margin-left:10px;}
.mr{margin-right:10px;}
.ma{margin:0 auto;}
.p{padding:10px;}
.pb{padding-bottom:10px;}
.pt{padding-top:10px;}
.pl{padding-left:10px;}
.pr{padding-right:10px;}
.md{vertical-align:middle}
.nw{white-space:nowrap;}
.zt{z-index:100}
.zb{z-index:-100}
.tp{top:0}
.lf{left:0}
.rg{right:0}
.bm{bottom:0}
.min{width:1%;}
.max{width:100%;}

.no-decoration{text-decoration:none !important;}

h1 small, h2 small, h3 small, h4 small {
	color: #999;
	font-weight: 300;
}
body#page_invoices ul.unstyled {
	margin: 0 !important;
}
.clear{clear:both; display:block; overflow:hidden; visibility:hidden; width:0; height:0;} .clearfix:before,.clearfix:after{content:" "; display:table;} .clearfix:after{clear: both;} .clearfix{*zoom: 1;}

label.required:after { content:" *"; color: #c45172; }

.ink-alert ul { margin: 0;}

.red {color:red;}
.green{color: green;}
.black{color:black;}
.blue{color: #0f75da;}
body, html {height: 100%;  }
.wrapper {min-height: 100%;margin: -70px auto 0;padding-top: 70px;}
footer { height:50px; width: 100%; padding: 15px 0 0 0; margin-top: 20px; background: #1a1a1a; text-align: right; }
footer .note{color: #aaa;}
.sort-me span { }
/*
table {
	border: solid black;
	border-width: 1px 0 0 1px;
	width: 95%;
}

table td, table th {
	border: 0 solid black;
	border-width: 0 1px 1px 0;	
	padding: 2px;
	height: 30px;
}
*/
body#page_invoices th.site_name { width: 40%; }
body#page_invoices th.created_at { width: 20%; }
body#page_invoices th.action { width: 40%; }
body#page_invoices td { height: 55px;}

#invoice_edit_list .fa-bars {
	cursor: move;
}

#invoice_edit_list .control-group {
	margin: 0 !important;
}

#invoice_edit_list, #invoice_apply_list li {
  margin: 0;
  border-bottom: 1px solid #ccc;
  line-height: 40px;
}
#invoice_edit_list li:hover, #invoice_edit_list li.placeholder {
  background: #cccccc;
  background: rgba(204, 204, 204, 0.2);
}

.loading {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('/images/ajax-loader.gif') no-repeat;
}

#legend span{
	padding: 6px;
}

#invoices .old_billing, .old_billing, .loss {
	background-color: #f6cdcc;
}

.savings {
	background-color: #e5f6dd;
}

#invoices .monthly, .monthly {
	background-color: #cde2f6;
}

#invoices .prepayment,.prepayment, .warning {
	background-color: #f6f4a5;
}

#invoices .missing_prepayment, .missing_prepayment, .suspending  {
	background-color: #920c0c;
	color: #dedede;
}
#invoices .expired_prepayment,  .expired_prepayment  {
	background-color: #cde2f6;
	color: #920c0c;
}

#invoices .Cancelled, .Cancelled  {
	background-color: #aaa;
	color: #ccc;
}

.disabled {
	text-decoration: line-through;
}

#invoices .Free, .Free {
	background-color: #f68f66;
	color: #333333;
}

#invoices .FullyUpliftedFreeTrialExpired, .FullyUpliftedFreeTrialExpired {
	background-color: #b94029;
	color: #dedede;
}

#invoices .UplifterLite {
	background-color: #deecf6;
}

#invoices .UplifterBronze {
	background-color: #f6a06f;
}

#invoices .UplifterSilver {
	background-color: #dddddd;
}

#invoices .UplifterGold,#invoices .UplifterGold-FixedRate{
	background-color: #f6ddaa;
}

#invoices .FullyUplifted {
	background-color: #f6cdcc;
}

#invoices .StartUp {
	background-color: #f6cdb9;
}

#invoices .StepUp {
	background-color: #f6d2cf;
}


#invoices .Enterprise,#invoices .Competition {
	background-color: #7ec0cf;
}

.errors, .errorField{background-color:#ffe9e9; color:#da4d4d;}

.field>label {
	font-weight: bold;

}

.field>span {
	left: 20px;
	position: relative;

}

.ink-form fieldset fieldset {
	margin-left: 20px;
}

.ink-form fieldset fieldset legend{
	font-size: 1em;
}

input[type=checkbox]{
	margin-top: 10px;
}

.flex-row-align-end {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0.5em 0;
	gap: 1em;
}