.row.table_main {
  border-radius: 8px 8px 0 0;
}

.row.table_main .container-fluid {
  padding        : 5px 2px;
  border-radius  : 21px;
  box-shadow     : 0px 0px 10px 1px #3939398a;
  background     : #ffffffb3;
  backdrop-filter: blur(2px);
}

.row.table_main .main-content {
  border-radius: 8px 8px 0 0;
}

.row.table_main .entries .entry {
  padding           : 0;
  -webkit-appearance: auto;
  -moz-appearance   : auto;
  appearance        : auto;
}

.row.table_main h3.caption {
  padding: 10px 0 0 10px;
}

/* search placeholder */
.row.table_main .divplaceholder {
  bottom   : 0;
  top      : 0;
  left     : 10px;
  margin   : auto;
  font-size: medium;
  height   : max-content;
}

.row.table_main .divplaceholder.placeholderon {
  bottom    : 0;
  top       : -39px;
  left      : 5px;
  font-size : small;
  background: #ffffffb8;
  padding   : 0px 5px;
}

/* hover effect on upload btn  */
.row.table_main .tables-btn-con-row {
  border-radius: 8px 8px 0 0;
  padding      : 5px 8px 5px 8px !important;
}

.row.table_main:not(.tables-btn-con-row, .plain_table) {
  border-radius: 21px;
  /* margin    : 0px 20px 10px 20px !important; */
  max-width    : 1200px;
  margin       : auto !important;
}

@media only screen and (min-width: 237px) and (max-device-width: 800px) {
  .row.table_main .tables-btn-con-row {
    margin: 10px 5px 0 5px !important;
  }

  .row.table_main .tables-btn-con-row .btn {
    margin : 3px;
    padding: 0;
  }

  .row.table_main .tables-btn-con-row .divplaceholder {
    font-size: 12px;
  }

  .row.table_main .tables-btn-con-row .btn .text {
    display: none !important;
  }

  .row.table_main:not(.tables-btn-con-row) {
    margin: 0px 5px 10px 5px !important;
  }
}

/* main_table_css */
.row.table_main .table-con {
  padding: 0 0px;
  margin : 5px 6px;
}

/* .row.table_main .table tr.odd > * {
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 9999px var(--bs-table-striped-bg);
} */
.row.table_main .table tr.odd>* {
  --bs-table-striped-bg: rgb(0 0 0 / 9%);
  box-shadow           : inset 0 0 0 9999px var(--bs-table-striped-bg) !important;
}

.row.table_main .tables-btn-con-row {
  position       : sticky;
  top            : 0px;
  background     : transparent !important;
  font-size      : 11px;
  z-index        : 2000;
  backdrop-filter: blur(7px);
}

.row.table_main .tables-btn-con-row .btn {
  margin: 2px 3px;
}

.row.table_main .table .btn-con .btn:hover {
  /* background: transparent !important; */
  /* color: inherit !important; */
  /* border: 0; */
}

.row.table_main .table .btn-con .btn {
  /* border: 0; */
}

/* .row.table_main .tables-btn-con-row .btn:hover {
  background: #b3e9ff;
  color: #000060;
  border: 1px solid #000060;
  box-shadow: 0px 0px 2px 3px #00006054;
} */

/* dar and drop in upload modal */
.modal .drag-drop {
  min-height: 250px;
  border    : 2px dotted var(--bs-gray-400);
  color     : var(--bs-gray-500);
}

.modal .dwnld {
  font-size: 12px !important;
}

.modal .loader-con {
  top       : 0;
  left      : 0;
  min-width : 100%;
  min-height: 15px;
  margin    : 0;
  overflow  : hidden;
}

.modal .loader-con .loading {
  left      : -1%;
  min-width : 25%;
  min-height: 4px;
  animation : loading 2s infinite linear;
}

@keyframes loading {
  0% {
    left: -1%;
  }

  100% {
    left: 100%;
  }
}

/* table css */

.row.table_main table {
  position: relative;
  padding : 0 10px;
}

.row.table_main .table-input.select_row {
  padding: 0;
  border : 0;
}

.row.table_main .table-input.select_filter,
.row.table_main .table-input.select_all {
  font-size : 10px;
  background: #f0f8ff;
  border    : 1px solid #002323;
  padding   : 3px 4px;
  margin    : 0 3px;
}

.row.table_main .table-input.select_filter .count {
  padding    : 0 2px;
  font-weight: bold;
}

.row.table_main .select_con .action-btn-con {
  position: relative;
}

.row.table_main .select_con .action-btn-con .popup {
  position     : absolute;
  min-width    : 500px;
  max-width    : 500px;
  right        : 100%;
  top          : -8px;
  margin-right : 6px;
  padding      : 7px 9px;
  box-shadow   : 0px 0px 5px 0px black;
  border-radius: 10px;
  z-index      : 10000;
  overflow     : auto;
}

