.table-wrapper {
	position: relative;
}

.table-wrapper-empty .btn-group {
	margin: 0 15px;
}

.table-wrapper-empty {
	display: flex;	
	padding: 7px 10px;
}

.hypotizer.Dossier .table-wrapper {
	margin: 0;
}

.hypotizer.Dossier .table-wrapper td {
	vertical-align: middle;
}

.table-wrapper ul,
.table-wrapper li,
.table-wrapper p,
.table-wrapper {
	font-size: 12px;
	line-height: 15px;
}

.ff-slim .table-wrapper {
	margin: 0;
	background: var(--table-background);
	padding: 25px 30px;
	font-size: inherit;
	line-height: inherit;
}

.ff-slim .table-wrapper td {
	vertical-align: middle;
}

.table {
    background-color: var(--table-background);
	width: 100%;
}

.table th,
.table td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid var(--table-row-border);
	font-style: normal;
	font-weight: normal;
}

.table th.table-buttons,
.table td.table-buttons {
	width: 1px;
}

.table-striped tr:nth-child(2n+1) td {
	background-color: var(--table-row-alternate);
}

.table-sortable {
	transition: all 0.3s ease-out;
}

.table-sortable.sorting {
	opacity: 0.3;
}

.table-header th {
	font-weight: normal;
    cursor: pointer;
	vertical-align: middle;
}

.table-header .btn-group {
    
}

.table-header .sort-by {
	padding-left: 15px;
	position: relative;
}

.table-header .sort-by::before {
	font-family: 'Icons';
	font-size: 8px;
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	line-height: 14px;
	transform: translateY(-50%) rotate(90deg);
}

.table-header .sort-by-desc::before {
	content: 'G';
}

.table-header .sort-by-asc::before {
	content: 'G';
	transform: translateY(-50%) rotate(-90deg);	
}

.table-footer .table-total td {
	font-weight: bold;
	line-height: 2;
	border-top: 2px solid var(--table-row-highlight);
	border-bottom: 0 none;
}

.table-total td[data-format=chf] {
    white-space: nowrap;
}

.table-striped .table-footer .table-total td {
    background-color: var(--table-background);
}

.table tr:hover td {
	background-color: var(--table-row-highlight);
}

.info-table {
	color: var(--text-color);
	table-layout: fixed;
	border-spacing: 0;
	border-collapse: separate;
}

.info-table tbody + tbody :first-child td {
	border-top: 1px dotted var(--table-total-divider-color);
}

.info-cell {
	background-color: var(--table-background);
	margin-bottom: 10px;
	padding: 16px 20px;
	position: relative;
}

.info-cell-value {
	font-weight: bold;
	text-align: right;
	width: 100px;
}

.info-table tfoot .info-cell {
	border-top: 1px dotted var(--table-total-divider-color);
}

.info-table tr:last-child .info-cell {
	border-bottom-width: 0;
}

.table .table-filter th:first-child {
	padding: 0 5px;
}

.table .table-filter th {
	padding: 5px;
}

.table img {
	display:block;
}

.table .table-filter .flowform-input {
	font-size: 12px;
	line-height: 22px;
	padding: 2px 5px;
	color: var(--highlight-color);
}

.table-filter .typeahead__list {
	min-width: 300px;
}

.table .btn {
	transition: none;
}

.table-max-rows,
.table-filter-mismatch {
	display: none;
}
/*

.table-filter-mismatch .ff-i::before {
	display: block;
}

.table-filter-mismatch * {
	transition: none;
	border-bottom: 0 none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	font-size: inherit !important;
	line-height: 0 !important;
	height: 0 !important;
	overflow: hidden;
}
*/

.table-counter {
    line-height: 30px;
    font-size: 18px;
    margin: 0;
    padding: 4px 10px;
}




.table .badge {
	display: inline-block;
    border-radius: 14px;
    background-color: var(--badge-background);
    color: var(--badge-color);
    padding: 3px 7px;
	margin: 1px 5px;
    text-align: center;
	
	font-size: 10px;
	line-height: 10px;
	white-space: nowrap;
}

.table .badge.badge-success {
	background-color: var(--badge-success-background);
}

.table .badge.badge-warning {
	background-color: var(--badge-warning-background);
}

.table-contextmenu {
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 5px 5px 20px var(--shadow-dark);
	background-color: var(--table-background);	
    padding: 20px 10px;
	display: none;
}

.table-contextmenu.open {
	display: block;
}

.table-alternative {
}

.table-alternative:first-child {
	width: 100%;
	text-align: center;
	font-size: 20px;
}