
/**************
TABELLA
**************/

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details.table th, table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details.table td {
    padding: 10px;
    font-family: 'Lato', sans-serif;
}

body.woocommerce-order-received ul.order_details {
    background: white;
}

/**************
VARIE
**************/

h2.woocommerce-order-details__title {
    FONT-SIZE: 2REM;
}

body.woocommerce-order-received ul.order_details li {
	padding: 15px;
    COLOR: GRAY;
    FONT-STYLE: italic;
}

body.woocommerce-order-received ul.order_details li STRONG {
    COLOR: #919500;
    FONT-STYLE: normal;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 1.7rem;
    line-height: 1.5;
    color: #6f7040;
    background: white;
    padding: 1em;
}

p.notifica_brutta strong {
    color: red;
}

p.notifica_brutta {
    color: gray;
    text-transform: uppercase;
}

/****************
*************** COUPON
****************/

input.button.btn.btn-primary {
    TEXT-DECORATION: UNDERLINE;
    BORDER: 2PX SOLID #6f7040;
    BACKGROUND: WHITE;
}

input.button.btn.btn-primary:HOVER {
    BORDER: 2PX SOLID #dadc90;
}

/****************
*************** SOLO CARRELLO 
****************/

.woocommerce dl.variation dd {
    margin: 0;
    border-bottom: 1px solid lightgray;
}


.woocommerce dl.variation dt {
    background: white;
}

td.product-name {
    font-family: auto;
}

.cart_item .product-name dl dt {
    background: #f4f4f4;
}

.woocommerce dl.variation {
    margin: 7px 0;
    border-top: 1px solid #d4a35f;
}

.woocommerce .button.wc-forward, .wc-proceed-to-checkout {
    background: #b69f43;
}
.woocommerce .button.wc-forward:hover, .wc-proceed-to-checkout:hover {
    background: #dfb50d;
}

/* FIX BUG, NOTIFICA DOPPIA */
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error {display: none;}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error:first-child {display: block;}

.woocommerce .shop_table.cart td.actions {
    display: none;
}

.shop_table .product-thumbnail a {
    max-height: 261px;
}
.woocommerce .shop_table.cart td.product-quantity {
    PADDING: 0 !IMPORTANT;
}
.woocommerce .shop_table.cart th {
  padding: 4px;
}

@media screen and (mIN-width: 991px) {

	.woocommerce .shop_table.cart tr.cart_item {
    	HEIGHT: 130PX;
	}
	
}

@media screen and (max-width: 990px) {
  
	.woocommerce table.cart .product-thumbnail, .woocommerce #content table.cart .product-thumbnail {display: block;}
	/* Modifica Layout dei prodotti nel carrello di woocommerce */

	
	.woocommerce table.shop_table_responsive tbody td:before {display:none;}

	.woocommerce-cart-form tr.woocommerce-cart-form__cart-item.cart_item {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
		padding: 3%;
	}

	.product-remove { grid-area: 1 / 1 / 2 / 3; }
	.product-thumbnail { grid-area: 2 / 1 / 5 / 2; }
	.product-name { grid-area: 2 / 2 / 3 / 3; }
	.product-price { grid-area: 3 / 2 / 4 / 3; }
	.product-quantity { grid-area: 4 / 2 / 5 / 3; }
	.product-subtotal {display: none !important;}

	.woocommerce table.shop_table_responsive tbody td {padding: 9px;}
	.woocommerce-cart-form__cart-item.cart_item .product-subtotal {display: none;}
	.woocommerce table.shop_table_responsive tbody tr .product-remove {z-index: 9;}
	/*td.product-remove:after {content: "Rimuovi";display: block;left: 49px;position: absolute;top: 19px;}*/

	.woocommerce .shop_table.cart td.product-thumbnail {
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		justify-content: center;
	}
	

}

.cart_totals .button {
  padding: 14px 20px;
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.cart-subtotal tr {
  width: ;
  padding: 0;
}
.woocommerce .wc-update-cart {
  display: block;
  margin: 0 0 8px;
}
.product-quantity {
  text-align: center;
}
.woocommerce .cart .quantity input.qty {
  padding: 0 !important;
}
.woocommerce .cart .quantity {margin: 0;width: 100%;}
.wc-proceed-to-checkout {width: 100%;}

.woocommerce .cart-collaterals .cart_totals > h2, .woocommerce .cart-collaterals .cross-sells > h2 {
  font-size: 21px;
  text-align: center;
}
.woocommerce .cart-collaterals .cart_totals table tr th {
  padding: 0px;
}
.shop_table.shop_table_responsive.table td {
  text-align: center;
}
.shop_table tr {
  border-bottom: 1px solid lightgray;
}

.woocommerce .cart-collaterals .cart_totals table th {
  padding: 0;
}

.woocommerce .cart-collaterals .cart_totals table td {
    background: white;
	text-align: left;
    padding: 9px;
}
}

.product-name {
  text-align: center;
}
.product-name a:hover,
.woocommerce .shop_table.cart td.product-thumbnail:hover {
  opacity: .7;
}


/* CROSS SELLS */ 


@media screen and (max-width:768px) {

    .woocommerce .cart-collaterals .cross-sells {
        display:none;
    }
}


