/* @import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap&subset=latin-ext'); */
@import url('https://fonts.googleapis.com/css2?family=Rosario:wght@400;700&display=swap&subset=latin-ext');

@font-face {
    font-family: 'Indie Flower';
    src: url('../fonts/IndieFlower.woff2') format('woff2'),
         url('../fonts/IndieFlower.woff') format('woff'),
         url('../fonts/IndieFlower.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    background: rgb(255, 255, 255);
    background: #2d002112;
}
a {
    color:#8b0308;
}

.btn-primary {
    color: #fff;
    background-color: #8b0308;
    border-color: #8b0308;
}

.container-custom {
    display: block;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px; /* Drobne marginesy wewnętrzne po bokach */
}
.container-custom2 {
    display: flex;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

#main-header {
    padding: 60px 0;
    background: #8b0308;
    background-image: url(../images/header.png);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.col-lg-4 {
    flex: 0 0 calc(33.333% - 30.33px); /* Dopasuj szerokość do odstępu */
}
@media (max-width: 768px) {
    .col-lg-4 {
        flex: auto ; /* Dopasuj szerokość do odstępu */
        padding-left: 0;
    } 
    .ogloszenia ul {
        padding-inline-start: 20px;
    }
}

/* Główna nawigacja */
/* Główna nawigacja */
/* Główna nawigacja */
/* Główna nawigacja */
.menu {
    
    color: #fff;
    font-family: Arial, sans-serif;
    width: 60%;
    display: block;
    justify-self: flex-end;
  }
  
  .navbar-toggler {
    border: none;
    
    color: #fff;
  }
  .menu .nav {
    justify-content: flex-end;
  }
  
  .navbar-toggler:hover {
    /* background: #555; */
  }
  
  .navbar-collapse {
    transition: all 0.3s ease;
  }
  
  /* Styl głównych pozycji menu */
  .nav-item {
    position: relative; /* Ustawiamy pozycję relatywną, aby podmenu było poniżej */
    /* width: 20%; */
    text-align: center;
  }

  
  .nav-item a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
  }
  .nav-item span {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
  }
  
  
  .nav-item a:hover {
    color: #ffcc00; /* Kolor po najechaniu */
  }
  
  /* Styl podmenu */
  .mod-menu__sub {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%; /* Podmenu pojawia się dokładnie pod głównym elementem */
    left: 0; /* Zaczyna się od początku elementu głównego */
    background-color: #8b0308;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }
  
  .mod-menu__sub li {
    width: 200px;
  }
  
  .mod-menu__sub li a {
    padding: 8px 15px;
    color: #fff;
    white-space: nowrap;
  }
  
  .mod-menu__sub li a:hover {
    /* background-color: #555; */
    color: #ffcc00;
  }
  
  /* Styl rozwijania podmenu */
  .nav-item:hover > .mod-menu__sub,
  .nav-item:focus-within > .mod-menu__sub,
  .mod-menu__sub:hover {
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s ease-in-out;
  }
  .nav-item a::after {
    content: "";
    position: absolute;
    bottom: 0; /* Pozycja podkreślenia tuż pod tekstem */
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff; /* Kolor podkreślenia */
    transition: width 0.3s ease;
  }
  
  .nav-item a:hover::after {
    width: 100%; /* Podkreślenie rozciąga się na pełną szerokość */
  }
  
  .nav-item a:hover {
    color: #ffcc00; /* Kolor tekstu po najechaniu */
  }
  
  /* Animacja */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .menuleft {
    flex-basis: 29%;
    max-width: 320px;
    border: 2px solid #8b0308;
    box-shadow: 0px 11px 26px rgba(0, 0, 0, .06);
    border-radius: 20px;
    padding: 37px;
    max-height: max-content;
    background-color: #fff;
    color: black;
  }
  .menuleft .nav-item {
    margin-bottom: 5px;
    margin-left: 20px;
    width: 100%;
    text-align: left;
  }
  .menuleft .nav-item a {
    font-family: Rosario;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    
    color: #141414;
  }

  
  
#baner {
    background: #8b0308;
    background-image: url(../images/header.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0 0px;
    margin-bottom: 70px;
}
/* Baner */
@keyframes changeBackground {
    0% {
        background-image: url('../images/baner1.jpg');
    }
    10% {
        background-image: url('../images/baner1.jpg');
    }
    33% {
        background-image: url('../images/baner2.jpg');
    }
    66% {
        background-image: url('../images/baner3.jpg');
    }
    100% {
        background-image: url('../images/baner1.jpg'); /* Powrót do pierwszego zdjęcia */
    }
}
/* .baner {
    height: 561px;
    border-radius: 15px;
    background-image: url(../images/baner3.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-color: #ffe9e9;
    background-size: cover;
    margin-bottom: -50px;
    display: flex;
    align-items: center;
    padding: 0 0px;
} */
.baner {
    height: 561px;
    border-radius: 15px;
    background-repeat: no-repeat;
    background-position: top;
    background-color: #ffe9e9;
    background-size: cover;
    margin-bottom: -50px;
    display: flex;
    align-items: center;
    padding: 0 0px;
    animation: changeBackground 20s infinite; /* Animacja trwa 15 sekund i powtarza się */
}


.baner .half {
    padding-left: 49px;
    padding-right: 20px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    color: white;
    align-content: center;
    background: #00000063;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(2, 2, 25, 0.7035189075630253) 81%, rgba(255, 255, 255, 0) 100%);
    width: 40%;
    border-radius: 15px;
    max-width: 804px;
    text-shadow: 0px 0px 10px rgb(0 0 0);
}

.mod-list {
    padding-inline-start: 15px!important;
padding-inline-end: 15px!important;
}





.baner h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
}

.baner h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.baner p {
    font-size: 18px;
    margin-bottom: 20px;
}

.buttons a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8b0308;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.buttons a:hover {
    background-color: #5c0104;color:white;
}

.buttons a svg {
    margin-left: 10px;
}
/* Kontener pierwszego posta */
.aktualnosci ul{
    padding-inline-start: 0px;
}
.head-module-title {
    padding: 20px 0 20px 0;
}
.symbol {
    width: 90px;
}
.title-module {
    display: flex;
    align-items: center;
}
#content {
    background-image: url(../images/page-content.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0 0px;
}
.subsequent-post-title h2 {
    line-height: 1.1;
    margin-bottom: 30px;
	margin-left: 25 px;
	font-family: 'Indie Flower';
	text-align: center;
    font-size: 1vh;
}
.articles-container a {
    color:black;
    font-size: 20px;
}
.title-module h3 {
    font-family: Indie Flower;
    font-size: 40px;
}
.first-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Cała szerokość kontenera */
    background: #fff;
    border: 1px solid #8b030830;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 9px;
    margin-bottom: 20px;
    /* margin-top: -20px; */
    position: relative;
    transition: 1s;
}
.first-post:hover {
    transform: scale(1.02);
}

