@include digitalmarketplace-exports("digitalmarketplace/styles/table") {
  .govuk-table--no-border .govuk-table__row {
    .govuk-table__cell, .govuk-table__header {
      border-bottom: none;
    }
  }

  .govuk-table--framework-incomplete {
    border-left: 5px solid #d4351c;

    .govuk-link:not(:focus) {
      color: $govuk-error-colour;
    }

    .govuk-table__cell:first-child {
      padding-left: 15px;
    }
  }

  .dm-compliance-communications-table {
    table-layout: fixed;

    thead > tr {
      th:nth-of-type(1) {
        width: 40%;
      }

      th:nth-of-type(2) {
        width: 25%;
      }

      th:nth-of-type(3) {
        width: 20%;
      }

      th:nth-of-type(4) {
        width: 15%;
      }
    }

    &.dm-compliance-communications-table__with-supplier thead > tr {
      th:nth-of-type(1) {
        width: 30%;
      }

      th:nth-of-type(2) {
        width: 22%;
      }

      th:nth-of-type(3) {
        width: 13%;
      }

      th:nth-of-type(4) {
        width: 20%;
      }

      th:nth-of-type(5) {
        width: 15%;
      }
    }

    tbody > tr > { 
      td, th {
        overflow-wrap: break-word;
      }
    }
  }

  .dm-compliance-communications-resolved-table {
    table-layout: fixed;

    thead > tr {
      th:nth-of-type(1) {
        width: 40%;
      }

      th:nth-of-type(2) {
        width: 25%;
      }

      th:nth-of-type(3) {
        width: 20%;
      }

      th:nth-of-type(4) {
        width: 15%;
      }
    }

    &.dm-compliance-communications-resolved-table__with-supplier thead > tr {
      th:nth-of-type(1) {
        width: 30%;
      }

      th:nth-of-type(2) {
        width: 22%;
      }

      th:nth-of-type(3) {
        width: 13%;
      }

      th:nth-of-type(4) {
        width: 20%;
      }

      th:nth-of-type(5) {
        width: 15%;
      }
    }

    tbody > tr > { 
      td, th {
        overflow-wrap: break-word;
      }
    }
  }

  .dm-compliance-communication-messages-table {
    table-layout: fixed;

    thead > tr {
      th:nth-of-type(1), th:nth-of-type(4) {
        width: 10%;
      }

      th:nth-of-type(2) {
        width: 40%;
      }

      th:nth-of-type(3), th:nth-of-type(5) {
        width: 20%;
      }
    }

    tbody > tr > { 
      td, th {
        overflow-wrap: break-word;
      }
    }
  }
}

/*# sourceMappingURL=_table.scss.map */
