/* ------------------------------------------------------------------
   Mars Media Producties - Marsha Walraven
   Statische HTML-versie, look and feel gebaseerd op het Joomla-template
   "marsha" (templates/marsha/css/template.css)
   ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --groen: #61b902;
  --groen-donker: #478701;
  --grijs: #a1aca8;
  --zwart: #000000;
  --tekst: #333333;
}

* { box-sizing: border-box; }

html { overflow-y: scroll; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tekst);
  background: #ffffff;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------------- Navigatie ---------------- */

.navigatie {
  background: var(--zwart);
  margin-bottom: 0;
}

.navigatie .container { position: relative; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  padding: 8px 12px;
  margin: 8px 0;
  cursor: pointer;
}

ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.menu > li {
  display: inline-block;
  position: relative;
}

ul.menu > li > a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 14px;
  font-size: 14px;
}

ul.menu > li > a:hover,
ul.menu > li:hover > a,
ul.menu > li.active > a {
  background: var(--groen);
  color: #ffffff;
}

ul.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--zwart);
  display: none;
  z-index: 100;
}

ul.menu li:hover > ul,
ul.menu li.open > ul { display: block; }

ul.menu ul li a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  font-size: 13px;
  border-top: 1px solid #222;
}

ul.menu ul li a:hover,
ul.menu ul li.active > a { background: var(--groen); }

/* ---------------- Header: witte balk met logo ---------------- */

.header-top {
  background: #ffffff;
  padding: 20px 0;
}

.header-top .header { padding: 10px 0; }

.header-top .header img {
  width: auto;
  max-width: 100%;
}

/* ---------------- Header: groene balk met claims + afbeelding ---------------- */

.header-bottom { background: var(--groen); }

