/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*Scrollers*/
#scrollToTop{
    display: none;
}

/*Togglecontainers*/
.toggle-container {
    position: relative;
    height:auto;
    max-height: 150px; /* 20% synlig del */
    overflow: hidden;
    
	/*Det her giver en fadeout effect i bunden*/
	position: relative;
    -webkit-mask-image: linear-gradient(to top, transparent 0px, black 50px);
    mask-image: linear-gradient(to top, transparent 0px, black 50px);
    transition: max-height 1s ease-in-out, -webkit-mask-image 1s ease-in-out;
	-webkit-transition: max-height 1s ease-in-out, -webkit-mask-image 1s ease-in-out;
}
/*
.toggle-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FAFAFA 100%);
    transition: all 1s ease-in-out;
}
.toggle-container.white::after{
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFF 100%);
}*/

.toggle-container.expanded {
    max-height:500px;
    /*max-height:fit-content;*/
    max-height: calc-size(max-content, size); /* Udvider til fuld højde */
	
	-webkit-mask-image: none !important; /* or: linear-gradient(to top, black 0px, black 50px); */
    mask-image: none !important;
	transition: max-height 1s ease-in-out, -webkit-mask-image 1s ease-in-out;
	-webkit-transition: max-height 1s ease-in-out, -webkit-mask-image 1s ease-in-out;
	
	
}
.toggle-button {
    transition: all 0.4s ease;
	margin-top:0px;
}
.toggle-button.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.4s ease;
    height: 0px;
    margin-top: -20px;
}
.toggle-container.expanded::after {
    /* height: 0px;  Størrelsen af det gennemsigtige lag */
}
.toggle-button span {
    line-height: normal;
}
.toggle-container {
    box-sizing: border-box;
    transform: translateZ(0); /* tvinger hardware rendering */
}

.elementor-menu-cart--items-indicator-bubble .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter]{
    padding: 1px 4px 15px 4px;
}
@media all and (max-width:767px){
	.toggle-container {
		max-height:100px;
	}
	.toggle-container.expanded{
		overflow-y:auto;
	}
}
.blur-bg {
	background:#CACACA61;
    -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}