#page-thankyou {
  max-width: 900px;
  margin: 0 auto;
  background: #ededed;
}
#page-thankyou .top-thankyou h1 {
  padding: 15px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  border: 1px solid #d7d7d7;
  border-right: 0;
  border-left: 0;
  background: #595959;
  margin: 0;
}
#page-thankyou .top-thankyou .wrap-content-top {
  background: #ededed;
  padding: 20px 16px 16px;
}
#page-thankyou .top-thankyou .wrap-content-top .content-top {
  background: #fff;
  position: relative;
  padding: 15px;
}
#page-thankyou .top-thankyou .wrap-content-top .content-top:after {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 5px;
  background: url(../images/icons/bg_resultarea.png) repeat-x 0 bottom;
  background-size: auto 5px;
}
#page-thankyou .top-thankyou .wrap-content-top .content-top .message {
  padding: 56px 0 13px;
  text-align: center;
  font-size: 18px;
  color: #333;
  line-height: 26px;
  background: url(../images/icons/ico_resultarea_message.png) no-repeat center 0;
  background-size: 38px 42px;
  font-weight: bold;
  border-bottom: 1px dashed #d7d5d5;
  margin-bottom: 15px;
}
#page-thankyou .top-thankyou .wrap-content-top .content-top ul {
  margin: 0;
  padding: 0;
}
#page-thankyou .top-thankyou .wrap-content-top .content-top ul li {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
}
#page-thankyou .top-thankyou .wrap-content-top .content-top ul li span {
  font-size: 15px;
}
#page-thankyou .thankyou-block {
  border: 1px solid #d7d7d7;
  margin-bottom: 15px;
  background: #fff;
}
#page-thankyou .thankyou-block h2.title-page {
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 0;
}
#page-thankyou .thankyou-block ul {
  margin: 0;
  padding: 0 15px;
}
#page-thankyou .thankyou-block ul li {
  display: flex;
  margin: 0;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  margin: 0;
  padding: 20px 0;
}
#page-thankyou .thankyou-block ul li:last-child {
  border: 0;
}
#page-thankyou .thankyou-block ul li label {
  font-size: 15px;
  display: block;
  width: 180px;
}
#page-thankyou .thankyou-block ul li p {
  display: block;
  width: calc(100% - 160px);
  margin: 0;
}
#page-thankyou .woocommerce-order-details {
  background: #fff;
  padding-top: 0;
  border: 1px solid #d7d7d7;
}
#page-thankyou .woocommerce-order-details .woocommerce-order-details__title {
  padding: 15px;
  margin: 0;
  border-bottom: 1px solid #d7d7d7;
}
#page-thankyou .woocommerce-order-details table {
  margin-bottom: 10px;
}
#page-thankyou .woocommerce-order-details table.order_details .wrapper-vendor {
  background-color: #f9f8f8;
}
#page-thankyou .woocommerce-order-details table.order_details .wrapper-vendor .sold-by-label {
  color: #ec6a87;
  font-size: 14px;
  font-weight: 500;
}
#page-thankyou .woocommerce-order-details table.order_details th,
#page-thankyou .woocommerce-order-details table.order_details td {
  border: 0;
  vertical-align: middle;
}
#page-thankyou .woocommerce-order-details table.order_details td.product-price,
#page-thankyou .woocommerce-order-details table.order_details th.product-price,
#page-thankyou .woocommerce-order-details table.order_details td.product-quantity,
#page-thankyou .woocommerce-order-details table.order_details th.product-quantity,
#page-thankyou .woocommerce-order-details table.order_details td.product-subtotal,
#page-thankyou .woocommerce-order-details table.order_details th.product-subtotal {
  text-align: center;
}
#page-thankyou .woocommerce-order-details table th,
#page-thankyou .woocommerce-order-details table td {
  border: 0;
  vertical-align: top;
}
#page-thankyou .woocommerce-order-details table .product-thumbnail,
#page-thankyou .woocommerce-order-details table .product-image {
  width: 100px;
}
#page-thankyou .woocommerce-order-details table .product-thumbnail img,
#page-thankyou .woocommerce-order-details table .product-image img {
  border: 1px solid #d7d7d7;
}
#page-thankyou .woocommerce-order-details table .product-info .product-quantity,
#page-thankyou .woocommerce-order-details table .product-info .product-discount {
  margin-bottom: 10px;
  margin-top: 10px;
}
#page-thankyou .woocommerce-order-details table .product-info .wc-item-meta {
  display: none;
}
#page-thankyou .woocommerce-order-details table .product-info .product-discount .amount {
  font-weight: bold !important;
  color: #1428a0;
}
#page-thankyou .total-order-cus {
  margin-bottom: 0;
}
#page-thankyou .total-order-cus .table-total {
  padding: 10px;
}
#page-thankyou .total-order-cus .table-total table {
  width: 100%;
}
#page-thankyou .total-order-cus .table-total table tr {
  height: auto;
}
#page-thankyou .total-order-cus .table-total table tr th,
#page-thankyou .total-order-cus .table-total table tr td {
  padding: 10px;
}
#page-thankyou .total-order-cus .table-total table tr td {
  text-align: right;
}
#page-thankyou .total-order-cus .table-total table tr:last-child {
  background-color: #eff1f4;
}
#page-thankyou .total-order-cus .table-total table tr:last-child th,
#page-thankyou .total-order-cus .table-total table tr:last-child td {
  font-weight: bold;
}
#page-thankyou .total-order-cus .table-total table tr th .arrow-icon {
  cursor: pointer;
}
#page-thankyou .total-order-cus .table-total table tr.discount-info {
  background-color: #eef0f3;
}
#page-thankyou .total-order-cus .table-total table tr.bottom-line {
  border-bottom: 1px dashed #000;
}
#page-thankyou .total-order-cus .table-total table tr.add-space {
  display: block;
  margin-bottom: 20px;
}
#page-thankyou .footer-thankyou {
  display: flex;
  padding: 15px;
}
#page-thankyou .footer-thankyou a {
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #000000;
  flex: 1;
  height: 48px;
  line-height: 48px;
  padding: 0 4px;
  font-size: 18px;
  font-weight: normal;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
}
#page-thankyou .footer-thankyou a.continue {
  background: #4a5164;
  color: #ffffff;
  margin-left: 10px;
}
#page-thankyou .order_details .text-mb {
  display: none;
}
#page-thankyou .order_details .wrapper-vendor {
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
}
#page-thankyou .order_details .wrapper-vendor > div {
  padding: 15px;
}
#page-thankyou .order_details .wrapper-vendor .sold-by-label {
  color: #ec6a87;
  font-size: 14px;
  font-weight: 500;
}
#page-thankyou .order_details .wrapper-vendor .sold-by-vendor {
  color: #000000;
  font-size: 14px;
  font-weight: 500;
}
#page-thankyou .order_details .wrapper-vendor-product {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  color: #5a5a5a;
  font-size: 14px;
  line-height: 25px;
  font-weight: 500;
}
#page-thankyou .order_details .wrapper-vendor-product .product-thumbnail-name {
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  color: #000000;
  width: 60%;
  display: flex;
  align-items: center;
}
#page-thankyou .order_details .wrapper-vendor-product .product-content {
  display: flex;
  width: 40%;
}
#page-thankyou .order_details .wrapper-vendor-product .product-content > div {
  width: 33.33%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #7c7c7c;
  font-size: 13px;
}
#page-thankyou .order_details .woocommerce-table__line-item {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}
#page-thankyou .order_details .woocommerce-table__line-item .product-thumbnail-name {
  width: 60%;
  font-weight: 600;
}
#page-thankyou .order_details .woocommerce-table__line-item .product-thumbnail-name img {
  width: 70px;
  height: 70px;
}
#page-thankyou .order_details .woocommerce-table__line-item .product-item-content {
  display: flex;
  width: 40%;
}
#page-thankyou .order_details .woocommerce-table__line-item .product-item-content .product-price .amount {
  color: #000000;
  font-size: 13px;
  font-weight: 600;
}
#page-thankyou .order_details .woocommerce-table__line-item .product-item-content .product-subtotal {
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
#page-thankyou .order_details .woocommerce-table__line-item .product-item-content > div {
  width: 33.33%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media only screen and (max-width: 767px) {
  .order_details .hide {
    display: none !important;
  }
  .order_details .show {
    display: block !important;
  }
  .order_details .woocommerce-table__line-item {
    flex-direction: column;
    gap: 20px;
  }
  .order_details .woocommerce-table__line-item .product-item-content {
    gap: 10px;
    flex-wrap: wrap;
    width: 100% !important;
  }
  .order_details .woocommerce-table__line-item .product-item-content > div {
    justify-content: flex-start !important;
    width: unset !important;
  }
  .order_details .woocommerce-table__line-item .product-thumbnail-name {
    width: 100% !important;
  }
}
@media (max-width: 480px) {
  #page-thankyou .footer-thankyou a {
    font-size: 15px;
  }
}