#section_user_order_history
{
    padding: 8vh 10rem 0 10rem;
}

#section_user_order_history table thead tr
{
    color: var(--site_orange);
    font-weight: 400;
    font-size: 19px;
}

#section_user_order_history table thead tr th
{
    border-top: none; 
    border-bottom: 1px solid var(--site_orange);
    text-align: center;
}

#section_user_order_history table tbody tr td
{
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
}

.barcode {
  width: 256px;
  margin-bottom: .6rem;
}


#section_user_order_history table tbody tr .btn_show_order
{
	box-sizing: border-box;
	height: 1.5rem;
	width: 2rem;
	border: 1px solid var(--site_orange);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.29);
    cursor: pointer;
    color: var(--site_orange);
}


#section_user_order_history table tbody tr .order_image
{
    width: 10rem;
    height: 14vh;
    
}


#section_user_order_history table tbody tr .order_image div
{
    display: block;
    width: 100%;
    height: 6rem;
    border-radius: 0.8rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.54);
}

#section_user_order_history table tbody tr td .order_success
{
    color: #ffffff;
    background-color: var(--site_orange);
    padding: .6rem .8rem;
    font-size: 1rem;
    border-radius: .3rem;
}

.order_details > th {
    text-align: right;
    color: var(--site_orange);
}


#section_user_order_history table tbody .order_details 
{
    display: none;
    text-align: center;
}

#section_user_order_history table tbody .order_details th {
  text-align: center;
  font-size: 1.125rem;
}

#section_user_order_history table tbody .order_details td
{
    border:none;
    text-align: center;
    font-weight: 600;
    padding: inherit;
    padding-right: 2rem;
}
#section_user_order_history table tbody .order_details.padding {
    padding-top: 1rem;
  border-top: 1px solid #D3D3D3;
}

#section_user_order_history table tbody .order_details.grey {
  background: #F5F5F5;
}

#section_user_order_history table tbody .order-details-html.grey {
  background: #F5F5F5;
}


#section_user_order_history table tbody tr td.order-details-html {
    font-weight: normal;
    text-align: center;
}

.history-order-mobile {
    display: none;
}

.btn_show_order_mobile {
    color: var(--site_orange);
    border: 2px solid orange;
    padding: .2rem .4rem;
    top: -2.5rem;
    position: absolute;
    left: 1rem;
    height: 2rem;
    width: 2rem;
    font-size: 1rem;
    -webkit-box-shadow: 5px 0px 20px 0px rgba(217,208,217,1);
    -moz-box-shadow: 5px 0px 20px 0px rgba(217,208,217,1);
    box-shadow: 5px 0px 20px 0px rgba(217,208,217,1);
}

.btn_show_order_mobile_container {
    height: auto;
    min-width: 3rem;
    margin-top: .5rem;
}

.btn_show_order_mobile_container .order-details {
    display: none;
    margin-top: 1rem;
    text-align: right;
    font-weight: bold;
}

.btn_show_order_mobile_container .order-details p {
    margin-bottom: 0;
    text-align: center;
    background: #F5F5F5;
}

.btn_show_order_mobile_container .order-details p:first-child {
  margin-top: .5rem;
}

.btn_show_order_mobile_container .order-details p.order-details-html {
    font-weight: normal;
}

.mobile-order-info {
    padding: 0;
    height: 6rem;
}

.mobile-title.status {
    text-align: right;
    height: 1rem;
}

.mobile-title.status span {
    text-align: right;
    color: #000000;
    font-weight: normal;
}

.order_details-separator {
  border-bottom: 1px solid #D3D3D3;
}


#section_user_order_history table tbody .order_details td.order_details-separator {
    margin-bottom: .5rem;
    font-weight: normal;
    padding: .8rem 0;
    border-bottom: 1px solid #D3D3D3;
}

@media screen and (max-width: 1200px) {
    #section_user_order_history table tbody tr .order_image div {
        width: 8rem;
    }

  #section_user_order_history
  {
    padding: 8vh 10% 0;
  }
}

