@import '../helpers/helpers';

.page_contact-us {

  .sub-label {
    margin-top: 10px;
  }

  .radio-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;

    &__label {
      font-size: 16px;
      font-weight: bold;
      display: block;
      margin-bottom: 8px;
    }

    &__info {
      font-size: 14px;
      margin-bottom: 12px;
    }

    &__field {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding-right: 15px;
      padding-left: 15px;
    }
  }

  .radio-option-wrapper {
    border: 1px solid $gray;
    border-radius: 3px;
    padding: 16px;
    cursor: pointer;
    background-color: $white;

    .radio-option {
      margin: 0;
      font-size: 1rem;
      line-height: 1.5rem;

      span {
        @include primary-text;
      }
    }

    &.selected {
      border-color: $blue;

      .radio-option {
        font-weight: bold;
      }
    }

    &:hover {
      border-color: $blue;
    }

    .radio-expanded-content {
      display: none;
      padding: 16px 16px 0;

      &.expanded {
        display: block;
      }

      .form-row {
        margin-bottom: 0;
      }
    }
  }

  .your-details__wrap {
    @include make-col(12);
  }

  .row-postcode {
    .form-row {
      &__field {
        @include make-col(6);
      }
    }
  }

  .enquiry-field {
    .form-row {
      &__field {
        .tbx_textarea {
          resize: vertical;
          min-height: 128px;
        }
      }
    }
  }

  @include media-breakpoint-down(sm) {
    .row-postcode {
      .form-row {
        &__field {
          @include make-col(12);
        }
      }
    }
  }

  @include media-breakpoint-up(md) {
    .row-title {
      .form-row {
        &__field {
          @include make-col(6);
        }
      }
    }
  }

  @include media-breakpoint-up(lg) {
    .lines-group {
      &__header-text {
        position: relative;
      }
    }
  }
}
