/* -------------------------------------
    ** Data Table **
   ---------------------------------------  */

.knote-table-inner-container {
  overflow-y: auto;
  overflow-x: auto;
}

.knote-table-td {
  position: relative;
}

.knote-table-td-pag {
  text-align: center;
}

.knote-data-table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0;
}

.knote-data-table tr:first-child th {
  border-top: none !important;
}

.knote-data-table tr:last-child td {
  border-bottom: none !important;
}

.knote-data-table tr th:first-child,
.knote-data-table tr td:first-child {
  border-left: none !important;
}

.knote-data-table tr th:last-child,
.knote-data-table tr td:last-child {
  border-right: none !important;
}

.knote-flex-column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.knote-flex-column-reverse {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.knote-data-table th {
  position: relative;
}

.knote-equal-column-width-yes .knote-data-table {
  table-layout: fixed;
}

.knote-equal-column-width-yes .knote-data-table .knote-table-th-pag,
.knote-equal-column-width-yes .knote-data-table .knote-table-td-pag {
  width: 50px;
}

.knote-data-table img {
  display: inline-block;
}

.knote-table-td,
.knote-table-th {
  vertical-align: middle;
}

.knote-table-text {
  position: relative;
}

.knote-data-table-th-img,
.knote-table-text {
  vertical-align: middle;
}

.knote-table-text-nowrap-yes th,
.knote-table-text-nowrap-yes td {
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .knote-equal-column-width-yes .knote-data-table {
    table-layout: auto;
  }
}
