/*
 Theme Name:   Divi Child
 Description:  Divi Child Theme
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
*/

/*
* START: Umstyling des Time-Pickers
*/

.wc-bookings-booking-form .block-picker {
  padding: 0 !important;
}

.wc-bookings-booking-form .block-picker li a .booking-spaces-left {
  color: #aaa;
}

.wc-bookings-booking-form .block-picker li.block {
  list-style-type: none;
}

/*
* ENDE: Umstyling des Time-Pickers
*/

/*
* START: Umstyling der Warenkorb-Seite
*/

table.cart th.product-thumbnail,
table.cart td.product-thumbnail {
  display: none;
}

.woocommerce td.product-name .wc-item-meta .wc-item-meta-label,
.woocommerce td.product-name .wc-item-meta dt,
.woocommerce td.product-name dl.variation .wc-item-meta-label,
.woocommerce td.product-name dl.variation dt {
  min-width: 30%;
  text-align: left;
}

div.woocommerce table.woocommerce-cart-form__contents input.button,
div.woocommerce table.woocommerce-cart-form__contents td.actions .coupon .input-text,
div.woocommerce table.woocommerce-cart-form__contents button.button {
  font-size: 16px !important;
  height: 42px;
  padding: 0.25em 1em !important;
}

div.woocommerce table.woocommerce-cart-form__contents button.button:after {
  font-size: 26px;
}

div.cart-collaterals div.cross-sells h2,
div.cart-collaterals div.cart_totals h2 {
  font-size: 20px;
  font-weight: bold;
}

div.cart-collaterals div.cross-sells h2 {
  margin-bottom: 12px;
}

@media (min-width: 981px) {
  div.cart-collaterals div.cross-sells {
    width: 33% !important;
  }
  div.cart-collaterals div.cart_totals {
    width: 60% !important;
  }
  div.cart-collaterals div.cross-sells ul.products li.product {
    width: 42.353% !important;
  }
}

div.cart_totals td {
  text-align: right;
}

@media (min-width: 769px) {
  div.woocommerce table.woocommerce-cart-form__contents td.actions .coupon .input-text {
    width: 250px;
  }
}

@media (max-width: 479px) {
  .woocommerce-cart table.cart td.actions .button {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  table.cart tr,
  #main-content table.cart tr,
  table.cart td,
  #main-content table.cart td {
    max-width: 100% !important;
  }
}

.woocommerce td.product-name .wc-item-meta dd, .woocommerce td.product-name dl.variation dd {
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
}

.woocommerce td.product-name .wc-item-meta dd, .woocommerce td.product-name dl.variation dd:not(:last-of-type) {
  border-bottom: 1px solid #eee;
}

table.cart td a:first-child {
  font-weight: bold;
  font-size: 1.25em;
}

.woocommerce td.product-name dl.variation {
  margin: 0.75em 0;
}

.woocommerce .woocommerce-cart-form table.cart td,
.woocommerce .woocommerce-cart-form table.cart th {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/*
* ENDE: Umstyling der Warenkorb-Seite
*/
