#cart p {
  margin: 0;
}
#cart h1 {
  font-size: 18px;
  margin: 0;
  font-weight: normal;
}
#cart h2 {
  font-size: 17px;
  margin: 0;
  font-weight: normal;
}
#cart h3 {
  font-size: 16px;
  margin: 0;
  font-weight: normal;
}
#cart h4 {
  font-size: 15px;
  margin: 0;
  font-weight: normal;
}

#cart {
  margin-top: 100px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 50px;
}

#cart h1 {
  display: none;
  border-bottom: 1px dotted #b8b8b8;
  color: #f47721;
  font-size: 22px;
  padding-top: 10px;
  margin-bottom: 10px;
  padding-left: 5px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

#cart h4 {
  border-bottom: 1px solid silver;
  color: black;
  font-size: 18px;
  padding-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 2px;
  text-transform: uppercase;
}

#cart_main {
  min-height: 200px;
  padding-bottom: 20px;
}

.cart_message {
  min-height: 21px;
  margin: 10px 0;
  padding: 10px 5px;
  font-size: 16px;
  text-align: center;
}

.cart_message.cart_message_info {
  background-color: rgb(240, 240, 240);
  border: 1px solid silver;
}

.cart_message.cart_message_error {
  background-color: rgba(139, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.4);
  color: darkred;
}
.cart_message:empty {
  visibility: hidden;
}

#cart_empty {
  padding-top: 20px;
  color: #797979;
}

#cart .acl_item a {
  color: #444444;
  text-decoration: underline;
}

#cart .ac_checkbox.ac_invalid {
  color: darkred;
}

#cart .ac_checkbox.ac_invalid a {
  color: darkred;
}

.cart_required {
  color: darkred;
}
.cart_left {
  width: 48%;
  float: left;
}
.cart_button {
  background: #54b8c5;
  color: white;
}
.cart_right {
  width: 48%;
  float: right;
}

.cart_form {
  width: 100%;
  margin: auto;
  max-width: 800px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.cart_form td {
  padding-top: 3px;
  padding-bottom: 3px;
  vertical-align: top;
  width: 230px;
}

.cart_form td:first-child {
  width: 160px;
  padding: 5px;
  vertical-align: top;
}

.cart_form_option {
  max-width: 800px;
  margin: auto;
}

.cart_item label {
  display: none;
}

#cart_menu {
  text-align: right;
}

.cart_button.prev {
  float: left;
  margin: 0;
}

/****************************************************************************/
/*  
/*      HEADER
/*
/****************************************************************************/

#cart_header {
  width: 100%;
  border-spacing: 0;
  border-bottom: 3px solid #54b8c5;
  color: black;
}

#cart_header td {
  font-weight: normal;
  padding: 0;
}
#cart_header td + td {
  padding-left: 2px;
}

#cart_header td > a {
  color: black;
  margin-top: 4px;
  line-height: 36px;
  display: block;
  text-align: center;
  text-decoration: none !important;
  background-color: #f3f0eb;
  transition: background-color 200ms;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.cart_section {
  display: none;
  background-color: #f47721;
  background-image: url("../img/arrow-down-white.png");
  background-position: 96% center;
  background-repeat: no-repeat;
  background-size: 20px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 10px;
  padding: 15px;
  text-decoration: none !important;
}

.cart_section.curr {
  background-image: url("../img/arrow-up-white.png");
}

#cart_header td.curr > a,
#cart_header td:hover > a {
  line-height: 40px;
  margin-top: 0;
  background-color: #f47721;
  color: white;
}

/****************************************************************************/
/*  
/*      ITEM
/*
/****************************************************************************/

/****************************************************************************/
/*  
/*      CHECKOUT
/*
/****************************************************************************/

#cart_items {
  font-size: 14px;
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
}

#cart_items {
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

#cart_items th {
  padding: 10px;
  color: #777777;
  font-weight: normal;
  text-align: start;
}

#cart_items .thumbnail {
    border-radius: 0.5rem;
    border: 1px solid #e7ddcf;
}

#cart_items td {
  padding: 10px;
  vertical-align: middle;
}

#cart_items tr .cart_item_title {
  color: inherit;
  text-decoration: none;
  display: block;
  font-weight: 500;
}
.cart_item_total_price {
  font-weight: 600;
}
#cart_items tr.cart_item {
  text-decoration: none;
  font-size: 16px;
}
#cart_items tr.cart_subitem {
  font-size: 14px;
  color: #4b4b4b;
}
#cart_items td[data-col="image"] {
  vertical-align: top;
  width: 120px;
}
#cart_items tr.cart_item {
  margin-top: 0.5rem;
}
#cart_items tr.cart_item.cart_subitem {
  border-top: 0;
}
#cart_items tr.cart_group > td {
  padding-bottom: 2px;
}
#cart_items tr.cart_subitem > td {
  padding: 2px 10px;
}
#cart_items tr.cart_subitem > td .cart_item_title {
  padding-left: 20px;
}
.cart_item_remove {
  background-repeat: no-repeat;
  color: #c90000;
  text-decoration: none;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart_item_image {
  border: 1px solid #b9b9b9;
}

.cart_item_outofstock {
  padding: 2px 5px;
  background-color: rgb(240, 240, 240);
  border: 1px solid silver;
  display: inline-block;
}

.cart_item_menu {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart_item_subdesc {
  display: none;
}

#cart_payment {
  max-width: 800px;
  margin: auto;
  margin-top: 20px;
}

#cart_info {
  border: 1px solid #b9b9b9;
  padding: 10px;
  color: #797979;
  font-size: 12px;
  margin: 0 10px;
}

