/*
 * Printstijl (geladen met media="print", na alle andere stylesheets).
 *
 * Uitgangspunten:
 * - altijd licht: js/theme.js zet het thema tijdens het printen op licht;
 * - browsers printen standaard geen achtergronden, dus nergens witte tekst op een (weggevallen) blauw vlak;
 * - alleen inhoud: menu, slider, formulieren, rekenhulpen en knoppen vallen weg;
 * - kaarten, tabelrijen en blokken breken niet midden over twee pagina's.
 */

@page {
	size: A4;
	margin: 16mm 14mm 18mm;
}

/* ---- Algemeen --------------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-shadow: none !important;
	text-shadow: none !important;
	animation: none !important;
	transition: none !important;
}

html,
body {
	background: #fff !important;
	color: #1f2a33 !important;
}

body {
	font-size: 10.5pt;
	line-height: 1.5;
}

.animated,
.notanimated {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

img {
	max-width: 100% !important;
}

h1,
h2,
h3,
h4 {
	break-after: avoid;
	page-break-after: avoid;
}

p,
li {
	orphans: 3;
	widows: 3;
}

a {
	color: #0f72a3 !important;
	text-decoration: none !important;
}

/* Externe links in de tekst: het adres erachter, zodat het op papier bruikbaar blijft. */
.wrap-pos p a[href^="http"]::after,
.wrap-pos li a[href^="http"]::after {
	content: " (" attr(href) ")";
	font-size: 8.5pt;
	color: #5b666c;
	word-break: break-all;
}

/* Uitklapblokken (bijv. tarieven buiten werktijden) altijd open; js/tarieven.js en de browser openen ze ook. */
details::details-content {
	content-visibility: visible;
	display: block;
}

details > summary {
	list-style: none;
	font-weight: bold;
}

details > summary::-webkit-details-marker {
	display: none;
}

/* ---- Weglaten ---------------------------------------------------------------------------------- */
#header nav,
#header .cb-quicklinks,
.cb-menu-toggle,
.cb-mobile-menu,
.cb-mm-backdrop,
#banner,
#domain-sec,
.modal,
.modal-backdrop,
form.cb-reken,
.contact-form,
.cb-knop,
.cb-knop-rand,
.getstarted,
.button1,
.button2,
.cb-dr-bestel,
.cb-search-form,
.cb-reset-theme,
#footer .ftr-links,
#footer form,
#footer .social,
iframe,
video,
audio,
noscript {
	display: none !important;
}

/* ---- Kop: alleen het logo, zonder vaste positie of schaduwcurve --------------------------------- */
header,
#header,
#header.sticky-header {
	position: static !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 0 6mm !important;
	padding: 0 0 4mm !important;
	background: none !important;
	border-bottom: 1px solid #d5dde2;
}

#header::before,
#header::after {
	content: none !important;
}

#header .wrapper {
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
}

#logo {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#logo img {
	width: 170px !important;
	height: auto !important;
	filter: none !important;
}

.wrap-pos {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.wrapper,
.wrap-pos .wrapper {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ---- Dienstpagina's en tarieven: de blauwe band wordt een gewone kop ----------------------------- */
.cb-dienst-hero {
	margin: 0 0 6mm !important;
	padding: 0 !important;
	background: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
}

.cb-dienst-hero::before,
.cb-dienst-hero::after {
	content: none !important;
}

.cb-dienst-hero-in {
	display: block !important;
	width: auto !important;
	padding: 0 !important;
}

.cb-dienst-hero-in,
.cb-dienst-hero-text {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Iconen staan op scherm wit op blauw; zonder achtergrond blauw op wit. */
[class*="-icoon"] {
	background: none !important;
	color: #0f72a3 !important;
	border: 1px solid #cfe0ea !important;
}

/* Blokken die op scherm over de band schuiven, staan op papier er gewoon onder. */
.cb-cijfers,
.cb-prijskaarten,
.cb-reken {
	margin-top: 0 !important;
}

.cb-prijskaarten {
	margin-bottom: 6mm !important;
}

.cb-dienst-hero img {
	display: none !important;
}

.cb-dienst-hero *,
.cb-afsluiter,
.cb-afsluiter *,
.cb-reken-uitkomst,
.cb-reken-uitkomst * {
	color: #1f2a33 !important;
}

html body .cb-dienst-hero h1,
html body .cb-dienst h2,
html body .cb-afsluiter h2 {
	color: #0f72a3 !important;
}

.cb-dienst-label {
	letter-spacing: .08em;
	font-size: 8.5pt !important;
}

/* Rasters: twee kolommen op A4, blokken niet doorbreken. */
.cb-cijfers {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 3mm !important;
	margin: 0 0 6mm !important;
}

.cb-kaarten,
.cb-prijskaarten,
.cb-prijskaarten.is-vier,
.cb-tegels,
.cb-tegels.is-vier {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 4mm !important;
}

.cb-cijfer,
.cb-kaart,
.cb-prijskaart,
.cb-tegel,
.cb-uitgelicht,
.cb-afsluiter,
.cb-toeslagen,
.cb-toeslagen-lijst > div,
#services li,
.contact-service .address,
table,
tr {
	break-inside: avoid;
	page-break-inside: avoid;
}

.cb-cijfer,
.cb-kaart,
.cb-prijskaart,
.cb-tegel,
.cb-uitgelicht,
.cb-afsluiter,
.cb-toeslagen {
	background: none !important;
	border: 1px solid #d5dde2 !important;
	border-radius: 6px !important;
	transform: none !important;
}

.cb-prijskaart.is-uitgelicht {
	border: 2px solid #0f72a3 !important;
}

.cb-afsluiter {
	margin: 6mm 0 0 !important;
	padding: 4mm 5mm !important;
}

/* Hostingtabel: geen markering van een gekozen pakket op papier. */
.hosting .rightcol td.cb-gekozen,
.hosting-table.mobile.cb-gekozen {
	background: none !important;
	box-shadow: none !important;
}

/* ---- Homepage ---------------------------------------------------------------------------------- */
#services ul {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 5mm;
}

#services li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

/* ---- Contact: geen formulier, wel de gegevens --------------------------------------------------- */
.contact-service {
	float: none !important;
	width: auto !important;
}

/* ---- Footer: alleen de bedrijfsgegevens -------------------------------------------------------- */
body > div.container {
	min-height: 0 !important;
	height: auto !important;
	padding-bottom: 0 !important;
}

#footer {
	position: static !important;
	width: auto !important;
	margin-top: 8mm !important;
	padding: 4mm 0 0 !important;
	background: none !important;
	border-top: 1px solid #d5dde2;
	break-inside: avoid;
	page-break-inside: avoid;
}

#footer::before,
#footer::after {
	content: none !important;
}

#footer .wrapper {
	display: flex !important;
	justify-content: space-between;
	align-items: flex-end;
	gap: 6mm;
}

#footer .middleftr,
#footer .lastftr {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 9pt;
}

#footer .middleftr *,
#footer .lastftr * {
	color: #3c4a54 !important;
}

#footer .middleftr::before,
#footer .lastftr::before {
	content: none !important;
}

#footer .lastftr br {
	display: none;
}
