﻿#xvRealContent {
    width: 100%;
    font-size: 14px;
}

#DetailForm, #DataList {
    display: inline-block;
    width: calc(100% - 280px);
    vertical-align: top;
}

#DetailForm.actionless {
    display: block;
    width: 99% !important;
}

#DataList h1 {
    font-size: 120%;
    font-weight: 700;
    margin-bottom: 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #4E4A46;
}

#ActionBox {
    z-index: 10;
    position: relative;
    float: right;
    top: 34px;
    display: inline-block;
    width: 220px;
    box-sizing: border-box;
    vertical-align: top;
    padding: 10px 10px 0 10px;
    border: #4E4A46 1px solid;
    backdrop-filter: blur(10px);
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 50px;
}

#ActionBox .fa {
    padding:0;
    width:20px;
    text-align:center;
}


.clearfix::after, .ui-tabs-panel::after {
    content: " ";
    clear: both;
    display: table;
}


.ui-tabs #ActionBox {
    margin-right: 0;
}

#ActionBox .Button {
    margin: 0 0 8px 0;
    width: 100%;
    box-sizing: border-box;
    padding-top: 4px;
    padding-bottom: 4px;
}

#ActionBox .Button {
    text-align: left;
    display: block;
}

.ui-button-text {
    text-align: left;
}

#xvLoading {
    position: absolute;
    top: 200px;
    left: 400px;
    margin: 0;
    width: auto;
    padding:20px;
    font: 13px Arial;
    color: black;
    background-color: white;
    text-align: center;
    font-weight: bold;
    z-index: 999;
    display: none;
    box-shadow: 0px 0px 35px rgba(0,0,0,1);
    border: 1px solid #ccc;
}

span.Value.Cell {
	width:100%;
	font-weight:bold;
}

th {text-align:left}

.XVTable {
    border-spacing: 0px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 100%;
}

.XVTable th {
    background-color: #DEDEDA;
    color: black;
    font-size: 90%;
    font-weight: normal;
    border-left: 1px solid white;
    vertical-align: text-bottom;
    top: 0;
}

.XVTable tr:nth-child(even) {
    background-color: #F5F5F4;
}

.XVTable td {
    max-width: 30%;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: text-bottom;
    border-left: solid thin #f5f5f4;
}

#ActionBox {
    z-index: 10;
    position: relative;
    float: right;
    top: 34px;
    display: inline-block;
    width: 220px;
    box-sizing: border-box;
    vertical-align: top;
    padding: 10px 10px 0 10px;
    border: #4E4A46 1px solid;
    backdrop-filter: blur(10px);
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 50px;
}

#ActionBox h1 {
    display:none;
    margin-bottom: 22px;
    font-size: 100%;
    position: absolute;
    top: -28px;
    right: 1px;
    border: none;
}

.XVTable tr:hover td {
    background-color: rgba(195,226,22,0.31);
}

table.sortable th:hover:not(.actions) {
    background-color: #292521;
    color: white;
}

.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;
}

.Row.isText {
    column-span:all;
}

.foreignObject:hover {
    cursor:pointer;
    text-decoration:underline;
}

.tableFilterInput {
    margin-top:3px;
    display:none;
    width: 100%;
    font-size: 100%;
    border-style: none;
}

.tableFilterInput:focus {
    box-shadow: none;
    border-style:none;
    outline: none;
}

#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 {
    text-align: right !important;
}

.Zustand_1 {
    color: rgb(205,0,0);
}
.Zustand_2 {
    color: orange;
}
.Zustand_3 {
    background-color: rgb(255,236,139);
}
.Zustand_4 {
    color: rgb(46,139,87);
}
.Zustand_7 {
    text-decoration: line-through;
    }

tr.lastEdited td {background-color:#fbfba2}


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;
}