/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
@media (max-width: 600px) {
  .jl-navbar-item.jl-logo img {
    width: 75px !important;
    max-width: 75px !important;
    height: auto !important;
  }
}
@media (max-width: 600px) {
  #g-mainbar {
    order: 1 !important;
  }
  #g-sidebar {
    order: 2 !important;
  }
}
@media only all and (max-width: 50.99rem) {
  #g-container-main > .jl-container > .g-grid > .g-block.size-29 {
    order: 2 !important;
  }
}
.facebook-menu-icon {
  width: auto !important;
  height: auto !important;
}
.facebook-menu-icon img {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
}
@media (max-width: 600px) {
  .facebook-menu-icon {
    width: 24px !important;
    height: 24px !important;
  }
}
.jl-navbar .facebook-menu-icon {
  display: inline-block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  object-fit: contain !important;
  vertical-align: middle;
}
/* ZetKomp: rounded panels and quick information, 2026-09-22 */
#g-container-main {
  background: #f3f6fb;
  padding: 30px 0 42px;
}
#g-container-main > .jl-container > .g-grid {
  align-items: flex-start;
}
#g-sidebar {
  background: transparent;
  padding: 0 24px 0 0;
}
#g-sidebar .g-content {
  margin: 0 0 22px !important;
  padding: 0 !important;
}
#g-sidebar .jl-wrapper {
  background: none !important;
  padding: 0 !important;
}
#g-sidebar .g-container {
  width: auto;
}
#g-sidebar .g-module-position {
  margin-top: 0 !important;
}
#g-sidebar .moduletable {
  background: linear-gradient(145deg, #ffffff, #edf4ff);
  border: 1px solid #dce5f2;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 5px 18px rgba(45, 74, 119, 0.07);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
#g-sidebar .moduletable:last-child {
  margin-bottom: 0;
}
#g-sidebar .moduletable > h3 {
  color: #294c7d;
  margin: 0 0 16px;
  padding-bottom: 13px;
  border-bottom: 2px solid #dce7f7;
}
#g-sidebar .mod-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
#g-sidebar .mod-menu li {
  margin: 0;
  padding: 0;
}
#g-sidebar .mod-menu li + li {
  border-top: 1px solid #e0e8f4;
}
#g-sidebar .mod-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #344968;
  line-height: 1.5;
  transition: background-color 0.18s, color 0.18s;
}
#g-sidebar .mod-menu a:hover, #g-sidebar .mod-menu a:focus-visible, #g-sidebar .mod-menu .current > a {
  background: #dfeafa;
  color: #183d72;
}
#g-sidebar a:focus-visible, #g-showcase a:focus-visible {
  outline: 3px solid #376cb4;
  outline-offset: 3px;
}
#g-mainbar {
  background: #fff;
  border: 1px solid #dce5f2;
  border-radius: 20px;
  box-shadow: 0 5px 18px rgba(45, 74, 119, 0.07);
  padding: 28px;
}
#g-mainbar .g-content {
  margin: 0 !important;
  padding: 0 !important;
}
#g-mainbar .platform-content.container {
  width: 100%;
  padding: 0;
}
#g-mainbar .page-header h1 {
  margin-top: 0;
}
#g-mainbar img {
  max-width: 100%;
  height: auto;
}
#g-showcase {
  background: #f3f6fb;
  padding: 28px 0 4px;
  color: #344968;
}
#g-showcase > .jl-container > .g-grid {
  gap: 22px;
  align-items: stretch;
}
#g-showcase > .jl-container > .g-grid > .g-block {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  display: flex;
}
#g-showcase .g-content {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
}
#g-showcase .platform-content {
  width: 100%;
  display: flex;
}
#g-showcase .moduletable {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d3e2f4;
  border-top: 5px solid #658bd2;
  border-radius: 20px;
  background: #eef4ff;
  color: #344968;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(45, 74, 119, 0.09);
}
#g-showcase .user2 {
  background: #fff7e8;
  border-color: #efdfbe;
  border-top-color: #e5b34f;
}
#g-showcase .user3 {
  background: #edf8f2;
  border-color: #d3e9dc;
  border-top-color: #68ac8c;
}
#g-showcase .mod-custom {
  max-height: 290px;
  min-height: 150px;
  overflow-y: auto;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  padding-right: 8px;
}
#g-showcase .mod-custom > :first-child {
  margin-top: 0;
}
#g-showcase .mod-custom > :last-child {
  margin-bottom: 0;
}
#g-showcase .mod-custom p {
  line-height: 1.7;
}
#g-showcase .mod-custom a {
  color: #264e87;
  text-decoration: underline;
}
#g-showcase .mod-custom span[style], #g-showcase .mod-custom a[style] {
  background-color: transparent !important;
}
#g-showcase .mod-custom img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
@media (max-width: 50.99rem) {
  #g-sidebar {
    padding: 24px 0 0;
  }
  #g-mainbar {
    padding: 22px;
  }
  #g-showcase > .jl-container > .g-grid {
    flex-direction: column;
    gap: 16px;
  }
  #g-showcase > .jl-container > .g-grid > .g-block {
    flex: 0 0 auto;
    width: 100%;
  }
  #g-showcase .mod-custom {
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
}
/* End ZetKomp panels */
#g-sidebar .el-content {
  margin: 0 !important;
  padding: 0 !important;
}
#g-showcase .mod-custom {
  background: transparent !important;
}
/* Szybkie info 1 */
#g-showcase .user1 {
  background: #eef4ff;
  /* tło */
  border-top-color: #658bd2;
  /* górny pasek */
}
/* Szybkie info 2 */
#g-showcase .user2 {
  background: #fff7e8;
  border-top-color: #e5b34f;
}
/* Szybkie info 3 */
#g-showcase .user3 {
  background: #edf8f2;
  border-top-color: #68ac8c;
}
/* Tło wszystkich menu bocznych */
#g-sidebar .moduletable {
  background: #40bfef;
}
/* Kolor nagłówków menu */
#g-sidebar .moduletable > h3 {
  color: #294c7d;
}
/* Kolor tekstu pozycji menu */
#g-sidebar .mod-menu a {
  color: #344968;
}
/* Pozycja wskazana myszką lub aktualnie wybrana */
#g-sidebar .mod-menu a:hover, #g-sidebar .mod-menu a:focus-visible, #g-sidebar .mod-menu .current > a {
  background: #dfeafa;
  color: #183d72;
}
/* ==========================================================
   GALERIA ZDJEC - WSPOLNY WYGLAD WSZYSTKICH ALBUMOW
   Zmiany obejmuja obecne i przyszle galerie Phoca Gallery.
   Miejsce edycji: System > Szablony witryny > Jl_kidsacademy_free > custom/scss/custom.scss
   ========================================================== */
