/*
 * Het "Greenery"-thema van de oude WordPress-site (design by Steve Mooradian),
 * met dezelfde afbeeldingen, kleuren en maten. Afwijkingen van het origineel:
 * floats in plaats van absolute positionering, en een smalle weergave voor
 * telefoons onderaan dit bestand.
 */

body {
  margin: 0;
  border: 0;
  font: 0.8em verdana, arial, sans-serif;
  line-height: 170%;
  color: #eee;
  background: #585858 url(/klassiek/bg_body.jpg) repeat-y top center;
}

a {
  color: #86e160;
}
a:hover {
  color: #fff;
}
:focus-visible {
  outline: 2px solid #86e160;
  outline-offset: 2px;
}
p {
  padding: 3px 3px 6px;
}

/* Kop met menu en naam */
#header {
  width: 100%;
  height: 3em;
  background: #585858 url(/klassiek/bg_header.jpg) repeat-y top center;
}
#menu {
  width: 766px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#menu ul {
  margin: 0;
  padding: 0;
  line-height: normal;
  display: flex;
}
#menu li {
  width: 8em;
  display: block;
  padding-top: 0.8em;
  list-style: none;
  text-align: center;
}
#menu li a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  padding-bottom: 1em;
  color: #222;
}
#menu li a:hover,
#menu li a.active {
  font-weight: 700;
  color: #111;
  background: url(/klassiek/menu_tab.gif) no-repeat bottom center;
}
#title {
  padding: 0.6em 15px 0 0;
  margin-right: 0.2em;
}
#title a {
  font: 700 18px/18px verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: #000;
  text-decoration: none;
}

/* Inhoud en zijbalk */
#wrapper {
  width: 767px;
  margin: 0 auto;
  display: flow-root;
}
#content {
  float: left;
  width: 425px;
  padding: 10px 0 20px 5px;
}
#sidebar {
  float: right;
  width: 204px;
  padding: 5px 5px 10px 125px;
  background: url(/klassiek/plants.jpg) no-repeat top left;
}

/* Paginatitel als grijze balk met afgeronde hoeken rechts */
.tekst h1 {
  margin: 10px 0 10px -5px;
  font: 700 1.5em/1em verdana, sans-serif;
  text-transform: uppercase;
  color: #7bd32c;
  background: #686868 url(/klassiek/rounded_tr.gif) no-repeat top right;
}
.tekst h1 span {
  display: block;
  padding: 5px;
  background: url(/klassiek/rounded_br.gif) no-repeat bottom right;
}
.tekst h2 {
  margin: 10px 0;
  font: 700 1em/1em verdana, sans-serif;
  text-transform: uppercase;
  color: #7bd32c;
}
.tekst ul {
  list-style-image: url(/klassiek/li_bullet.gif);
  padding-bottom: 6px;
}
.tekst li {
  margin-left: 2px;
  padding-left: 2px;
}
.tekst img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 6px 3px;
}
/* Meerdere foto's achter elkaar: twee naast elkaar, zoals de oude galerij. */
.tekst p:has(> img + img) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.tekst p:has(> img + img) img {
  margin: 0;
  width: 100%;
}

/* Zijbalk-menu: koppen als grijze balk met afgeronde hoeken links */
#sidebar section h2 {
  width: 135px;
  margin: 10px 0 0 35px;
  text-align: right;
  font: 700 1.3em/1em verdana, sans-serif;
  text-transform: uppercase;
  color: #7bd32c;
  background: #686868 url(/klassiek/rounded_tl.gif) no-repeat top left;
}
#sidebar section h2 span {
  display: block;
  padding: 4px;
  background: url(/klassiek/rounded_bl.gif) no-repeat bottom left;
}
#sidebar ul {
  list-style: disc;
  margin: 1em 0 1em 39px;
  padding-left: 20px;
  width: 115px;
}
#sidebar a[aria-current="page"] {
  color: #fff;
}

#footer {
  width: 135px;
  margin-left: 49px;
  padding: 10px;
  text-align: center;
  color: #888;
  font-size: 0.9em;
}
#footer p {
  padding-top: 0;
}
#footer a {
  color: #888;
}
#footer a:hover {
  color: #eee;
}

/* Contact */
.kaart {
  font-style: normal;
  padding: 3px 3px 6px;
}
.gegevens {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 1em;
  margin: 0;
  padding: 3px 3px 6px;
}
.gegevens dd {
  margin: 0;
}

/* Catalogus (Issuu) */
.catalogus {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}
.catalogus iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Telefoons: alles onder elkaar, zonder de vaste breedtes. */
@media (max-width: 780px) {
  body {
    background: #444;
  }
  #header {
    height: auto;
    display: flow-root;
  }
  #menu {
    width: auto;
    padding: 0 8px;
    display: flex;
    flex-direction: column-reverse;
  }
  #menu ul {
    flex-wrap: wrap;
  }
  #menu li {
    width: auto;
    padding: 0.6em 0.8em 0;
  }
  #title {
    padding: 0.8em 0 0;
  }
  #wrapper {
    width: auto;
    padding: 0 12px;
  }
  #content,
  #sidebar {
    float: none;
    width: auto;
  }
  #sidebar {
    min-height: 0;
    padding: 0 0 10px;
    background: none;
  }
  #sidebar section h2 {
    width: auto;
    margin-left: 0;
    text-align: left;
  }
  #footer {
    width: auto;
    margin: 0;
  }
  #sidebar ul {
    width: auto;
    margin-left: 0;
  }
}