#cart_review_info tr > * {
  padding: 2px 20px 2px 10px;
  vertical-align: top;
}

#cart_review_info {
  border-collapse: collapse;
}

#cart_review_info th {
  color: #777777;
  text-align: left;
  border-bottom: 1px dotted #b9b9b9;
}

#cart_review_info td {
  color: black;
}

#cart_review_info td > span {
  display: inline-block;
  color: #4b4b4b;
  padding-right: 5px;
}

#cart_review_info td > span:after {
  content: ":";
}

#cart_notification {
  padding: 20px 0;
}

#cart_creditcard_info {
  padding-top: 10px;
  padding-left: 20px;
}

#cart_main.cart_edit .cart_ticket {
  overflow: auto;
  margin: 20px auto;
  max-width: 800px;
}
#cart_main.cart_edit .cart_ticket .cart_form.left {
  float: left;
  width: 48%;
}
#cart_main.cart_edit .cart_ticket .cart_form.right {
  float: right;
  width: 48%;
}

#cart_payment .ac_bullet {
  top: 5px;
  transform: none;
}

@media (max-width: 800px) {
  .cart_left,
  .cart_right {
    width: auto;
    float: none;
  }
}

@media (max-width: 750px) {
  .cart_section {
    display: block;
  }

  #cart_items,
  #cart_items tbody,
  #cart_items tfoot,
  #cart_items tr,
  #cart_items td {
    display: block;
  }
  #cart_header {
    display: none;
  }
  #cart_menu {
    padding: 10px 0;
  }
  #cart_items thead {
    display: none;
  }
  #cart_items tfoot {
    color: black;
    font-size: 16px;
  }
  #cart_items tfoot td:first-child {
    display: none;
  }
  #cart_items tfoot td {
    box-sizing: border-box;
  }
  #cart_items tfoot td:nth-child(2) {
    float: left;
    width: 50%;
  }
  #cart_items tr.cart_item {
    border-top: 0;
  }
  #cart_items tr.cart_item td {
    color: black;
    display: block;
    border-bottom: 0;
    padding: 0;
    padding-bottom: 5px;
  }
  #cart_items tr.cart_item td[data-col="image"] {
    float: left;
  }
  #cart_items tr.cart_item td[data-col="desc"] {
    min-height: 90px;
    padding-left: 125px;
    padding-bottom: 20px;
    color: #4b4b4b;
  }
  #cart_items tr.cart_item td .acontrol {
    max-width: none !important;
  }
  #cart_items tr.cart_item_menu {
    border-bottom: 1px dotted #b8b8b8;
    margin-bottom: 40px;
  }
  #cart_items tr.cart_item_menu:last-child {
    margin-bottom: 10px;
  }
  #cart_items tr.cart_item label {
    color: #4b4b4b;
    display: block;
    width: 50%;
    float: left;
  }
  #cart_items tr.cart_item .acontrol {
    margin-left: 50%;
  }
  #cart_items tr.cart_subitem {
    display: none;
  }

  .cart_item_subdesc {
    display: block;
    color: #777;
    font-size: 14px;
  }
  .cart_form {
    width: 100%;
  }
  .cart_form td {
    width: auto;
    display: block;
    padding: 0 10px;
  }
  .cart_form_option {
    padding-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
  #cart_review_info {
    width: 100%;
  }
  #cart_review_info td {
    display: block;
    width: auto;
    padding: 0;
    padding-bottom: 20px;
  }

  #cart {
    margin-top: 0;
    margin-bottom: 0;
  }

  /*
    
    .invoice_top,
    .invoice_top > tbody,
    .invoice_top > tbody > tr,
    .invoice_top > tbody > tr > td {
        display: block;
    }
    .invoice_top td {
        width: 100% !important;
    }
    .invoice_top td:first-child {
        text-align: center;    
    }
    .invoice_top img {
        max-width: 100%;
    }    
    
    .invoice_columns { display: block }
    .invoice_columns > tbody { display: block }
    .invoice_columns > tbody > tr { display: block }
    .invoice_columns > tbody > tr > td { display: block; width: 100% }
    
    .invoice_mobile { display: table }
    .invoice_items { display: none }  */
}

@media (min-width: 800px) {
  #cart_items tr.cart_item td {
    border-top: 1px solid #e7ddcf;
    border-bottom: 1px solid #e7ddcf;
  }

  #cart_items tr.cart_item td:first-child {
    border-left: 1px solid #e7ddcf;
  }

  #cart_items tr.cart_item td:last-child {
    border-right: 1px solid #e7ddcf;
  }

  #cart_items tr.cart_item td:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }

  #cart_items tr.cart_item td:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
}
