#main {
  max-width: 85%;
  margin: 0 auto;
  padding-top: 18vh;
  padding-bottom: 15vh;
  position: relative;

  .woocommerce-breadcrumb {
    color: $color-black;
    @extend .p;
    margin-bottom: 2.5rem;
    a {
      color: $color-black;
      @extend .p;
      transition: all 300ms;
      display: inline-block;
      &:hover,
      &:focus {
        color: $color-yellow;
      }
    }
  }

  .woocommerce {
    padding-top: 0;
    margin-top: 2rem;
    min-height: 0;
    #ced_rnx_return_request_form_wrapper {
      display: flex;
      flex-direction: column;
      width: 100%;
      #ced_rnx_return_request_container {
        order: 1;
      }
      #ced-return-alert {
        order: 4;
        width: 100%;
        background-color: $color-yellow;
        padding: 10px;
        list-style: none;
        margin: 0;
        margin-bottom: 2rem;
        li {
          color: $color-black;
          @extend .p;
        }
      }
      .ced_rnx_product_table_wrapper {
        order: 3;
      }
      #ced_rnx_return_request_container h1 {
        @extend .h2;
        color: $color-black;
        margin-bottom: 32px;
        &:after {
          display: none;
        }
      }
    }
    hr {
      display: none;
    }
    .shop_table {
      width: 100%;
      border-collapse: collapse;
      font-size: unset;
      margin-bottom: 4rem;
      thead {
        tr {
          th {
            padding: 10px 0;
            border: none;
            border-bottom: 2px solid #d5d5d5;
            background-color: transparent;
            @extend .p;
            @include media-query($small){
              &.product-qty,
              &.product-total {
                display: none;
              }
            }
          }
        }
      }
      tbody {
        tr {
          td {
            &.ced_rnx_total_amount_wrap {
              background-color: transparent !important;
            }
            &.product-name img {
              display: none;
            }
            .ced_rnx_product_title {
              display: flex;
              flex-direction: column;
              align-items: center;
              text-align: center;
              a {
                color: $color-black;
                @extend .p;
                transition: all 300ms;
                display: inline-block;
                margin-bottom: 12px;
                &:hover,
                &:focus {
                  color: $color-yellow;
                }
              }
              .wc-item-meta {
                list-style: none;
                display: flex;
                flex-direction: column;
                text-align: center;
                align-items: center;
                li {
                  margin-bottom: 12px;
                  p,
                  strong {
                    @extend .p;
                    margin-bottom: 0;
                    color: #191919;
                    @include media-query($small) {
                      font-size: 10px;
                    }
                  }
                }
              }
            }
            .ced_rnx_return_product_qty {
              color: $color-black;
              @extend .p;
              text-align: center;
              opacity: 0.5;
              &[type="number"] {
                -moz-appearance: textfield;
              }
              &::-webkit-outer-spin-button,
              &::-webkit-inner-spin-button {
                -webkit-appearance: none;
              }
              @include media-query($small) {
                margin-bottom: 15px;
              }
            }
            .amount {
              color: $color-black;
              @extend .p;

              @include media-query($small) {
                margin-bottom: 12px;
                display: inline-block;
              }
            }
            border: none;
            background-color: transparent;
            padding: 12px 0;
            border-bottom: 2px solid #d5d5d5;
            @include media-query($small) {
              display: block;
              padding: 0;
              border-bottom: none;
            }
          }
          th {
            background-color: transparent;
            @extend .p;
            color: $color-black;
            border: none;
            border-bottom: 2px solid #d5d5d5;
            @include media-query($small) {
              display: block;
              border-bottom: none;
            }
          }
          @include media-query($small) {
            display: block;
            padding: 2rem 0;
            border-bottom: 2px solid #d5d5d5;
          }
        }
      }
    }
    @include media-query($small) {
      width: 100%;
    }
  }

  .mwb_order_msg_notice_wrapper {
    padding: 12px;
  }
  .ced_rnx_note_tag_wrapper {
    width: 100% !important;
    float: none !important;
    order: 5;
    select{
      display: none !important; 
    }
    p {
      color: $color-black;
      label {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 1rem;
      }
      #ced_rnx_return_request_subject_text {
        margin-bottom: 2rem;
        box-shadow: unset;
        width: 50%;
        @include media-query($small) {
          width: 100%;
        }
      }
      textarea {
        margin-bottom: 2rem;
        box-shadow: unset;
        min-width: 50%;
        max-width: 50%;
        max-height: 250px;
        min-height: 250px;
        padding: 8px;
        @include media-query($small) {
          min-width: 100%;
          max-width: 100%;
        }
      }
    }
  }

  .ced_rnx_refund_rules_display {
    width: 100% !important;
    float: none !important;
    order: 5;
  }
  .ced-rnx_customer_detail {
    display: none;
  }
  #ced_rnx_return_request_form {
    width: 100%;
    .button {
      box-shadow: unset;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: $color-black;
      background-color: $color-yellow;
      padding: 12px 24px;
      @extend .text-btn-buy;
      position: relative;
      overflow: hidden;
      border: 1px solid $color-black;
      outline: unset;
      text-align: center;
      &:hover {
        color: $color-white !important;
        background-color: #191919;
      }
    }
  }
  .ced_rnx_refund_rules_display {
    @extend .p;
    color: $color-black;
  }
  //chats
  #mwb_order_new_msg_form {
    width: 100%;
    .mwb-order-heading {
      background-color: $color-yellow;
      padding: 12px;
      @extend .p;
    }
    textarea {
      margin-bottom: 1rem;
      box-shadow: unset;
      min-width: 100%;
      max-width: 100%;
      max-height: 250px;
      min-height: 250px;
      padding: 8px;
      @extend .p;
    }
    label {
      color: $color-black;
      @extend .p;
    }
    .mwb-order-msg-attachment-wrapper {
      .mwb-order-msg-btn {
        margin-top: 0;
        .button {
          box-shadow: unset;
          border: none;
          cursor: pointer;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          color: $color-black;
          background-color: $color-yellow;
          padding: 12px 24px;
          @extend .text-btn-buy;
          position: relative;
          overflow: hidden;
          border: 1px solid $color-black;
          outline: unset;
          text-align: center;
          &:hover {
            color: $color-white !important;
            background-color: #191919;
          }
        }
        @include media-query($small) {
          text-align: left;
        }
      }
      @include media-query($small) {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        #mwb_order_msg_attachment {
          margin-bottom: 1rem;
          width: 100%;
        }
      }
    }
  }
  .mwb_order_msg_history_container {
    width: 100%;
    margin-top: 50px;
    h4 {
      background-color: $color-yellow;
      padding: 12px;
      @extend .p;
    }
    .mwb_order_messages .mwb_order_msg_sender {
      background-color: $color-yellow;
      color: $color-black;
      @extend .p;
    }
    .mwb_order_msg_date {
      @extend .text-cart-table-headers;
      color: $color-black;
    }
    span,
    .mwb_order_msg_attachments_title {
      color: $color-black;
      @extend .p;
    }
  }
}

#sidebar {
  display: none;
}
