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

/* Offset przy przewijaniu do kotwic (sticky header) */
:root {
    --scroll-offset: 100px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden
}

.pd-ew-read-more-widget .long-text.expanded{
    margin-top: 20px;
}

.homepage-accordion .e-n-accordion > details {
    border-bottom: 1px solid #00000033 !important;
    /* padding-bottom: 16px !important; */
}

.homepage-accordion .e-n-accordion > details > summary,
.homepage-accordion .e-n-accordion > details > div
{
    padding-bottom: 16px !important;
}

.steps-section .steps-section-row .middle-column > div
{
    z-index: 3;
}

.steps-section .steps-section-row .middle-column > div.checked {
    background-color: #B5AA9A;
}

.steps-section .steps-section-row .middle-column > div.checked > h5 {
    color: #440D06;
}

.steps-section .steps-section-row .middle-column::after{
    z-index: 2;
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: repeating-linear-gradient(to bottom, #B5AA9A 0);
}

#homepage-contact-form .elementor-field-type-acceptance .elementor-field-option
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 10px;
}

.blog-contact-form .elementor-field-type-acceptance .elementor-field-option {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.blog-contact-form .elementor-field-type-checkbox label, 
.blog-contact-form .elementor-field-type-acceptance label,
.blog-contact-form .elementor-field-type-acceptance label a {
    font-family: Arial !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 140% !important; /* 16.8px */
    text-transform: none !important;
    letter-spacing: 0px !important;
}

#homepage-contact-form .elementor-field-type-checkbox label, 
#homepage-contact-form .elementor-field-type-acceptance label,
#homepage-contact-form .elementor-field-type-acceptance label a {
    font-family: Arial;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
    text-transform: none;
    letter-spacing: 0px;
}

.blog-contact-form textarea{
    color: rgba(63, 59, 54, 0.40) !important;
    font-family: Arial !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 19.5px !important; /* 150% */
    text-transform: unset !important;
    padding: 12px 16px !important;
}

#homepage-contact-form .elementor-field-type-checkbox label {
    font-size: 14px;
}

/* Custom Checkbox */
#homepage-contact-form input[type="checkbox"],
.blog-contact-form input[type="checkbox"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: flex;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    box-sizing: border-box;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s, border-color 0.2s;
}

#homepage-contact-form input[type="checkbox"]:checked,
.blog-contact-form input[type="checkbox"]:checked{
    background-color: #440D06 !important;
    border-color: #440D06 !important;
}

#homepage-contact-form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.blog-contact-form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(5px, -2px);
}

#homepage-contact-form .elementor-field-type-email  {
    display: block;
}

#homepage-contact-form .elementor-field-type-checkbox .elementor-field-subgroup{
    gap: 5px;
}

.blog-contact-form .elementor-field-type-checkbox .elementor-field-subgroup{
    gap: 8px;
}

#homepage-contact-form .elementor-field-type-checkbox .elementor-field-subgroup .elementor-field-option,
.blog-contact-form .elementor-field-type-checkbox .elementor-field-subgroup .elementor-field-option{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.blog-contact-form .elementor-field-type-checkbox .elementor-field-option:first-child ,
#homepage-contact-form .elementor-field-type-checkbox .elementor-field-option:first-child {
    display: none;
}

#homepage-contact-form .elementor-field-type-acceptance a,
.blog-contact-form .elementor-field-type-acceptance a{
    color: #3F3B36;
    text-decoration: underline;
}

.homepage-blur-effect {
    backdrop-filter: blur(5px);
}

.blur-effect-2 a {
    text-align: left;
    backdrop-filter: blur(2px);
}

#accordion-with-icons details {
    margin-bottom: 0px;
    opacity: 0.5;
}

#accordion-with-icons details[open] {
    opacity: 1;
}

#accordion-with-icons details > div {
    padding-bottom: 16px;
}

#accordion-with-icons summary {
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.48);
    justify-content: start;
}

#accordion-first > summary::before {
    content: url('assets/icons/accordion-first.svg');
    width: 20px;
    height: 20px;
}

#accordion-second > summary::before {
    content: url('assets/icons/accordion-second.svg');
    width: 20px;
    height: 20px;
}

#accordion-third > summary::before {
    content: url('assets/icons/accordion-third.svg');
    width: 20px;
    height: 20px;
}

#accordion-fourth > summary::before {
    content: url('assets/icons/accordion-fourth.svg');
    width: 20px;
    height: 20px;
}

