﻿.grid-view {
  border: 1px solid #ccc;
  width: max-content;
}
.grid-view .grid-header {
  padding: 3px;
  background-color: #e9ecef;
}
.grid-view .grid-header button {
  width: 26px;
  height: 23px;
  border-radius: 3px;
  border: 1px solid #adb5bd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a58ca;
  font-size: 0.8rem;
}
.grid-view .grid-container {
  overflow: auto;
}
.grid-view .grid-container .table {
  border-spacing: 0;
  padding: 0;
  table-layout: fixed;
  border-collapse: collapse;
}
.grid-view .grid-container .table thead {
  top: 0px;
  position: sticky;
  background-color: #e9ecef;
  color: #212529;
  z-index: 20;
  min-height: 30px;
  height: 30px;
  margin-top: -1px;
}
.grid-view .grid-container .table thead tr {
  line-height: 29px;
}
.grid-view .grid-container .table thead tr th {
  text-align: center;
  user-select: none;
  -moz-user-select: none;
  font-size: 0.85rem;
}
.grid-view .grid-container .table thead tr th.row-header {
  z-index: 23;
}
.grid-view .grid-container .table tbody {
  z-index: 18;
}
.grid-view .grid-container .table tbody tr .tool-btn {
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  line-height: 1rem;
  border-radius: 3px;
  background-color: #efefef;
  margin-left: 3px;
}
.grid-view .grid-container .table tbody tr .tool-btn.tool-btn-delete {
  color: #dc3545;
}
.grid-view .grid-container .table tbody tr .tool-btn.tool-btn-edit {
  color: #0a58ca;
}
.grid-view .grid-container .table tbody tr .tool-btn:enabled:hover {
  cursor: pointer;
  border-color: #969696;
}
.grid-view .grid-container .table tbody tr .tool-btn:enabled:active span {
  top: 2px;
  right: 2px;
}
.grid-view .grid-container .table tbody tr td {
  font-size: 0.85rem;
  padding: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grid-view .grid-container .table tbody tr td a.link-btn {
  margin-left: 7px;
  margin-right: 7px;
}
.grid-view .grid-container .table tbody tr.selected-row:not(.editing-row) td:not(.row-header) {
  background-color: #e1f3fb;
  color: #102161;
}
.grid-view .grid-container .table tbody tr.editing-row td:not(.row-header) {
  /* border-top: 2px dotted #ff6307;
                        border-bottom: 2px dotted #ff6307;*/
  font-weight: bold;
  background-color: #ffc1075e;
}
.grid-view .grid-container .table tr {
  min-height: 25px;
  height: 25px;
}
.grid-view .grid-container .table tr:nth-child(even) {
  background-color: #fbfbfbba;
}
.grid-view .grid-container .table td,
.grid-view .grid-container .table th {
  padding: 0;
  border: none;
  outline-offset: -1px;
  border-left: 1px solid #dee2e6;
}
.grid-view .grid-container .table td.row-header,
.grid-view .grid-container .table th.row-header {
  user-select: none;
  -moz-user-select: none;
  position: sticky;
  background-color: #e9ecef;
  width: 50px;
  right: 0;
}
.grid-view .grid-container .table th.actions,
.grid-view .grid-container .table td.actions {
  width: 300px;
}
.grid-view .footer {
  background-color: #e9ecef;
  font-size: 0.8rem;
  bottom: -1px;
  position: sticky;
  color: #212529;
  z-index: 25;
  min-height: 30px;
  height: 30px;
}
.grid-view .footer .paging {
  display: inline-block;
  padding-top: 0.15rem;
  padding-right: 0.5rem;
}
.grid-view .footer .paging select {
  border: 1px solid #dee2e6;
  border-radius: 3px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.grid-view .footer .paging label {
  font-weight: bold;
}
.grid-view .footer .paging span {
  padding-left: 1rem;
  padding-right: 0.3rem;
  color: #df2133;
}