/* Zalucha Advocatuur – statische versie van het WordPress-thema (ontwerp: Grafisch lokaal) */

*, *::before, *::after { box-sizing: border-box; }
html, body, div, p, h1, h2, h3, h4, ul, li, form, img { margin: 0; padding: 0; border: 0; }
img { display: block; max-width: 100%; height: auto; }

body {
  background: #f1f1f1;
  color: #333;
  font: 12px/20px Arial, Helvetica, sans-serif;
}

#wrapper {
  width: 940px;
  margin: 0 auto;
  background: #fff;
}

/* ---------- Header ---------- */
#branding { overflow: hidden; }
#branding .logo { float: right; margin-right: 16px; }
#site-description {
  clear: both;
  margin: 0 0 8px 60px;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  font-style: italic;
  line-height: 18px;
}
#branding .header-img { clear: both; width: 100%; }

/* ---------- Menu ---------- */
#access {
  background: #000;
  font: 13px/38px "Helvetica Neue", Arial, Helvetica, sans-serif;
  padding-left: 12px;
  position: relative;
  z-index: 10;
}
#access ul { list-style: none; }
#access .menu::after { content: ""; display: table; clear: both; }
#access .menu > li { float: left; position: relative; }
#access a {
  display: block;
  padding: 0 10px;
  color: #aaa;
  text-decoration: none;
}
#access li:hover > a,
#access li:focus-within > a { background: #333; color: #efece9; }
#access li.current > a { background: #d1cbc4; color: #000; }
#access .sub-menu {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  width: 180px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, .2);
}
#access li:hover > .sub-menu,
#access li:focus-within > .sub-menu { display: block; }
#access .sub-menu a {
  background: #333;
  color: #aaa;
  line-height: 1em;
  padding: 10px;
}
#access .sub-menu a:hover,
#access .sub-menu a:focus { color: #efece9; }
#access .sub-menu li.current > a { background: #d1cbc4; color: #000; }
.menu-toggle { display: none; }

/* ---------- Inhoud ---------- */
#main {
  display: flex;
  align-items: stretch;
  /* watermerk loopt (zoals in het origineel) door tot achter de groene zijbalk */
  background: url(/images/zalucha_watermerk.gif) no-repeat right top;
}
#container {
  flex: 1;
  min-width: 0;
  min-height: 562px;
}
#content {
  margin: 22px 48px 36px 60px;
}
#content p,
#content ul { margin-bottom: 24px; }
#content ul { list-style: square; margin-left: 1.5em; }
#content ul.bullets { list-style: none; margin-left: 0; }
#content ul.bullets li::before { content: "• "; }
#content a { color: #333; text-decoration: underline; }
#content a:hover { color: #699418; }

#content h1,
#content h2,
#content h4 {
  color: #000;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5em;
}
#content h1 + p { margin-top: 0; }
#content h3 {
  color: #699418;
  font: normal 28px/40px Georgia, "Times New Roman", Times, serif;
  margin-bottom: 30px;
}
#content h3 a { color: #699418; }
.crumbs { margin-bottom: 36px !important; }
.crumbs strong { color: #333; }

/* ---------- Contactformulier ---------- */
.contactform input[type="text"],
.contactform input[type="email"],
.contactform textarea {
  background: #f9f9f9;
  border: 1px solid #ccc;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .1);
  padding: 2px;
  font: inherit;
  color: #333;
  width: 300px;
  max-width: 100%;
}
.contactform textarea { width: 100%; max-width: 480px; }
.contactform label { color: #333; }
.contactform input[type="submit"] {
  font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
  padding: 3px 10px;
  cursor: pointer;
}
.contactform p { margin-bottom: 8px !important; }
.contactform .hp { position: absolute; left: -9999px; }
.form-melding { padding: 8px 12px; margin-bottom: 16px; border: 2px solid; }
.form-melding.ok { border-color: #699418; color: #3f5c0e; }
.form-melding.fout { border-color: #c0392b; color: #c0392b; }
.kaart { margin-bottom: 24px; }
.kaart iframe { width: 100%; max-width: 560px; }

/* ---------- Zijbalk ---------- */
#primary {
  flex: 0 0 250px;
  margin-right: 22px;
  padding: 22px;
  background: #699418;
  color: #fff;
  line-height: 24px;
}
#primary p { margin-bottom: 24px; }
.zijbalktekst a { color: #fff; text-decoration: underline; }
.zijbalktekst a.tel { text-decoration: none; }
.bel { margin-bottom: 18px !important; }
.patrycja { margin: 0 -22px 18px !important; }
.patrycja img { width: 250px; }
.disclaimer {
  color: #000;
  font-weight: normal;
  line-height: 18px;
  text-align: center;
}
.disclaimer a { color: #000; }
.disclaimer a:hover { color: #fff; }
.disclaimer img { display: inline; vertical-align: baseline; }


/* ---------- Smalle schermen (tablet/telefoon) ---------- */
@media (max-width: 960px) {
  #wrapper { width: auto; }
}
@media (max-width: 760px) {
  #branding .logo { display: block; float: none; margin: 16px auto 4px; width: 70%; max-width: 300px; }
  #site-description { margin: 0 16px 10px; text-align: center; }
  #access { padding-left: 0; }
  .menu-toggle {
    display: block;
    width: 100%;
    background: #000;
    color: #efece9;
    border: 0;
    font: inherit;
    font-size: 15px;
    line-height: 44px;
    text-align: left;
    padding: 0 16px;
    cursor: pointer;
  }
  .menu-toggle::after { content: " ☰"; float: right; }
  #hoofdmenu { display: none; }
  #hoofdmenu.open { display: block; }
  #access .menu > li { float: none; }
  #access a { padding: 0 16px; line-height: 44px; }
  #access .sub-menu { display: block; position: static; width: auto; box-shadow: none; }
  #access .sub-menu a { padding: 0 16px 0 32px; line-height: 40px; background: #1a1a1a; }

  #main { display: block; }
  #main { background-size: 80% auto; background-position: right 40px top 0; }
  #container { min-height: 0; }
  #content { margin: 20px 16px 28px; font-size: 14px; line-height: 22px; }
  #content h3 { font-size: 24px; line-height: 32px; margin-bottom: 20px; }
  .crumbs { margin-bottom: 20px !important; }
  .contactform input[type="text"],
  .contactform input[type="email"] { width: 100%; font-size: 16px; padding: 6px; }
  .contactform textarea { font-size: 16px; }
  #primary { margin: 0; }
  .patrycja { margin: 0 -22px 18px !important; }
  .patrycja img { width: 100%; }
  .bel img { margin: 0 auto; }
}
