/* Additions for the static soloof.de site.
   Everything else comes from css/site.css (shared styles) and css/<page>.css (page). */

/* keep images responsive inside the content */
img {
  max-width: 100%;
  height: auto;
}

/* no horizontal scrolling from off-canvas menus */
body {
  overflow-x: hidden;
}

/* image lightbox (see js/main.js) */
.soloof-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.soloof-lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.soloof-lightbox-close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* keep the close glyph white even on hover/focus/press */
.soloof-lightbox-close:hover,
.soloof-lightbox-close:focus,
.soloof-lightbox-close:focus-visible,
.soloof-lightbox-close:active {
  color: #fff;
}

/* the skip link must not show unless focused */
.sf-sr-only:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100001;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  overflow: visible;
  clip: auto;
  background: #fff;
  color: #0b1220;
}
/* emphasis and alignment used in the page copy */
.sf-emphasis {
  font-size: 14pt;
}

.sf-text-justify {
  text-align: justify;
}

/* contact form fields */
.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-weight: 600;
}

input.contact-input,
select.contact-input,
textarea.contact-input {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
