/* ==========================================================
   Ergaenzungen fuer die Gintoft-Seiten
   (Vorlage: Corfu Villa am Meer - main.css bleibt unveraendert)
   ========================================================== */

/* Headerfotos (und Schlussbild der Startseite) fuellen immer die volle Bildschirmbreite */
#hero-area img,
#kontakt > img { width: 100%; max-width: none; height: auto; }
/* Headerfoto ohne grauen Muster-Schleier der Vorlage (volle, kraeftige Farben) */
#hero-area.klar:before { display: none; }

/* Hintergrundbilder mit Gintoft-Fotos statt Korfu */
#blog       { background-image: url("../images/ferienhaus/f100.jpg"); }
#about-lage { background-image: url("../images/lage/l100.jpg"); }
#about-lage .bildband { height: 420px; }

/* Grosse blaue Ueberschrift wie auf der Korfu-Seite */
.heading span.seitentitel,
.seitentitel {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 48px;
  line-height: 1.15;
  color: #003399;
  font-weight: normal;
}

/* Fliesstext */
.text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #333333;
  text-align: left;
  font-weight: normal;
}
.text b { color: #222222; }
#price .block > p.text,
#price .block p.text { color: #333333; }
.text a { font-size: 16px; color: #0066CC; }
.text a.rot { color: #FF3333; font-weight: bold; }
.text .rot { color: #FF3333; }

/* Galerie: Hand-Cursor auf den Vorschaubildern (Grossansicht per Klick) */
.gallery a img { cursor: zoom-in; }

/* Karussell: keine Pfeile ueber der Fotoleiste, aktiver Punkt dunkelblau */
#slider .block .owl-carousel .owl-buttons { display: none; }
#slider .block .owl-carousel .owl-pagination .active { background: #003366; }

/* ---------- Grossansicht (Lightbox) wie auf corfu-villa-am-meer.de ----------
   Bild so gross wie das Fenster erlaubt, dunkler Hintergrund, kein Rahmen.
   (Code in js/main.js; die alten Lightbox-Regeln der Vorlage in main.css werden hier neutralisiert) */
.owl-carousel a { display: block; text-decoration: none; }
.owl-carousel img { cursor: zoom-in; }

html.lb-offen,
html.lb-offen body { overflow: hidden; }

#lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000; /* ueber der Navigation */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 56px 80px;
  border: 0;
  background: rgba(10, 20, 30, 0.94);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: lb-ein 0.2s ease-out;
}
#lightbox[hidden] { display: none; }
#lightbox .lb-figur { margin: 0; text-align: center; }
#lightbox img.lb-bild {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: none;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  cursor: default;
  transition: opacity 0.2s;
}
#lightbox.lb-laedt img.lb-bild { opacity: 0.35; }
#lightbox .lb-text {
  margin-top: 10px;
  color: #eee;
  font: italic 15px/1.4 Arial, Helvetica, sans-serif;
  text-align: center;
}
#lightbox .lb-text[hidden] { display: none; }

#lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0;
  cursor: pointer;
  transition: background 0.2s;
}
#lightbox button[hidden] { display: none; }
#lightbox button:hover,
#lightbox button:focus { background: rgba(255, 255, 255, 0.3); outline: none; }
#lightbox button.lb-zu      { top: 14px; right: 14px; left: auto; bottom: auto; margin-top: 0; }
#lightbox button.lb-zurueck { top: 50%; left: 14px; right: auto; bottom: auto; margin-top: -26px; }
#lightbox button.lb-vor     { top: 50%; right: 14px; left: auto; bottom: auto; margin-top: -26px; }
#lightbox .lb-zaehler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  color: #bbb;
  font: 14px Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  text-align: center;
  pointer-events: none;
}

/* Handy: Bild nutzt die volle Breite, Pfeile wandern nach unten */
@media (max-width: 767px) {
  #lightbox { padding: 64px 6px 76px; }
  #lightbox button.lb-zurueck,
  #lightbox button.lb-vor { top: auto; bottom: 10px; margin-top: 0; }
  #lightbox button.lb-zurueck { left: 20px; }
  #lightbox button.lb-vor { right: 20px; }
  #lightbox .lb-zaehler { bottom: 26px; }
}

