/**
Theme Name: Einfach Weniger
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: einfach-weniger
Template: astra
*/
/* latin-ext - font fallback*/
@font-face {
  font-family: 'Lato', 'Roboto', sans-serif;
  font-display: fallback;
  src: local('Lato'), url(https://fonts.gstatic.com/s/lato/v17/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/*shorten product name on shop page*/
.archive h2.woocommerce-loop-product__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/*shop page more info button style*/
.button-full-width-text-center{
	width: 100%;
  text-align: center;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3{
	min-height: 40px;
}
.einf_custom_ul{
    display: flex;
    list-style-type: none;
    margin-left: 0;
}
.einf_custom_ul > li{
  box-shadow: 0 0 0 1px rgb(0 0 0 / 30%) !important;
  background-color: #FFFFFF !important;
  border-radius: 2px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  margin: 4px 8px 4px 0;
}
.einf_custom_li_tooltip{
  margin-bottom: 5px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 7px;
    border-radius: 3px;
    background-color: #000;
    background-color: rgba(51,51,51,.9);
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}
.product-type-variable .variations{
  display: none!important;
}
.einf_custom_ul > li:hover{
  box-shadow: 0 0 0 3px #000000 !important;
}
.einf_li_disabled {
  opacity: .3;
  cursor: not-allowed!important;  
}
.einf_li_disabled:hover{
  box-shadow: 0 0 0 3px #FFFFFF !important;
}
.einf_selected{
  border: 0.9px solid black;
}
.einf_tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.einf_tooltip .einf_tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 127%;
  left: 50%;
  margin-left: -60px;
  font-size: 14px;
}

.einf_tooltip .einf_tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.einf_tooltip:hover .einf_tooltiptext {
  visibility: visible;
}



/* 
 * Review next to the product description there is also a snipped in the functions.php
 * */
 .has-reviews div.product .woocommerce-tabs {
	display: inline-block;
	width: 60%;
	float: left;
}

.has-reviews .product-reviews {
	display: inline-block;
	width: 36%;
	float: left;
}


.has-reviews .woocommerce-tabs {
	margin-right: 4%;
}

.has-reviews .product-reviews {
	border: 1px solid #e6e6e6;
	padding: 30px;
	margin-top: 20px;
}

.woocommerce-Reviews-title {
	font-size: 16px;
}

.comment-reply-title {
	border-top: 1px solid #e6e6e6;
	display: block;
	font-size: 20px;
	margin-bottom: 15px;
	padding-top: 25px;
}

.woocommerce.has-reviews #reviews #comments,
.woocommerce.has-reviews #reviews #review_form_wrapper {
	float: none;
	clear: both;
	width: 100%;
	padding: 0;
}

.woocommerce.has-reviews #reviews #review_form {
	border: 0;
	padding: 0;
}

@media only screen and (max-width: 680px) {
	.has-reviews .product-reviews,
	.has-reviews div.product .woocommerce-tabs {
		clear: both;
		float: none;
		margin-right: 0;
		width: 100%;
	}
	
	.has-reviews .product-reviews {
		padding: 20px;
		margin: 0 0 30px;
	}
}

.woocommerce-js #reviews #comments ol.commentlist li .comment-text {
	margin:0;
	padding:0;
} 



/* style flyout navigation */
/* ===================== */


.main-navigation .main-header-menu > .menu-item {
  /* color: blue !important; */
}

/* second level */
.main-navigation .main-header-menu > .menu-item > .astra-full-megamenu-wrapper > .sub-menu > .menu-item > a {
  /* color: red !important; */
  text-transform: uppercase;
}

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li .astra-megamenu.sub-menu>.menu-item .sub-menu .menu-item a{
    padding-top: 0;
    padding-bottom: 0;
    font-size: smaller;
    font-weight: normal;
    text-transform: none;
}

/* Selektiere das Container-Element der zweiten Ebene */
.main-navigation .astra-full-megamenu-wrapper .astra-megamenu.sub-menu {
  display: flex;
  flex-wrap: wrap; /* Erlaubt das Umbrechen der Elemente in mehrere Zeilen */
  justify-content: space-between; /* Verteilung der Elemente über die gesamte Breite */
  gap: 10px; /* Fügt Abstand zwischen den Elementen hinzu */
}

/* Definiere die Breite für jedes Menüelement auf der zweiten Ebene */
.main-navigation .main-header-menu > .menu-item > .astra-full-megamenu-wrapper > .sub-menu > .menu-item {
  flex: 0 1 calc(20% - 10px); /* Passt die Breite so an, dass 7 Elemente in eine Zeile passen (100% / 7 = ca. 14.28%) */
  box-sizing: border-box; /* Stellt sicher, dass Padding und Margin berücksichtigt werden */
}

/* Entferne das Padding für das erste Element in jeder Zeile */
.main-navigation .main-header-menu > .menu-item > .astra-full-megamenu-wrapper > .sub-menu > .menu-item:nth-child(5n+1) {
  padding-left: 0;
}

/* ensure that even when it's not a full line we still have it aligned */
.main-navigation .astra-full-megamenu-wrapper .astra-megamenu.sub-menu {
  justify-content: flex-start; /* Beginnt links und hält Abstände zwischen den Elementen */
}

.ast-desktop .submenu-with-border .astra-full-megamenu-wrapper {
  border-width: 0px;
  border-style: none;
  background-color: #eee;
}

/* end style flyout navigation */
/* ===================== */