.first-post-image {
    width: 100%;           /* Obraz zajmuje 100% szerokości kontenera */
    height: auto;          /* Dopasuj wysokość automatycznie */
    max-width: 100%;       /* Zapewnij, że obraz nie przekroczy szerokości kontenera */
    object-fit: cover;     /* Przytnij obraz w stylu cover */
    object-position: center; /* Wyśrodkuj obraz */
    border-radius: 10px;   /* Opcjonalnie zaokrąglenie */
}
.box-post-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}
.first-post-title {
    margin-bottom: 30px;
    padding:0;
    margin-top: 20px;
}
.box-post-title h2{
    font-family: Rosario;
    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    line-height: 22px;
    color: #000;
    margin-top: 20px;
}
.first-post-title a{
    color:black;
}
.subsequent-post-title {
    margin-bottom: 30px;
}
.innowacje-container .box-post-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.innowacje-container .arrow-icon {
    font-size: 1.2em;
    margin-left: 10px;
}
.innowacje-post-tresc {
    padding: 0 60px;
    background: #fff;
    border: 2px solid #eee;
    box-sizing: border-box;
    box-shadow: 0px 5px 26px rgba(0, 0, 0, .06);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.innowacje-post-tresc h2 {
    font-family: Rosario;
    font-style: normal;
    font-weight: normal;
    font-size: 25px;
    line-height: 30px;
    color: #131313;
    padding: 39px 42px;
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.post-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    opacity: 0;
    padding: 0 10px;
}

.post-content.open {
    max-height: 1500px; /* Maksymalna wysokość, dostosuj w razie potrzeby */
    opacity: 1;
    transition: max-height 1.4s ease, opacity 1.4s ease;
    padding-top: 10px;
    padding-bottom: 60px
}

.info {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    padding: 15px 0 15px 15px;
    position: absolute;
    bottom: 0px;
}
.ogloszenia-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0px;
    border: 1px solid #bd151b;
    border-radius: 30px;
    padding: 10px;
    background: white;
}
.ogloszenia-post-tresc {
    
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid #bd151b;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 9px;
    margin-bottom: 5px;
    position: relative;
    transition: 80ms;
}
.ogloszenia-post-tresc:hover {
    transform: scale(1.05); /* Nieznaczne powiększenie o 5% */
}
.ogloszenia-post-tresc h3 {
    font-size: 14px;
}
.ogloszenia-post-tresc a {
    color: black;
}
.created {
    font-size: 10px;
}
.category {
    text-align: end;
    font-size: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid black;
}
thead {
    background-color: aliceblue;
}
th {
    padding: 5px;
}
td {
    padding: 5px;
}
tr {
    padding: 5px;
    border-bottom: 1px solid #e8e8e8;
}
tr:hover {
    background-color: aliceblue;
}


