#dataListView {
  --row-gap: 4px;
  --row-height: 50px;
  --header-height: 50px;
  --row-border-size: 2px;
  --simple-header-color: #cad9ee;

  /* padding-left: 0.5em; */
  background-color: #eee;
  /* max-height: calc(100vh - 130px); */
  /* max-width: calc(100vw - 54px); */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* margin: 0.1em 1em 1em 1em; */
  /* border: 1px solid black; */
}

.expandable-content {
    --simple-header-color: #cad9ee;

    border-left: 2px solid #274698;
    margin-left: 0.7em;
}

#listview-head {
  background-color: var(--simple-header-color);
  height: var(--header-height);
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.listview-content {
  overflow: scroll;
  scrollbar-width: none;
  position: relative;
}

div.table-row-wrapper {
    display: flex;
    flex-direction: column;
}

div.table-row {
  display: flex;
  height: var(--row-height);
}

/* Expandable row */
.expand-rows {
  padding-left: 20px;
}

div.table-row.is-expandable .expandable-icon{
  display: inline-flex;
  width: 20px;
}

div.table-row.is-expandable img:first-child, 
div.table-row.is-expandable.expanded .expandable-icon img:nth-child(2) {
  display: block;
}

div.table-row.is-expandable .expandable-icon img:nth-child(2),
div.table-row.is-expandable.expanded img:first-child {
  display: none;
}
/* End expandable row */

.listview-content div.table-row.is-inViewport {
  transition: 0 0.5s all linear;
  transform: scale(1, 1);
}

.listview-content div.table-row, .cell.action {
  margin-bottom: var(--row-gap, 0.1em);
  border: var(--row-border-size) solid transparent;
  border-left: var(--row-border-size) solid #fff;
}

.listview-content div.table-row:hover {
  border: var(--row-border-size) solid var(--blue);
  cursor: pointer;
}


/* EXPANDABLE PART */
.expandable-content .left-side {
    width: auto;
}

.expandable-content div.table-row, .expandable-content div.table-row:hover {
    border: 0px;
}

/* END EXPANDABLE PART */

.cell-wrapper {
  display: flex;
}

/* Hlavicka stlpca pre jednoduchy stlpec s jednym udajom */
.table-header {
  display: flex;
  flex: 1 0 auto;
  color: #666666;
  font-weight: bolder;
}

.table-header.simple {
  background-color: var(--simple-header-color); /* #a0b7d6; */
}

.table-header[data-type="simple"] {
  /* padding: 0.2em 0.3em; */
}

/* Hlavicka stlpca pre zlozity stlpec s viacerymi udajmi */
.table-expander-btn {
  background-color: var(--blue);
  min-width: 25px;
  width: 25px;
}

.table-expander-btn.image {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-image: url("../images/collapse.png");
  background-repeat: no-repeat;
  background-position: center;
}

.collapsed .table-expander-btn.image {
  background-image: url("../images/expand.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #a0b7d6;
}

.table-expander-btn > img {
  width: 18px;
  height: 26px;
}

.table-expander-btn.empty-place {
  background-color: #fff;
  display: flex;
  justify-content: start;
  align-items: center;
}

.table-col {
  background-color: #fff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.cell {
  display: flex;
  align-items: center;
  text-align: left;
  padding-left: 5px;
  min-width: 40px;
  font-size: 0.8em;
  /* width: calc(100% - 32px); */
}

.cell[contenteditable='true'] {
  border: 1px solid silver;
}

.cell.split {
  display: inline-block;
  width: auto;
}

.cell.resizing {
  border-right: 1px dotted black;
}

.cell.action {
  width: 50px;
  height: var(--row-height);
  background-color: var(--lighter-blue);
  border-bottom: var(--row-border-size) solid #eee;
  border-top: var(--row-border-size) solid #eee;
  padding: 0;
}

.cell span {
  margin-right: 0.5em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#action-area .table-header {
  position: sticky;
  top: 0;
}

#action-area .table-col {
  background-color: #eee;
}

#action-area .table-col:hover {
  background-color: #eee;
  cursor: pointer;
}

.action-btn {
  width: 50px;
  height: 100%;
  background-image: url("../images/vertical-dots.png");
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
}

.action-items {
  position: relative;
  background-color: var(--darker-blue);
  visibility: hidden;
  width: 120px;
  margin-right: 0.2em;
}

.action-itm {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.action-itm:hover {
  background-color: var(--lightest-blue);
}

.sub-expanded-col .cell {
  background-color: var(--lighter-blue);
  color: #727377;
}

.col-header {
  background-color: var(--blue);
  color: #fff;
}

.header-value {
  width: 100%;
}

.image.header-value {
  width: auto;
}

.collapsed .col-header {
  height: 100%;
  color: #000;
  background-color: #a0b7d6;
  display: flex;
  align-items: center;
  padding: 0.5em;
}

.sub-expanded-col {
  display: flex;
  align-items: stretch;
}

.collapsed .sub-expanded-col {
  display: none;
}

.collapsed-val .expanded-values {
  display: none !important;
}

.collapsed-val > div {
  width: 100% !important;
}

.main-col-val {
  visibility: hidden;
  text-align: left;
  margin: 0 0 0 25px;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.8em;
}

.collapsed-val .table-expander-btn .main-col-val {
  visibility: visible;
}

.expanded-values {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 1 0 auto;
}

.col-expandable > div {
  display: flex;
  flex-wrap: nowrap;
  flex: 1 0 auto;
}

#pager {
  height: 40px;
  justify-content: center;
  margin: 0.8em 0;
}

