.thrv_table table.tcb-fixed {
  table-layout: fixed;
}

@media (max-width: 767px) {
  .thrv_table {
    overflow-x: auto;
  }

  .tcb-mobile-table {
    td:not(:first-child) {
      border-top: 0;
    }

    tr:not(:first-child) td:first-child {
      border-top: 0;
    }
  }

  .tcb-mobile-table {
    th, thead {
      position: fixed;
      top: -9000px;
      left: -9000px;
    }

    td {
      display: block;
      position: relative;
      width: 100%;

      &:not(#s) {
        padding-left: 50%;
      }

      box-sizing: border-box;

      &:before {
        box-sizing: border-box;
        content: attr(data-th);
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: calc(50% - 5px);
        padding: 0;

      }
    }
  }
}

.tve_table {
  thead, tbody {
    .tve_table_row {
      .fr-element > p, .thrv_wrapper > p {
        margin: 0;
        padding: 0;
      }
    }
  }
}