/* KOLORY GALERII - zmieniaj wartosci ponizej */
#phocagallery {
  --galeria-tlo-karty: #ffffff;
  /* Tlo kart albumow i zdjec */
  --galeria-tlo-zdjecia: #f0f4fa;
  /* Tlo wokol miniatury */
  --galeria-tytul: #294c7d;
  /* Kolor pelnego tytulu albumu */
  --galeria-tekst: #52647d;
  /* Pozostale teksty */
  --galeria-obramowanie: #dce5f2;
  /* Ramki kart */
  --galeria-akcent: #527cba;
  /* Najechanie mysza i zaznaczenie */
  --galeria-tlo-licznika: #edf3fc;
  /* Tlo licznika zdjec i powrotu */
  --galeria-cien: 0 4px 15px rgba(45,74,119,.08);
  /* Delikatny cien */
  color: var(--galeria-tekst);
  width: 100%;
}
/* LISTA ALBUMOW - rowne kolumny, automatyczne nowe wiersze */
#phocagallery .pg-categories-items-box {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin: 0;
  padding: 0;
}
#phocagallery .pg-category-box {
  display: flex !important;
  flex-direction: column;
  float: none;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--galeria-tlo-karty);
  border: 1px solid var(--galeria-obramowanie);
  border-radius: 16px;
  box-shadow: var(--galeria-cien);
  transition: border-color 0.18s, box-shadow 0.18s;
}
#phocagallery .pg-category-box:hover {
  border-color: var(--galeria-akcent);
  box-shadow: 0 7px 20px rgba(45, 74, 119, 0.14);
}
/* ZDJECIE POGLADOWE ALBUMU - stale proporcje, bez rozciagania */
#phocagallery .pg-category-box-image {
  flex: 0 0 auto;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none;
  background: var(--galeria-tlo-zdjecia);
}
#phocagallery .pg-category-box-image a {
  display: block;
}
#g-mainbar #phocagallery .pg-category-box-image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1.3333333333;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* TYTUL POD ZDJECIEM - dowolna liczba wierszy, bez ucinania */
#phocagallery .pg-category-box-info {
  flex: 1 0 auto;
  height: auto !important;
  background: var(--galeria-tlo-karty);
  display: block;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding: 17px 18px 18px;
  margin: 0;
  float: none;
}
#phocagallery .pg-category-box-title {
  /* Tytul w ukladzie strony pod miniatura, bez nakladki */
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  height: auto !important;
  max-height: none !important;
  line-height: 1.5;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
