/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.vision64.de/
 Description:    Divi Child Theme from Vision64
 Author:         Vision64
 Author URI:     https://www.vision64.de/
 Template:       Divi
 Version:        1.0.0
*/



/*** ------------------------------------------------------------
 Category Pages											
-------------------------------------------------------------***/

 .woocommerce.columns-1 ul.products li.product {
    border: 1px solid #e2e2e2;
	padding: 15px;
	margin: 0 0% 3.8% 0!important;
	list-style: none;
}

 .products.columns-1 {
	padding: 0.5em 0 1em 0em!important;
}

.woocommerce.columns-1 ul.products li.product:hover {
	box-shadow: 0 2px 12px rgb(0 0 0 / 18%);
}

#v64-mod-category-shop .et_shop_image {
    width: 118px;
	min-width: 118px;
    float: left;
	margin-right: 25px;
}

#v64-mod-category-shop .et_shop_image img {
    width: 118px;
	min-width: 118px;
}

#v64-mod-category-shop ul.products li.product .button {
    margin-top: 0em;
	color: white;
	font-size: 16px;
	float: right;
}


#v64-mod-category-shop  select {
	height: 37px;
}

/* restore when cart is re introduced*/
#v64-mod-category-shop .cart {
	display: none;
}

/*Disable price - temp */
#v64-mod-category-shop .price {
	display: none;
}



.woocommerce ul.products li.product .price {
	font-size: 18px;
    color: #0395A2!important;
    font-weight: 600;
    margin-top: 0px!important;
	float: right;
}



#v64-mod-category-shop button.button:hover {
	padding: .3em 1em!important;
}

#v64-mod-category-shop span.sku {
	display: none;
}

#v64-mod-category-shop p.in-stock {
	display: none;
}

@media all and (max-width: 981px) {
	#v64-mod-category-shop ul.products.columns-1 li.product {
		width: 100%!important;
	}	
	
	.et-db #et-boc .et-l .et_pb_shop ul.products.columns-1 li.product {
		width: 100%!important;
	}
	
	
	.woof_reset_search_form {
		font-size: 14px!important;
	}

}

/* Remove drop down box */
.woocommerce-ordering {
	display: none;
}

form.cart .variations td.value span:after {
    margin-top: -3px!important;
}

.woocommerce div.product form.cart .variations td {
    padding: 0 20px 10px 0 !important;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0em;
}

.woocommerce div.product form.cart .reset_variations {
    background: #2B3C82;
    color: white;
    border-radius: 2px;
	    cursor: pointer;
    border: 0px solid white;
    padding: 8px;
}

.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
    display: none!important;
}


/*** ------------------------------------------------------------
 Category Pages	- 2 Columns									
-------------------------------------------------------------***/

/*** ------------------------------------------------------------
 Category Pages	- 2 Columns									
-------------------------------------------------------------***/
/* Product Container */
#v64-mod-category-shop-2-column ul.products li.product {
    display: flex;
    align-items: center;
    padding: 15px;
	margin-bottom: 20px !important;
	width: 100%;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    gap: 15px;
}

#v64-mod-category-shop-2-column .columns-2 { padding-left: 0px!important;}

/* Image */
#v64-mod-category-shop-2-column ul.products li.product .et_shop_image {
    width: 150px;
    min-width: 150px;
	height: 150px;
}


/* Text and Button Container */
#v64-mod-category-shop-2-column ul.products li.product .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

/* Title */
#v64-mod-category-shop-2-column ul.products li.product .woocommerce-loop-product_title {
    font-weight: 600;
    color: #333333;
    margin: 0;
    padding-bottom: 10px;
    color: black;
	font-size:1.05rem;
}

.custom-text-button-container {
	margin-left: 10px;
}

/* Button */
#v64-mod-category-shop-2-column ul.products li.product .custom-add-to-cart-button .button {
    background-color: #00695c;
    color: #ffffff;
    padding: 10px 15px;
	    margin-top: 0px!important;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
    width: fit-content;
}

#v64-mod-category-shop-2-column ul.products li.product .custom-add-to-cart-button .button:hover {
    background-color: #004d40;
}

.woocommerce ul.products li.product .button {
    margin-top: 0em;
	font-size: 16px!important;
}


#v64-mod-category-shop-2-column ul.products li.product a img {
    margin: 0 0 0px !important;
    height: 140px;
}

.woocommerce-loop-product_title {
	display: none;
}

.custom-text-button-container .woocommerce-loop-product_title {
	display: block!important;
}



@media all and (max-width: 767px) {

#v64-mod-category-shop-2-column ul.products li.product {
    flex-direction: column;
}

.woocommerce ul.products li.product .button {
    display: block;
    margin: auto;
    text-align: center;
	margin-bottom: 15px;
    width: 200px;
}

