/**
 * @author Jan Reitter
 * @package Enso
 * @subpackage v1.0
 * @copyright Copyright (C) 2024 Jan Reitter. All rights reserved.
 */

 /* GLOBAL settings */
@charset "utf-8";

/*.border:hover {
    border-color: var(--bs-primary) !important;
}   */

.product-category:hover {
box-shadow: 0px 0px 24px rgba(168,168,168,0.25);
}


/* Main menu */
.main-menu {
	background-color: #555;
	color: #fff;
}

.main-menu .nav-item {
	position: relative;
}

.main-menu a, .main-menu span {
	position: relative;
	display: block;
	padding: 14px 18px;
	color: #fff;
	background-color: #555;
	transition: background-color linear 250ms
}

.main-menu .active > a, .main-menu .active > span, .main-menu a:hover, .main-menu span:hover {
	background-color: #000;
	transition: background-color linear 250ms
}

.main-menu .parent > a::after, .main-menu .parent > span::after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: #fff;
	margin-left: 5px;
	-webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>');
	mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>');
}

.main-menu .mod-menu__sub .parent > a::after, .main-menu .mod-menu__sub .parent > span::after {
	position: absolute;
	right: 9px;
	top: 50%;
	transform: translateY(-50%) rotate(-90deg);
}

.main-menu .mod-menu__sub {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 1022;
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transition: all linear 250ms
}

.main-menu .parent:hover > .mod-menu__sub {
	opacity: 1;
	visibility: visible;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,0.3);
	transition: all linear 250ms
}

.mod-menu__sub .mod-menu__sub {
	left: 100%;
	top: 0
}
.mod-menu__sub a {
  align-items: center !important;     
  display: inline-flex !important;
}
.mod-menu__sub a img {
  width: 100px;
  height: 100px;
  margin-right: 16px;
}
.mod-menu__sub a .image-title {
  width: max-content;
  height: fit-content;
}

/* offcanvas*/
.offcanvas-body .mod-menu {
	flex-direction: column;
}

.offcanvas-body .mod-menu__sub {
	display: none;
	padding: 10px
}

.offcanvas-body .nav-item {
	padding: 5px 0;
	border-bottom: 1px solid var(--bs-border-color);
	position: relative;
}

.offcanvas-body .nav-item:last-child {
	border-bottom: none;
}

.offcanvas-body a {
	font-size: 15px;
	color: #333
}

.offcanvas-body .active > a {
   font-weight: bold;
}

.offcanvas-body .subtoggle {
	padding: 0;
	background-color: transparent;
	border: none;
	width: 30px;
	height: 30px;
	position: absolute;
	right: 0;
	top: 1px;
	z-index: 1
}

.offcanvas-body .subtoggle.open {
	transform: rotate(-180deg);
	transition: all linear 200ms
}

/* To top */
.back-to-top-link {
	display: none;
	position: fixed;
	right: 12px;
	bottom: 12px;
	z-index: 1020;
}

/* User */
.com-users-login.login, .com-users-reset, .com-users-remind, .com-users-registration {
	max-width: 400px;
	margin: auto;
	padding: 15px;
	border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.control-group, .com-users-login__remember {
	margin-bottom: 15px;
}

.com-users-reset legend, .com-users-remind legend {
	font-size: 14px
}
.mod-login__userdata.userdata {
	padding: 15px;
	border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

#Passkey {
	width: 24px;
}
.form-control-feedback {
	display: block;
	font-size: 14px;
	color: var(--bs-danger);
}

/* Contact */
#contact-form legend {
	font-size: 16px;
	font-weight: 600;
}

.com-contact-featured__table {
	margin-top: 30px;
}                                  

/* inputy */
.cf_flt.form-check-input {
    margin-top: 2px;
}
.cf_flt.form-check-input:checked {
    background-color: var(--bs-primary);
    /*border-color: var(--bs-secondary); */
    margin-top: 2px;
} 

.cf_filtering_slide_container {
    --knob-background: var(--bs-primary) !important;
    --knob-focus-color: var(--bs-primary-text-emphasis) !important;
}

