
table.ordernumber-countertable {
    border: 1px solid #888888;
    display: inline-table;
	width: inherit;
}

table.ordernumber-countertable td, table.ordernumber-countertable th {
    padding-bottom: 0px;
    padding-top: 0px;
}
table.ordernumber-countertable thead th {
    text-align: center;
	width: auto;
}
table.ordernumber-countertable thead > tr:nth-child(odd) > th,
table.ordernumber-countertable tfoot > tr.addcounter_row > td {
    background: #E0E0E0;
}
table.ordernumber-countertable tbody > tr:nth-child(even) > td {
    background: #F0F0F0;
}
table.ordernumber-countertable.table-striped tbody > tr:nth-child(odd) > th {
    background: #E0E0E0;
}
.ordernumber-btn {
    cursor: pointer;
}

col.counter_type, th.counter_type, td.counter_type {
    display:none;
}
td.counter_value {
    text-align: center;
}

fieldset table.ordernumber-countertable img {
    padding: 0;
    margin: 0;
}
div.ordernumber-ajax-loading, div.ordernumber-counter-addbtn {
    display: inline;
}
div.ordernumber-ajax-loading, div.ordernumber-ajax-loading img.ordernumber-btn {
    position: relative;
    top: 0; left: 0;
}
div.ordernumber-ajax-loading img {
    z-index:0;
}

img.ordernumber-loading {
	display: none; 
	position: absolute; 
	top: 2px; 
	left: 0px; 
	z-index: 9999;
}



/*  Counter custom variable replacements */
table.ordernumber_variables {
    border: 1px solid #888888;
	width: inherit;
}

table.ordernumber_variables td, table.ordernumber_variables th {
    padding: 0px;
	vertical-align: middle;
}
/* table.ordernumber_variables td.sort:before { */
/*     float: none; */
/* 	display: inline-block; */
/* } */

table.ordernumber_variables thead th {
    text-align: center;
	width: auto;
}
td.counter_value {
    text-align: center;
}
table.ordernumber_variables input {
	background-color: rgba(255,255,255,0.75);
}

table.ordernumber_variables thead > tr:nth-child(odd) > th,
table.ordernumber_variables tfoot > tr.addreplacement_row > td {
    background: #E0E0E0;
}
table.ordernumber_variables tbody > tr:nth-child(even) > td {
    background: #F0F0F0;
}
table.ordernumber_variables tbody tr td input {
	width: 100%;
}
.ordernumber-btn {
    cursor: pointer;
}

table.ordernumber_variables img {
    padding: 0;
    margin: 0;
}
tr.rowhidden {
	display: none;
}

/* Adjust the columns of the replacements table */
col.variables_ifvar, col.variables_ifval {
	width: 15%;
}
col.variables_ifop {
	width: 10%;
}
col.variables_thenvar, col.variables_thenval {
	width: 25%;
}
.variables_then, .variables_settings {
	text-align: center;
	width: 20px;
}



