/* Migration fixes while the legacy theme CSS is still in use. */
img { max-width: 100%; height: auto; }
.wpb_animate_when_almost_visible { opacity: 1 !important; transform: none !important; }
.entry-footer { display: none; }
#menu-toggle {
  background: transparent;
  border: 0;
  padding: 0;
}
#menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: currentColor;
}
@media (max-width: 767px) {
  #nav-mobile-wrapper.open { display: block; }

  /* Keep logo, language switch and menu on one row on narrow screens. */
  .site-header .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  #logo {
    grid-column: 1;
    float: none;
    width: auto !important;
    max-width: 270px;
    min-width: 0;
    height: 60px;
    line-height: 60px;
  }
  #logo img {
    width: auto;
    max-width: 100%;
    max-height: 36px;
  }
  .lang-switch-mobile {
    grid-column: 2;
    position: static;
    transform: none;
    margin: 0;
  }
  #menu-toggle {
    grid-column: 3;
    justify-self: end;
    float: none;
    margin: 0;
  }
  #nav-mobile-wrapper {
    grid-column: 1 / -1;
    float: none;
    width: 100%;
  }
  #nav-mobile-wrapper #site-navigation {
    float: none;
  }
}
.vc_tta-panel .vc_tta-panel-body { display: none; }
.vc_tta-panel.vc_active .vc_tta-panel-body { display: block; }
.ztl-contact-over-map iframe { max-width: 100%; }

/* The theme positions the footer absolutely and reserves space with JS. */
#page.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#content.site-content {
  flex: 1 0 auto;
  padding-bottom: 0;
}
.site-footer {
  position: static;
}
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.footer-right #ztl-social { margin: 0; }
.footer-right .lang-switch-footer { margin-bottom: 0; }
@media (max-width: 767px) {
  .footer-right { justify-content: center; }
}

/* Home page hero: static rebuild of the original Revolution Slider artwork.
   The whole 1050x600 stage scales with its container, like the old slider. */
.ztl-hero {
  position: relative;
  overflow: hidden;
  background: #fff url('/wp-content/uploads/revslider/kiddie/background-11.jpg') center center / cover no-repeat;
}
.ztl-hero-stage {
  position: relative;
  width: min(1050px, 100%);
  aspect-ratio: 1050 / 600;
  margin: 0 auto;
  container-type: inline-size;
  --u: calc(100cqw / 1050);
}
.ztl-hero-layer {
  position: absolute;
  display: block;
  height: auto;
}
.hero-cloud-1 { left: calc(988 * var(--u)); top: calc(-25 * var(--u)); width: calc(207 * var(--u)); z-index: 5; }
.hero-cloud-2 { left: calc(244 * var(--u)); top: calc(25 * var(--u)); width: calc(107 * var(--u)); z-index: 6; }
.hero-cloud-3 { left: calc(602 * var(--u)); top: calc(13 * var(--u)); width: calc(163 * var(--u)); z-index: 7; }
.hero-star-1 { left: calc(41 * var(--u)); top: calc(147 * var(--u)); width: calc(49 * var(--u)); z-index: 8; }
.hero-star-2 { left: calc(132 * var(--u)); top: calc(17 * var(--u)); width: calc(41 * var(--u)); z-index: 9; }
.hero-star-3 { left: calc(516 * var(--u)); top: calc(120 * var(--u)); width: calc(35 * var(--u)); z-index: 13; }
.hero-star-4 { left: calc(1080 * var(--u)); top: calc(189 * var(--u)); width: calc(35 * var(--u)); z-index: 14; }
.hero-star-5 { left: calc(422 * var(--u)); top: calc(60 * var(--u)); width: calc(35 * var(--u)); z-index: 16; }
.hero-rocket { left: calc(830 * var(--u)); top: calc(92 * var(--u)); width: calc(41 * var(--u)); z-index: 15; }
.hero-kids { left: calc(1 * var(--u)); top: calc(102 * var(--u)); width: calc(565 * var(--u)); z-index: 18; }
.hero-crocodile { left: calc(765 * var(--u)); top: calc(445 * var(--u)); width: calc(288 * var(--u)); z-index: 17; }
.ztl-hero-lead,
.ztl-hero-title,
.ztl-hero-small {
  position: absolute;
  margin: 0;
  color: #93c524;
  white-space: nowrap;
}
.ztl-hero-lead {
  left: calc(546 * var(--u));
  top: calc(150 * var(--u));
  font-family: 'Open Sans', sans-serif;
  font-size: calc(48 * var(--u));
  font-weight: 300;
  line-height: calc(48 * var(--u));
  z-index: 10;
}
.ztl-hero-title {
  left: calc(549 * var(--u));
  top: calc(215 * var(--u));
  font-family: 'Pacifico', cursive;
  font-size: calc(70 * var(--u));
  font-weight: 400;
  line-height: calc(90 * var(--u));
  z-index: 11;
}
.ztl-hero-small {
  left: calc(553 * var(--u));
  top: calc(316 * var(--u));
  font-family: 'Pacifico', cursive;
  font-size: calc(50 * var(--u));
  font-weight: 400;
  line-height: calc(50 * var(--u));
  z-index: 12;
}
.ztl-hero-cta {
  position: absolute;
  left: calc(596 * var(--u));
  top: calc(448 * var(--u));
  z-index: 19;
  display: inline-block;
  padding: max(calc(10 * var(--u)), 6px) max(calc(20 * var(--u)), 14px);
  border-radius: calc(5 * var(--u));
  background: #ffd823;
  color: #704825;
  font-family: 'Open Sans', sans-serif;
  font-size: max(calc(18 * var(--u)), 11px);
  font-weight: 400;
  line-height: calc(20 * var(--u));
  white-space: nowrap;
}
.ztl-hero-cta:hover {
  background: #704825;
  color: #ffd823;
  text-decoration: none;
}

