/* ==========================================================================
   Musicland tables
   Generic/custom table styling only. WooCommerce tables are excluded so cart,
   checkout and account tables can be styled in woocommerce-custom.css.
   ========================================================================== */

.ml-table-wrap,
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.ml-table,
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations),
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) {
  width: 100%;
  max-width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
  text-align: left;
}

.ml-table thead,
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) thead,
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) thead {
  text-align: center;
}

.ml-table th,
.ml-table td,
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) th,
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) td,
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) th,
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) td {
  padding: 0.55rem 0.65rem;
  border: 1px solid #bdc3c7;
  color: #111;
  vertical-align: top;
}

.ml-table th,
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) th,
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) th {
  font-weight: 800;
  text-align: center;
  background: #f7f7f7;
}

.ml-table tr:nth-child(odd),
.ml-table tr.odd,
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) tr:nth-child(odd),
#inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) tr.odd,
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) tr:nth-child(odd),
#primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) tr.odd {
  background-color: #fbfcfc;
}

@media (max-width: 700px) {
  .ml-table-wrap,
  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }

  .ml-table,
  #inner-content .page-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations),
  #primary.content-area.container table:not(.shop_table):not(.woocommerce-checkout-review-order-table):not(.cart):not(.variations) {
    min-width: 560px;
  }
}
