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

html {
    scroll-padding-top: 0px;
    scroll-behavior: smooth;
}

body, html {
	overflow-x: hidden;
	font-style: italic;
}

p:first-child {
	margin-top: 0px;
}

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;
}

.e--pointer-underline .elementor-item:after {
	z-index: -1 ;
}

.elementor-icon {
	display: inline;
}

.elementor-shape-circle .elementor-icon {
	display: grid;
}

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

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

.elementor-widget-theme-post-content {
	
	strong, b {
		font-weight: bold;
	}
	
	h1, h2, h3, h4, h5, h6 {
		margin-block-end: 32px;
		font-size: var(--e-global-typography-47ff8bc-font-size);
		font-weight: var(--e-global-typography-47ff8bc-font-weight);
		line-height: var(--e-global-typography-47ff8bc-line-height);
		}
	
	.elementor-heading-title {
		margin-block-end: 0px;
	}
	
	ul {
 	   margin-block-end: .9rem;
	}
}

.elementor-widget-theme-post-content p a {
	text-decoration: underline;
	font-weight: bold;
}

.elementor-button-icon {
	font-size: 80%;
}

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

@media screen and (max-width: 479px) {

	.main-menu .e-n-menu-wrapper {
		padding: 32px 30px;
		background: var(--e-global-color-accent)!important;
	}

}

@media screen and (max-width: 600px) {
	
	.elementor-widget-theme-post-content table {
		max-width: 100% !important;
		width: 100% !important;
	}
	
}

/* Paddings */

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

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

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

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

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

/* Others */

.grecaptcha-badge {
	visibility: hidden;
}

.main-section {
	height: calc(100vh - 100px);
	max-height: 800px;
}

.page-title {
	min-height: 350px;
}

.page-title:before {
    background-color: var(--e-global-color-text);
    --background-overlay: '';
    --overlay-opacity: 0.6;
}

mark {
	background-color: transparent!important;
}

/* Aplikacje */

.aplikacje-grid>.e-child {
	background: var( --e-global-color-primary );
	padding: 30px 15px;
}

.aplikacje-grid>.e-child:nth-child(even) {
	background: var( --e-global-color-c4dfd28 );
}

.aplikacje-grid>.e-child:hover img {
	transform: scale(1.2);
}

.aplikacje-grid .elementor-heading-title {
	color: var( --e-global-color-c61cf62 )!important;
}

.aplikacje-grid>.e-child:nth-child(even) .elementor-heading-title {
	color: var( --e-global-color-primary )!important;
}

.aplikacje-grid>.e-child img {
	transition-duration: 0.2s;
	filter: brightness(0) saturate(100%) invert(94%) sepia(94%) saturate(0%) hue-rotate(178deg) brightness(107%) contrast(105%);
}

.aplikacje-grid>.e-child:nth-child(even) img {
	filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(1737%) hue-rotate(207deg) brightness(96%) contrast(107%);
}

/* Newsletter */

.nowosci .jet-listing-grid.jet-listing::before {
    font-family: var(--e-global-typography-264f350-font-family), Sans-serif;
    font-size: var(--e-global-typography-264f350-font-size);
    font-weight: var(--e-global-typography-264f350-font-weight);
    color: var(--e-global-color-primary);
	display: block;
	margin-bottom: 15px;
}

.nowosci .jet-listing-grid.jet-listing::before {
	content: "Nowości";
}

.aktualnosci .jet-listing-grid.jet-listing::before {
	content: "Aktualności";
}

/* Marki */

.marki-flex .jet-listing-grid__items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.marki-flex .jet-listing-grid__item {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

.marki-flex .jet-listing-dynamic-image img {
    width: auto;
    max-height: 100px;
    object-fit: contain;
}

.marki-slider img {
    width: auto;
    max-height: 70px;
    object-fit: contain;
}

/* Popupy */

.elementor-popup-modal .dialog-message {
	max-height: calc(100vh - 100px)
}

/* Galleries text */

.gallery-columns-2 {
	display: grid;
	gap: 10px;
	grid-template-column: 1fr 1fr;
}

.gallery-columns-3 {
	display: grid;
	gap: 10px;
	grid-template-column: 1fr 1fr 1fr;
}

.gallery-columns-4 {
	display: grid;
	gap: 10px;
	grid-template-column: 1fr 1fr 1fr 1fr;
}

@media (max-width: 767px) {

    /* Granatowe: 1, 4, 5, 8... */
    .aplikacje-grid > .e-child:nth-child(4n+1),
    .aplikacje-grid > .e-child:nth-child(4n+4) {
        background: var(--e-global-color-primary);
    }

    .aplikacje-grid > .e-child:nth-child(4n+1) .elementor-heading-title,
    .aplikacje-grid > .e-child:nth-child(4n+4) .elementor-heading-title {
        color: var(--e-global-color-c61cf62) !important;
    }

    .aplikacje-grid > .e-child:nth-child(4n+1) img,
    .aplikacje-grid > .e-child:nth-child(4n+4) img {
        filter: brightness(0) saturate(100%) invert(94%) sepia(94%) saturate(0%) hue-rotate(178deg) brightness(107%) contrast(105%);
    }

    /* Białe: 2, 3, 6, 7... */
    .aplikacje-grid > .e-child:nth-child(4n+2),
    .aplikacje-grid > .e-child:nth-child(4n+3) {
        background: var(--e-global-color-c4dfd28);
    }

    .aplikacje-grid > .e-child:nth-child(4n+2) .elementor-heading-title,
    .aplikacje-grid > .e-child:nth-child(4n+3) .elementor-heading-title {
        color: var(--e-global-color-primary) !important;
    }

    .aplikacje-grid > .e-child:nth-child(4n+2) img,
    .aplikacje-grid > .e-child:nth-child(4n+3) img {
        filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(1737%) hue-rotate(207deg) brightness(96%) contrast(107%);
    }
}




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

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

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

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

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

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

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

}