/* .menu-popup {
    height: 100dvh;
} */

.menu-popup .e-con-inner {
    margin-right: 0px;
}

.menu-dropdown a {
    justify-content: space-between;
}

.menu-dropdown .menu-item-has-children ul {
    padding-top: 15px;
    padding-bottom: 15px;
}

.menu-dropdown .menu-item-has-children ul a {
    color: #FFF;
    font-family: Arial;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    border-inline-start: 0px;
}

.menu-popup {
    backdrop-filter: blur(5px);
    animation: blurIn 0.4s ease forwards;
}

.menu-popup.is-closing {
    animation: blurOut 0.4s ease forwards;
}

@keyframes blurIn {
    from {
        backdrop-filter: blur(0px);
    }
    to {
        backdrop-filter: blur(5px);
    }
}

@keyframes blurOut {
    from {
        backdrop-filter: blur(5px);
    }
    to {
        backdrop-filter: blur(0px);
    }
}

.menu-popup .popup-container{
    max-height: 100dvh;
}

.menu-popup .has-submenu[aria-expanded="false"] > .sub-arrow::before {
    content: url('assets/icons/plus.svg');
    width: 32px;
    height: 32px;
}

.menu-popup .has-submenu[aria-expanded="true"] > .sub-arrow::before {
    content: url('assets/icons/minus.svg');
    width: 32px;
    height: 32px;
}

header.is-scrolling > div {
    background: linear-gradient(0deg, #F4F2F000 0%, #F4F2F0 100%) !important;
    backdrop-filter: blur(4px);
}

.elementor-slideshow__title {
    display:none;
}

.e-filter-item:hover:not( [aria-pressed=true]) {
    background-color: #ffffff00 !important;
    color:#440D06 !important; 
}

.referencje-loop-grid-single a[href=""],
.referencje-loop-grid-single a:not([href]) {
    display: none;
}

/* Strzalki karuzeli pod sliderem, wyrownane do lewej */
.realizacje-galeria-slider .elementor-image-carousel-wrapper {
    padding-bottom: 72px;
}

.realizacje-galeria-slider .elementor-swiper-button {
    top: auto !important;
    bottom: 0;
    transform: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.realizacje-galeria-slider .elementor-swiper-button-prev {
    left: 0 !important;
    right: auto;
}

.realizacje-galeria-slider .elementor-swiper-button-next {
    left: 44px;
    right: auto !important;
}

.realizacje-galeria-slider .elementor-swiper-button:hover {
    opacity: 0.6;
}

.realizacje-galeria-slider .elementor-swiper-button.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}


@media only screen and (max-height: 800px) {
    .menu-popup .popup-container{
        overflow-y: scroll;
    }
}

@media only screen and (max-width: 1024px) {
    #homepage-contact-form .elementor-field-type-acceptance .elementor-field-option {
        justify-content: start;
        margin-top: 24px;
    }

    .menu-dropdown .menu-item-has-children ul a {
       color: #FFF;
       font-family: Arial;
       font-size: 14px !important;
       font-style: normal;
       font-weight: 400;
       line-height: 120%;
       padding-top: 6px !important;
       padding-bottom: 6px !important;
       border-inline-start: 0px;
    }

    #homepage-contact-form .elementor-field-type-checkbox .elementor-field-subgroup {
        gap: 16px;
    }

    header.is-scrolling > .elementor-hidden-desktop {
        background-color: #F4F2F000 !important;
        backdrop-filter: blur(4px);
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --scroll-offset: 70px;
    }

    .menu-popup > .dialog-widget-content{
        width: 100%;
    }

    .menu-dropdown .menu-item-has-children ul.sub-menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu-dropdown .menu-item-has-children ul.sub-menu a{
        letter-spacing: 0px !important;
    }
}

.reference-gallery-item {
	padding: 12px 24px !important;
}
.reference-gallery .reference-gallery-item.is-trigger:hover, .elementor-1240 .elementor-element.elementor-element-acb6b76 .elementor-button:hover {
background-color: #440D06;
    font-size: 14px;
    line-height: 140$;
    color: #FFFFFF;
}
.elementor-1240 .elementor-element.elementor-element-5d43825 .elementor-button:hover, .elementor-1240 .elementor-element.elementor-element-1c12fe9 .elementor-button:hover {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #DCDCDC;
    border-radius: 999px;
    background-color: #ffffff;
    color: #222F30;
    padding: 12px 16px;
    font-family: Arial;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-decoration: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}