@charset "UTF-8";

/* ALLES CUSTOM */

html {}

body.g44-custom {
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    font-family: "Fira Sans", Sans-serif !important;
}

body.g44-custom .dialog-type-lightbox{
    position: fixed;
}

/*
.g44-custom.page-id-8730 .elementor-slideshow__title{
    display: block !important;
    max-width: 420px;
    margin: auto
}
*/

.page-id-8730 .card_carousel_text img{
    aspect-ratio: 4/2.7;
    object-fit: cover;
    object-position: center center;
    border-radius: 15px;
}

.elementor-element-e3c1ff2 .ug-thumb-overlay{
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6 !important;
}
.elementor-element-e3c1ff2 .ug-thumb-overlay::before{
    content:"\f144";
    font-family:'Font Awesome 6 Free';
    font-weight:400;
    color: #fff;
    font-size: 60px;
    line-height: 1;
}
.g44-custom .ug-slider-wrapper .ug-button-videoplay.ug-type-square{
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 100px;
}
.g44-custom .ug-gallery-wrapper .ug-videoplayer,
.g44-custom .ug-videoplayer .ug-videoplayer-wrapper{
}
.g44-custom .ug-gallery-wrapper .ug-videoplayer{
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0 !important;
    height: 100% !important;
}
.g44-custom .ug-videoplayer .ug-videoplayer-wrapper{
    max-width: 1000px;
}
.ug-lightbox .ug-lightbox-arrow-left, .ug-lightbox .ug-lightbox-arrow-right{
    display: block !important;
}

.g44-custom .cta-current.elementor-button{
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
    pointer-events: none;
}

.site-footer.footer-has-copyright{
    display: none;
}

.elementor-element.elementor-element-24f907e4{
    margin-top:-2px;
}
.elementor-sticky--active .elementor-element.elementor-element-24f907e4{
    display: none;
}
.elementor-sticky--active.elementor-element-1a19b417{
    background-color: #fff !important;
}

.page-content a:has(img){
    cursor: zoom-in;
}

.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4, 
.elementor-widget-text-editor h5, 
.elementor-widget-text-editor h6 {
    margin-block-start: 1rem;
    margin-block-end: .5rem;
}

body.g44-custom p,
body.g44-custom button,
body.g44-custom input[type="button"],
body.g44-custom input[type="submit"],
body.g44-custom .elementor-button,
.elementor-nav-menu .elementor-item,
body.g44-custom .elementor-sub-item,
body.g44-custom .whitesquareparagraph55,
body.g44-custom div,
body.g44-custom a,
input[type="number"]{
    font-family: "Fira Sans", Sans-serif !important;
}

body .elementor-heading-title,
body.g44-custom h1 a,
body.g44-custom h2 a,
body.g44-custom h3 a,
body.g44-custom h4 a,
body.g44-custom h5 a,
body.g44-custom h6 a {
    font-family: "Montserrat", Sans-serif !important;
}

body.g44-custom b,
body.g44-custom strong {
    font-weight: bold;
}

 .g44-custom .g44-dark .rank-math-breadcrumb,
.g44-custom .g44-dark .rank-math-breadcrumb a{
	color:rgb(255 255 255 / 75%);
}

.g44-custom .rank-math-breadcrumb a{
	text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 0.05em;
	text-underline-offset: 0.18em;
}

.g44-custom .rank-math-breadcrumb a:hover {
	text-decoration-line: underline;
	text-decoration-style: solid;
}

.g44-custom .rank-math-breadcrumb a,
.g44-custom .rank-math-breadcrumb span{
    font-size:0.8em;
}
.g44-custom .rank-math-breadcrumb a:hover{
    text-decoration: underline
}

.page-id-200 .sprawdz-wycene-col1{
    display: none;
}
.page-id-200 .sprawdz-wycene-col2{
    margin: auto;
}