#v64-mod-category-shop-2-column ul.products li.product .woocommerce-loop-product_title {
    text-align: center;
}


}


#v64-mod-category-shop-2-column  select {
	height: 37px;
}

/* restore when cart is re introduced*/
#v64-mod-category-shop-2-column .cart {
	display: none;
}

/*Disable price - temp */
#v64-mod-category-shop-2-column .price {
	display: none;
}


#v64-mod-category-shop-2-column button.button:hover {
	padding: .3em 1em!important;
}

#v64-mod-category-shop-2-column span.sku {
	display: none;
}

#v64-mod-category-shop-2-column p.in-stock {
	display: none;
}

@media all and (max-width: 981px) {
	#v64-mod-category-shop-2-column ul.products.columns-2 li.product {
		width: 100%!important;
	}
	
}

a.reset_variations {
	visibility: hidden!important;
}

  .orderby, .woocommerce div.product form.cart .variations td select {
    font-size: 12px!important;
}

@media all and (min-width: 981px) {
	.v64-cat-blurbs:hover, .v64-homepage-blurb:hover {
		box-shadow: 0 2px 12px rgb(0 0 0 / 18%);
		border: 1px solid #0095a1!important;
	}
	
	#v64-mod-category-shop-2-column ul.products.columns-2 li.product:hover {
		box-shadow: 0 2px 12px rgb(0 0 0 / 18%);
		border: 1px solid #0095a1;
	}
}

/*** ------------------------------------------------------------
Product Pages											
-------------------------------------------------------------***/





a.added_to_quote {
	background: #353C8B;
    color: white;
	padding: 6px 10px!important;
    border-width: 0px!important;
    border-radius: 2px;
	text-align: center;
	font-size: 16px;
	min-height: 41px;
}

@media all and (max-width: 981px) {
	a.added_to_quote {
	padding: 8px 10px!important;
}
	
}

.woocommerce a.added_to_cart {
    padding-top: .2em;
}

.woocommerce div.product p.stock {
	display: none;
}

.v64-variable-product .et_pb_wc_meta span.sku {
	display: none;
}

.et_pb_wc_meta.v64-variable-sku span.sku {
	display: inline-block;
}

.v64-variable-sku-option option:nth-child(1) {
	display: none;
}

.product_meta {
    border-top: 0px solid #dadada!important;
}

.woocommerce div.product div.images img,
.et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav li {
	border: 1px solid #dadada!important;
}

.et_pb_wc_title h1 {
	font-size: 28px!important;
}



@media all and (max-width: 981px) {
	.et_pb_wc_title h1 {
	font-size: 26px!important;
}

.et_pb_bottom_divider .et_pb_row:nth-last-child(2) .et_pb_column:last-child, .et_pb_row .et_pb_column.et-last-child, .et_pb_row .et_pb_column:last-child {
        margin-bottom: inherit;
    }
	
}

@media all and (max-width: 767px) {
	.et_pb_wc_title h1 {
	font-size: 24px!important;
}
	
}



/* Attribute auf Produktseiten */



/* Allgemeine Einstellungen für die Liste */
.woocommerce-product-attributes .woocommerce-product-attributes-item__value ul {
    display: grid;
    gap: 2px;
    padding: 10px 0 10px 0; 
    margin: 0;  /* Entfernt Margin komplett */
    list-style-type: none;
}

/* Listenelemente (ohne Listensymbole) */
.woocommerce-product-attributes .woocommerce-product-attributes-item__value li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Abstand zwischen den Attributen */
.woocommerce-product-attributes .woocommerce-product-attributes-item__value {
    padding: 0; /* Entfernt Padding */
    margin: 0;  /* Entfernt Margin */
}

/* Tabelleneinstellungen für bessere Darstellung */
.woocommerce table.shop_attributes {
    margin-bottom: 0;
    border: none;
}

/* Divi Tabs Anpassung */
.et_pb_wc_tabs .et_pb_tab {
    padding: 0;
}

/* Tabellenkopf Styling */
.woocommerce table.shop_attributes th {
    padding-left: 30px;
    padding-right: 40px;
    text-align: left;
}




/* Attributlabel Styling */
.woocommerce-product-attributes-item__label {
    text-align: left;
}

