/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/*Add your own styles here:*/

/* Allgemein */
h1, .h1 {
	font-size: 40pt;
	font-weight: 900;
}

h2, .h2 {
	font-weight: 900 !important;
	font-size: 30pt;
}

.special_amp {
	font-family: inherit !important;
	font-style: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

/* Header */
.logo img {
	padding: 1rem 0 !important;
}

/* Warenkorb Widget */
#menu-item-shop .dropdown_widget .buttons .button {
	width: auto !important;
}

#menu-item-shop .dropdown_widget dl.variation,
#menu-item-shop .dropdown_widget .woocommerce-mini-cart__total {
	display: none !important;
}

/* Quicklinks */
#quicklinks h2 {
	font-size: 1.6rem;
	hyphens: auto;
	-webkit-hyphens: auto;
}

#quicklinks .flex_column {
	position: relative;
}

#quicklinks .flex_column .avia-image-overlay-wrap {
	min-height: 140px;
	width: 60%;
	margin: 2rem auto;
}

#quicklinks .flex_column::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	visibility: visible !important;
	opacity: 0.5;
	background: #35534F;
	transition: opacity 300ms, background 300ms;
}

#quicklinks .flex_column:hover::before {
	opacity: 1;
	transition: opacity 300ms, background 300ms;
}

/* Iconbox */
.iconbox_left_content .iconbox_content,
.iconbox_right_content .iconbox_content {
	overflow: visible;
}

/* Iconbox */
.iconbox_left_content .iconbox_content, .iconbox_right_content .iconbox_content {
	overflow: visible !important;
}

/* Produkt Detailseiten */
/* Preis ausblenden */
.price {
	display: none !important;
}

/* Einfache Artikel - Galerie */
#top div .avia-gallery .avia-gallery-big {
	border: none;
	margin: 1rem;
	padding: 0;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.avia_transform .avia-gallery-animate .avia-gallery-thumb img.avia_start_animation {
	border: none !important;
}

#top div .avia-gallery .avia-gallery-big img {
	width: 60%;
	margin: 0 auto;
	display: table;
	float: none;
}

/* Variantentabelle */
#table-variants {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1em;
}

#table-variants th,
#table-variants td {
	border: 1px solid #C6C6C6;
	padding: 4px;
	color: #35534F;
	font-size: 8pt !important;
}

#table-variants th {
	background: #35534F;
	color: #ffffff;
}

/* Verschluss Slider */
.title-configurator .tooltip {
	position: absolute;
	display: inline-block;
	width: 20px;
	height: 20px;
	background: #35534F;
}

.title-configurator .tooltip b {
	display: table;
	margin: -0.75rem auto auto auto;
	color: #ffffff;
	font-size: 0.7rem;
}

.title-configurator .tooltip .info {
	position: absolute;
	top: -1rem;
	left: 1.5rem;
	width: 500px;
	font-size: 0.7rem;
	opacity: 0;
	transition: all 300ms;
	visibility: hidden;
}

.title-configurator .tooltip:hover .info {
	opacity: 1;
	transition: all 300ms;
	visibility: visible;
}

.avia_transform a:hover .image-overlay {
	opacity: 0 !important;
}

/* Upsell Slider */
.upsell-owl-slide {
	list-style: none;
}

.upsell-owl-slide .inner_product_header {
	display: none;
}

.upsell-owl-slide .upsell-title {
	position: absolute;
	top: 2rem;
	right: 0;
	z-index: 100;
	font-size: 0.8rem;
	line-height: 1.6;
	background: #35534F;
	color: #ffffff;
	padding: 0.5rem 1rem;
	opacity: 0;
	visibility: hidden;
	transition: all 300ms;
}

.upsell-owl-slide .upsell-title::before {
	content: '';
	position: absolute;
	top: -5px;
	right: 0;
	height: 10px;
	width: 10px;
	background: #B0C8B2;
}

.upsell-owl-slide:hover .upsell-title {
	opacity: 1;
	transition: all 300ms;
	visibility: visible;
}

#main-image-configurator {
	margin-top: -5rem;
}

/* Warenkorb */
.woocommerce-table {
	background: none !important;
}

.woocommerce-table * {
	background: transparent !important;
}

table div.quantity {
	margin-left: 0;
}

th.product-price,
td.product-price,
th.product-subtotal,
td.product-subtotal,
tr.cart-subtotal,
tr.order-total,
.cart_totals table,
.cart_totals h2 {
	display: none;
}

/* Kasse */
.woocommerce-column__title {
	font-size: 1.5rem !important;
}

.woocommerce-order-overview .woocommerce-order-overview__payment-method,
.woocommerce-order-overview .woocommerce-order-overview__total {
	display: none;
}

table.order_details {
	border: none !important;
}

table.order_details .woocommerce-table__product-total,
table.order_details tfoot {
	display: none;
}

.woocommerce-column--shipping-address,
.woocommerce-shipping-fields,
th.product-total,
td.product-total,
tr.shipping,
.wc_payment_methods {
	display: none;
}

/* Footer */
#footer {
	padding: 15px 0 0;
}

#footer .widget {
	margin: 0 !important;
}

/* Mobiloptimierung */
/* kleine Bildschirme */
@media only screen and (min-width: 1067px) and (max-width: 1200px) {

}

/* Tablet */
@media only screen and (min-width: 501px) and (max-width: 1066px) {
	#quicklinks h2 {
		font-size: 1rem;
	}

	#av_section_2 {
		background-image: none !important;	
	}

	.avia-section {
		min-height: auto !important;
	}

	.content, .sidebar {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	.custom-variation-table-wrapper {
		width: 100%;
		overflow-x: scroll;
		overflow-wrap: anywhere;
	}

	#table-variants th, #table-variants td {
		font-size: 6pt !important;
		hyphens: auto;
		-webkit-hyphens: auto;
		line-height: 1.6;
	}

	.reset_variations {
		display: none;
	}
}

/* Phone */
@media only screen and (max-width: 500px) {
	#av_section_2 {
		background-image: none !important;	
	}

	.avia-section {
		min-height: auto !important;
	}

	.content, .sidebar {
		padding-top: 30px !important;
		padding-bottom: 10px !important;
	}
	
	.ls-layers p {
		font-size: 10px !important;
	}
	
	.ls-wrapper:has(p#partner) {
		left: 25px !important;
	}
	
	.custom-variation-table-wrapper {
		overflow-x: auto;
		display: inline-grid;
	}

	#table-variants {
		margin: 0 !important;
		width: 100%;
		min-width: 100px;
	}

	#table-variants th, #table-variants td {
		font-size: 6pt !important;
		line-height: 1.6;
	}

	.title-configurator {
		width: 90%;	
	}

	.title-configurator .tooltip b {
		margin: -0.25rem auto auto auto !important;
	}

	.title-configurator .tooltip .info {
		width: 150px;
		line-height: 1.6;
	}

	.owl-nav {
		position: absolute;
		top: 50%;
		width: 100%;
		transform: translateY(-50%);
		display: flex;
		justify-content: space-between;
		pointer-events: none;
	}

	.owl-nav button {
		pointer-events: all;
		background: none;
		border: none;
		font-size: 50px !important;
		cursor: pointer;
		line-height: 1;
	}

	/* Linker Pfeil */
	.owl-prev {
		margin: 0 !important;
	}

	/* Rechter Pfeil */
	.owl-next {
		margin: 0 !important;
	}
	
	.avia-logo-element-container .slide-entry-wrap {
		display: flex;
	}
	
	.avia-smallarrow-slider .flex_column {
        margin: 0px !important;
        width: 25% !important;
    }
}