/* button alles */
.elementor-tab-content a{
    margin-top:10px;
    display: inline-block;
    font-size: 13px !important;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 13px !important;
    background-color: transparent;
    border-style: solid;
    border-width: 1px ;
    border-color: #282929;
    border-radius: 200px;
    padding: 10px 20px 8px 20px;
}
.elementor-tab-content a:hover{
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.g44-portfolio-main{
    aspect-ratio: 4/2.5;
}

.g44-ratio-h img,
.g44-ratio-h2 img {
    aspect-ratio: 4/2.3;
    object-fit: cover;
    object-position: center center;
}
.g44-ratio-h2 img {
    aspect-ratio: 4/2.6;
}

.g44-custom .custom-gallery img{
    aspect-ratio: 4/2.5;
    object-fit: cover;
    object-position: center bottom;
    height: auto !important;
    border-radius: 15px;
}

.g44-custom .cta-kontakt a {
    background-color: #FFED00 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    fill: #000;
    color: #000 !important;
    border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: #E30613 !important;
}
.g44-custom .cta-kontakt a:hover {
    background-color: #E30613 !important;
    fill: #fff;
    color: #fff !important;
    border-color: #E30613 !important;
}

.g44-custom .cta-cennik a {
    background-color: #E30613 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    fill: #fff;
    color: #fff !important;
    border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: #FFED00 !important;
}
.g44-custom .cta-cennik a:hover {
    background-color: #FFED00 !important;
    fill: #000;
    color: #000 !important;
    border-color: #FFED00 !important;
}

.ug-slider-wrapper .ug-item-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ug-item-wrapper img {
    max-height: 90%;
    width: auto !important;
    margin: 5% auto !important;
    left: 0% !important;
    position: relative !important;
    top: 0px !important;
}

.g44-custom .elementor-popup-modal .dialog-widget-content {
    background-color: transparent;
}

.g44-video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.g44-video-overlay span {
    font-size: 80px;
    color: #fff;
    opacity: 0.8;
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.g44-video-overlay.is-paused span::before {
    content: "\f144";
}

.g44-video-overlay.is-playing {
    opacity: 0;
}

/*
@media (min-width: 769px) {
.g44-video-overlay.is-playing:hover{
	opacity:0.5;
}
}*/
.g44-video-overlay.is-playing span::before {
    content: "\f28b";
}

.g44-video-overlay.is-ended span {
    font-family: 'FontAwesome';
}

.g44-video-overlay.is-ended span::before {
    content: "\f0e2";
}

figure.g44-table,
figure.wp-block-table {
    padding: 0px;
    margin: 0px;
    overflow-x: auto;
}

figure.g44-table table,
figure.wp-block-table table {
    border-left: 0.5px solid hsla(0, 0%, 50.2%, .5019607843);
}

.g44-custom table td,
.g44-custom table th {
    padding: 10px;
}

.g44-table thead td {
    text-align: center;
    background: var(--e-global-color-accent);
    color: #fff;
    min-width: 130px;
}

.g44-table thead td:first-child {
    min-width: 90px;
    text-align: left;
}

.g44-table.center-content td:not(td:first-child) {
    text-align: center;
}

@keyframes hintScrollLeftRight {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-40px);
    }

    100% {
        transform: translateX(0);
    }
}

.table-scroll-hint {
    animation: hintScrollLeftRight 1.5s ease-out;
}

.g44-freeze-col,
.g44-freeze-row {
    position: sticky;
    background-color: #fff;
    border-width: 0;
    box-shadow: inset 0px -0.5px 0px 0.5px hsla(0, 0%, 50.2%, .5019607843);
}

table tbody>tr:nth-child(2n+1)>td:is(.g44-freeze-col, .g44-freeze-row),
table tbody>tr:nth-child(2n+1)>th:is(.g44-freeze-col, .g44-freeze-row) {
    background-color: #f8f8f8;
}

.g44-freeze-col {
    left: 0;
    z-index: 2;
}

.g44-freeze-row {
    top: 0;
    z-index: 3;
}

.wartosci-title {
    min-height: 50px;
}

.g44-form {}

form.submitting .wpcf7-submit{
    pointer-events: none;
    opacity: 0.35;
}

.wpcf7 p:has(.wpcf7-submit){
    display: flex;
    justify-content: right;
    flex-direction: row-reverse;
    align-items: center;
    gap:0.75em;
    margin-top:1em;
}

.g44-custom.elementor-kit-7 input[type="submit"]{
    margin-top: 0px !important;
    flex-grow: 1;
}

.wpcf7-spinner{
    margin: 0;
    display: none;
    flex-basis: 24px;
}
form.submitting .wpcf7-spinner{
    display: block;
}
.wpcf7 p:has(.wpcf7-submit) .wpcf7-spinner:nth-of-type(2){
    display: none;
}

