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

/* Globals */

html {
    scroll-padding-top: 140px; /* Zapobiega zasłanianiu treści przez sticky header */
    scroll-behavior: smooth;
}

body, html {
	overflow-x: hidden;
}

p:last-child {
	margin-bottom: 0px;
}

a {
	color: inherit;
}

.elementor-widget-text-editor a:hover {
	color: inherit;
	opacity: 0.8;
}

.elementor-widget-text-editor ul, .elementor-widget-text-editor ol {
	margin-bottom: 15px;
}

.elementor-widget-heading a:hover {
	color: inherit;
	opacity: 0.8;
}

.elementor-menu-toggle {
    padding:0px;
	z-index: 9999;
	margin-right: -5px!important;
}

ul.elementor-nav-menu--dropdown a, ul.elementor-nav-menu--dropdown a:focus, ul.elementor-nav-menu--dropdown a:hover {
	border-left: none!important;
}

.elementor-icon {
	display: inline;
}

.elementor-button-content-wrapper {
	gap: 10px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: inherit;
    margin-block-end: inherit;
    margin-block-start: inherit;
}

@media screen and (min-width: 1024px) {
	.desktop-hide {
		display: none!important;
	}
}

/* Paddings */

.e-parent {
	--padding-top: 80px;
	--padding-left: 50px;
	--padding-right: 50px;
	--padding-bottom: 80px;
}

.half-top-padding {
	--padding-top: 40px;
}

.half-bottom-padding {
	--padding-bottom: 40px;
}

.no-top-padding {
	--padding-top: 0px;
}

.no-bottom-padding {
	--padding-bottom: 0px;
}

/* Main page */

.main-product-carousel .jet-listing-grid__slider-icon.slick-arrow.prev-arrow {
	left: calc(50% - 120px);
}

.main-product-carousel .jet-listing-grid__slider-icon.slick-arrow.next-arrow {
	right: calc(50% - 120px);
}

.main-product-carousel .jet-listing-grid__slider-icon.slick-arrow.prev-arrow, .main-product-carousel .jet-listing-grid__slider-icon.slick-arrow.next-arrow {
    border-radius: 100%;
    border: 2px solid;
}

.main-product-carousel .jet-listing-grid__slider .jet-slick-dots li.slick-active {
	width: 12px!important;
    border-radius: 8px;
}

.main-product-carousel .jet-listing-grid__slider .jet-slick-dots {
	margin: 0px;
}

.flower-icon {
	opacity: 0.5;
}


@media screen and (min-width: 961px) {

	/* Newsletter */

	.newsletter-form .elementor-form-fields-wrapper {
		display: grid;
		grid-template-columns: 520px auto;
		align-items: center;
		justify-content: space-between;
	}

	.newsletter-form .elementor-field-type-acceptance {
		order: 1;
	}

	.newsletter-form .elementor-field-type-submit {
		grid-row: span 2;
	}

}

/* Trainings */

.elementor-widget.two-column-icons-list ul.elementor-icon-list-items.elementor-inline-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.elementor-widget.two-column-icons-list ul li {
	background-color: var( --e-global-color-0b72754 );
	border-radius: 8px;
	padding: 15px;
}

/* Workshops */

@media screen and (min-width: 961px) {

	.jet-calendar-week__day-content {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 5px;
		justify-content: center;
		align-items: center;
		align-content: center;
		padding: 0px;
	}

}

.jet-calendar-week__day-mobile-trigger {
	display: none;
}

.jet-calendar-week__day-mobile-event {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	justify-content: center;
	align-items: center;
	align-content: center;
	padding: 0px;
}

.day-pad .jet-calendar-week__day-header {
	opacity: 0.3;
}

.jet-calendar-week__day-mobile-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        position: absolute;
        top: -15px;
        left: -15px;
        width: calc(100% + 30px);
        height: calc(100% + 30px);
}

/* News */

.elementor-widget-theme-post-content h2 {
	margin-bottom: 20px;
}

.elementor-widget-theme-post-content .gallery {
    margin: 50px -298px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 0px;
    overflow: hidden;
}

.elementor-widget-theme-post-content .gallery-columns-3 {
    grid-template-columns: auto auto auto;
}

.elementor-widget-theme-post-content figure {
	margin: 0px;
}

.elementor-widget-theme-post-content figure .gallery-icon {
    height: 100%;
}

.elementor-widget-theme-post-content figure img {
	display: block;
    object-fit: cover;
	height: 100%;
	width: 100%;
}

/* Main menu */

.main-menu > nav > ul > li:nth-child(4n + 1):hover a,
.main-menu > nav > ul > li:nth-child(4n + 1).current_page_item a {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-secondary) !important;
}

.main-menu > nav > ul > li:nth-child(4n + 2):hover a,
.main-menu > nav > ul > li:nth-child(4n + 2).current_page_item a {
    background: var(--e-global-color-c5e6aba);
}

.main-menu > nav > ul > li:nth-child(4n + 3):hover a,
.main-menu > nav > ul > li:nth-child(4n + 3).current_page_item a {
    background: var(--e-global-color-aad3fcd);
    color: var(--e-global-color-secondary) !important;
}

.main-menu > nav > ul > li:nth-child(4n):hover a,
.main-menu > nav > ul > li:nth-child(4n).current_page_item a {
    background: var(--e-global-color-03a9eed);
    color: var(--e-global-color-secondary) !important;
}

.main-menu .sub-arrow {
	display: none;
}

/* Cart & Checkout */

.woocommerce-additional-fields h3 {
	display: none;
}

@media screen and (max-width: 479px) {
		.elementor-widget-woocommerce-cart .woocommerce table.cart tr.cart_item {
			padding: 0px 0px 20px;
		}
}

/* Others */

.faq .e-n-accordion-item {
    background-color: var(--e-global-color-0b72754);
	border-radius: 8px; 
}

.grecaptcha-badge {
	visibility: hidden;
}

#koszyk {
    display: none;
}

footer {
	overflow: hidden;
}

@media screen and (max-width: 960px) {
	.e-parent {
		--padding-top: 50px;
		--padding-left: 50px;
		--padding-right: 50px;
		--padding-bottom: 50px;
	}

	.half-top-padding {
		--padding-top: 25px;
	}

	.half-bottom-padding {
		--padding-bottom: 25px;
	}
	
	.no-top-padding {
		--padding-top: 0px;
	}

	.no-bottom-padding {
		--padding-bottom: 0px;
	}
	
	.elementor-widget.two-column-icons-list ul.elementor-icon-list-items.elementor-inline-items {
		grid-template-columns: 1fr;
	}
	
}

@media screen and (max-width: 479px) {
	.e-parent {
		--padding-top: 50px;
		--padding-left: 20px;
		--padding-right: 20px;
		--padding-bottom: 50px;
	}
	.half-top-padding {
		--padding-top: 25px;
	}

	.half-bottom-padding {
		--padding-bottom: 25px;
	}
	
	.no-top-padding {
		--padding-top: 0px;
	}

	.no-bottom-padding {
		--padding-bottom: 0px;
	}
	
	.main-product-carousel .jet-listing-grid__slider .jet-slick-dots {
		position: absolute;
		margin-top: 30px;
	}

}