/* Small replacements for behaviour previously provided by Jimdo scripts. */
#content_area {
  overflow-wrap: anywhere;
}
.legacy-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.legacy-form-status {
  margin-top: 1rem;
  line-height: 1.6;
}
.cc-m-form-loading {
  display: none !important;
}
.legacy-embed-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-height: 180px;
  background: #717677;
  color: white;
  border: 0;
  padding: 24px;
  cursor: pointer;
  font: inherit;
}
.legacy-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.legacy-lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 12px;
  border: 0;
}
.legacy-lightbox::backdrop {
  background: rgb(0 0 0 / 80%);
}
.legacy-lightbox img {
  display: block;
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
}
.legacy-lightbox button {
  display: block;
  margin: 0 0 10px auto;
  padding: 10px 20px;
}
.j-gallery img {
  visibility: visible !important;
  opacity: 1 !important;
}
.j-gallery .cc-m-gallery-container:not(.cc-m-gallery-slider) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  height: auto !important;
}
.j-gallery .cc-m-gallery-container:not(.cc-m-gallery-slider) > div {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  float: none !important;
}
.j-gallery .cc-m-gallery-container:not(.cc-m-gallery-slider) img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}
@media (max-width: 600px) {
  .j-gallery .cc-m-gallery-container:not(.cc-m-gallery-slider) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.j-gallery .cc-m-gallery-slider {
  display: block !important;
  height: auto !important;
  max-width: 100%;
}
.cc-m-gallery-slider > ul {
  display: block !important;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  touch-action: pan-y;
}
.cc-m-gallery-slider > ul > li {
  display: block;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.legacy-slider-ready > ul {
  position: relative;
  height: clamp(260px, 52vw, 500px);
}
.legacy-slider-ready > ul > li {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
.legacy-slider-ready > ul > li[hidden] {
  display: none !important;
}
.legacy-slider-ready > ul > li > a {
  display: block;
  height: 100%;
}
.legacy-slider-ready > ul > li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.legacy-slider-ready .cc-m-gallery-slider-bar,
.legacy-slider-ready .cc-m-gallery-slider-thumbnails-wrapper {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
.legacy-slider-ready .cc-m-gallery-slider-thumbnails {
  display: flex !important;
  justify-content: center;
  overflow-x: auto;
  width: 100% !important;
  height: auto !important;
}
.legacy-slider-ready .cc-m-gallery-slider-thumbnails > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  min-height: 44px;
  box-sizing: border-box;
  margin: 0 !important;
  border: 2px solid transparent;
}
.legacy-slider-ready .cc-m-gallery-slider-thumbnails > a[aria-current] {
  border-color: #9d1a63;
  opacity: 1;
}
.legacy-slider-ready .cc-m-gallery-slider-thumbnails img {
  width: 25px;
  height: 25px;
}
.legacy-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.legacy-slider-controls button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #777;
  background: white;
  color: #222;
  font: inherit;
  cursor: pointer;
}
.legacy-slider-counter {
  padding: 8px;
  white-space: nowrap;
}
[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 1169px) {
  .legacy-nav-open > ul {
    display: block !important;
  }
  .jmd-nav__toggle-button {
    cursor: pointer;
  }
  .cc-m-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  .cc-m-form textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
}
