.nag2 {
    font-size: 2.525rem;
    /* color: #bdbdbd; */
    color: #757575;
    font-weight: 700;
    text-align: left;
    margin-bottom: 2rem;
}

.nag2:before {
    content: '|';
    font-size: 3rem;
    font-weight: 900;
    margin-right: .5rem;
}



/* wiadomosci */
#sekcja-7 {
    margin-top: 4rem;
}

#first-news a {
    display: flex;
    color: var(--text1);
    text-decoration: none;
    align-items: stretch;
    transition: all 350ms;
}

#first-news a:focus-visible,
#first-news a:focus {
    outline: none;
}

#first-news a:focus-visible .left .title,
#first-news a:focus .left .title {
    outline: 3px dotted var(--color2);
    color: var(--hover);
}

#first-news time {
    color: white;
    background-color: var(--opacity10);
    padding: .225rem .725rem;
    border-radius: .5rem;
    font-size: .8125rem;
    display: flex;
    align-items: center;
    width: fit-content;
}

#first-news time svg {
    width: .8125rem;
    height: .8125rem;
    margin-right: .5rem;
}

#first-news .left {
    width: 50%;
    padding-right: 2rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#first-news .left .title {
    margin-bottom: 1rem;
}

/* #first-news .left .text {
  font-size: .875rem;
} */

#first-news a .right {
    width: 50%;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--box-shadow1);
    border-radius: var(--border-radius1);
}

#first-news a:hover .image,
#first-news a:focus .image,
#first-news a:active .image {
    transform: scale(1.15);
    transition: all 300ms;
}

#first-news a .image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    transition: all 350ms;
}

#first-news a .left time+.h3 {
    margin-top: 1rem;
}

/* #first-news a:hover .left .h3 {
    text-decoration: underline;
} */

#first-news a .left .h3 {
    color: var(--color1);
}


@media (max-width: 768px) {
    #first-news a {
        flex-direction: column;
    }

    #first-news a>.left,
    #first-news a>.right {
        width: 100%;
    }

    #first-news .left {
        order: 2;
        margin-top: 1rem;
    }
}






/* ------------------ wiadomosci karuzela ------------------ */

#caruselle-news {
    margin: 1.5rem 0 6rem;
    padding-bottom: 4rem;
    position: relative;
}

#caruselle-news .slick-slide {
    margin: 1rem;
}

.cards .card {
    border: none;
    display: block;
    height: 100%;
}

#caruselle-news .card a {
    text-decoration: none;
    display: block;
}

#caruselle-news .card a:hover .card-picture img,
#caruselle-news .card a:focus .card-picture img,
#caruselle-news .card a:active .card-picture img {
    transform: scale(1.15);
    transition: all 300ms;
}

#caruselle-news .card .card-picture {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius1);
    box-shadow: var(--box-shadow1);
    height: 400px;
}

#caruselle-news .card .card-picture .card-cols {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    background-color: var(--opacity10);
    padding: .225rem .725rem;
    border-radius: .5rem;
}

#caruselle-news .card .card-picture time {
    font-size: .8125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#caruselle-news .card .card-picture time svg {
    width: .8125rem;
    height: .8125rem;
    margin-right: .5rem;
}

#caruselle-news .card .card-picture img {
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: auto;
    transition: all 300ms;
}

#caruselle-news .card h3 {
    color: var(--color1);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
}

#caruselle-news .card-text {
    display: none;
}

#caruselle-news .slick-dots {
    bottom: -5rem;
}

/* #caruselle-news .slick-dots li button .slick-dot-icon:before {
  font-size: 1.625rem;
} */

#caruselle-news .slick-autoplay-toggle-button {
    background-color: var(--text4);
    color: var(--white);
    bottom: -5rem;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius1);
}

#caruselle-news .slick-autoplay-toggle-button span {
    width: 3rem;
    height: 3rem;
}

#caruselle-news .slick-autoplay-toggle-button span::before {
    width: 100%;
    height: 100%;
    display: block;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 1200px) {
    .cards article {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .cards article {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .cards article {
        width: 100%;
    }
}







/* bullets */
.swiper-pagination-bullet {
    width: 50px !important;
    height: 5px !important;
    border-radius: 2px !important;
    margin: 0 2px;
}

.swiper-pagination {
    width: 100%;
    position: relative !important;
}

.swiper-pagination-bullet-active {
    background: var(--color5) !important;
}








/* 5 blokow cust_sekcja-obiektow.tpl */
#sekcja-9 {
    padding: 6rem 0;
    /* background: url(gfx/template/boxesbkg.png) repeat-x left bottom -200px; */
    background-color: var(--opacity7);
}

.cust_sekcja-obiektow {
    flex-wrap: wrap;
}

.boxes {
    width: calc(25%);
    padding: .5rem;
    margin: 0;
    overflow: hidden;
}

.boxes .h1 {
    padding: 2rem;
    font-weight: 900;
    font-size: calc(3rem - 1vw) !important;
    position: absolute;
    bottom: 0;
    z-index: 1;
    color: var(--white);
    text-shadow: 0px 0px 5px var(--text1);
}

.boxes a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius1);
    box-shadow: var(--box-shadow1);
}