/* Układ dwóch kolumn dla kolejnych postów */
.articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px; /* Odstępy między kolumnami */
    border: 1px solid #8b0308;
    border-radius: 30px;
    padding: 10px;
    background: white;
}

.subsequent-post {
    flex: 1 1 calc(26% - 20px); /* Każdy kolejny post zajmuje 50% szerokości, minus odstępy */
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #8b030830;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 9px;
    margin-bottom: 20px;
    position: relative;
    transition: 0.40s;
}
.subsequent-post:hover {
transform: scale(1.02);
}
.sectionCustom {
    margin-top: 80px;
    margin-bottom: 80px;
}

.subsequent-post img {
    width: 100%;           /* Obraz w kolejnych postach też zajmuje 100% */
    /* height: 200px;         Ustal stałą wysokość dla kolejnych postów */
    /* object-fit: cover;     Dopasowanie obrazu w stylu cover */
    object-position: center; /* Wyśrodkowanie obrazu, jeśli jest przycinany */
    margin-bottom: 10px;   /* Odstęp między obrazem a treścią */
    border-radius: 10px;   /* Zaokrąglenie rogów, opcjonalne */
}
.container-baner-box {
    padding: 0 15px;
}
.banner-box {
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}
.banner-box img {
    width: 100%;
}

.trzyfilary h4 {
    font-family: 'Indie Flower', cursive;
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 43px;
}

.pillars-container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px;
}
.pillar-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #490104;
    padding: 20px;
    border-radius: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
/*po usunięciu opisów w trzech filarach*/     /* min-height: 200px; */
    font-family: 'Indie Flower', cursive;
}
.pillar-inner .number p {
    font-size: 34px;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}
.pillar-inner .description p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.5;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.article-card {
    max-width: 435px;
    background-color: #fff;
    border-radius: 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 35px;
}

