/**
 * @file
 * Visual styles for Mezzavia's tables.
 */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 25px 0 40px;
}
table tr th {
  background-color: #f4f4f4;
  border-style: solid;
  border-width: 0 0 1px 0;
  border-color: #eaeaea;
  padding: 15px 20px;
  font-size: 12px;
  font-weight: 400;
  color: #2d2d2d;
  text-transform: uppercase;
}
.headings-wide-spacing-enabled table tr th {
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
table tr:first-child th {
  border-width: 1px 0 1px 0;
}
table thead + tbody tr:first-child th:first-child {
  border-top-width: 0;
}
table tr th:last-child {
  border-right-width: 1px;
}
table tr td {
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: #eaeaea;
  padding: 10px 20px;
  background-color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  color: #2d2d2d;
}
table tr:first-child td {
  border-top-width: 1px;
}
table thead + tbody tr:first-child td {
  border-top-width: 0px;
}

table tr th:first-child,
table tr td:first-child {
  border-left-width: 1px;
}

/*Tables @gray regions*/
.region--gray-background table tr th {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

/*Tabella shop*/
.view-shop table caption {
	background-color: #666;
	color: #ffffff;
	font-size: 15px;
	padding: 10px;
	font-weight: bold;	
}
.view-shop table tr th {
  background-color: #f4f4f4;
  padding: 5px 5px;
  font-size: 15px;
	line-height:19px;
  font-weight: 400;
  color: #2d2d2d;
  text-transform: uppercase;
}

.view-shop table tr td {
  padding: 5px 5px;
  font-size: 15px;
  font-weight: 400;
  background-color: #ffffff;
  color: #2d2d2d;
}
.view-shop table tr .field-acquista { width:132px; min-width: 132px; }
.view-shop table tr .field-prezzo { width: 67px; min-width: 67px; }

.view-shop table tr td .field--name-quantity {margin:0; float:left}
.view-shop table tr td .form-actions {margin: 0;float: left;padding: 0;line-height: 10px;}


.view-shop table tr td.field-tipobirra,
.view-shop table tr td.field-birra,
.view-shop table tr td.field-stile,
.view-shop table tr td.field-formato,
.view-shop table tr td.field-prezzo {  padding: 15px 5px;}
.view-shop table tr td.field-birra a {
	text-decoration:underline
}

.view-shop table tr td .field--name-quantity label {display:none}
.view-shop table tr td form .form-item { padding:0px; margin:0}
.view-shop table tr td form input { padding:10px; margin:0;  font-size: 15px; line-height:19px}
.view-shop table tr td form input.form-number {
    width: 80px;
}
.view-shop table tr td form input.image-button {
    background: #666;
    padding: 8px;
    color: #fff;
}

/*Tabella cart*/
.view-commerce-cart-form table caption {
	background-color: #666;
	color: #ffffff;
	font-size: 15px;
	padding: 10px;
	font-weight: bold;	
}
.view-commerce-cart-form table tr th {
  background-color: #f4f4f4;
  padding: 5px 5px;
  font-size: 15px;
	line-height:19px;
  font-weight: 400;
  color: #2d2d2d;
  text-transform: uppercase;
}

.view-commerce-cart-form table tr td {
  padding: 5px 5px;
  font-size: 15px;
  font-weight: 400;
  background-color: #ffffff;
  color: #2d2d2d;
}
.view-commerce-cart-form table tr .field-prezzo { width: 136px; min-width: 136px; }
.view-commerce-cart-form table tr .field-acquista { width:82px; min-width: 82px; }
.view-commerce-cart-form table tr .field-prezzo-totale { width: 123px; min-width: 123px; }
.view-commerce-cart-form table tr .field-rimuovi { width: 86px; min-width: 86px; }


.view-commerce-cart-form table tr td .form-type-number {margin:0; float:left}
.view-commerce-cart-form table tr td .form-actions {margin: 0;float: left;padding: 0;line-height: 10px;}


.view-commerce-cart-form table tr td.field-tipobirra,
.view-commerce-cart-form table tr td.field-birra,
.view-commerce-cart-form table tr td.field-stile,
.view-commerce-cart-form table tr td.field-formato,
.view-commerce-cart-form table tr td.field-prezzo,
.view-commerce-cart-form table tr td.field-prezzo-totale {  padding: 15px 5px;}


.view-commerce-cart-form table tr td .field--name-quantity label {display:none}
.view-commerce-cart-form table tr td .form-item { padding:0px; margin:0}
.view-commerce-cart-form table tr td input { padding:10px; margin:0;  font-size: 15px; line-height:19px}
.view-commerce-cart-form table tr td input.form-number { width: 71px;}
.view-commerce-cart-form table tr td input.delete-order-item { padding:10px; margin:0;  font-size: 15px; line-height:19px }

.commerce_checkout_order_summary table tr td {
  padding: 5px 5px;
  font-size: 15px;
  font-weight: 400;
  background-color: #ffffff;
  color: #2d2d2d;
}

.commerce_checkout_order_summary table tr td.field-birra,
.commerce_checkout_order_summary table tr td.field-formato,
.commerce_checkout_order_summary table tr td.field-prezzo,
.commerce_checkout_order_summary table tr td.field-prezzo-totale {  padding: 5px 5px;}

.coupon-redemption-form__coupons table {margin:0;}
.coupon-redemption-form__coupons table tr td {  padding: 5px 5px; vertical-align: middle;}
.coupon-redemption-form__coupons table tr td input { padding:10px; margin:0!important;  font-size: 15px; line-height:19px}

.layout-region-checkout-secondary table {margin:0}