﻿.XVTableName
{
	color: #55080d;
	font-size:90%;
	font-weight: bold;
}

.XVTable {
    border-spacing: 0px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 100%;
    font-family: 'Roboto Condensed';
}

.XVTable td, .XVTable th {
	padding: 3px 5px;
    box-sizing:border-box;
	vertical-align:top;
    text-overflow:ellipsis
}

span.Value.Cell {
	width:100%;
	font-weight:bold;
}

th {text-align:left}

.XVTable th a {
    color: #fff;
}

.XVTable .TableHeader {
	display:none;
	color:white;
}

div.XVTable div.TableHeader span
{
	display: table-cell;
	padding: 3px 5px;
	color: white;
}

.XVTable th, .XVTable .TableHeader {
    background-color: #DEDEDA;
    color: black;
    font-size: 90%;
    font-weight: normal;
    border-left: 1px solid white;
    vertical-align: text-bottom;
    top: 0;
}

table.sortable th:hover:not(.actions) {
    background-color: #292521;
    color:white;
}

.XVTable th span {
    cursor: pointer;
}

.XVTable th span:hover {
	text-decoration:underline;
}


.XVTable .Row {
	display: table-row;
	page-break-inside:avoid;
	break-inside:avoid-column;
}

.XVTable tr:nth-child(even) {
    background-color: #F5F5F4;
}

.XVTable td.paging, .XVTable td.paging:hover {
    background-color: #fff;
}

.XVTable tr.lastInserted td {
    background-color:#ff8;
}

.XVTable tr.lastEdited td {
    background-color: #FFF7B2;
}

.XVTable .Cell
{
	display: table-cell;
	vertical-align:middle;
}

.XVTable td, .XVTable .Cell {
    border-top: 1px #fff solid;
    border-bottom: 1px #fff solid;
    /*white-space: nowrap;*/
    max-width: 30%;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: text-bottom;
}

.XVTable.fullsize td {
    white-space: initial;
    overflow: initial;
}

.XVTable.fullsize td.actions {
    white-space: nowrap;
    overflow: hidden;
}

/*
.XVTable .Row label {
	min-width:90%;
	border-bottom: 1px solid #ccc;
} */

.XVTable tr:hover td {
    background-color: #FFF7B2;
}

.XVTable td.inlineEdit:hover {
    border: 1px solid #555;
    padding: 5px 4px;
    cursor: text;
}

.XVTable td:last-child
{
	text-align: right;
}

/* Probleme mit den Print-Icons wenn es in einer Tabelle einen Bericht gibt in den Actions*/
/*
.XVTable td a i, .XVTable td a:hover i, .XVTable td a:active i, .XVTable td a:visited i
{
	color: #000;
	font-size: 10px;
	margin-left: 5px;
	text-decoration: none;
}*/

.XVTable div.dropdown {
    width:100%;
}

.XVTable td:last-child > span, .actions > span {
    padding-left: 5px;
    text-decoration: none;
    cursor: pointer;
}

i.fa span {
	font-family: Arial;
	font-size:85%;
}

#imagePlaceholder {max-width:100%;}

.labelgroup {
    break-inside:never;
}

h3.groupName {
    display: block;
    margin-bottom: 20px;
    padding-left: 5px;
    padding-top: 10px;
    border-bottom: 1px solid #000;
}

h3.groupName:first-child {
    padding-top:0;
    margin-top:0;
}

td.paging {
	border-top: 1px solid #000;
}

td.paging .fa {
	font-size:20px;
}

.Row {
    page-break-inside: avoid;
    break-inside: avoid-column;
}

.Row .foreignObject:before {
    float: right;
    font-size:90%;
    content: "\f002";
    font-family: FontAwesome;
    cursor:pointer;
}

.foreignObject:hover {
    cursor:pointer;
    text-decoration:underline;
}

.tableSearchInput, .tableFilterInput {
    margin-top: 3px;
    margin-bottom: 3px;
    display: block;
    width: 100%;
    font-size: 100%;
    box-sizing: border-box;
    border:none;
}

.tableSearchInput {
    font-size:14px;
    font-weight:normal;
    padding:3px;
    background-color:#eee;
}

input.tableSearchInput, select.tableFilterInput {
    display: none;
}

.tableFilterInput:focus {
    box-shadow: none;
    border-style: none;
    outline: none;
}

.tableSearchInput:focus {
    background-color: #fee;
}

table.XVTable td:last-child {
    white-space: nowrap;
}

.XVTable th > input:not([type='checkbox']), .XVTable th > select {
    display: none;
    margin-top: 3px;
    margin-bottom: 3px;
    width: 100%;
    font-size: 100%;
    box-sizing: border-box;
    border: none;
}

table.XVTable th .chosen-container {
    display: none;
    margin: 3px 0;
}

table.XVTable th .chosen-choices, table.XVTable th .chosen-search-input, table.XVTable .chosen-results {
    background-color: #eee;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: normal;
}

table.XVTable th .chosen-search-input {
    padding: 1px 2px !important;
    color: black;
}

table.XVTable th .search-field {
    line-height: 0;
}

#TableFunctions {
    float: right
}

#Related #TableFunctions .fa-tree {
    display:none;
}

tr.ui-sortable-handle {
    cursor: grab;
}

th.ascending:before {
    font-family: 'FontAwesome';
    content: "\f160 ";
    margin-right:3px;
}

th.descending:before {
    font-family: 'FontAwesome';
    content: "\f161 ";
    margin-right: 3px;
}

table.sortable th:hover:not(.no-sort) {
    cursor: pointer;
    text-decoration: underline;
}

[id^=FieldList] ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

[id^=FieldList] li {
    padding: 0.4em;
}
.decimal .number {
    text-align: right !important;
}

table.oversize tr {
    float: left;
    width: 100%;
    margin-bottom: 1em;
    position:relative;
}

table.oversize thead {
    display:none;
}

table.oversize td {
    max-width:unset !important;
    border:none;
    width:100%;
    float:left;
}

table.oversize td:first-child {
    width:90%;
}

table.oversize td::before {
    content: attr(data-label);
    word-wrap: break-word;
    font-weight: bold;
}

table.oversize td.decimal {
    text-align:left !important;
}

table.oversize td.actions {
    position: absolute;
    width: auto;
    right: 10px;
    top: -1px;
}

#ProgressCircle {
    --size: 20px;
    --fg: #ccc;
    --bg: #F5F5F4;
    --pgPercentage: var(--value);
    display:inline-block;
    animation: growProgressBar 3s 1 forwards;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    place-items: center;
    background: radial-gradient(closest-side, white 50%, transparent 0 99.9%, white 0), conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0);
    color: var(--fg);
}

th.multiEdit, td.multiEdit {
    display: none;
}