body {
    overflow-x: hidden;
    font-size: 1.125rem;
}

@media (min-width: 1025px) {
    #header-video:before {
        content: "";
        position: absolute;
        left: 0px;
        top: 0px;
        height: 100%;
        width: 50%;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 100 100' fill='white' preserveAspectRatio='none'><path d='M0 0 L0 60 L0 100 L60 0 Z' /></svg>") no-repeat;
        z-index: 11;
        pointer-events: none;
    }
    
    #header-video:after {
        content: "";
        position: absolute;
        left: -20px;
        bottom: 0px;
        height: 45%;
        width: 20px;
        z-index: 11;
        background-color: #e30613;
        transform: skew(-24.5deg, 0deg);
        transform-origin: bottom;
        pointer-events: none;
    }
    
    #header-video, #header-video .e-hosted-video.elementor-wrapper{
        position: relative;
        min-height: 100%;
    }
}

.elementor-shortcode {
    overflow-x: hidden;
}

ul.e-n-menu-heading li:last-child a {
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-primary);
    padding: 4px 22px 4px 21px;
    background-color: var(--e-global-color-primary);
    color: #fff !important;
}

.container {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
}

.container.fix-cont {
    /*margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);*/
    padding: 0px;
}

.fix-checkbox .elementor-field-type-acceptance label {
    margin-left: 0 !important;
}