@keyframes lb-ein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Belegungskalender ---------- */
#blog .block ul.kalender { padding-top: 30px; }
#blog .block ul.kalender li { padding-bottom: 20px; }
#blog .block ul.kalender li .content-left { width: 100%; padding: 25px 10px 0; }
table.kal {
  width: 240px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 1px;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #000;
}
table.kal td { height: 22px; text-align: center; width: 14.28%; }
table.kal tr.monat td {
  background: #0066CC;
  color: #fff;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}
table.kal tr.wt td { background: #A7C8ED; font-weight: bold; }
/* belegt / Anreise / Abreise / Wechsel (Abreise + Anreise am selben Tag) */
table.kal td.b,  .legende .b  { background: #b8bbbe; }
table.kal td.an, .legende .an { background: url("../images/t/zellenhintergrund%201.JPG") center / 100% 100% no-repeat; }
table.kal td.ab, .legende .ab { background: url("../images/t/zellenhintergrund%202.JPG") center / 100% 100% no-repeat; }
table.kal td.w,  .legende .w  { background: url("../images/t/zellenhintergrund%20Wechsel.JPG") center / 100% 100% no-repeat; }

.legende { margin: 10px 0 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.legende span.feld {
  display: inline-block;
  width: 22px;
  height: 18px;
  border: 1px solid #A7C8ED;
  vertical-align: middle;
  margin: 0 6px 0 0;
  background-color: #fff;
}
.legende span.eintrag { display: inline-block; white-space: nowrap; margin: 0 18px 6px 0; }
.legende span.feld.b { background-color: #b8bbbe; }
#blog .block1 ul li .content-unten { padding: 15px 35px 20px; }
#blog .block1 ul li .content-unten p { font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 24px; padding-top: 10px; }

/* ---------- Kontakt / Anfahrt ---------- */
/* Sprungmarke etwas oberhalb, damit das feste Menue die Ueberschrift nicht verdeckt */
.anker { display: block; position: relative; top: -190px; visibility: hidden; }
.anfahrt img.skizze { width: 100%; max-width: 578px; height: auto; border: 1px solid #A7C8ED; }
.kontaktblock { padding: 30px 0 10px; }
.anfahrt { padding: 10px 0 40px; }
.anfahrt img { max-width: 100%; height: auto; border-radius: 2px; }
.anfahrt .bildunterschrift {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  color: #FF0000;
  text-align: center;
  padding: 12px 0 25px;
}

/* Logo darf auf schmalen Bildschirmen nicht ueberstehen */
nav .block .navbar-default .navbar-brand img { max-width: 100%; height: auto; }

/* Menue mit 5 Reitern: auf mittelgrossen Bildschirmen Logo und Abstaende verkleinern,
   damit alles in eine Zeile passt */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  nav .block .navbar-default .navbar-brand img { max-width: 320px; }
  nav .block .navbar-default .navbar-nav > li > a { margin: 0 10px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  nav .block { padding: 20px 20px; }
  nav .block .navbar-default .navbar-brand img { max-width: 230px; }
  nav .block .navbar-default .navbar-nav > li > a { margin: 0 6px; font-size: 13px; }
}

/* ---------- Mobil ---------- */
@media only screen and (max-width: 991px) {
  #blog .block ul.kalender li { width: 50%; }
}
@media only screen and (max-width: 600px) {
  #blog .block ul.kalender li { width: 100%; }
  .heading span.seitentitel, .seitentitel { font-size: 32px; }
  /* Handy-Hochformat: Titel so gross wie moeglich (Platz bis zum Menue-Knopf), auf Home und
     Ferienhaus zweizeilig (picture-Element, images/t/titel-home-mobil.png) - wie FeWo Hamburg (21.11.) */
  nav .block .navbar-default .navbar-brand { max-width: calc(100% - 62px); height: auto; padding-top: 10px; padding-bottom: 10px; }
  nav .block .navbar-default .navbar-brand img { padding-left: 0; }
  nav .block .navbar-default .navbar-brand img.titel-mobil { width: 100%; max-width: 330px; }
  #about-lage .bildband { height: 220px; }
}

/* Seitentitel (Grafik mit weisser Hinterlegung) etwas hoeher im Menue-Balken (21.11., wie FeWo Hamburg) */
@media only screen and (min-width: 768px) {
  nav .block .navbar-default .navbar-brand { position: relative; top: -25px; }
}

/* Heller Menuebalken etwas transparenter (21.11.; Vorlage: 0.89) */
nav .block { background: rgba(255, 255, 255, 0.75); }