.header-bottom .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.header-bottom .col-claims {
  width: 50%;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

.header-bottom .col-headerimage {
  width: 50%;
  padding: 0;
  overflow: hidden;
}

.header-bottom .col-headerimage img {
  width: 65%;
  height: 65%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.hero-unit { padding: 20px 0; width: 100%; }

.hero-unit p {
  background: var(--zwart);
  color: #ffffff;
  padding: 5px;
  display: inline-block;
  float: left;
  clear: both;
  margin: 0 0 4px 0;
  font-size: 16px;
}

.hero-unit::after { content: ""; display: table; clear: both; }

@media (min-width: 1200px) {
  .header-bottom .col-headerimage img { min-height: 335px; }
}

/* ---------------- Content ---------------- */

.content .row {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -15px;
}

.col-main {
  width: 66.6667%;
  padding: 0 15px;
}

.col-side {
  width: 33.3333%;
  padding: 0 15px;
}

.col-full {
  width: 100%;
  padding: 0 15px;
}

div.sidebar {
  margin-top: 90px;
  border-left: 4px solid var(--groen);
  padding-left: 20px;
}

.home div.sidebar { margin-top: 0; }

/* ---------------- Typografie ---------------- */

h1 {
  color: var(--groen);
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 20px;
}

div.page-header {
  border: none;
  margin: 0;
}

h2, h2 a {
  color: var(--groen);
  font-size: 24px;
  font-weight: normal;
  margin-top: 30px;
  margin-bottom: 5px;
}

h2 a { text-decoration: none; }
h2 a:hover { text-decoration: underline; }

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 8px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 6px;
}

.moduletable h3 {
  font-size: 24px;
  color: var(--groen);
  font-weight: normal;
}

p {
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 14px;
}

ul, ol { line-height: 21px; }

a {
  color: var(--groen-donker);
  text-decoration: underline;
}

a:hover {
  color: var(--groen);
  text-decoration: none;
}

blockquote {
  margin: 0 0 14px;
  padding: 0;
  font-style: italic;
}

img { max-width: 100%; height: auto; }

/* ---------------- Knoppen ---------------- */

a.button,
.readmore a,
a.readmore,
input[type='submit'] {
  display: inline-block;
  background: var(--grijs);
  border: 1px solid var(--grijs);
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  padding: 2px 5px;
  font-size: 13px;
}

a.button:hover,
.readmore a:hover,
a.readmore:hover,
input[type='submit']:hover {
  background: var(--groen);
  border-color: var(--groen);
  color: #ffffff;
}

a.button,
input[type='submit'],
.blokken a.readmore {
  background: var(--groen);
  border: 1px solid var(--groen);
  padding: 5px 10px;
}

a.button:hover,
input[type='submit']:hover,
.blokken a.readmore:hover {
  background: var(--groen-donker);
  border-color: var(--groen-donker);
}

/* ---------------- Blokken (homepage) ---------------- */

.blokken {
  padding-bottom: 55px;
  border-bottom: 4px dashed var(--groen);
  margin-bottom: 32px;
}

.blokken .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.blokken .blok {
  width: 33.3333%;
  padding: 0 15px;
}

.blokken h3 {
  color: var(--groen);
  font-size: 24px;
  font-weight: normal;
  margin-top: 0;
}

.blokken h4 { font-size: 18px; margin-top: 0; }

/* ---------------- Items / lijsten ---------------- */

.item { margin-bottom: 30px; }

.item + .item {
  border-top: 1px dashed #dddddd;
  padding-top: 10px;
}

.tags {
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.tags li { display: inline-block; margin-right: 10px; }

.tags a,
.label-info {
  display: inline-block;
  background-color: var(--groen);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
}

.tags a:hover { background-color: var(--groen-donker); color: #ffffff; }

.logos { margin-bottom: 25px; }

.logos img {
  max-height: 60px;
  width: auto;
  margin: 0 12px 12px 0;
  vertical-align: middle;
}

.fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.fotos img { max-width: 32%; height: auto; }

.img-left {
  float: left;
  margin: 0 20px 15px 0;
  max-width: 40%;
}

.clearfix::after { content: ""; display: table; clear: both; }

/* ---------------- Sidebar modules ---------------- */

.moduletable { margin-bottom: 35px; }

.moduletable ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.moduletable ul li { margin-bottom: 8px; }

.moduletable h4 { font-size: 16px; margin: 0 0 6px; }

.moduletable h4 a { text-decoration: none; }

.quote-werkgebied { font-weight: 600; margin-bottom: 6px; }

.quote-tekst { font-style: italic; }

.quote-bron { font-size: 13px; }

/* ---------------- Contact ---------------- */

.contactform label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.contactform .veld { margin-bottom: 14px; }

.contactform input[type='text'],
.contactform input[type='email'],
.contactform textarea {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--groen);
  border-radius: 3px;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 14px;
}

.contactform textarea { min-height: 140px; }

.contactgegevens { margin-bottom: 25px; }

/* ---------------- Footer ---------------- */

div.footer {
  background: var(--groen);
  min-height: 120px;
  color: #ffffff;
  margin-top: 40px;
  padding: 20px 0;
}

div.footer a { color: #ffffff; }

div.footer p { margin-bottom: 6px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 991px) {
  .col-main, .col-side { width: 100%; }
  div.sidebar { margin-top: 40px; }
  .blokken .blok { width: 100%; margin-bottom: 25px; }
}

@media (max-width: 767px) {
  .header-bottom .col-claims,
  .header-bottom .col-headerimage { width: 100%; }
  .header-bottom .col-headerimage img { min-height: 0; height: auto; }
  .hero-unit p { font-size: 14px; }

  .nav-toggle { display: block; }

  ul.menu { display: none; padding-bottom: 10px; }
  ul.menu.open { display: block; }
  ul.menu > li { display: block; }

  ul.menu ul {
    position: static;
    display: block;
    min-width: 0;
    padding-left: 15px;
  }

  .fotos img { max-width: 100%; }

  .img-left { float: none; max-width: 100%; margin: 0 0 15px; }
}