.g44-form .g44-label {
    border-bottom: 1px solid #646464;
    display: flex;
    gap: 8px;
    margin: 5px 0px;
}

.g44-form .g44-label:has(.wpcf7-not-valid)::before {
    color: #D46767;
}

.g44-label::before {
    content: attr(data-label);
    text-transform: uppercase;
    padding: .5rem 0 .5rem 0;
    line-height: 27px;
    font-size: 13px;
    white-space: nowrap;
}

.g44-form .g44-label>span {
    flex-grow: 1;
}

.g44-form .g44-label>br {
    display: none;
}

.g44-form .g44-label input,
.g44-form .g44-label textarea {
    color: #646464 !important;
    border-bottom: 1px solid #646464 !important;
    font-family: "Fira Sans", Sans-serif !important;
    margin-bottom: -1px;
    display: block;
}

.g44-form .g44-label select {
    background: transparent;
    border-radius: 0;
    padding: 10px 0;
    margin-bottom: -1px;
    display: block;
    color: #646464;
    font-size: 18px;
}

.g44-form .g44-label .wpcf7-not-valid {
    border-bottom: 1px solid #D46767 !important;
}

.g44-form .g44-label .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    bottom: -11px;
    top: unset;
}


.elementor-lightbox .elementor-lightbox-image {
    background-color: white;
}

.kalkulator-u select {
    padding: 10px 10px;
    margin: 10px 10px 0px 0px;
    max-width: 100%;
}

.calc-element {
    margin-bottom: 2em;
}

.calc-wynik {
    font-size: 35px;
    border: 1px solid #999;
    display: block;
    line-height: 1.2em;
    padding: 15px 20px;
    text-align: center;
}

.kalkulator-wynik {
    color: #e30713;
}

.calc-wynik.green .kalkulator-wynik {
    color: green;
}

.elementor-element>.elementor-widget-button a.elementor-button:not([href]):not([href=""]) {
    color: #D46767 !important;
}

.g44-custom .elementor-widget-text-editor p:not(p:last-child),
.g44-custom .elementor-widget-text-editor ul:not(ul:last-child) {
    margin-bottom: .5rem;
}

.imgs-radius-20 img {
    border-radius: 20px !important;
}

.g44-toggle-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    line-height: 100%;
    text-transform: uppercase !important;
    ;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
}

.g44-toggle-btn:hover {
    background-color: #000;
    color: #fff;
}

.g44-dark .g44-toggle-btn {
    display: inline-block;
    color: #fff;
    border: 1px solid #fff;
}

.g44-dark .g44-toggle-btn:hover {
    background-color: #fff;
    color: #000;
}

.g44-limited-list li.hidden {
    display: none;
}