.boxes a .box {
    height: 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: all 300ms;
}

.boxes:nth-child(4) a .box {
    height: calc(300px - .5rem);
}

.boxes:nth-child(4) a:nth-child(1) {
    margin-bottom: 1rem;
}

.boxes a:hover .box,
.boxes a:focus .box,
.boxes a:active .box {
    transform: scale(1.15);
}

@media (max-width: 1200px) {
    .boxes {
        width: calc(50%);
        padding: .5rem;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .boxes {
        width: calc(100%);
        margin: .5rem 0;
    }

    .boxes a .box {
        height: calc(300px - .5rem);
    }
}







/* menu_flex.tpl */

#sekcja-5 {
    margin-top: 4rem;
}

.menu-flex ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-flex .ul-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.menu-flex .ul-nav li[data-level="1"] {
    align-items: stretch;
    flex-grow: 1;
}

.menu-flex .ul-nav li[data-level="1"]:not(:last-of-type)>ul {
    border-right: 1px solid var(--border1);
    height: 100%;
}

.menu-flex .ul-second {
    margin: 0 1rem;
}

.menu-flex .ul-second li {
    padding: .625rem .5rem;
    line-height: 1rem;
}

.menu-flex .ul-second li a {
    text-decoration: none;
    color: var(--color1);
}

.menu-flex .ul-second li a:hover {
    text-decoration: none;
    color: var(--color2);
}


@media (max-width: 768px) {
    .menu-flex .ul-nav {
        flex-direction: column;
    }

    .menu-flex .ul-nav li[data-level="1"]:not(:last-of-type)>ul {
        border-right: none;
        border-bottom: 1px solid var(--border1);
        height: 100%;
        padding: 0 0 1rem 0;
        margin-bottom: 1rem;
    }
}






/* sport i rekreacja */


#sekcja-11 {
    padding: 6rem 0;
    background-color: var(--color8);
}
#sekcja-11 > * {
    margin: 0 auto;
}

#caruselle-sport .nag2 {
    color: var(--color6);
}

#caruselle-sport {
    margin: 0 auto;
    position: relative;
}

#caruselle-sport .slick-slide {
    margin: 1rem;
}

.cards .card {
    border: none;
    display: block;
    height: 100%;
    background: transparent;
    border-radius: 0;
}

#caruselle-sport .card a {
    text-decoration: none;
    display: block;
}

#caruselle-sport .card a:hover .card-picture img,
#caruselle-sport .card a:focus .card-picture img,
#caruselle-sport .card a:active .card-picture img {
    transform: scale(1.15);
    transition: all 300ms;
}

#caruselle-sport .card .card-picture {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius1);
    box-shadow: var(--box-shadow1);
    height: 400px;
}

#caruselle-sport .card .card-picture .card-cols {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    background-color: var(--opacity10);
    padding: .225rem .725rem;
    border-radius: .5rem;
}


#caruselle-sport .card .card-picture img {
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: auto;
    transition: all 300ms;
}

#caruselle-sport .card h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
}

#caruselle-sport .card h3>small {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    padding-top: .5rem;
    color: var(--lightgrey);
    line-height: 1.4;
}

#caruselle-sport .card-text {
    display: none;
}

#caruselle-sport .slick-dots {
    bottom: -5rem;
}

/* #caruselle-sport .slick-dots li button .slick-dot-icon:before {
  font-size: 1.625rem;
} */

#caruselle-sport .slick-autoplay-toggle-button {
    background-color: var(--text4);
    color: var(--white);
    bottom: -5rem;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius1);
}

#caruselle-sport .slick-autoplay-toggle-button span {
    width: 3rem;
    height: 3rem;
}

#caruselle-sport .slick-autoplay-toggle-button span::before {
    width: 100%;
    height: 100%;
    display: block;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}

#caruselle-sport  .slick-dots li.slick-active button .slick-dot-icon,
#caruselle-sport .slick-dots li button .slick-dot-icon {
    color: var(--white);
}


@media (max-width: 1200px) {
    .cards article {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .cards article {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .cards article {
        width: 100%;
    }
}
