/* The blocks of Qsite's own website ([blok:...], App\Website). Every rule is under .qw,
   so the site's own design and Bootstrap 3 around it stay as they are. Sizes are in px, not rem:
   Bootstrap 3 sets the root font size to 10px, which made rem sizes too small in old designs. */
.qw {
  --qw-blue: #0072a1;
  --qw-ink: #004a6b;
  --qw-sky: #e6f5fc;
  --qw-orange: #f7941d;
  --qw-text: #222;
  --qw-muted: #666;
  --qw-border: #e5e5e5;
  --qw-radius: 12px;
  box-sizing: border-box;
  color: var(--qw-text);
  margin: 32px 0;
}
.qw *, .qw *::before, .qw *::after { box-sizing: inherit; }
.qw .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qw img { max-width: 100%; height: auto; display: block; }

.qw-button {
  display: inline-block; padding: 10.4px 17.6px; border-radius: 999px; border: 2px solid var(--qw-blue, #0072a1);
  color: var(--qw-blue, #0072a1); background: #fff; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.qw-button:hover, .qw-button:focus-visible { background: var(--qw-sky, #e6f5fc); text-decoration: none; }
.qw-button-primary { background: var(--qw-blue, #0072a1); color: #fff; }
.qw-button-primary:hover, .qw-button-primary:focus-visible { background: var(--qw-ink, #004a6b); color: #fff; }
.qw-cta { margin: 24px 0; }
.qw-cta .qw-button { border-color: #0072a1; }
.qw-cta .qw-button-primary { background: #0072a1; color: #fff; }
.qw-link { display: inline-block; margin: 8px 0 0 16px; color: var(--qw-blue); font-weight: 600; }
.qw-small { font-size: 13.6px; color: var(--qw-muted); }
.qw-note { font-weight: 600; margin: 4px 0 0; }
.qw-reassure { font-weight: 600; color: var(--qw-ink); margin: 16px 0 0; }
.qw-status { padding: 12px 16px; border-radius: 8px; background: #e8f5e9; color: #1b5e20; }
.qw-error { color: #c62828; margin: 5.6px 0 0; }

/* Pricing */
.qw-pricing-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 24px; }
.qw-tabs { display: inline-flex; border: 2px solid var(--qw-blue); border-radius: 999px; overflow: hidden; }
.qw .qw-tabs button {
  margin: 0 !important; border: 0 !important; border-radius: 0 !important; padding: 8.8px 19.2px !important; font: inherit !important; font-weight: 600 !important;
  background: #fff !important; color: var(--qw-blue) !important; cursor: pointer; box-shadow: none !important; min-height: 44px; line-height: 1.2 !important;
}
.qw .qw-tabs button[aria-selected="true"] { background: var(--qw-blue) !important; color: #fff !important; }
.qw .qw-tabs button:focus-visible { outline: 3px solid var(--qw-orange) !important; outline-offset: -3px; }
.qw-panel[hidden], .qw-toggle[hidden] { display: none; }
.qw-panel-title { margin-top: 0; }
.qw-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--qw-sky); flex-wrap: wrap; }
.qw-toggle label { margin: 0; padding: 7.2px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--qw-ink); }
.qw-toggle input { position: absolute; opacity: 0; }
.qw-toggle label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.qw-toggle label:has(input:focus-visible) { outline: 2px solid var(--qw-blue); }
.qw-plans { margin-bottom: 20px; display: grid; column-gap: 12px; row-gap: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.qw-plan { border: 1px solid var(--qw-border); border-radius: var(--qw-radius); padding: 16px; display: flex; flex-direction: column; background: #fff; min-width: 0; margin-bottom: 12px; }
/* The six parts of every card (name, price, excl., intro, lines, button) share rows, so the lines and buttons sit level. */
@supports (grid-template-rows: subgrid) {
  .qw-plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .qw-plan > * { min-width: 0; }
  .qw-plan .qw-plan-action { align-self: end; }
}
.qw-plan h3 { margin: 0 0 8px; font-size: 19.2px; }
.qw-plan-recommended { border: 2px solid var(--qw-orange); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.qw-badge { display: inline-block; margin-left: 5.6px; padding: 1.6px 8px; border-radius: 999px; background: var(--qw-orange); color: #222; font-size: 12px; vertical-align: middle; }
.qw-price { margin: 0; }
.qw-price strong { display: block; font-size: 28.8px; line-height: 1.2; color: var(--qw-ink); }
.qw-price span { display: block; color: var(--qw-muted); font-size: 13.6px; min-height: 2.4em; }
.qw-excl { font-size: 12.8px; color: var(--qw-muted); margin: 2.4px 0 0; }
.qw-plan .qw-button { width: 100%; padding-left: 8px; padding-right: 8px; }
.qw-intro { font-size: 14.4px; color: var(--qw-muted); margin: 12px 0 0; }
.qw-lines { list-style: none; margin: 16px 0; padding: 0; flex: 1; font-size: 14.4px; }
.qw-lines li { padding: 5.6px 0 5.6px 24px; border-top: 1px solid var(--qw-border); position: relative; overflow-wrap: anywhere; }
.qw-lines li::before { position: absolute; left: 2px; font-weight: 700; }
.qw-lines .qw-yes::before { content: "\2713"; color: #2e7d32; }
.qw-lines .qw-no { color: #757575; }
.qw-lines .qw-no::before { content: "\2013"; color: #757575; }
.qw-plan-action { margin: 0; }
.qw-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px; border-radius: var(--qw-radius); background: var(--qw-sky); margin: 8px 0 16px; }
.qw-band p { margin: 0; flex: 1 1 320px; }
/* Designs give paragraphs large margins (#normal p); in the pricing block they stay tight. */
.qw.qw-pricing .qw-band p, .qw.qw-pricing .qw-panel > p, .qw.qw-pricing > p { margin-top: 6px !important; margin-bottom: 6px !important; }
.qw.qw-pricing .qw-band p { margin: 0 !important; }
.qw-band strong { color: var(--qw-ink); }
.qw-compare { margin: 0 0 8px; padding: 8px 0; border-top: 1px solid var(--qw-border); border-bottom: 1px solid var(--qw-border); }
.qw-compare summary { cursor: pointer; font-weight: 600; color: var(--qw-blue); padding: 8px 0; }
.qw-compare-scroll { overflow-x: auto; }
.qw-compare table, .qw-domain-table table { width: 100%; border-collapse: collapse; font-size: 14.4px; }
.qw-compare th, .qw-compare td, .qw-domain-table th, .qw-domain-table td { padding: 8px; border-bottom: 1px solid var(--qw-border); text-align: left; vertical-align: top; }
.qw-compare thead th, .qw-domain-table thead th { color: var(--qw-ink); font-size: 13.6px; }
.qw-compare tbody th, .qw-domain-table tbody th { font-weight: 600; }
.qw-domain-table { max-width: 720px; margin: 16px 0; }

/* Template gallery */
.qw-gallery-tools { display: grid; gap: 12px; margin-bottom: 16px; }
.qw-search input, .qw-form input, .qw-form textarea {
  width: 100%; padding: 11.2px 14.4px; border: 1px solid #bbb; border-radius: 8px; font: inherit; color: inherit; background: #fff;
}
.qw-kinds { display: flex; flex-wrap: wrap; gap: 6.4px; }
.qw-kind { border: 0; border-radius: 999px; padding: 5.6px 12.8px; background: var(--qw-sky); color: var(--qw-ink); font-weight: 600; cursor: pointer; font-size: 13.6px; }
.qw-kind[aria-pressed="true"] { background: var(--qw-ink); color: #fff; }
.qw-count { color: var(--qw-muted); }
.qw-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.qw-card { border: 1px solid var(--qw-border); border-radius: var(--qw-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.qw-card[hidden] { display: none; }
.qw-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: 1px solid var(--qw-border); }
.qw-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.qw-card-body h3 { margin: 0; font-size: 17.6px; }
.qw-card-body p { margin: 5.6px 0; font-size: 14.4px; }
.qw-card-kind { color: var(--qw-muted); font-size: 12.8px !important; }
.qw-card-actions { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 6.4px; padding-top: 8px; }
.qw-card-actions .qw-button { padding: 7.2px 12.8px; font-size: 13.6px; flex: 1 1 auto; }
.qw-more { text-align: center; margin-top: 24px; }
.qw-dialog { border: 0; border-radius: var(--qw-radius); padding: 0; max-width: min(960px, 94vw); }
.qw-dialog::backdrop { background: rgba(0,0,0,.6); }
.qw-dialog form { position: absolute; top: 8px; right: 8px; margin: 0; }

/* SEO check and lead forms */
.qw-form { display: grid; gap: 12px; max-width: 640px; }
.qw-inline { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.qw-inline input { flex: 1 1 240px; width: auto; }
.qw-optin { flex: 1 1 100%; margin: 0; }
.qw-optin label { display: inline-flex; gap: 8px; align-items: center; }
.qw-inline .qw-optin input { flex: none; width: auto; }
.qw-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.qw-result { margin-top: 20px; padding: 20px; border-radius: var(--qw-radius); background: var(--qw-sky); max-width: 720px; }
.qw-score { margin: 0; }
.qw-score strong { font-size: 48px; color: var(--qw-ink); }
.qw-score span { color: var(--qw-muted); }
.qw-tips li { margin-bottom: 6.4px; }
.qw-chosen { margin: 0; }
.qw-lead h2 { margin-top: 0; }

/* Sector pages */
.qw-hero { display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.qw-tagline { font-size: 19.2px; color: var(--qw-blue); font-weight: 600; }
.qw-browser { margin: 0; border-radius: var(--qw-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.15); border-top: 18px solid #e5e5e5; }
.qw-check { padding-left: 19.2px; }
.qw-check li, .qw-steps li { margin-bottom: 8px; }
.qw-faq dt { font-weight: 700; margin-top: 16px; }
.qw-faq dd { margin: 4px 0 0; }
.qw-sector section { margin-top: 32px; }
.qw-sectors { columns: 2 220px; padding-left: 19.2px; }

/* On a phone the plans sit under each other, with label and value on one line. */
@media (max-width: 560px) {
  .qw-plans { grid-template-columns: minmax(0, 1fr); }
  .qw-price span { min-height: 0; }
  .qw-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .qw-compare tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--qw-border); }
  .qw-compare tbody th, .qw-compare td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 2.4px 0; }
  .qw-compare td::before { content: attr(data-label); color: var(--qw-muted); }
}

@media (min-width: 800px) {
  .qw-hero { grid-template-columns: 1fr 1fr; }
}

/* Designs give headings large margins; inside the cards they stay tight. */
.qw.qw-gallery .qw-card-body h3 { margin: 0; line-height: 1.3; }
.qw.qw-gallery .qw-card-body p:not(.qw-card-kind):not(.qw-card-actions) {
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.qw.qw-pricing .qw-plan h3 { margin-top: 0; }
.qw.qw-gallery .qw-card img { margin: 0; border-radius: 0; box-shadow: none; border-width: 0 0 1px; }
.qw.qw-sector .qw-browser img { margin: 0; border-radius: 0; }

/* Some designs style headings and buttons by id (#normal h3, #normal button); inside the blocks these win. */
.qw .qw-card-body h3, .qw .qw-plan h3 { margin-top: 0 !important; }
.qw button.qw-kind {
  border: 0 !important; border-radius: 999px !important; padding: 5.6px 12.8px !important; font-size: 13.6px !important;
  background: var(--qw-sky) !important; color: var(--qw-ink) !important; box-shadow: none !important; min-height: 0 !important; line-height: 1.3 !important;
}
.qw button.qw-kind[aria-pressed="true"] { background: var(--qw-ink) !important; color: #fff !important; }

/* [blok:domeinnaam] (QSIT-264): the check, a row per extension, and the prices per year. */
.qw-domains { list-style: none; margin: 16px 0 8px; padding: 0; max-width: 640px; }
/* Without script the check comes back at #domeinnaam: keep it clear of the sticky header. */
.qw-domain { scroll-margin-top: 120px; }
.qw-domain-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--qw-border); }
.qw-domain-row:last-child { border-bottom: 1px solid var(--qw-border); }
.qw-domain-name { flex: 1 1 160px; font-weight: 600; overflow-wrap: anywhere; }
.qw-domain-state { color: #1b5e20; }
.qw-domain-taken { color: var(--qw-muted); }
.qw-domain-row .qw-button { padding: 7.2px 14.4px; }
.qw-domain-prices { margin: 16px 0 0; max-width: 640px; }
.qw-domain-prices summary { cursor: pointer; font-weight: 600; color: var(--qw-ink); }
.qw-domain-prices ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 16px; }
.qw-domain-prices li { display: flex; justify-content: space-between; gap: 8px; }