/* Home page: replace the old Owl carousel with a static responsive grid. */
.home-staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.home-staff-grid .item { text-align: center; }
.home-staff-grid .circle-portrait {
  width: 190px;
  height: 190px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
}
.home-staff-grid .circle-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-staff-grid .staff-title { font-size: 20px; }
@media (max-width: 991px) {
  .home-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 480px) {
  .home-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-staff-grid .circle-portrait { width: 130px; height: 130px; }
  .home-staff-grid .staff-title { font-size: 16px; }
}

/* Gallery: FastGallery markup with a masonry layout. */
.gallery.fastgallery {
  position: relative;
  line-height: 0;
  margin: 0 0 4px;
}
.fastgallery .fg-gallery-item {
  position: relative;
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
}
.fastgallery.gallery-columns-4 .fg-gallery-item { width: calc(25% - 3px); }
.fastgallery .fg_clear { display: none; }
.fastgallery .fg_zoom {
  position: relative;
  overflow: hidden;
}
.fastgallery .fg_zoom > img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .55s ease-in;
}
.fastgallery .fg_zoom:hover > img { transform: scale(1.06); }
.fastgallery .fg_zoom > a {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  background: rgba(112, 72, 37, .28);
  transition: opacity .3s ease-in;
}
.fastgallery .fg_zoom:hover > a { opacity: 1; }
.gallery.gallery-size-fg-normal .fg_zoom { height: 100%; }
.gallery.gallery-size-fg-normal .fg_zoom > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fastgallery .fg-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}
.fastgallery .fg-zoom-icon::before { content: '+'; }
.fastgallery.is-masonry .fg-gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}
@media (max-width: 999px) {
  .fastgallery.gallery-columns-4 .fg-gallery-item { width: calc(33.333% - 3px); }
}
@media (max-width: 719px) {
  .fastgallery.gallery-columns-4 .fg-gallery-item { width: calc(50% - 2px); }
}

.lightbox {
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, .92);
  max-width: 96vw;
  max-height: 96vh;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox img { display: block; max-width: 92vw; max-height: 88vh; margin: auto; }