/* Kategorie */
.category-view .product-media-outer {
    position: relative;
    width:    100%; /* desired width */
}

.category-view .product-media-outer:before {
    content:     "";
    display:     block;
    aspect-ratio: 4 / 3; /* initial ratio of 1:1*/
}

.category-view .product-media-outer a {
    position: absolute;
    top:      0;
    left:     0;
    bottom:   0;
    right:    0;
}


/* Fancy box z kola */
/*

#fancybox-wrap #fancybox-outer .fancybox-bg {
    display: none
}

#fancybox-wrap #fancybox-outer #fancybox-content {
    /*background: #ffffff;
    border: none !important;  
    box-shadow: 0px 0px 0px 10px #ffffff,0px -20px 0px 10px #ffffff;
    -webkit-overflow-scrolling: touch;
    /*overflow-y: auto;
    width: auto !important;
    height: auto !important 
}  */


#fancybox-wrap #fancybox-close {
    background: url("/media/templates/site/enso/image/close-black.png") no-repeat center center;
    top: 5px;
    right: 5px;
    opacity: 1;
    transition: all ease 0.5s
}

#fancybox-wrap #fancybox-close:hover {
    transform: rotate(180deg)
}

#fancybox-wrap #fancybox-right:hover span {
    right: 5px
}

#fancybox-wrap #fancybox-left:hover span {
    left: 5px
}

#fancybox-wrap #fancybox-left-ico,#fancybox-wrap #fancybox-right-ico {
    width: 32px;
    height: 48px;
    margin-top: -24px;
    background-repeat: no-repeat
}

#fancybox-wrap #fancybox-right-ico {
    background-image: url("/media/templates/site/enso/image/arrow-right.png");
    background-position: center center
}

#fancybox-wrap #fancybox-left-ico {
    background-image: url("/media/templates/site/enso/image/arrow-left.png");
    background-position: center center
}  

/* minicart */
.vm_cart_products .product_image img {
    max-width: 100%;
    height: auto;
}

/*#fancybox-wrap .product-related-products {
    border-color: #ebebeb;
    padding: 20px 0;
    margin: 20px -6.66666667px 0
}

#fancybox-wrap .product-related-products h4 {
    text-transform: uppercase;
    color: #f44336;
    padding: 0 6.66666667px;
    margin: 0 0 10px;
    font-weight: 500
}

#fancybox-wrap .product-related-products .product-field {
    width: 100%;
    float: none;
    padding: 10px;
    margin: 0
}    */
/*
@media screen and (min-width: 768px) {
    #fancybox-wrap .product-related-products .product-field {
        width:33.3333%;
        float: left
    }
}

@media screen and (min-width: 1200px) {
    #fancybox-wrap .product-related-products .product-field {
        width:25%
    }
}

#fancybox-wrap .product-related-products .product-field-display {
    background: #ffffff;
    box-shadow: 0px 1px 3px #f4f4f4;
    padding: 20px
}

#fancybox-wrap .product-related-products .product-field-display > a {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-bottom: 10px
}

#fancybox-wrap .product-related-products .product-field-display > a:hover {
    color: #7aac14
}

#fancybox-wrap .product-related-products .product-field-display > a img {
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebebeb
}

#fancybox-wrap .product-related-products .product-field-display div.PricesalesPrice {
    margin-bottom: 10px
}

#fancybox-wrap .product-related-products .product-field-display span.PricesalesPrice {
    font-size: 16px;
    font-weight: 500;
    color: #7aac14
}

#fancybox-wrap .product-related-products .product-field-display p.product_s_desc {
    overflow: hidden
}

@media (max-width: 767px) {
    #fancybox-wrap {
        width:100vw !important;
        left: 0 !important;
        margin: 0
    }

    #fancybox-wrap #fancybox-content {
        height: auto !important;
        width: 100% !important
    }
} 
*/

                            
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

 }

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}

@media screen and (max-width: 991px) {
    .main-search {
        display: none;
    }
}