.article-details {
    padding: 15px;
    text-align: start;
}
.article-info {
    display:flex;
}
.item-page .article-info {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 20px;
}
.text-info {
    color: black!important;
    padding: 30px;
    background: #fff;
    border: 2px solid #edecec;
    box-sizing: border-box;
    border-radius: 10px;
}
.com-content-article__body {
    background: #fff;
    border: 2px solid #edecec;
    box-sizing: border-box;
    border-radius: 10px;
    font-family: Rosario;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 40px;
}
.com-content-article__body ul {
    padding-left: 40px;
}
.com-content-category-blog h1{
    font-family: Indie Flower;
    font-style: normal;
    font-weight: normal;
    font-size: 70px;
    line-height: 102px;
    margin-top: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.com-content-article {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.article-date {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
}
.article-date svg {
    margin-right: 10px;
}
.article-category {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
}
.article-category svg {
    margin-right: 10px;
}

.article-title {
    font-size: 18px;
    margin: 10px 0;
}

.article-title a {
    text-decoration: none;
    color: #333;
/*    font-family: Indie Flower;*/
}
h3 a:hover {

        color: #534b4c;
        text-decoration: none;
   
}
a:hover {
    color: #534b4c!important;
    text-decoration: none;
}

.article-title a:hover {
    color: #007bff;
}

.article-introtext {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.pagination-wrapper {
    text-align: center;
    margin-top: 30px;
}

.pagination-wrapper .pagination {
    display: inline-block;
}

.pagination-wrapper .pagination li {
    display: inline;
    margin: 0 5px;
}

.pagination-wrapper .pagination a {
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pagination-wrapper .pagination .active a {
    background-color: #007bff;
    color: #fff;
}

.blog h2{
    font-family: Indie Flower;
    font-style: normal;
    font-weight: normal;
    font-size: 70px;
    line-height: 102px;
    margin-top: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.blog {
    margin-top: 40px;
}

.page-header {
    display: block;
    width: 100%;
    /* background: #8b0308; */
    margin-top: 60px;
    text-align: center;
    
}
.page-header h1 {
    padding: 0 50px;
    font-family: Indie Flower;
    font-style: normal;
    font-weight: normal;
    font-size: 40px;
    color: #2b2b2b;
    border-left: 14px solid #2d0021;
    text-align: left;
}

.page-item.active .page-link {
    z-index: 3;
    color: #000000;
    background-color: #8b0308;
    border-color: #8b0308;
    border: 2px solid #eee;
    box-sizing: border-box;
    box-shadow: 0px 5px 26px rgba(0, 0, 0, .06);
    border-radius: 20px;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    font-family: Rosario;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 36px;
    /* color: #000; */
    text-decoration: none;
    display: inline-block;
    margin: 0 13px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: .4s;
}
.page-link {
    border: 2px solid #eee;
    box-sizing: border-box;
    box-shadow: 0px 5px 26px rgba(0, 0, 0, .06);
    border-radius: 20px;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    font-family: Rosario;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 36px;
    color: #000;
    text-decoration: none;
    display: inline-block;
    margin: 0 13px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: .4s;
}
.pagination .page-item .page-link {
    display: flex;
    padding: 8px 12px;
    color: #3b0404;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background-color: #f0f0f0;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
}

.pagination .page-item .page-link:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 4px;
}

.pagination .page-item:first-child .page-link:before {
    content: "\f100"; /* Kod dla ikony "angle-double-left" */
}

.pagination .page-item:nth-child(2) .page-link:before {
    content: "\f104"; /* Kod dla ikony "angle-left" */
}

.pagination .page-item:last-child .page-link:before {
    content: "\f101"; /* Kod dla ikony "angle-double-right" */
}

.pagination .page-item:nth-last-child(2) .page-link:before {
    content: "\f105"; /* Kod dla ikony "angle-right" */
}


#footer {
    padding-top: 50px; /* Zmniejszony padding dla lepszego dopasowania */
    margin-top: 50px; /* Zapewnia przestrzeń od treści */
}

.stopka {
    background: #fff;
    border: 2px solid #edecec;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 20px; /* Uproszczone paddingi, aby lepiej wyglądały na mniejszych ekranach */
}

.inner-footer {
    background-color: #8b0308;
    padding: 50px 0;
    position: relative;
}

.inner-footer .container-custom {
    position: relative;
    width: 100%;
    padding-bottom: 20px; /* Dodaje przestrzeń dla lepszej organizacji w wersji mobilnej */
}

.stopka iframe {
    border: 0;
    width: 100%;
    max-height: 200px; /* Mniejsza wysokość na mobilnych ekranach */
}

.stopka .linki h3 {
    font-family: Lora, serif;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 15px;
    color: #8b0308;
    text-align: center; /* Wycentrowanie na mniejszych ekranach */
}

.stopka ul {
    display: flex;
    flex-direction: column; /* Ułożenie linków w kolumnę */
    padding: 0;
    text-align: center;
}

.stopka ul li {
    width: 100%;
    margin-bottom: 10px; /* Dodaje odstępy między linkami */
}

.stopka ul li a {
    font-family: Rosario, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: black;
    line-height: 18px;
    text-decoration: none;
}

.stopka .map iframe {
    width: 100%;
    max-width: 100%; /* Dopasowanie do szerokości ekranu */
    height: auto; /* Automatyczna wysokość */
    border-radius: 8px;
    margin-top: 20px; /* Dodaje przestrzeń nad mapą */
}
.obrazek {
    
    max-width: 588px;
    border-radius: 10px;
    
}
.obrazek img {
    width: 100%;
    border-radius: 20px;
}
.onas .opis {
    padding: 0px 40px;
    display: flex;
    flex-wrap: wrap;
    font-family: Rosario;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 40px;
}
.onas {
    margin-bottom: 80px;
}
.onas h1 {
    font-family: Indie Flower;
    font-style: normal;
    font-weight: normal;
    font-size: 70px;
    line-height: 102px;
    margin-top: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.wiecej {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.wiecej a {
    padding: 0 23.5px;
    background: #992227;
    box-shadow: 0px 4px 10px rgba(139, 3, 8, .32);
    border-radius: 38px;
    height: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-family: Rosario;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
}
.text-content h2 {
    font-family: Indie Flower;
    font-style: normal;
    font-weight: normal;
    font-size: 70px;
    line-height: 102px;
    margin-top: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.tabs-container {
    margin-top: 58px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.tabs-container .tab {
    flex-basis: 32%;
    background: #fff;
    border: 2px solid #eee;
    box-sizing: border-box;
    box-shadow: 0px 5px 26px rgba(0, 0, 0, .06);
    border-radius: 20px;
    transition: .2s;
    cursor: pointer;
    padding: 45px 51px;
    margin-bottom: 26px;
    text-align: center;
    
    position: relative;
}
.tabs-container .tab:hover {
    background: #a33c3c;
    color: white;
}
.tabs-container .tab p, .tabs-container .tab a {
    font-family: Rosario;
    font-style: normal;
    font-weight: normal;
    font-size: 25px;
    line-height: 30px;
    
    transition: .2s;
}
.dyrekcja {
    text-align: center;
    margin-bottom: 60px;
}
.dyrekcja h2{
    width: 100%;
    text-align: left;
    font-family: Indie Flower;
    font-style: normal;
    font-weight: normal;
    font-size: 70px;
    line-height: 102px;
    margin-top: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.kadra {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.box_kadra {
    text-align: center;
    margin: 0 10px;
    padding: 10px;
}
.box_kadra p {
    font-family: Rosario;
    font-style: normal;
    font-weight: normal;
    font-size: 25px;
    line-height: 55px;
    color: #000;
}

.kadraimg {
    width: 250px;
    height: 250px;
    border-radius: 50%; /* Zamienia zdjęcie w koło */
    object-fit: cover; /* Dopasowanie zdjęcia do kontenera */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.box_przecinek {
    width: 60px;
    border-top: 2px solid #bdbdbd;
    margin: 0 5px;
    height: 1px;
    align-self: center;
}

/* Styl dla kontenera galerii */
.sigFreeContainer {
    display: flex;
    flex-wrap: wrap; /* Umożliwia zawijanie wierszy */
    gap: 15px; /* Odstępy między elementami */
    justify-content: center; /* Wyśrodkowanie zdjęć */
    list-style: none; /* Usuń kropki listy */
    padding: 0; /* Usuń domyślne wcięcia */
    margin: 0; /* Usuń domyślne marginesy */
}

/* Styl dla miniatur */
.sigFreeContainer .sigFreeThumb {
    flex: 1 1 calc(33.33% - 15px); /* 3 kolumny z uwzględnieniem odstępów */
    box-sizing: border-box; /* Uwzględnia odstępy w szerokości */
    border-radius: 10px; /* Zaokrąglone rogi */
    overflow: hidden; /* Ukrycie rogów, które wykraczają poza ramkę */
    position: relative; /* Dla precyzyjnej kontroli nad pozycjonowaniem zawartości */
}

/* Styl dla obrazów */
.sigFreeContainer .sigFreeThumb img {
    width: 100%; /* Dopasowanie obrazu do szerokości kontenera */
    height: auto; /* Zachowanie proporcji obrazu */
    display: block; /* Usuń domyślne marginesy */
    border-radius: 10px; /* Powtórzenie zaokrąglenia dla obrazów */
}

/* Opcjonalnie: usuń przezroczyste tło */
.sigFreeContainer .sigFreeThumb .sigFreeImg {
    background: none;
}




/* Style responsywne */
@media (max-width: 768px) {
    .stopka .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .stopka .col-lg-4,
    .stopka .col-lg-3 {
        width: 48%; /* Dwie pierwsze kolumny obok siebie */
        text-align: center; /* Wycentrowanie elementów */
        margin-bottom: 20px;
    }

    .stopka .map {
        width: 100%; /* Mapa zajmuje całą szerokość pod pierwszym rzędem */
        text-align: center;
        margin-top: 20px;
    }

    .stopka iframe {
        max-height: 200px; /* Mniejsza mapa na urządzeniach mobilnych */
    }

    #footer {
        padding-top: 20px;
        margin-top: 30px;
    }
}





@media (max-width: 768px) {
    /* Na mniejszych ekranach posty w jednej kolumnie */
    .subsequent-post {
        flex: 1 1 100%;
    }
}



/* Styl dla mniejszych ekranów */
@media (max-width: 768px) {
    #main-header .container {
        flex-direction: column;
        align-items: center;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        text-align: center;
        width: 100%;
    }

    .baner .half {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .baner h1, .baner h2, .baner p {
        font-size: 90%; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }
}
@media (max-width: 998px) {
    /* Przesunięcie hamburgera na prawą stronę */
    .navbar-toggler {
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto; /* Przesuwa przycisk na prawą stronę */
    }

    /* Powiększenie ikony hamburgera */
    .navbar-toggler .icon-menu {
        display: block;
        width: 30px; /* Większa szerokość hamburgera */
        height: 3px; /* Większa grubość linii */
        background-color: #fff; /* Kolor linii hamburgera na biały */
        position: relative;
        transition: all 0.3s ease;
    }

    .navbar-toggler .icon-menu::before,
    .navbar-toggler .icon-menu::after {
        content: '';
        width: 30px; /* Dopasowanie szerokości do głównej linii */
        height: 3px;
        background-color: #fff; /* Kolor linii hamburgera na biały */
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    .navbar-toggler .icon-menu::before {
        top: -8px;
    }

    .navbar-toggler .icon-menu::after {
        top: 8px;
    }

    /* Opcjonalnie: zmiana na „X” po kliknięciu */
    .navbar-toggler.collapsed .icon-menu {
        background-color: transparent;
    }

    .navbar-toggler.collapsed .icon-menu::before {
        top: 0;
        transform: rotate(45deg);
    }

    .navbar-toggler.collapsed .icon-menu::after {
        top: 0;
        transform: rotate(-45deg);
    }
}
@media (max-width: 768px) {
    @keyframes changeBackground2 {
        0% {
            background-image: url('../images/baner1.jpg');
        }
        10% {
            background-image: url('../images/baner1.jpg');
        }
        33% {
            background-image: url('../images/baner2.jpg');
        }
        66% {
            background-image: url('../images/baner3.jpg');
        }
        100% {
            background-image: url('../images/baner1.jpg'); /* Powrót do pierwszego zdjęcia */
        }
    }
    #baner {
        position: relative;
        width: 100%;
        height: 244px;
        background-size: cover;
        background-position: center;
        margin-bottom: 15px;
        animation: changeBackground2 20s infinite; /* Animacja trwa 10 sekund i się powtarza */
    }
    .head-module-title {
        padding: 10px 0 10px 0;
    }
    .subsequent-post {
        margin-bottom: 0px;
    }
    .sectionCustom {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .baner {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-end; /* Tekst umieszczony na dole */
        padding: 0;
        border-radius: 0;
        overflow: hidden;
        position: relative;
    }

    .baner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Gradient od dołu do góry */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
        z-index: 1;
    }

    .baner .half {
        width: 100%;
        padding: 20px;
        position: absolute;
        bottom: 0; /* Tekst znajduje się na dole gradientu */
        left: 0;
        z-index: 2;
        color: #fff;
        text-align: center;
    }
    .navbar-brand {
        display: inline-block;
        padding-top: .3125rem;
        padding-bottom: .3125rem;
        width: 100%;
        text-align: center;
        margin-right: 1rem;
        font-size: 1.25rem;
        line-height: inherit;
        white-space: nowrap;
    }

    .half h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .half h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .half p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .buttons a {
        font-size: 14px;
        padding: 8px 16px;
    }
}


