.tabs {
  position: sticky;
  top: 149px;
}
@media (max-width: 768px) {
  .tabs {
    position: unset;
    top: unset;
  }
}

.filter-cont {
  display: block;
  position: sticky;
  top: 64px;
  padding: 0 20px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #f6f6f6;
}
.filter-cont input[type=text], .filter-cont input[type=number], .filter-cont input[type=date], .filter-cont input[type=email] {
  padding: 6px 16px !important;
}
.filter-cont select {
  padding: 8px 5px !important;
}
.filter-cont button {
  padding: 7.5px 16px;
}
.filter-cont button.block {
  width: 100%;
  padding: 7.5px 0;
}

.grid .pagination {
  display: block;
  text-align: right;
  font-size: 0;
  padding: 10px 0;
}
.grid .pagination .page {
  display: inline-block;
  padding: 4px;
  margin: 0 1px;
  border-radius: 2px;
  background-color: #f1f1f1;
  color: #222;
  font-weight: 400;
  cursor: pointer;
  vertical-align: top;
}
.grid .pagination .page i {
  color: #222;
}
.grid .pagination .page:hover, .grid .pagination .page.active {
  background-color: #1185ea;
  color: #fff;
}
.grid .pagination .page span {
  display: block;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 14px;
}
.grid table {
  width: 100%;
  text-align: left;
}
@media (max-width: 768px) {
  .grid table {
    display: block;
  }
}
.grid table thead {
  position: sticky;
  top: 139px;
  z-index: 999;
}
@media (max-width: 768px) {
  .grid table thead {
    display: none;
  }
}
.grid table thead tr th {
  padding: 10px 5px;
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  background-color: #f1f1f1;
}
.grid table thead tr th input[type=text], .grid table thead tr th input[type=number], .grid table thead tr th input[type=date], .grid table thead tr th input[type=email] {
  padding: 4px 16px !important;
  font-size: 12px;
}
.grid table thead tr th select {
  padding: 6px 5px !important;
  font-size: 12px;
}
@media (max-width: 768px) {
  .grid table tbody {
    display: block;
  }
}
.grid table tbody tr {
  color: #222222;
  cursor: pointer;
  position: relative;
}
@media (max-width: 768px) {
  .grid table tbody tr {
    display: block;
  }
}
.grid table tbody tr:nth-child(odd) {
  background-color: #fff;
}
.grid table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.grid table tbody tr:hover {
  color: #fff;
  background-color: #3F66D9;
}
@media (max-width: 768px) {
  .grid table tbody tr:hover {
    color: unset;
    background-color: unset;
  }
}
.grid table tbody tr td {
  padding: 10px 5px;
  font-size: 14px;
  font-weight: 300;
}
@media (max-width: 768px) {
  .grid table tbody tr td {
    display: block;
    padding: 4px 5px;
  }
}
.grid table tbody tr td span {
  display: block;
  padding: 5px 0;
}
.grid table tbody tr td:first-child {
  font-weight: 600;
}
.grid table tbody tr td:last-child {
  padding: 5px 0;
  vertical-align: top;
  width: 70px;
}
.grid table tbody tr td .buttons {
  text-align: center;
  font-size: 0;
  line-height: 100%;
}
.grid table tbody tr td .buttons .button {
  width: auto;
  padding: 4px;
  cursor: pointer;
}
.grid table tbody tr td .buttons .button i {
  font-size: 16px;
}
.grid form {
  display: block;
  position: sticky;
  top: 194px;
  z-index: 999;
}
.grid form.active {
  height: auto;
}
@media (max-width: 768px) {
  .grid form {
    position: unset;
    top: unset;
    height: 0;
    overflow: hidden;
  }
}

.popup-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 9999;
  background-color: #fff;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(136, 152, 170, 0.1019607843), 0 15px 35px rgba(49, 49, 93, 0.1019607843), 0 5px 15px rgba(0, 0, 0, 0.0784313725);
  overflow: hidden;
}
.popup-menu li {
  display: block;
}
.popup-menu li a {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  padding: 15px 30px;
  color: #222222;
}
.popup-menu li a:hover {
  background-color: #f1f1f1;
  color: #000;
}

.data-detail {
  display: block;
  padding: 0 20px;
  font-size: 0;
}
.data-detail .row {
  display: block;
  padding: 5px;
  font-size: 0;
  border-bottom: 1px #dddddd solid;
}
.data-detail .row label {
  display: inline-block;
  font-size: 14px;
  width: 250px;
  font-weight: 700;
}
.data-detail .row .text {
  display: inline-block;
  width: calc(100% - 250px);
  font-size: 14px;
}