@media screen and (max-width: 992px) {
    #section_user_order_history {
        padding: 1rem;
    }
}
@media screen and (max-width: 768px) {

    .history-order-mobile:last-child
    {
        margin-bottom: 9rem !important;
    }


  #section_user_order_history {
    padding: 1rem 0;
  }

  #section_user_order_history .btn_show_order_mobile_container > div.row.order-details > .order-data {
    padding: 0;
  }

  #section_user_order_history table.history-mobile-table tr {
    border-bottom: 1px solid #D3D3D3;
  }

  #section_user_order_history table.history-mobile-table tbody tr td {
    font-weight: normal;
    border-bottom: 1px solid #D3D3D3;
  }

    .fa-angle-down:before,
    .fa-angle-up:before {
        font-size: 1.5rem;
    }

    #section_user_order_history table tbody tr td .order_success {
        padding: .3rem 0.5rem;
    }

    #section_user_order_history table {
        display: none;
    }

    .history-mobile-table .mobile-title {
        font-size: 1rem;
      text-align: center;
    }

    #section_user_order_history table.history-mobile-table {
        display: table;
        width: 100%;
    }

    #section_user_order_history table tbody tr td {
        padding: .8rem .3rem;
    }

    #section_user_order_history table thead tr th.history-image-col {
        max-width: 10rem;
    }


    #section_user_order_history table thead tr th {
        padding: .3rem;
    }

    #section_user_order_history table tbody .order_details td.order-data {
        display: block;
        width: 16rem;
        padding-right: 0;
    }

    #section_user_order_history table tbody .order_details td:nth-child(-n+1) {
        display: none;
    }

  .btn_show_order_mobile_container .order-details p {
    padding: .2rem;
  }

  .btn_show_order_mobile_container .order-details p:first-child {
    padding-top: 1rem;
  }

  .btn_show_order_mobile_container .order-details p:last-child {
    padding-bottom: 1rem;
  }

    .history-order-mobile {
        display: block;
        width: 100%;
        font-size: 1rem;
        border-bottom: 1px solid #D3D3D3;
        margin-bottom: .5rem;
        padding: 0 1rem;
    }

    .history-order-mobile  .mobile-order-info > .col-3 > p:last-child {
        font-weight: bold;
        font-size: .85rem;
    }
    .history-mobile-image {
        width: 6rem;
        height: 5rem;
        margin-right: 1rem;
        border-radius: 1rem;
    }

    .col-9.history-mobile {
        padding-top: 2rem;
        padding-right: 4rem;
        font-size: .85rem;
    }

    .col-9.history-mobile p:first-child {
        margin-bottom: 0;
    }

    .mobile-title {
        color: var(--site_orange);
        font-weight: bold;
        height: 2.1rem;
    }

    .history-order-mobile .history-mobile {
        float: right;
        text-align: right;
    }

    .history-order-mobile > .col-12 {
        height: 6rem;
    }

    .history-order-mobile .col-3 {
        float: right;
        border-left: 1px solid #D3D3D3;
        height: 4rem;
        padding: 0 .4rem;
        text-align: center;
    }

    .history-order-mobile .col-3.history-mobile-image-container {
        border-left: none;
    }

    .history-order-mobile .col-3:last-child {
        border-left: none;
    }

    .history-mobile-description {
        text-align: right;
    }

    .history-mobile-description .mobile-title {
        margin-bottom: 0;
    }

    .history-mobile-description p:last-child {
        margin-bottom: 3rem;
        color: #585858;
    }

}

@media screen and (max-width: 450px) {
    .col-9.history-mobile {
        padding-right: 5rem;
    }

    .history-mobile-image {
        width: 5rem;
        height: 4rem;
        margin-right: 1rem;
        border-radius: 1rem;
    }

    .history-mobile-description {
        padding-right: 2rem;
    }

    #section_user_order_history table.history-mobile-table tbody tr th {
        font-size: .7rem;
    }


    #section_user_order_history table.history-mobile-table tbody tr td {
        font-size: .7rem;
    }

  .btn_show_order_mobile_container .order-details p {
    font-size: .75rem;
  }


  .barcode {
    width: 210px;
  }

}