.row.table_main .select_con .action_btns_toggle {
  margin-right: 15px;
  padding     : 0 5px;
}

.row.table_main .select_con .action-btn-con .popup>.form-control,
.row.table_main .select_con .action-btn-con .popup>.btn {
  padding  : 0 3px;
  font-size: 12px;
  margin   : 5px 3px;
  min-width: 120px;
  max-width: 200px;
}

.row.table_main table tr th:first-child.heading {
  border-radius: 8px 0 0 0;
}

.row.table_main table tr th:last-child.heading {
  border-radius: 0 8px 0 0;
}

.row.table_main table th.heading {
  position        : relative;
  background-color: #eaedef;
  border-bottom   : 1px solid var(--bs-gray-500);
  padding-right   : 25px;
  white-space     : nowrap;
}

.row.table_main table th.heading .text {}

.row.table_main table th.heading .btn[data-action="sort-table"] {
  position: absolute;
  /* left : 0; */
  right   : 0;
  top     : 0;
  bottom  : 0;
  display : inline-block !important;
  color   : var(--bs-gray-600);
  cursor  : pointer;
  padding : 0;
}

.row.table_main table th.heading .btn.table-select-all {
  border: 0;
}

.row.table_main table th.heading .count {
  font-size    : 9px;
  background   : #ad5454;
  color        : white;
  padding      : 0px 0px;
  border-radius: 50%;
  position     : absolute;
  right        : 0px;
  bottom       : 3px;
  font-weight  : 100;
  min-width    : 14px;
  text-align   : center;
}

.table_th {
  position: sticky;
  top     : 189px;
  z-index : 1;
}

.row.table_main table th>div {
  width : 100%;
  height: 100%;
}

/* hightlight words in table */
.row.table_main .hw {
  font-weight: bold;
  color      : darkred;
}

/* select all option in upload table */
.row.table_main td:first-child {
  min-width: 40px;
}

.row.table_main .table-select-all,
.row.table_main .select-row {
  display: none;
  width  : 24px;
  height : 16px;
  cursor : pointer;
}

/* table tabs css */
.row.table_main .tabs-con {
  padding-left: 15px;
}

.row.table_main .tabs-con .tabs {
  position     : relative;
  margin       : 2px 5px;
  border-radius: 8px;
}

.row.table_main .tabs-con .tabs .btn {
  padding         : 3px 7px;
  border          : 1px solid var(--bs-gray-300);
  font-size       : 12px;
  cursor          : pointer;
  background-color: white;
}

.row.table_main .tabs-con .tabs .btn.active {
  border-color: var(--bs-primary);
  background  : #cae0ff;
}

.row.table_main .tabs-con .tabs .tip {
  bottom          : -5px;
  left            : 8px;
  border-top-color: var(--bs-primary) !important;
}

/* details-con */
.row.table_main .tabs-div {
  /* position        : relative; */
  /* border          : 1px solid var(--bs-gray-500); */
  /* box-shadow      : 0px 0px 5px 1px var(--bs-gray-400); */
  /* margin-left     : 10px; */
  /* border-radius   : 12px; */
  /* background-color: white; */
}

.row.table_main .tabs-div * {
  font-size: 13px !important;
}

.form-row .label {
  background: var(--bs-gray-200);
  word-break: break-word;
  color     : black;
}

.tables-btn-con-row .btn.export {
  font-size : 11px;
  min-width : max-content;
  background: var(--bs-success);
  color     : white;
  margin    : 0px 5px;
}

/* table_plain */
.table_main.plain_table {
  margin          : 0 !important;
  border-radius   : 0 !important;
  background-color: transparent !important;
}

.table_main.plain_table .container-fluid {
  border-radius: 0 !important;
  box-shadow   : none !important;
}

.table_main.plain_table .pagination,
.table_main.plain_table .tables-btn-con-row {
  /* backdrop-filter: none; */
}

@media only screen and (min-width: 237px) and (max-width: 800px) {
  .table_post {
    padding: 0 !important;
  }

  table.table_responsive tr {
    display       : flex;
    flex-direction: column;
  }

  table.table_responsive tr td:last-child {
    border-bottom    : 2px dashed var(--bs-gray-400);
    /* box-shadow    : 0 3px 3px 0 var(--bs-gray-400); */
    padding-bottom   : 10px;
    margin-bottom    : 10px;
  }

  table.table_responsive tr.hide-responsive-heading span.heading {
    display: none;
  }

  table.table_responsive tbody tr td {
    display        : flex;
    flex-wrap      : wrap;
    justify-content: end;
  }

  table.table_responsive tbody tr td span.th {
    padding-right: 10px;
    margin       : auto;
    margin-left  : 0;
  }

  table.table_responsive thead {
    display: none;
  }
}