.group.text-group {
  &.group-of-1 {
    .row.text-row {
      width: 100%;
    }
  }

  @include breakpoint(tablet) {
    &.group-of-even {
      &:not(.group-of-2) {
        .row.text-row:not(:nth-last-child(-n+2)) {
          padding-bottom: 0;
        }
      }
      .row.text-row {
        justify-content: flex-start;
        &:nth-child(odd) {
          padding-right: calculateRem(25);
          padding-left: calculateRem(50);
        }
        &:nth-child(even) {
          padding-right: calculateRem(50);
          padding-left: calculateRem(25);
        }
      }
    }
    &.group-of-odd {
      .row.text-row:not(.group-of-1):not(:nth-last-child(-n+2)){
        padding-bottom: 0;
      }
      .row.text-row:not(:first-child) {
        justify-content: flex-start;
        &:nth-child(even) {
          padding-right: calculateRem(25);
          padding-left: calculateRem(50);
        }
        &:nth-child(odd) {
          padding-right: calculateRem(50);
          padding-left: calculateRem(25);
        }
      }
    }
  }

  .row.text-row {
    padding-top: calculateRem(70);
    padding-bottom: calculateRem(70);
    display: flex;
    justify-content: center;

    &.no-padding-top {
      padding-top: 0;
    }

    &.no-padding-bottom {
      padding-bottom: 0;
    }

    .text {
      .content {
        img {
          max-width: 100%;
          height: auto;
        }
        .gform_confirmation_message {
          text-align: center;
        }
        & li {
          word-wrap: break-word;
        }
      }
    }
  }
}