.et_pb_tab_active a{
	color: #353c8b!important;
}



	
/*** ------------------------------------------------------------
			Checkout											
-------------------------------------------------------------***/

	
	/* ====================================
		Billing fields
	======================================= */
	
	.v64-billing-fields-land {
		padding-bottom: 10px!important;
	}
	
	.woocommerce form .form-row select {
		padding: 6px;
	}
	
	.v64-billing-fields input.input-text {
		padding: 6px 10px!important;
	}
	
	.v64-billing-fields .select2-selection--single {
		height: 32px!important;
	}
	
	.v64-billing-fields .select2-selection__rendered {
		    line-height: 32px!important;
	}
	
	.v64-billing-fields .select2-selection__arrow {
		height: 32px!important;
	}
	
	
	
	/* ====================================
		Payment table
	======================================= */
	
	
	.woocommerce-checkout-review-order-table .cart_item {
		display: none;
	}
	
	.woocommerce-checkout table.cart img {
		width: 50%;
		box-shadow: none;
	}

	.woocommerce-checkout-review-order-table .product-total {
		font-size: 17px;
	}
	
	.woocommerce-checkout-review-order-table thead {
		display: none;
	}
	
	.woocommerce-checkout-review-order-table {
		border-collapse: collapse!important;
	}
	
	
	/* ====================================
		Legal Area
	======================================= */
	
	.woocommerce-gzd-legal-checkbox-text a {
		color: #18ACE5;
		text-decoration: underline;
	}
	
	.woocommerce-gzd-legal-checkbox-text {
		font-size: 14px;
	}
	
	#order_review .legal {
		padding-bottom: 20px!important;
		padding-top: 20px!important;
	}
	
	/* ====================================
		Ship to a different address
	======================================= */

	#ship-to-different-address {
		font-size: 15px;
		line-height: 30px;
		font-weight: 400;
	}
	
	
	/* ====================================
		Notice Areas 
	======================================= */
		
	.woocommerce-NoticeGroup-checkout a {
		color: #13b0e6;
	}

	.woocommerce-form-coupon-toggle {
		display: none;
	}
	
	/* ====================================
		Ihre Warenkorb
	======================================= */
	
	.woocommerce-checkout .shop_table {
		background-color: #ffffff;
	}	
	
	.woocommerce-checkout table.cart td.actions .coupon .input-text {
		height: 40px;
		background-color: #fff !important;
		border: 1px solid #0000002b!important;
		color: black!important;
		width: 150px;
		margin-right: 10px;
		padding: 6px 12px;
	}
	
	.woocommerce-checkout table.cart img {
		width: 150px;
	}
	
	.woocommerce-account-fields .form-row {
		margin: 0 0 0px!important;
		padding-left: 4px!important;
	}
	
	.woocommerce-account-fields .form-row .input-checkbox {
		margin: -2px 3px 0 0!important;
	}
	
	.woocommerce-additional-fields {
		display: none;
	}
	
	.woocommerce-checkout-review-order-table tfoot {
		font-size: 16px;
	}
	
	.woocommerce-checkout {
	    display: flex;
    flex-direction: column-reverse;
}

.woocommerce .woocommerce-error {
	    margin-bottom: 0px;
		background: #2E408B !important;
    color: white !important;
}

.woocommerce-NoticeGroup-checkout {
	border-top: solid white 25px;
}



/*** ------------------------------------------------------------
 Quote Page							
-------------------------------------------------------------***/

.woocommerce-message {
	background: #353C8B!important;
}

.woocommerce a.button.alt:after {
	display: none!important;
}

.woocommerce button.button:hover {
	padding: .3em 1em .3em 1em!important;
}

div.af_quote_fields {
    width: 100%;
}

div.af_quote_fields input[type="text"], div.af_quote_fields input[type="email"], div.af_quote_fields select {
	padding: 10px;
	border-left: 1px solid #bbb!important;
	border-radius: 3px;
}

div.af_quote_fields textarea {
    padding: 10px;
    min-height: 150px;
	border-left: 1px solid #bbb!important;
	border-radius: 3px;
}

/* restore when cart is re introduced*/
#v64-mod-category-shop button.button.alt {
display: none;
}

.single-product select {
	display: none;
}

.woocommerce div.product form.cart .button {
	font-size: 18px!important;
}

table.quote-fields tr {
    border-bottom: 0px solid #ffffff;
	vertical-align: top;
}

div.af_quote_fields table.quote-fields {
    border: 0px;
}

.entry-content tr td, body.et-pb-preview #main-content .container tr td {
    border-top: 0px solid #eee;
	padding: 6px 0px;
}


.addify-option-field th {
	width: 25%;
	padding: 9px 0px!important;
}

.woocommerce-info {
    background: #353C8B!important;
}


@media all and (max-width: 767px) {

.addify-quote-form td.product-remove {
	position: inherit!important;
    margin-top: 0px!important;
}

}


/*** ------------------------------------------------------------
 Search area					
-------------------------------------------------------------***/

.aws-search-result .aws_results.style-big-grid .aws_result_price {
	display: none;
}


/*** ------------------------------------------------------------
 Quantity Select - Quote page					
-------------------------------------------------------------***/

.woocommerce .quantity input.qty {
	background-color: #fff;
	border: 1px solid #d1d1d1!important;
	padding: 16px 16px;
	width: 5em;
}

.v64-shop-add-to-cart .quantity input.qty {
	display: none;
}


