/* === KLEURENVARIABELEN DEFINIËREN === */

:root {
  --kleur-blauw: #e6ecfc;
  --kleur-lichtgrijs:  #fff;/* #f2f2f2;*/
  --kleur-blauw-donker: #2463cd;
}

/* === ALGEMENE STIJLEN === */

body.custom-background {
  background-color: var(--kleur-blauw) !important;
}

#page,
#main,
.site-content,
#primary,
#content,
.entry-content {
  background-color: var(--kleur-blauw) !important;
}

#wp-custom-header {
  background-color: var(--kleur-lichtgrijs) !important;
}

.header-post-title-container {
  background-color: white !important;
  padding: 20px 0;
}

.site-header,
#masthead,
.main-navigation,
#header-text-nav-container,
#spacious-header-display-one {
  background-color:  white; /*var(--kleur-blauw) !important;*/

}

/* === TITELS & TEKSTBLOKKEN === */

h1,
h2,
h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  color: var(--kleur-blauw-donker);
  margin-top: 5px;
}

h1,
h1.entry-title,
.header-post-title-class {
  font-size: 30px !important;
  background-color: var(--kleur-blauw);
  padding: 0  /*10px 15px*/;
  /*border-radius: 4px;*/
  color: white;
}

h2 {
  font-size: 22px;
  padding: 8px 12px;
  margin-top: 5px;
  background-color: var(--kleur-blauw);
  border-radius: 4px;
}

h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--tekstkleur-titel);
  padding: 8px 12px;
  background-color: var(--kleur-blauw);
  border-radius: 4px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content li {
  background-color: var(--kleur-blauw);
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 15px;
}

/* === MENU STIJLEN === */

.main-navigation ul ul {
  font-size: 15px !important;
  background: var(--kleur-lichtgrijs) !important;
  border: 1px solid #ddd;
  min-width: unset !important;
  width: auto !important;
  white-space: nowrap !important;
}

.main-navigation ul ul li a {
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.3;
  padding: 6px 14px;
  color: #333 !important;
  text-align: left;
}

.main-navigation ul ul li a:hover {
  background-color: var(--kleur-hover-submenu) !important;
  color: var(--kleur-blauw-donker) !important;
  font-weight: 600;
}

.main-navigation a {
  font-weight: 600;
}

.main-navigation ul li:hover > a,
.main-navigation ul li.focus > a {
  background-color: var(--kleur-blauw) !important;
  font-weight: 600 !important;
}

.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.focus > a {
  background-color: var(--kleur-blauw) !important;
  font-weight: 600;
}

#site-navigation .main-navigation ul li.current-menu-parent > a,
#site-navigation .main-navigation ul li.current-menu-ancestor> a,
.current-menu-item {
  color: #333 !important;
  background: transparent !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* === FORMULIEREN EN OVERIG === */

input[type="tel"] {
  padding: 1%;
  border: 1px solid #EAEAEA;
  line-height: 20px;
  width: 98%;
  margin: 0 0 30px;
  background-color: #F8F8F8;
  border-radius: 3px;
}

.copyright {
  display: none !important;
}

/* Flexbox-forcering met !important */

.wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 40px !important;
}

/* Ieder checkbox-item krijgt ongeveer 48% breedte */

.wpcf7-checkbox .wpcf7-list-item {
  width: 48% !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 6px !important;
}

/*HEADER BALK STYLING*/

.header-post-title-container {
  background: #2463cd !important;
  /*padding: 2em 0 2em 2.5em;*/
  /* ruimte boven/onder/links */
 /* border-radius: 0.7em;*/
  box-shadow: 0 2px 8px rgba(36, 99, 205, 0.07);
}

.header-post-title-container .header-post-title-class,
.header-post-title-container h1 {
  color: #fff !important;
  background: #2463cd !important;
}

.header-post-title-container .breadcrumb,
.header-post-title-container .breadcrumb a,
.header-post-title-container .breadcrumb-title,
.header-post-title-container .breadcrumb_last {
  color: #fff !important;
  opacity: 0.95;
}

.header-post-title-container .breadcrumb a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Responsive: tekst centreren op mobiel */

@media (max-width: 600px) {
  .header-post-title-container {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
  }

  .header-post-title-container .breadcrumb {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
}

/* Zet een mooie basis voor alle prijzentabellen */

table,
.prijzen {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
}

table td,
table th,
.prijzen td,
.prijzen th {
  padding: 1em;
  border: 1px solid #e4ecf7;
  text-align: left;
  vertical-align: top;
}

table tr:nth-child(even),
.prijzen tr:nth-child(even) {
  background-color: #f7faff;
}

table tr:nth-child(odd),
.prijzen tr:nth-child(odd) {
  background-color: #ffffff;
}

table td h3,
table td strong,
.prijzen td h3,
.prijzen td strong {
  margin: 0;
  font-size: 1.1em;
  color: #007acc;
}

/* Extra: iets meer ruimte onder H3 in cellen */

table td h3,
.prijzen td h3 {
  margin-bottom: 0.2em;
}

/*table tr:hover, .prijzen tr:hover {
  background-color: #e0f2ff;
}*/

/* Optioneel: tekst links uitlijnen, behalve laatste kolom (bedrag) */

table td:last-child,
.prijzen td:last-child {
  text-align: right;
  font-weight: bold;
  color: #007acc;
  font-size: 1.1em;
}