.row{
    display: flex;
    flex-wrap: wrap;
    margin-right: 12px;
    margin-left: 12px;
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.col-12{
    flex: 0 0 100%;
    max-width: 100%;
}

.col-6{
    flex: 0 0 50%;
    max-width: 50%;
}

.col-4{
    flex: 0 0 33.333333%;    
    max-width: 33.333333%;
}

@media (min-width: 768px) {
    .col-md-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.justify-content-center{
    justify-content: center !important;
}

.align-items-center{
    align-items: center;
}

@media (min-width: 768px) {
    .col-md-6{
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.text-center{
    text-align: center;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}

@media (min-width: 992px) {
    .col-lg-3{
        flex: 0 0 25%;
        max-width: 25%;
    }
    .text-md-left{
        text-align: left;
    }
    .text-md-right{
        text-align: right;
    }
}

.mb-24{
    margin-bottom: 24px;
}

.mb-2{
    margin-bottom: 16px;
}

.line-fix, .line-fix p{ 
    line-height: 1.33 !important;
}

.blog-single, .ref-single{
    background-color: #f5f5f5;
    color: #1d1d1b !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #D9D9D9;
    transition: all 0.5s ease-in-out;
}

.blog-single:hover{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid #D9D9D9;
}

.blog-single:hover .blog-single-image img:first-child{
    transform: scale(1.1);
}

.blog-single:hover .blog-single-image .bk-logo{
    opacity: 1;
}

.blog-single-image, .ref-single-image {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 160px;
    object-fit: cover;
    overflow: hidden;
}

.blog-single-image img, .ref-single-image img{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.blog-single-image .bk-logo{
    position: absolute;
    width: 40px;
    height: 40px!important;
    object-fit: contain;
    top: 16px;
    left: 16px;
    opacity: 0.7;
}

.blog-single-image .overlay, .ref-single-image .overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.blog-single-image h3, .ref-single-image h3{
    position: absolute;
    left: 16px;
    bottom: 12px;
    margin: 0px;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 18px;
    padding-right: 16px;
}

.blog-single-content h3{
    font-size: 20px;
    margin-bottom: 0px;
    margin-top: 24px;
    font-weight: 900;
}

.blog-single-content .d-r-wrap{
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.blog-single-content .reading, .blog-single-content .date{
    font-size: 16px;
    margin-bottom: 6px;
    margin-top: 0px;
    color: #757575;
}

.blog-single-content .reading{
    text-align: right;
}

.blog-single-content .tags{
    display: flex;
    gap: 8px;
}

.blog-single-content .tags .tag{
    font-size: 16px;
    padding: 4px;
    border: 1px solid #000;
    line-height: 1;
}

.ref-single-content{
    padding: 24px 16px;
    position: relative;
    padding-bottom: 48px;
    margin-top: auto;
    font-size: 18px;
}

.blog-single-content{
    padding: 16px 16px 24px;
    position: relative;
    padding-bottom: 48px;
    font-size: 18px;
    flex-grow: 1;
}

.ref-single-content{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: end;
    padding-bottom: 24px;
}

.ref-single-content>div{
    flex: 0 0 40%;
    max-width: 50%;
    font-size: 16px;
    flex-grow: 1;
}

.fw-bold{
    font-weight: bold !important;
}

.blog-single-content span, .ref-single-content span{
    position: absolute;
    left: 16px;
    bottom: 16px;
    transition: all 0.3s ease;
    color: #e30613;
    font-weight: bold;
}

.blog-single:hover .blog-single-image .overlay, .ref-single:hover .ref-single-image .overlay{
    background-color: rgba(227, 6, 19, 0);
}

.blog-single:hover .blog-single-image h3, .ref-single:hover .ref-single-image h3{
    text-shadow: 3px 3px 5px black;
}

.blog-single:hover .blog-single-content span, .ref-single:hover .ref-single-content span{
    color: #e30613;
}

#projekty_filters{
    margin-top: 42px;
}

.filter-buttons{
    margin-bottom: 32px;
    position: relative;
}

.filter-buttons>div{
    display: flex;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
    padding-bottom: 4px;
    flex-wrap: wrap;
}
@media (min-width: 991px) {
    .filter-buttons::-webkit-scrollbar {
        width:10px;
        height: 10px
    }

    .filter-buttons::-webkit-scrollbar-track {
        border-radius: 0px;
        background-color: #fff;
        box-shadow: 0 5px 10px 0 rgba(53,29,3,.2)
    }

    .filter-buttons::-webkit-scrollbar-thumb {
        border-radius: 0px;
        background-color: var(--e-global-color-primary);
    }
}

.filter-buttons input{
    display: none;
}

@media (max-width: 767px) {
    .filter-buttons label{
        padding: 4px 8px 4px 8px;
        font-size: 16px !important;
    }
}

.filter-buttons label{
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-primary);
    padding: 8px 16px 8px 16px;
    cursor: pointer;
    text-wrap: nowrap;
    white-space: nowrap;
    color: var(--e-global-color-primary) !important;
    background-color: transparent;
    border-radius: 0px;
    transition: all 0.3s ease;
    font-size: 16px !important;
    font-weight: 600;
}

.filter-buttons label.active{
    color: #fff !important;
    background-color: var(--e-global-color-primary);
}

.projekty_wrapper_load, .position-relative {
    position: relative;
}

.loader{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.loader.active{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.loader svg{
    max-width: 100%;
    width: 300px;
    max-height: 100%;
}

.h1{
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

.text-primary{
    color: var(--e-global-color-primary) !important;
}

.img-icon .elementor-image-box-img:before{
    content:none !important;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border-radius: 100%;
   background: rgba(255, 255, 255, 0.59);
    z-index: 1;
}
.img-icon .elementor-image-box-img{
    min-width: 85px;
    min-height: 85px;
    height: 85px;
    width: 85px !important;
    top: 0px;
    position: absolute !important;
    left: 0px;
    
}
.img-icon .elementor-image-box-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0px  !important;
}

.img-icon h3{
    margin-block-start: 0px;
}

.img-icon a{
    display: block;
    margin-top: 8px;
}

.img-icon {
    z-index: 2;
    margin-top: 0px;
    padding-left: 120px;
    min-height: 80px;
}

.img-icon .elementor-widget-container {
    display: flex;
    align-items: center;
}

.img-icon .elementor-image-box-description a{
    transition:  all 0.3s ease-in-out;
    font-weight: bold;
}

.img-icon .elementor-image-box-description a:hover{
    text-decoration: underline;
    color: #a6000a;
}

.entry-title{
    font-weight: 900;
    margin-top: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.container-fix {
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
}

@media (max-width: 1024px) {
    .img-icon{
        margin-left: auto;
        margin-right: auto;
        padding-left: 0px;
    }
    .img-icon .elementor-image-box-img {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        height: 65px;
        width: 65px !important;
        min-width: 65px;
        min-height: 65px;
    }
    .img-icon .elementor-image-box-content {
        text-align: center !important;
        padding: 0px;
        padding-top: 20px;
    }
}

.elementor-field-option{
    margin-bottom: 8px;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:checked + label,
[type="checkbox"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="checkbox"]:checked + label:before,
[type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    background: #fff;
}
[type="checkbox"]:checked + label:after,
[type="checkbox"]:not(:checked) + label:after {
    content: '';
    width: 8px;
    height: 8px;
    background: #e30613;
    position: absolute;
    top: 10px;
    left: 5px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="checkbox"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.elementor-button.elementor-button-link.elementor-size-sm .elementor-button-text{
    padding-top: 2px;
}

.elementor-button.elementor-button-link.elementor-size-sm span.elementor-button-icon.elementor-align-icon-right{
    display: flex;
    align-items: center;
}


.woocommerce-info {
    border-top-color: #e30613 !important;
}

.woocommerce-info::before {
    color: #e30613 !important;
}


.woocommerce-empty-cart-home-button {
    text-align: center;
    margin-bottom: 32px;
}

.woocommerce-empty-cart-home-button a{
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-primary);
    padding: 16px 32px 16px 32px;
    cursor: pointer;
    text-wrap: nowrap;
    white-space: nowrap;
    color: var(--e-global-color-primary) !important;
    background-color: transparent;
    border-radius: 0px;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
}

.woocommerce-empty-cart-home-button a:hover{
    color: #fff !important;
    background-color: var(--e-global-color-primary);
}

.CustomScrollbar {
    scrollbar-color: var(--e-global-color-primary) transparent; 
}

.CustomScrollbar::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

.CustomScrollbar::-webkit-scrollbar-track {
    background-color: transparent;
}

.CustomScrollbar::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-left: 1px solid var(--e-global-color-primary);
    border-right: 1px solid var(--e-global-color-primary);
    border-radius: 0px;
}

.popup-items-info{
    max-height: 410px;
    overflow-y: scroll !important;
}

.elementor-widget.elementor-widget-eael-pricing-table {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.eael-pricing.style-1 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eael-pricing-item {
    display: flex;
    flex-direction: column;
    height: 100%!important;
}

.eael-pricing-item .footer { margin-top: auto;}
 
@media (min-width: 1200px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 1640px !important;
    }
}


#slider-firem {
    overflow-x: hidden;
}

.jak-prac{
    max-height: 450px;
    overflow-y: scroll !important;
}

.scroll-horizontal {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.overflow-auto {
    overflow: auto !important;
}

.d-flex {
    display: flex !important;
}

.mr-2 {
    margin-right: .8rem !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.bg-gray {
    background-color: #707479 !important;
}

.carousel-dot {
    width: .8rem;
    height: .8rem;
    text-indent: 200%;
    overflow: hidden;
}

.container-fix.scroller {
    width: 100%;
    margin: 0px;
}

@media (max-width: 991px) {
    .scroll-horizontal-mobile {
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) {
    .d-md-none {
        display: none !important;
    }
}