body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .ue-carousel-item,
body.g44-custom .g44-reviews.e-grid>div {
    margin: 2px !important;
    color: #777 !important;
    border: 1px solid #ededed !important;
    background-color: #fafafa !important;
    border-radius: 4px !important;
    position: relative;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .ue-carousel-item:before,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div:after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    background-image: url(https://elewacjealles.pl/wp-content/uploads/2024/12/Google__G__logo-1.svg);
    background-size: contain;
    width: 20px;
    height: 20px;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .uc_classic_carousel_content,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div {
    padding: 20px !important;
    min-height: 260px;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .uc_classic_carousel_content .card_carousel_title,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div>div:first-of-type {
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    text-transform: none !important;
    font-weight: bold !important;
    color: #154fc1 !important;
    font-size: 16px !important;
    letter-spacing: normal;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .uc_classic_carousel_content .card_carousel_title div,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div>div:first-of-type div {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .uc_classic_carousel_content .card_carousel_title div img,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div>div:first-of-type div img {
    margin: 0px !important;
    display: block !important;
    width: 110px !important;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .uc_classic_carousel_content .card_carousel_text,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div>div:last-of-type {
    color: #333 !important;
    line-height: 24px !important;
    font-size: 14px !important;
    font-style: normal !important;
}

body.g44-custom:not(.elementor-editor-active) .g44-reviews .owl-item .uc_classic_carousel_content .card_carousel_text,
body.g44-custom:not(.elementor-editor-active) .g44-reviews.e-grid>div>div:last-of-type div {
    max-height: 158px;
    overflow: auto !important;
}


.g44-custom figcaption {
    font-style: normal;
    margin-top: 1em;
}

.g44-przed-po figcaption{
    background:#ffffffa6;
    position: absolute;
    bottom:0px;
    padding: 5px 10px;
    border-radius: 0 10px 0 0;
}

@keyframes g44-wiggle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }

    53% {
        transform: rotate(5deg);
    }

    56% {
        transform: rotate(0deg);
    }

    59% {
        transform: rotate(-4deg);
    }

    62% {
        transform: rotate(0deg);
    }

    65% {
        transform: rotate(-4deg);
    }

    68% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes g44-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.g44-wiggle {
    /*animation: g44-wiggle 3s infinite !important;*/
    animation: g44-pulse 3s infinite !important;
}

.g44-wiggle:hover {
    animation: pause !important;
}

.g44-custom .ue_inner_menu-box {
    padding: 65px 20px;
}

nav .elementor-nav-menu>li>a {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 20px;
    margin-inline-end: 0px !important;
}

nav .elementor-nav-menu li:hover>a {
    background-color: #81818136 !important;
}

nav .elementor-nav-menu>li>ul>li>.sub-menu {
    left: 100% !important;
    top: 0px !important;
    z-index: 9;
    margin-top: 0 !important;
}

nav .elementor-nav-menu .sub-menu {
    width: 225px !important;
}
nav .elementor-nav-menu .sub-menu a{
    white-space:normal;
}

nav .elementor-nav-menu>li>ul>li .sub-menu {
    top: 5px !important;
    left: 100% !important;
    left: calc(100% - 25px) !important;
}
nav .elementor-nav-menu>li>ul>li>ul>li .sub-menu {
    top: -10px !important;
    left: 100% !important;
    left: calc(100% - 25px) !important;
}

.sub-menu .current-menu-ancestor{
    background:rgba(71, 69, 65, 0.4);
}
.sub-menu .current-menu-item{
    background:#474541;
}

nav .elementor-nav-menu li a {
    border-inline-start: none !important
}



.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    width: auto !important;
    padding: 0px 8px;
}

body.elementor-kit-7 input[type="submit"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: auto !important;
    max-width: unset !important;
    margin-left: unset !important;
    float: right;
    min-width: unset !important;
}

.g44customInputImie p span input {
    padding-left: 45px !important;
}

.g44customInputImie::after {
    content: "IMIĘ*" !important
}

.g44customInputFirma p span input {
    padding-left: 110px !important;
}

.g44customInputFirma::after {
    content: "NAZWA FIRMY*" !important
}

.g44-dark div input[type="submit"] {
    margin-left: 85%;
    color: #fff !important;
    border: 1px solid #fff !important;
}

.g44-dark div p input {
    color: #fff !important;
}

.elementor-shortcode>span:has(.breadcrumb_last),
.elementor-shortcode>span:has(.breadcrumb_last) a {
    color: #BBB;
    font-size: 0.8em;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
}

.elementor-shortcode>span .breadcrumb_last {
    color: #fff;
}

.elementor-shortcode>span:has(.breadcrumb_last) a:hover {
    color: #fff;
}

.g44-light .elementor-shortcode>span:has(.breadcrumb_last),
.g44-light .elementor-shortcode>span:has(.breadcrumb_last) a {
    color: #777;
}

.g44-light .elementor-shortcode>span .breadcrumb_last {
    color: #000;
}

.g44-light .elementor-shortcode>span:has(.breadcrumb_last) a:hover {
    color: #000;
}

.squareall {
    max-width: var(--content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/** GALERIA WP **/
.e-con.e-con>.e-con-inner>.elementor-widget:has(.gallery-size-medium),
.elementor.elementor .e-con>.elementor-widget:has(.gallery-size-medium) {
    width: 100%;
}

.gallery {
    width: 100%;
    margin: 0;
}

.gallery {
    --g44-isotope-gap: 1em;
    --cols: 120;
}

.gallery .gutter-sizer {
    width: var(--g44-isotope-gap);
}

.gallery .grid-sizer {
  width: calc((100% - ((var(--cols) - 1) * var(--g44-isotope-gap))) / var(--cols));
  box-sizing: border-box;
}

.gallery-portfolio .gallery .grid-sizer {
  width: calc(12.5% - 7 * var(--g44-isotope-gap) / 8);
}

.gallery .gallery-item a {
    overflow: hidden;
    display: block;
}

.gallery .gallery-item {
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery {
    box-sizing: border-box;
}

.gallery .gallery-item {
    box-sizing: border-box;
}

.gallery img {
    border: 0px !important;
    width: 100%;
    height: auto;
    padding: 0%;
    /*opacity: 1;
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	-ms-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
    */
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.gallery img:hover {
    /*opacity: 0.95;*/
    border: 0px;
}

body.elementor-editor-active .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: var(--g44-isotope-gap);
}

.gallery-columns-2 .gallery-item {
    width: calc(50% - var(--g44-isotope-gap) / 2);
}

.gallery-columns-3 .gallery-item {
    width: calc(33.33% - 2 * var(--g44-isotope-gap) / 3);
}

.gallery-columns-4 .gallery-item {
    width: calc(25% - 3 * var(--g44-isotope-gap) / 4);
}

.gallery-columns-5 .gallery-item {
    width: calc(20% - 4 * var(--g44-isotope-gap) / 5);
}

body.g44-custom:not(.elementor-editor-active) .gallery-size-medium {
    position: relative;
    width: 100%;
    display: none;
}

body.g44-custom:not(.elementor-editor-active) .gallery-size-medium.isotope-initialized {
    display: block;
}

/* clear fix */
.gallery-size-medium:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .gallery-size-medium ---- */

.gallery-size-medium .gallery-item a {
    overflow: hidden;
    display: block;
}

.gallery-size-medium .gallery-item .portrait img {
    aspect-ratio: 3/4.12;
    overflow: hidden;
    object-fit: cover;
}

.gallery-size-medium .gallery-item .landscape img {
    aspect-ratio: 3/2;
    overflow: hidden;
    object-fit: cover;
}

.gallery-size-medium.gallery-columns-2 .gallery-item {
    width: calc(50% - var(--g44-isotope-gap) / 2);
}

.gallery-size-medium.gallery-columns-3 .gallery-item {
    width: calc(33.33% - 2 * var(--g44-isotope-gap) / 3);
}

.gallery-size-medium.gallery-columns-4 .gallery-item {
    width: calc(25% - 3 * var(--g44-isotope-gap) / 4);
}

.gallery-size-medium.gallery-columns-5 .gallery-item {
    width: calc(20% - 4 * var(--g44-isotope-gap) / 5);
}

/* Portfolio Alles gallery */
.gallery-portfolio .gallery-size-medium .gallery-item:nth-of-type(n+5) {
    width: calc(12.5% - 7 * var(--g44-isotope-gap) / 8);
}
.gallery-portfolio .gallery-size-medium .gallery-item:nth-of-type(20) a:after,
.gallery-nocna .gallery-size-medium .gallery-item:nth-of-type(12) a:after{
    content:"Zobacz więcej";
    position: absolute;
    z-index: 9;
    background: #000000a3;
    color: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    display: grid;
    justify-content: center;
    align-content: center;
}
.gallery-portfolio .gallery-size-medium .gallery-item:nth-of-type(n+21),
.gallery-nocna .gallery-size-medium .gallery-item:nth-of-type(n+13) {
    display: none;
}

.gallery-size-medium .gallery-item {
    background: transparent;
    margin: 0 0 var(--g44-isotope-gap) 0 !important;
    display: block;
}

.gallery .gallery-item {
    border-radius: 20px;
    overflow: hidden;
}

.gallery-size-medium .gallery-item a {
    overflow: hidden;
    display: block;
}

.gallery-size-medium .gallery-item img {
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    width: 100%;
    display: block;
}

.aspect-16_10 .gallery-item img {
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: center;
}

.aspect-16_9 .gallery-item img {
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}

.gallery-size-medium .gallery-item img:hover {
    width: 100%;
    max-width: 100%;
}


.call-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
    /* domyślnie ukryty */
}

@media (min-width: 768px) {
    .call-widget {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

.call-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #28a745;
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px !important;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
    animation: g44-pulse 2s infinite !important;
}

.call-button:hover {
    background: #218838;
}

.call-tooltip {
    background: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.call-tooltip.show {
    opacity: 1;
    pointer-events: auto;
}


/* Kalkulator U: START */
.g44-kalkulator-u {
    position: relative;
    display: block;
}
.g44-kalkulator-u td {
    min-width: 100px !important;
}
.g44-kalkulator-u figure:not(:last-of-type){
    margin-bottom:3em !important;
}

figure:has(#calc-layers){
    padding: 10px;
    border-radius: 15px;
    background:#d8d8d8;
}

.calc-table thead td {
    text-align: left;
}

.calc-table tfoot td {
    background:#e2e2e2;
}

#calc-layers thead,
#calc-layers tbody{
    font-size: 18px
}

#calc-total,
#calc-settings{
}

#calc-total tr>td:first-child{
    width: 260px;
}

/* Ukrycie natywnych strzalek w input[type=number] */
.thickness-control input[type="number"]::-webkit-inner-spin-button,
.thickness-control input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.thickness-control input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

.calc-table table {
    margin-bottom: 0;
    border-collapse: collapse;
    background:#fff;
}

.calc-table td {
    vertical-align: middle;
}

.calc-table input[type="number"],
.calc-table input[type="text"]{
    max-width: 6em;
    text-align: center;
    color: var( --e-global-color-text ) !important;
    border-radius: 3px !important;
    font-size: 1em !important;
    padding: 5px 10px;
    line-height: 1em;
}

.calc-table select {
    min-width: 200px;
    width: auto;
    font-size: 1em;
    padding: 5px 10px;
    line-height: 1em;
    background: transparent;
}

.thickness-control{
    display: flex;
    gap:5px;
}
.thickness-control button{
    margin: 0px !important;
    padding: 5px 8px !important;
    font-size: 1.8em !important;
}
.thickness-control input{
    width: 50px !important;
    
}

.g44-kalkulator-u table button {
    margin-right: 0.5em;
    text-transform: uppercase;
    background-color: #fff;
}
.g44-kalkulator-u table button:hover,
.g44-kalkulator-u table button:focus{
    background-color: #000;
}

.delete-layer{
    margin-right: 0px;
    margin-left: 10px;
}

#copy-calc-url{
    display: block;
    margin-top:5px
}

.calc-u td{
    font-weight: 600;
    font-size: 2em;
}
.calc-u.green td {
    background: #2e7d32 !important;
    color: #fff;
}

.calc-u.red td {
    background: #c62828;
    color: #fff;
}

.copy-success-msg {
    margin-top: 8px;
    padding: 6px 10px;
    background: #e6ffe6;
    color: #065f1e;
    border: 1px solid #98d998;
    border-radius: 6px;
    font-size: 0.9em;
    display: inline-block;
}
/* Kalkulator U: END */


@media (max-width: 1320px) {

    .gallery-size-medium.gallery-columns-4 .gallery-item,
    .gallery-size-medium.gallery-columns-5 .gallery-item {
        width: calc(25% - 3 * var(--g44-isotope-gap) / 4);
    }
    
    /* Portfolio Alles gallery */
    .gallery-portfolio .gallery-size-medium .gallery-item:nth-of-type(-n+4) {
        width: calc(25% - 3 * var(--g44-isotope-gap) / 4);
    }
}

@media (min-width: 1101px) {
    /* LPs */
    .page-id-12636 .gallery-item:has(img[src="https://elewacjealles.pl/wp-content/uploads/2025/08/photo-h_0017_DSC02249-768x485.webp"]),
    .page-id-13359 .gallery-item:has(img[src="https://elewacjealles.pl/wp-content/uploads/2025/08/photo-h_0017_DSC02249-768x485.webp"]) {
        display: none;
    }
}

@media (max-width: 1100px) {
    /*
    .page-id-3477 .gallery-item:has(img[src="https://elewacjealles.pl/wp-content/uploads/2025/09/photo-h_0005_wk-2.1-768x485.webp"]),
    .page-id-3477 .gallery-item:has(img[src="https://elewacjealles.pl/wp-content/uploads/2025/07/photo-h-_0005_DSC00941-768x485.webp"]) {
        display: none;
    }
    */
}

@media only screen and (min-width: 992px) {
    .rightsidebackgroundcustomdark::after {
        content: "";
        position: absolute;
        top: 0;
        right: -700px;
        background: #474541;
        width: 700px;
        height: 100%;
    }
    .leftsidebackgroundcustomdark::after {
        content: "";
        position: absolute;
        top: 0;
        left: -700px;
        background: #474541;
        width: 700px;
        height: 100%;
    }

    .rightsidebackgroundcustomgray {
        position: relative
    }
    .rightsidebackgroundcustomgray:after {
        content: "";
        position: absolute;
        top: 0;
        right: -700px;
        background: #F8F8F8;
        width: 700px;
        height: 100%;

    }
}

@media (max-width: 1100px) {

    .gallery-size-medium.gallery-columns-3 .gallery-item,
    .gallery-size-medium.gallery-columns-4 .gallery-item,
    .gallery-size-medium.gallery-columns-5 .gallery-item {
        width: calc(50% - var(--g44-isotope-gap) / 2);
    }

    .gallery-size-medium .gallery-item .portrait img {
        aspect-ratio: 3/4.092;
        overflow: hidden;
        object-fit: cover;
    }

    /* Portfolio Alles gallery */
    .gallery-portfolio .gallery-size-medium .gallery-item:nth-of-type(n+5) {
        width: calc(25% - 3 * var(--g44-isotope-gap) / 4);
    }
}

@media (max-width: 992px) {
    .uc-list-menu {
        max-width: 99%;
    }

    .ue_menu ul li {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .uc-list-menu .sub-menu[data-collapsed="false"] {
        border-top: 1px solid rgba(255, 255, 255, 0.40);
        border-bottom: 1px solid rgba(255, 255, 255, 0.40);
        padding: 0px 0px 15px 0px !important;
    }
    
    #uc_fullscreen_navigation_menu_elementor_158c6b43 .ue_inner_menu-box{
        margin-top: 70px !important;
    }
    
    .elementor-1689 .elementor-element.elementor-element-158c6b43 .ue_menu ul li{
        margin-top: 0px !important;
    }
    
    #uc_fullscreen_navigation_menu_elementor_158c6b43 .sub-menu{
        background-color: #4745413d;
        padding-bottom: 0px !important;
        border:none !important;
    }
    
    #uc_fullscreen_navigation_menu_elementor_158c6b43 .ue_menu div div ul li a{
        display: flex !important;
        padding: 15px;
        border-bottom: 1px solid #555;
    }
    #uc_fullscreen_navigation_menu_elementor_158c6b43 .ue_menu div div>ul>li:last-of-type a{
        border-bottom: none;
    }
    
    #uc_fullscreen_navigation_menu_elementor_158c6b43 .uc-menu-item-pointer{
        transform: none !important;
        right: 0 !important;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .g44-form .g44-label:has(select) {
        flex-direction: column;
    }

    .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
        top: 32px !important;
        left: -8px;
        right: unset !important;
    }
    #calc-layers select{
        width: auto;
        max-width: 100px;
    }
    #calc-layers thead,
    #calc-layers tbody{
        font-size: 15px
    }
    
    .elementor-1689 .elementor-element.elementor-element-158c6b43 .ue-input-wrapper,
    .elementor-1689 .elementor-element.elementor-element-158c6b43 .ue_hamburger, .elementor-1689 .elementor-element.elementor-element-158c6b43 .checkbox-toggle{
        height: 40px !important;
    }

    .dachyplaskie-poprzedni2005alles,
    .dachyplaskie-nastepny2005alles{
        font-size: 10px !important;
        padding: 6px 6px !important;
    }
    .dachyplaskie-poprzedni2005alles img{
        margin:0px 0px 0px 5px;
        width:20px;
    }
    .dachyplaskie-nastepny2005alles img{
        margin:0px 5px 0 0;
        width:20px;
    }
    .element-custom-gallery2005alles{
        font-size: 14px !important;
        width:26px !important;
        height:26px !important;
    }
}

@media (max-width: 550px) {

    .gallery-size-medium.gallery-columns-2 .gallery-item,
    .gallery-size-medium.gallery-columns-3 .gallery-item,
    .gallery-size-medium.gallery-columns-4 .gallery-item {
        width: 100%;
    }

    .gallery-2col-mobile .gallery-size-medium.gallery-columns-2 .gallery-item,
    .gallery-2col-mobile .gallery-size-medium.gallery-columns-3 .gallery-item,
    .gallery-2col-mobile .gallery-size-medium.gallery-columns-4 .gallery-item,
    .gallery-size-medium.gallery-columns-5 .gallery-item {
        width: calc(50% - var(--g44-isotope-gap) / 2);
    }

    .gallery-size-medium .gallery-item .portrait img {
        aspect-ratio: 3/4.32;
        overflow: hidden;
        object-fit: cover;
    }
}