.page-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  padding: 0 0.5em;
  color: #7b7b7b;
  text-decoration: none;
  cursor: pointer;
}

.page-arrow {
  margin: 0 0.3em;
}

.page-indicator:hover {
  text-decoration: none;
  color: #ccc;
}

.page-indicator.active {
  border-radius: 20px;
  background-color: #274696;
  color: #fff;
}

.available-options {
  position: absolute;
  top: 10px;
  background-color: #fff;
  border: 1px solid black;
  border-radius: 5px;
}

.available-options div {
  padding: 0.3em 0;
  padding: 0.5em;
}

.available-options div:hover {
    background-color: #727377;
  }

.available-options div div {
  margin: 0 0.3em;
  padding: 0;
}

#status-wrapper {
  position: relative;
}

.filter-icon {
  height: 16px;
}
.filter-icon:hover {
  cursor: pointer;
}



/* .split-btn:disabled {
  background-image: none;
} */


/* html {
  height: 100%;
}

body {
  background-image: radial-gradient(circle farthest-corner at center, #3C4B57 0%, #1C262B 100%);
} */

.loader {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
}

.inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;  
}

.inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid #222;
}

.inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid #222;
}

.inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid #222;
}

.checkboxcell {
  margin: 0 !important;
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

.resizer {
  width: 2px;
  height: 100%;
  background-color: #4b4b4b;
  margin-left: 0.3em;
  cursor: e-resize;
}

.edit-icon  {
  background-image: url("../images/edit.png");
  background-repeat: no-repeat;
  background-position: center;
  width: 14px;
  height: 14px;
}

.edit-icon.disabled  {
  visibility: hidden;
}

/* Sorting arrows on headers */
.arrows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.arrows img {
  color: #666666;
  cursor: pointer;
  width: 13px;
  height: 7px;
}

.arrows img:first-child {
  margin-top: 0.75em;
}
.arrows img:last-child {
  margin-bottom: 0.75em;
}


.listview-column
{
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.column-header
{
  background-color: var(--simple-header-color);
}

.column-header span 
{
  padding: 0.5em;
  white-space: nowrap;
}

.rows 
{
  overflow: scroll;
  cursor: pointer;
}

.rows .table-col 
{
  height: 40px;
  margin-bottom: 0.2em;
}

/* NEW CSS */

table#dataTable 
{
  border-collapse: separate;
  border-spacing: 0;
}

table#dataTable.nowrap, table#dataTable.nowrap td
{
  white-space: nowrap;
}

table#dataTable thead th 
{
  font-weight: bold;
}

table#dataTable thead > tr > th
{
  padding: 10px;
}

table#dataTable thead > tr > th.sorting
{
  cursor: pointer;
  position: relative;
  padding-right: 26px;
}

table#dataTable thead > tr > th.sorting::after,
table#dataTable thead > tr > th.sorting::before 
{
  position: absolute;
  display: block;
  right: 10px;
  line-height: 9px;
  font-size: .8em;
  opacity: .125;
}

table#dataTable thead > tr > th.sorting::before 
{
  bottom: 50%;
  content: "\2BC5";
}

table#dataTable thead > tr > th.sorting::after 
{
  top: 50%;
  content: "\2BC6";
}

table#dataTable tbody > tr 
{
  cursor: pointer;
}

table#dataTable tbody > tr:hover
{
  opacity: .8;
}

table#dataTable tbody > tr.odd 
{
  background-color: #cad9ee;
}

table#dataTable tbody > tr.even 
{
  background-color: #a0b7d6;
}

table#dataTable td
{
  box-sizing: content-box;
}

table#dataTable tbody td
{
  padding: 8px 10px;
}

table#dataTable tbody td img.status-image 
{
  padding: 0.2em 0.5em;
}

table#dataTable tbody td button.split-btn 
{
  background-color: transparent;
  border: 0;
  background-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAE2AAABNgEW7wLiAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAEtQTFRF////AAAAMzMzICAgGhoaICAgJSEhJCAgJCAgJB8fJCAgIx8hIh8gIyAgIh8fIx8gIx8gIx8gJB8gIx4gIx8gIx8gIx8gIx8gIx8g1eC0PgAAABh0Uk5TAAMFCAoYPj9AeoiMjpCrt73O0OLp6vL1wvJutAAAAIBJREFUOMvVkskOgCAMRN3BHdyY//9SrYRgAkk9GKNzmZB5KdA2Sf4l0dcpeVr3IgpooCKvAB0FJkCSS2B6HMjKGFBmLi+UESEgjCpcDswBkG+AJShHG1boYIkzX5tDiwcWOq+WGHGRA7wGHmCvYB/Jf5NvFN/qN8Z9c+XYpf2udm6jFgURSITLAAAAAElFTkSuQmCC');
  width: 32px;
  height: 32px;
}

table#dataTable tbody td button.split-btn.disabled
{
  display: none;
}