@import "../../../../assets/scss/variables";
@import "../../../../assets/scss/mixins";

.ftm_table_cta {
  th {
    border-style: none;
    padding: 1em 2em 1em 1em;
    text-wrap: nowrap;
  }
  tr {
    > td:nth-child(1) {
      img {
        max-width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
      }
      strong {
        margin-left: 20px;
        margin-right: 20px;
      }
    }
  }

  tr:not(:first-child) {
    td:first-child {
      text-align: center;
    }
  }

  td:last-child {
    text-align: center;
  }

  tr:not(:first-child) td:nth-child(2) ul {
    @media (max-width: $breakpoint-sm) {
      padding-left: 0%;
    }
  }

  @media (max-width: $breakpoint-sm) {
    td {
      display: block;

      &:last-child {
        margin-bottom: 3px;
        border-bottom: 2px solid #ccc;
      }
    }

    th:not(:first-child) {
      display: none;
    }
  }
}