@media screen and (min-width:768px) {

    .woocommerce .cart-collaterals {
        display: flex;
        flex-flow: row wrap;
    }
    
    .woocommerce .cart-collaterals .cart_totals,
	.woocommerce .cart-collaterals .cross-sells {
        width: 50%;
    }
	.woocommerce .cart-collaterals .cart_totals {
		max-width: 50%;
    	margin: 0 auto;
	}
}

.woocommerce .cart-collaterals .cross-sells > h2 {
    margin: 0;
}

.cross-sells ul.products .product img {
    max-width: 100px;
}

/****************
*************** SOLO CASSA
****************/

p#billing_company_field {
    line-height: 1.2;
}
.woocommerce ul#shipping_method li label {
    line-height: 1.5;
}
.select2-container .select2-selection--single {height: 47px;}
.select2-container .select2-selection--single .select2-selection__rendered, select2-selection__arrow b {PADDING-TOP: 8PX;}
.select2-container--default .select2-selection--single .select2-selection__arrow b {margin-top: 6px;}

.wc_payment_method label img {
  margin: 0 7px;
}

.product-total {
  text-align: center;
    font-size: 12px;

}
.cart-subtotal {
  width: 100%;
}
.woocommerce form.checkout #order_review .shop_table tfoot {
  width: 100%;
  margin: 0 auto;
}
.shop_table thead {
  display: none;
}

body.woocommerce-checkout h2, body.woocommerce-checkout h3, .woocommerce form.checkout #customer_details h3, .woocommerce form.checkout #order_review header.title h3 {margin-bottom: 31px;}
.woocommerce form.checkout #customer_details h3#ship-to-different-address label {font-size: 19px;}
.woocommerce form.checkout #customer_details h3#ship-to-different-address label input {
  margin: 12px 7px;
  line-height: 0;
  padding: 14px;
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
  vertical-align: middle;
}
#order_review a {text-decoration: underline;}
#order_review a:hover {text-decoration: none;}

/****************
*************** CARRELLO / CASSA
****************/

.woocommerce .shop_table.cart td.product-remove {
  width: unset;
}
.shop_table .product-thumbnail a img {
  max-width: 70px;
}

/*
@media screen and (max-width: 500px) {
	
	.shop_table .product-thumbnail a img {
		max-width: 160px;
	}
}
*/
.woocommerce-cart-form__contents,
.woocommerce-cart-form__contents thead thead tr th {
  text-align: center;
}

.checkbox input[type="checkbox"] {position:relative; margin-left: 0px;}

@media screen and (min-width: 500px) {
/* start of medium tablet styles */

  .woocommerce-billing-fields__field-wrapper {
    display: flex; 
    flex-flow:row wrap;
  }
 .woocommerce-checkout .form-row {
    flex-basis: 33%;
    box-sizing: border-box;
    padding: 0 7px;
  }
}

@media screen and (max-width: 500px) {
/* start of medium tablet styles */

  	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper,
	.woocommerce-additional-fields {
    	padding: 8px;
  	}
}
.woocommerce-page input[type="text"], .form-control {
  background: #f4f4f4;
	border-width: 1px;
	font-weight:regular;
}
input[type="text"]:focus, .form-control:focus {
    color: #7c810b;
    border-color: #c6cd30;
}

#billing_country_field label {
  padding-right: 6px;
}
#billing_address_2_field {
    margin-top: 34px;
}
.woocommerce form.checkout ul.payment_methods li label {
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  padding: 4px 5px 0 0px
}
.payment_box p, li.wc_payment_method, .wc_payment_method p,
.woocommerce-privacy-policy-text p {
  line-height: 1.6;
  font-size: 14px;
}
.woocommerce form.checkout #order_review table.woocommerce-checkout-review-order-table {
  margin-bottom: 12px;
  DISPLAY: block;
}

.woocommerce form.checkout #order_review .shop_table tfoot {padding-top:12px;}
.cart_item {
  border-bottom: 1px solid lightgray;
}
#terms {
  position: relative;
  margin: 5px 13px 27px 0px;
  padding: 11px;
}
#terms span, .woocommerce-terms-and-conditions-checkbox-text  {
   line-height: 0.2 !important; 
  font-weight: normal;
  color: #000;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: initial;
}

#payment {
  line-height: 1.4;
  padding-top: 15px;
}
.woocommerce-page #content {
  	background: #f4f4f4;
	padding: 10px 0;
}
.woocommerce-page #order_review,
.woocommerce form.checkout #customer_details{
    background: white;
}

.woocommerce .shop_table.cart {background: white;}

.woocommerce .shop_table.cart td.product-name a {
    font-size: 17px;
}
@media screen and (min-width: 767px) {

	.woocommerce .shop_table.cart td {
    	padding: 4px;
	}
}

.woocommerce .shop_table.cart td.product-name a {margin-bottom:0;}

/* BOTTONI QUANTITA */

.woocommerce .cart .quantity input.minus,
.woocommerce .cart .quantity input.plus {background: #f4f4f4; color:black;}

.minus.btn.btn-primary,
.plus.btn.btn-primary {
	 color: #545454 !important;
}
.woocommerce .cart .quantity input.minus:hover, .woocommerce .cart .quantity input.plus:hover  {
	background-color: #c1c1c1;
}

.woocommerce .cart .quantity input.qty {
    background: #ffffff !important;
    color: #616161;
    font-size: 16px;
    font-weight: normal;
}