.lightbox-close {
  position: fixed;
  top: 12px;
  right: 18px;
  z-index: 2;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

/* Visual Composer custom classes extracted from the legacy theme. */
.vc_custom_1435087865321 { margin-right: 0px !important; margin-left: 0px !important; }
.vc_custom_1435087871722 { margin-right: 0px !important; margin-left: 0px !important; }
.vc_custom_1452369431116 { margin-top: -155px !important; margin-right: 0px !important; margin-left: 0px !important; background-color: rgba(255,255,255,0.9) !important; }
/* The contact card row was a Visual Composer full-width row. */
.vc_row.ztl-contact-over-map.vc_custom_1452369431116 {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(25px, calc(50vw - 500px));
  padding-right: max(25px, calc(50vw - 500px));
  overflow: hidden;
}
.vc_custom_1452523135109 { padding-top: 0px !important; }
.vc_custom_1452523166923 { margin-top: 0px !important; padding-top: 0px !important; }
.vc_custom_1452524275296 { margin-top: 0px !important; padding-top: 0px !important; }
.vc_custom_1452524283205 { margin-top: 0px !important; padding-top: 0px !important; }
.vc_custom_1457030116774 { margin-right: -20px !important; }
.vc_custom_1471891144722 { margin-right: 0px !important; margin-left: 0px !important; background-color: #ffffff !important; background-position: center !important; background-repeat: no-repeat !important; background-size: cover !important; }
.vc_custom_1471891647155 { margin-top: 15px !important; margin-bottom: 15px !important; background-color: #f6f6f6 !important; border-radius: 20px !important; }
.vc_custom_1471891661430 { margin-top: 15px !important; margin-bottom: 15px !important; background-color: #f6f6f6 !important; border-radius: 20px !important; }
.vc_custom_1471891678651 { margin-top: 15px !important; margin-bottom: 15px !important; background-color: #f6f6f6 !important; border-radius: 20px !important; }
.vc_custom_1532860043924 { margin-bottom: 32px !important; }
.vc_custom_1532860164052 { margin-bottom: 32px !important; }
.vc_custom_1532861995430 { margin-bottom: 32px !important; }
.vc_custom_1532862005004 { margin-bottom: 32px !important; }
.vc_custom_1532862331366 { margin-bottom: 32px !important; }
.vc_custom_1532880676033 { padding-bottom: 30px !important; }
.vc_custom_1532937999856 { margin-bottom: 32px !important; }
.vc_custom_1532938745851 { margin-bottom: 32px !important; }
.vc_custom_1534402995842 { margin-bottom: 32px !important; }
.vc_custom_1534403026858 { margin-bottom: 32px !important; }
.vc_custom_1534403173157 { margin-bottom: 32px !important; }
.vc_custom_1534403214762 { margin-bottom: 32px !important; }
.vc_custom_1534403569362 { margin-bottom: 32px !important; }
.vc_custom_1534403648009 { margin-bottom: 32px !important; }
.vc_custom_1534403901077 { padding-bottom: 30px !important; }
.vc_custom_1534404292163 { margin-top: 0px !important; padding-top: 0px !important; }
.vc_custom_1534450397448 { margin-bottom: 32px !important; }
.vc_custom_1534857425169 { margin-bottom: 32px !important; }
.vc_custom_1537897256498 { padding-bottom: 35px !important; }
.vc_custom_1537897262385 { padding-bottom: 35px !important; }
.vc_custom_1540065249234 { padding-bottom: 30px !important; }
.vc_custom_1540130400458 { margin-bottom: 32px !important; }
.vc_custom_1540130406842 { margin-bottom: 32px !important; }
.vc_custom_1555089079034 { margin-bottom: 32px !important; }
.vc_custom_1555089097635 { margin-bottom: 32px !important; }
.vc_custom_1555089359641 { margin-bottom: 32px !important; }
.vc_custom_1563880285219 { padding-bottom: 35px !important; }
.vc_custom_1574685623062 { margin-top: 32px !important; margin-bottom: 32px !important; }
.vc_custom_1574685660002 { margin-top: 32px !important; margin-bottom: 32px !important; }
.vc_custom_1605650244352 { margin-bottom: 32px !important; }