.et_pb_wc_add_to_cart form.cart .button {
    float: left!important;
}


.v64-shop-add-to-cart div.quantity {
	display: none!important;
}

#yith-ywraq-form .update-list-wrapper input[type="submit"],
.woocommerce input.button {
	color: white!important;
}

#yith-ywraq-form thead th, #yith-ywraq-form tr th {
	font-weight: 500!important;
	background-color: #F5F5F5;
}

.woocommerce a.button {
	color: white!important;
}

.woocommerce a.button:after {
	display: none;
}

#yith-ywraq-form  .product-thumbnail img {
	widtH: 150px!important;
}

#yith-ywraq-form table.cart .product-thumbnail,
#yith-ywraq-form table.cart .product-quantity {
	text-align: left;
}

.yith_ywraq_add_item_product_message,
.yith_ywraq_add_item_response_message {
	font-weight: 600;
	color: #353C8B;
}

.yith_ywraq_add_item_browse_message {
	margin-top: 10px;
}

.yith_ywraq_add_item_browse_message a {
	color: white;
	bordeR: 1px solid white;
    background: #0095A1;
    padding: 0.3em 1em !important;
    border-radius: 2px;
}


.add-request-quote-button.disabled {
    opacity: .7 !important;

}

@media all and (max-width: 767px) {

	
	.et_pb_button,
	.woocommerce a.button {
		font-size: 14px!important;
	}
	
	#yith-ywraq-form .update-list-wrapper input[type="submit"] {
		font-size: 14px!important;
	}
	
	.woocommerce table.shop_table td.product-name a {
		font-size: 14px;
		font-weight: 500;
	}
}

#yith-ywraq-form .product-name ul li {
    display: inline;
	margin-left: 0em!important;
}

#yith-ywraq-form .product-name ul {
	margin-left: 0px!important;
	padding: 0px!important;
	margin-top: 10px!important;
}

.ywraq-form-table-wrapper .yith-ywraq-mail-form-wrapper {
    padding: 0px!important;
}

/*** ------------------------------------------------------------
 Meta - Product page					
-------------------------------------------------------------***/

span.posted_in {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  display: block;
}

span.posted_in a {
  user-select: auto;
  -moz-user-select: auto;
  -webkit-user-select: auto;
  -ms-user-select: auto;
}

.et_pb_wc_meta_layout_inline .sku_wrapper:after {
	content: ""!important;
}

.pswp__caption {
	display: none;
}

/*** ------------------------------------------------------------
 Meta - Product page - Anfrage				
-------------------------------------------------------------***/

.ywraq-before-form .button:hover {
	padding: 0.3em 1em 0.3em 1em!important;
}

@media all and (max-width: 767px) {
	.woocommerce div.product form.cart .variations {
		width: 96%!important;
	}
}

/*** ------------------------------------------------------------
 Product page Quote number			
-------------------------------------------------------------***/


.single_add_to_cart_button {
	display: none!important;
}

.single-product .quantity input.qty {
	background-color: #fff;
	border: 0px solid #d1d1d1!important;
	padding: 9px 9px;
	color: #666;
	border-radius: 3px;
	width: 5em;
	background-color: #ececec;
	text-align: left;
}

.single-product .woocommerce-variation-add-to-cart {
	FLOAT:left;
	display: flex;
    justify-content: center;
	margin-bottom: 30px;
    flex-direction: column;
}


.add-request-quote-button {
	margin-top: 0px!important;
}

.woocommerce.single-product .product .yith-ywraq-add-to-quote {
    margin-top: 0px;
}

a.reset_variations {
	display: none!important;
}

.single_variation_wrap {
	margin: 0 0 30px 0;
	display: flex;
	flex-direction: column;
}

.yith_ywraq_add_item_browse_message a {
	color: white;
	font-size: 18px;
    background-color: #2E408B;
	display: inline-block;
    height: 41px;
    border-width: 0px!important;
    border-radius: 2px;
	padding: 0.3em 1em !important;
}



.single-product .quantity {
    display: flex!important;
    flex-direction: row-reverse!important;
	justify-content: flex-end;
}

.single-product .quantity::after {
    content: "Stück";
    font-size: 16px;
    color: #333;
	font-weight: 700;
	line-height: 2em;
	width: 170px;
}

.v64-add-to-cart-en .quantity::after {
    content: "Quantity"!important;
}

th.label {
	width: 170px;
}

.single-product .quantity input {
  padding-right: 50px; /* leave space for "Stück" */
}

.woocommerce div.product form.cart .button {
	font-size: 18px!important;
	padding: 0.3em 0.5em !important;
}


@media all and (min-width: 981px) and (max-width: 1055px) {
	.woocommerce div.product form.cart .button {
		font-size: 17px!important;
		padding: 0.3em 0.3em !important;
	}
	
}


/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}