/* gallery global styles  */

.sp_gallery img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}


/* gallery global styles  */


/* flickity default dots*/

ol.flickity-page-dots {
    position: relative;
    bottom: 0;
    margin: 20px 0;
}


/* flickity default dots*/


/* global  lightbox */

.sp_gallery img {
    height: 100%;
    object-fit: cover;
}

#lightbox {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.lb-outerContainer img {
    max-width: 1200px !important;
    max-height: 1200px !important;
}

.lb-outerContainer,
.lb-dataContainer {
    max-width: 1200px;
    height: auto!important;
}

.lb-dataContainer .lb-data {
    background: #545454;
    color: #fff;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lb-dataContainer {
    padding-top: 0 !important;
}

span.lb-number {
    color: #fff !important;
    font-size: 16px !important;
    padding: 0 !important;
}

img.lb-image {
    border: 0 !important;
    outline: 0 !important;
}


/* global  lightbox */


/* Speletnik global cols*/


/* columns  */

.column-6,
.column-5,
.column-4,
.column-3,
.column-2 {
    display: grid !important;
    grid-gap: 25px !important;
}

@media (min-width: 320px) {
    .column-5,
    .column-6,
    .column-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .column-2,
    .column-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 992px) {
    .column-5,
    .column-6,
    .column-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .column-2,
    .column-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1200px) {
    .column-6 {
        grid-template-columns: repeat(6, 1fr) !important;
    }
    .column-5 {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    .column-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .column-1-mb {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media(min-width:992px) {
    .theme_hero_page>.wp-block-cover__background {
        width: 50% !important;
    }
    .theme_hero_page .wp-block-group>*:not(.wp-block-your-theme-heading-line.heading_line) {
        max-width: 50%;
        margin-left: 0 !important;
        padding-right: 20px;
    }
}