﻿.XVTableName
{
	color: #55080d;
	font-size:90%;
	font-weight: bold;
}

.XVTable {
    border-spacing: 0px;
    text-align: left;
    margin-bottom: 20px;
    max-width: 100%;
}

.XVTable th {
    background-color: #DEDEDA;
    color: black;
    font-weight: normal;
    border-left: 1px solid white;
    vertical-align: text-bottom;
}

.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;
}

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 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;
    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 tr:hover td {
    background-color: #FFF7B2;
}

.XVTable td.inlineEdit:hover {
    border: 1px solid #555;
    padding-left: 4px;
    cursor: text;
}

.XVTable:not(.oversize) td:last-child {
    text-align: right;
    white-space: nowrap;
}

.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;
}

.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;
}

.XVTable th > input, .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;
}

.tableFilterInput:focus {
    box-shadow: none;
    border-style: none;
    outline: none;
}

.tableSearchInput {
    font-size: 14px;
    font-weight: normal;
    padding: 3px;
    background-color: #eee;
}

.tableSearchInput:focus {
    background-color: #fee;
}

#TableFunctions {
	font-size:16px;
    float: right;
    color:black;
}

#TableFunctions .active {
    font-weight:bold;
}

#TableFunctions .fa {
    cursor:pointer;
}

#Related #TableFunctions .fa-tree {
    display: none;
}

tr.ui-sortable-handle {
    cursor: grab;
}

th.ascending:before, th.sorting-asc:before {
    font-family: 'FontAwesome';
    content: "\f160 ";
    margin-right: 3px;
}

th.descending:before, th.sorting-desc: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;
}

table.oversize tr {
    float: left;
    width: 100%;
    padding:3% 0;
    position:relative;
}

table.oversize thead {
    display:none;
}

.listAction .XVTable thead {
    position:sticky;
    top:0px;
}

table.oversize td {
    max-width:unset !important;
    border:none;
    width:100%;
    float:left;
}

table.oversize td:first-child {
    width:90%;
}

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;
}

.multiEdit input {
    padding:0;
    margin:0;
}

td[data-type="DateTime"] {
    white-space: nowrap
}

.listImage {
    max-width:100px;
    max-height:100px;
    background-color:lightgray;
    min-width:100px;
    min-height:10px;
}

.scrollToTop {
    top:0;
    position:absolute;
    height:100%;
    right:10%;
    pointer-events:none;
}

.scrollToTop:before {
    content: '';
    display: block;
    height: 100vh;
    pointer-events: none;
}

.scrollToTop .fa {
    position: sticky;
    right: 10%;
    top: 85%;
    display: inline-block;
    font-size: 30px;
    pointer-events: all;
}

.scrollToTop .fa:hover {
    cursor:pointer;
}
