@import url('./KTableBodySlot.css');

  /* TABLETOP */
  .KTableTop__dropdownList > div{
    border-bottom: 1px solid var(--k-accent);
  }
  .KTableTop__dropdownList > div:last-child{
    border-bottom: 0px solid var(--k-accent);
  }
  /* NEW CSS */
  .tableGroup {
    height: 100%;
  }


  .editable-column {
    font-weight: bold;
    cursor: pointer;
  }

  .kTable {
    height: 100%;
  }

  /* COLUMN DRAWER */

  .columnsDrawer__closeButton {
    padding-block: 30px 1rem;
    text-align: right;
    margin-right: 20px;
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: black;
    padding-left: 38px;
    font-family: "SangBleuKingdom-Light, sans-serif" !important;
  }

  .columnsDrawer__closeButton span {
    display: block;
    width: 37px;
    height: 37px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    margin-left: auto;
  }

  .columnDrawer__handle {
    opacity: 0;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s;
    opacity: 1;
  }
/* COLUMN SIDEBAR */

.columnSidebar__background {
  position: absolute;
  top: -100vh;
  left: 0;
  height: 200vh;
  width: 100vw;
  z-index: 2999 !important;
  background-color: rgb(255 255 255 / 63%);
}
  /* ======================================================== */


  /* q-select filter when has multiple values becomes too big, this makes the q-select to maintain the size */
  .advancedFilter__q-select>.q-field__inner {
    width: 0rem;
  }

  .testFilter {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 100%;
  }


  .advancedFilter {
    font-size: 0.8rem;
    width: 100%;
  }

  .advancedFiltersContainer {
    height: 4rem;
    transition: 0.3s;
  }

  .advancedFiltersContainer--active {
    height: 4rem;
  }

  .arrowSort {
    margin-left: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0;
  }

  .tableLabel {
    cursor: pointer;
  }

  .tableLabel:hover .arrowSort {
    opacity: 1;
  }

  .arrowSort[descending="true"] {
    transform: rotateZ(180deg);
    opacity: 1;
  }

  .arrowSort[descending="false"] {
    transform: rotateZ(0deg);
    opacity: 1;
  }

  .edit__icon {
    float: right;
  }

  .rowMenu {
    border-radius: 0 !important;
  }

  .rowValueContainer {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }

  .selectAllBtn {
    display: none;
  }


  .tableGrid {
    display: none;
    flex: 1;
  }
  .kettalComponent{

  .q-table__bottom{
    font-size: 1rem;
    border-radius: 0px !important;
    padding:0;
    margin: 0;
  }
  


  thead {
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .my-sticky-header-table {
    /* height or max-height is important !!! will be set on mounted*/
    /* height: 829px; */
    /* specifying max-width so the example can
        * highlight the sticky column on any browser window */
    max-width: 100%;
    /* this will be the loading indicator */
  }

  .my-sticky-header-table .q-table__top,
  .my-sticky-header-table .q-table__bottom,
  .my-sticky-header-table thead tr:first-child th {
    /* bg color is important for th; just specify one */
    background-color: #fff8f2;
  }

  .my-sticky-header-table thead tr th {
    position: sticky;
    z-index: 1;
  }

  .my-sticky-header-table thead tr:first-child th {
    top: 0;
  }

  .my-sticky-header-table.q-table--loading thead tr:last-child th {
    /* height of all previous header rows */
    top: 48px;
  }

  .my-sticky-header-table .selectColumns {
    margin-left: 10px !important;
    width: 250px;
    display: inline-block;
  }


  .my-sticky-header-table .q-table th {
    font-weight: bold;
  }

  .my-sticky-header-table td:first-child {
    /* bg color is important for td; just specify one */
    background-color: #fff8f2;
  }

  .my-sticky-header-table tr th {
    position: sticky;
    /* higher than z-index for td below */
    z-index: 2;
    /* bg color is important; just specify one */
    background-color: #fff8f2;
  }

  .my-sticky-header-table thead .tr-headerFilter th:first-child {
    z-index: 3;
  }

  .my-sticky-header-table thead .tr-headerfilter th {
    z-index: 1 !important;
  }

  .my-sticky-header-table thead tr:first-child th {
    top: 0;
    z-index: 1;
  }

  .my-sticky-header-table tr:first-child th:first-child {
    /* highest z-index */
    z-index: 2;
  }

  .my-sticky-header-table td:first-child {
    z-index: 1;
  }

  .my-sticky-header-table td:first-child,
  .my-sticky-header-table th:first-child {
    position: sticky;
    left: 0;
  }

  .my-sticky-header-table .q-table__grid-content {
    padding-bottom: 0;
  }

  .my-sticky-header-table .q-table__top {
    display: inline-block;
    text-align: right;
    padding: 0px !important;
  }

  .q-virtual-scroll__content {
    scroll-margin-top: 200px;
  }

  .q-drawer {
    top: 0px !important;
  }


  /* 
    .max-column-width-100 {
      width: min-content;
      overflow: auto;
    }
    
    .max-column-width-200 {
      width: 1px;
      max-width: 200px;
      overflow: auto;
    }
    .max-column-width-300 {
      width: 1px;
      max-width: 300px;
      overflow: auto;
    }
    .max-column-width-60 {
      width: 1px;
      max-width: 60px;
      overflow: auto;
    }
    
    .break-column-text {
      display: flex;
      flex-direction: row;
      width: auto;
      align-items: center;
      justify-content: space-between;
      box-sizing: content-box;
    }
    
    .break-column-text span {
      width: 100%;
      display: block;
      white-space: normal;
    } */

  .table-column-wrap {
    white-space: pre-wrap !important;
    box-sizing: content-box;
    min-width: 100px;
  }

  .table-column-minWidth200 {
    min-width: 200px;
  }

  .table-column-minWidth300 {
    min-width: 300px;
  }


  th#advancedFiltersContainer {
    padding-right: 0;
  }

  .addFilterBtn {
    margin-bottom: 1rem;
  }



  .customizeColumnsDrawer__container {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }


  .dropdownBtn__container>div:last-child {
    border-bottom: 0px;
  }

  .dropdownBtn__container>div {
    border-bottom: 0.7px solid black;
  }


  .tableOptions__container {
    height: 4rem;
    padding: 10px 20px;
  }


  .tableOptions__searchActions {
    gap: 3rem;
  }

  .tableOptions__confimActionButtons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    height: 100%;
  }

  .displayColumnSelected {
    color: var(--q-blue);
    font-size: 2rem;
  }

  .q-btn-dropdown__arrow {
    display: none;
  }
}