/* 
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 */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
 	margin: 0;
}
/* Opt-in the whole page to animating to/from intrinsic sizing keywords */
:root {
    interpolate-size: allow-keywords; /* ðŸ‘ˆ */
}
/* Firefox */
input[type=number] {
 	-moz-appearance: textfield;
}
.elementor-widget .variations_form .single_variation_wrap .quantity button.plus {
    margin-left: 0px;
}
:is(.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) .quantity .qty{
	width:50px;
	border:none;
}
:is(.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) .quantity .qty:focus{
	outline: none;
}

.woocommerce div.product form.cart div.quantity {
    border: 1px solid #d5d7da;
    position: relative;
    margin: 0px;
    padding-left: 32px;
    padding-right: 32px;
}
.elementor-widget .variations_form .single_variation_wrap .quantity button.plus, .elementor-widget .variations_form .single_variation_wrap .quantity button.minus, .elementor-add-to-cart.elementor-product-simple .quantity button.minus, .elementor-add-to-cart.elementor-product-simple .quantity button.plus{
    border: 0px;
    background: transparent;
    width: auto;
    height: 100%;
    position: absolute;
    color: #414651;
    z-index: 1;
    padding: 0 12px;
}
.elementor-widget .variations_form .single_variation_wrap .quantity button.plus, .elementor-add-to-cart.elementor-product-simple .quantity button.plus{
	right:0;
}
.elementor-widget .variations_form .single_variation_wrap .quantity button.minus, .elementor-add-to-cart.elementor-product-simple .quantity button.minus{
	left:0;
}
.elementor-widget .variations_form .single_variation_wrap .quantity button.plus:hover, .elementor-widget .variations_form .single_variation_wrap .quantity button.minus:hover{
	background:transparent;
	color:#414651;
}
.elementor-add-to-cart.elementor-product-simple .quantity button.plus:hover, .elementor-add-to-cart.elementor-product-simple .quantity button.minus:hover{
	background:transparent;
	color:#414651;
}
/*Variations picker*/
table.variations{
	margin-bottom:0px !important;
}
.woocommerce div.product form.cart table td.value, .woocommerce div.product form.cart table th.label{
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
.woocommerce div.product form.cart table td.value {
    padding-right: 0;
}
table.variations tr{
	display: flex;
    flex-direction: column;
	margin-bottom:10px;
}
/*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;
	}
}