#phocagallery .pg-category-box-title > .ph-si-category {
  display: none;
}
#phocagallery .pg-category-box-title a {
  display: block;
  color: var(--galeria-tytul);
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  max-height: none !important;
  -webkit-line-clamp: unset;
  text-decoration: none;
}
#phocagallery .pg-category-box-title a:hover {
  color: var(--galeria-akcent);
  text-decoration: underline;
}
/* Ukrycie liczby zdjec pod tytulem kazdej galerii */
#phocagallery .pg-category-box-count {
  display: none !important;
  width: auto;
  margin: 10px 0 0;
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--galeria-tekst);
  background: var(--galeria-tlo-licznika);
  font-size: 13px;
  font-weight: 400;
}
/* ZDJECIA W ALBUMIE - rowna siatka, cale fotografie */
#phocagallery .pg-category-items-box {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  height: auto !important;
  margin: 0 0 24px;
  padding: 0;
}
#phocagallery .pg-item-box {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  float: none;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 8px !important;
  background: var(--galeria-tlo-karty);
  border: 1px solid var(--galeria-obramowanie);
  border-radius: 14px;
  box-shadow: var(--galeria-cien);
}
#phocagallery .pg-item-box figure {
  margin: 0;
}
#phocagallery .pg-item-box figure a {
  display: block;
  border-radius: 9px;
}
#phocagallery .pg-item-box-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
  background: var(--galeria-tlo-zdjecia);
  border-radius: 9px;
  overflow: hidden;
}
#g-mainbar #phocagallery .pg-item-box-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1.3333333333;
  object-fit: contain;
  border: 0;
  border-radius: 9px;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
}
#phocagallery .pg-item-box:hover {
  border-color: var(--galeria-akcent);
}
#phocagallery .pg-item-box-info {
  color: var(--galeria-tekst);
  white-space: normal;
  overflow-wrap: anywhere;
}
#phocagallery .pg-item-box-info:has(> .ph-cb:only-child) {
  display: none;
}
#phocagallery figcaption:empty {
  display: none;
}
#phocagallery a:focus-visible {
  outline: 3px solid var(--galeria-akcent);
  outline-offset: 3px;
}
/* POWROT - maly przycisk nad zdjeciami zamiast duzej pustej miniatury */
#phocagallery .pg-item-box:has(.ph-si-back-medium) {
  grid-column: 1 / -1;
  text-align: left;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#phocagallery .pg-item-box:has(.ph-si-back-medium) > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--galeria-tytul);
  background: var(--galeria-tlo-licznika);
  border: 1px solid var(--galeria-obramowanie);
  border-radius: 12px;
  text-decoration: none;
}
#phocagallery .pg-item-box:has(.ph-si-back-medium) > a::after {
  content: "Powrót do galerii";
}
#phocagallery .pg-item-box-image.pg-svg-box:has(.ph-si-back-medium) {
  width: 24px !important;
  height: 24px !important;
  aspect-ratio: auto !important;
  background: transparent;
}
#phocagallery .ph-si-back-medium {
  color: var(--galeria-akcent) !important;
  fill: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (min-width: 601px) and (max-width: 1100px) {
  #phocagallery .pg-categories-items-box, #phocagallery .pg-category-items-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* TELEFONY - pojedyncza kolumna i wygodne odstepy */
@media (max-width: 600px) {
  #phocagallery .pg-categories-items-box, #phocagallery .pg-category-items-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #phocagallery .pg-category-box-info {
    padding: 15px;
  }
}
/* KONIEC STYLOW GALERII */
/* ==========================================================
   PRAWE MENU - taki sam wygląd jak niebieskie menu po lewej.
   Reguły obejmują wszystkie obecne i przyszłe moduły menu w #g-aside.
   Aby zmienić kolor, edytuj wartości w poniższym zestawie.
   ========================================================== */
