    .wzor {
      float: left;
      width: 20%;
      box-sizing: border-box;
      padding: 10px;
    }

.graf {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 4px;
}

.graf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

    .opis {
      margin-top: 8px;
      text-align: center;
      font-size: 14px;
    }

    /* gdy ekran <= 1200px → 4 w linii */
    @media (max-width: 1200px) {
      .wzor {
        width: 25%;
      }
    }

    /* gdy ekran <= 900px → 3 w linii */
    @media (max-width: 900px) {
      .wzor {
        width: 33.33%;
      }
    }

    /* gdy ekran <= 600px → 2 w linii */
    @media (max-width: 600px) {
      .wzor {
        width: 50%;
      }
    }

    /* gdy ekran <= 400px → 1 w linii */
    @media (max-width: 400px) {
      .wzor {
        width: 100%;
      }
    }

.kolory-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* odstęp między elementami */
}

.kolor-box {
  flex: 1 1 180px; /* minimalna szerokość 180px, reszta elastyczna */
  max-width: 220px; /* opcjonalne ograniczenie szerokości */
  text-align: center;
}

.kolor {
  width: 100%;
  padding-top: 100%; /* kwadratowe pole */
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  border-radius: 6px;
}










.caption { 
text-align: center;  margin: 0; padding: 7px 0 0px 0; 
    font-size: 14px; 
}



table.kolory { text-align: center; table-layout: fixed; width:100%;   }
table.kolory td { text-align: center; padding: 10px; vertical-align: top; overflow: hidden;  }

.break-page-before { page-break-before: always; }
.break-page-after { page-break-after: always; }


div.kolor {
  display: inline-block;
  height:350px;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
}
    
    #loader {
    
    	width: 100%;
    	height: 100%;
    	background: rgba(0,0,0,0.8);
    	position: fixed;
    	left: 0;
    	top: 0;
    z-index: 1;
    }
    
    
    .spinner {
  width: 40px;
  height: 40px;

  position: absolute;
  top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #f00;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
    
    
    



#sp-component {
  color: #000;
}

.img-caption-part1 {
    text-align: center;
}
.eventgallery-tiles-list .eventgallery-tile .wrapper {
    padding: 4px;
}
h2, .h2 {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
}
#sp-header a {
	color: #ffffff;
	font-weight: bold;
	opacity: 0.8;
	text-shadow: 1px 1px 5px black;
}
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
.eventgallery-subcategories .content .data h2{
	font-size: 15px;
	color: white;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #984113;
}

.eventgallery-imagelist .thumbnail-container .content .data {
    height: auto;
}

#sp-main-body {
  padding: 10px 0;
}
h3 {
  font-family: Open Sans, sans-serif;
  font-weight: 800;
font-size: 36px;
}


/* Kontener dla dwóch divów */
.mod-languages {
    display: flex;             /* włączamy flexbox w kontenerze */
    justify-content: center;   /* wyśrodkowanie poziome dzieci (ul) */
    margin-top: 10px; 
}

.mod-languages .lang-inline {
    display: flex;             /* żeby li były w linii */
    gap: 10px;                 /* odstęp między flagami */
    list-style: none;          /* usunięcie kropek listy */
    margin: 0;
    padding: 0;
}
#sp-main-body {
  padding: 0px 0;
}