#g-aside {
  --prawe-menu-tlo: #40bfef;
  /* Niebieskie tło całego kafelka */
  --prawe-menu-ramka: #dce5f2;
  /* Kolor zewnętrznej ramki */
  --prawe-menu-naglowek: #294c7d;
  /* Kolor nagłówka */
  --prawe-menu-linia: #dce7f7;
  /* Linia pod nagłówkiem */
  --prawe-menu-tekst: #344968;
  /* Kolor pozycji menu */
  --prawe-menu-podzial: #e0e8f4;
  /* Linie między pozycjami */
  --prawe-menu-najechanie: #dfeafa;
  /* Tło po najechaniu lub wybraniu */
  --prawe-menu-aktywny: #183d72;
  /* Tekst po najechaniu lub wybraniu */
}
/* Wyrównanie szerokości i górnej krawędzi z lewą kolumną. */
#g-aside {
  padding: 0 0 0 24px;
}
#g-aside .g-content {
  margin: 0 0 22px !important;
  padding: 0 !important;
}
@media (max-width: 50.99rem) {
  #g-aside {
    padding: 24px 0 0;
  }
}
/* Kafelek, tytuł i pozycje menu - wspólne dla kolejnych modułów. */
#g-aside .g-module-position {
  margin-top: 0 !important;
}
#g-aside .moduletable {
  background: var(--prawe-menu-tlo);
  border: 1px solid var(--prawe-menu-ramka);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 5px 18px rgba(45, 74, 119, 0.07);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
#g-aside .moduletable > h3 {
  color: var(--prawe-menu-naglowek);
  margin: 0 0 16px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--prawe-menu-linia);
}
#g-aside .mod-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
#g-aside .mod-menu li {
  margin: 0;
  padding: 0;
}
#g-aside .mod-menu li + li {
  border-top: 1px solid var(--prawe-menu-podzial);
}
#g-aside .mod-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--prawe-menu-tekst);
  line-height: 1.5;
  transition: background-color 0.18s, color 0.18s;
}
#g-aside .mod-menu a:hover, #g-aside .mod-menu a:focus-visible, #g-aside .mod-menu .current > a {
  background: var(--prawe-menu-najechanie);
  color: var(--prawe-menu-aktywny);
}
#g-aside a:focus-visible {
  outline: 3px solid #376cb4;
  outline-offset: 3px;
}
/* KONIEC STYLÓW PRAWEGO MENU */
/* PRAWA KOLUMNA: każdy moduł jest osobnym kafelkiem o wysokości treści.
   Działa również, gdy Joomla renderuje moduł bez dodatkowej ramki. */
#g-aside .g-module-position > .platform-content {
  background: var(--prawe-menu-tlo);
  border: 1px solid var(--prawe-menu-ramka);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 5px 18px rgba(45, 74, 119, 0.07);
  overflow-wrap: anywhere;
  height: auto;
  min-height: 0;
}
#g-aside .g-module-position > .platform-content > .moduletable {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  height: auto !important;
  min-height: 0 !important;
}
/*# sourceMappingURL=custom_40.css.map */