/* StabiAlert: components of the content pages (Toepassingen, Documentatie, Contact, Offerte, Inloggen, Sitemap, Nieuws).
   Ported from the Quadron theme + CrackR child theme with their breakpoints (576 / 791 / 1025 / 1230) and checked against
   the live pages at 1440, 1024, 790 and 375 px. Everything is scoped to .sa-q. */

/* ---- page hero (Quadron "subpage-header"): photo, blue title box that hangs 20% below the photo ---- */
.sa-q .subpage-header { position: relative; z-index: 2; }
.sa-q .subpage-header__bg { height: 325px; width: 100%; background-position: center top; background-repeat: no-repeat; background-size: cover; }
.sa-q .subpage-header__bg .container { position: relative; height: 100%; display: flex; align-items: flex-end; }
.sa-q .subpage-header__block { position: absolute; bottom: -20%; width: auto; max-width: 67%; height: auto; margin-left: 0; padding: 35px 40px; background: var(--sa-blue); }
.sa-q .subpage-header__block > * { position: relative; width: 100%; }
.sa-q .subpage-header__caption { color: #fdfdfd; font-size: 20px; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.sa-q .subpage-header__title { margin: 13px 0 0; padding: 0; color: #fff; font-size: 28px; line-height: 1.2em; font-weight: 700; letter-spacing: -.025em; text-shadow: 5px 5px 10px rgba(0, 0, 0, .08); }
.sa-q .subpage-header__line { position: relative; margin-top: 13px; margin-left: 2px; height: 2px; }
.sa-q .subpage-header__line::before, .sa-q .subpage-header__line::after { content: ''; position: absolute; display: block; height: 2px; background-color: #fff; }
.sa-q .subpage-header__line::before { left: 0; width: 32px; }
.sa-q .subpage-header__line::after { left: 40px; width: 61px; opacity: .18; }
@media (min-width: 576px) {
	.sa-q .subpage-header, .sa-q .subpage-header__bg { height: 425px; }
	.sa-q .subpage-header__title { font-size: 40px; }
}
@media (min-width: 1025px) {
	.sa-q .subpage-header, .sa-q .subpage-header__bg { height: 475px; }
	.sa-q .subpage-header__title { font-size: 60px; }
}
@media (min-width: 1600px) { .sa-q .subpage-header .subpage-header__block { margin-left: -40px; } }

/* ---- sections: boxed content (1170px wide, centred, at least 19px gutters: same as .container), bottom padding 30 / 45 / 75 ---- */
.sa-q.sa-sec { padding: 0 0 30px; }
.sa-q.sa-sec--grey { background-color: var(--sa-grey-bg); }
.sa-q .sa-box { width: min(1170px, calc(100% - 38px)); margin: 0 auto; }
.sa-q.sa-sec--hero { padding-bottom: 87px; }
.sa-q.sa-sec--pt { padding-top: 38px; }
@media (min-width: 576px) {
	.sa-q.sa-sec { padding-bottom: 45px; }
	.sa-q.sa-sec--pt { padding-top: 73px; }
	.sa-q.sa-sec.sa-sec--hero { padding-bottom: 87px; }
}
@media (min-width: 1025px) {
	.sa-q.sa-sec { padding-bottom: 75px; }
	.sa-q.sa-sec.sa-sec--hero { padding-bottom: 120px; }
	.sa-q.sa-sec--pt { padding-top: 65px; }
}

/* ---- application rows (Toepassingen): icon, line, title, subtitle on the left, text on the right ---- */
.sa-q .sa-app { display: grid; grid-template-columns: 1fr; gap: 30px; }
.sa-q .sa-app__img { display: block; width: 75px; height: 75px; max-width: 100%; }
.sa-q .sa-app__line { padding: 15px 0; }
.sa-q .sa-app__line::before { content: ''; display: block; width: 45px; border-top: 2px solid #d6d6d6; }
.sa-q .sa-app__title { margin: 0 0 10px; padding: 0; color: var(--sa-navy); font-size: 31px; line-height: 1.13; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-app__sub { margin: 0; padding: 0; color: var(--sa-blue); font-size: 16px; line-height: 1.13; font-weight: 500; letter-spacing: -.03em; }
.sa-q .sa-app__text p { margin: 0 0 15px; padding: 0; }
@media (min-width: 1025px) {
	.sa-q .sa-app { grid-template-columns: 16.62% 1fr; }
	.sa-q .sa-app__title { font-size: 24px; }
	.sa-q .sa-app--en .sa-app__title { font-size: 26px; }
}

/* ---- documents page: lists of downloads / videos / websites ---- */
.sa-q.sa-sec--doc { padding-top: 38px; padding-bottom: 0; }
.sa-q .sa-doc__h { margin: 0 0 15px; padding: 0; color: var(--sa-navy); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-doc__list { margin: 0 0 30px; padding: 0; list-style: none; }
.sa-q .sa-doc__list:last-child { margin-bottom: 0; }
.sa-q .sa-doc__list li { margin: 0; padding: 0; }
.sa-q .sa-doc__list a { display: flex; align-items: center; color: var(--sa-blue); text-decoration: none; }
.sa-q .sa-doc__ic { display: flex; flex: 0 0 auto; justify-content: center; width: 22.5px; height: 18px; }
.sa-q .sa-doc__ic .material-icons { font-size: 18px; line-height: 18px; }
.sa-q .sa-doc__t { padding-left: 5px; }
@media (min-width: 576px) { .sa-q.sa-sec--doc { padding-top: 73px; } }
@media (min-width: 1025px) { .sa-q.sa-sec--doc { padding-top: 65px; } }

/* ---- centred section heading + FAQ accordion (Quadron "accordeon") ---- */
.sa-q .sa-container { padding: 0; }
.sa-q .sa-heading--center { text-align: center; }
.sa-q .sa-faq__rule { padding: 50px 0; }
.sa-q .sa-faq__rule::before { content: ''; display: block; border-top: 1px solid #cfd6df; }
.sa-q .sa-acc { padding-bottom: 2px; }
.sa-q .sa-acc__item { border-bottom: 1px solid #cfd6df; }
.sa-q .sa-acc__title { position: relative; margin: 0; padding: 22px 27px 22px 0; color: var(--sa-navy); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.03em; cursor: pointer; transition: color .2s linear; }
.sa-q .sa-acc__title::before { content: ''; position: absolute; display: block; right: 0; top: 50%; width: 12px; height: 2px; margin-top: -1px; background-color: var(--sa-blue); }
.sa-q .sa-acc__title::after { content: ''; position: absolute; display: block; right: 5px; top: 50%; width: 2px; height: 12px; margin-top: -6px; background-color: var(--sa-blue); }
.sa-q .sa-acc__title:hover, .sa-q .sa-acc__title:focus-visible { color: var(--sa-blue); }
.sa-q .sa-acc__item.is-open .sa-acc__title::after { opacity: 0; }
.sa-q .sa-acc__content { display: none; padding: 0; }
.sa-q .sa-acc__item.is-open .sa-acc__content { display: block; }
.sa-q .sa-acc__content > :first-child { margin-top: 0; }
.sa-q .sa-acc__content ul { margin: 0 0 15px; padding: 0; list-style: disc inside; }
.sa-q .sa-acc__content p { margin: 0 0 15px; }
@media (min-width: 576px) { .sa-q .sa-acc__title { } }
@media (min-width: 1025px) {
	.sa-q .sa-acc { padding: 22px 35px 2px 0; }
	.sa-q .sa-acc__title { padding-left: 27px; }
	.sa-q .sa-acc__title::before { right: 26px; }
	.sa-q .sa-acc__title::after { right: 31px; }
	.sa-q .sa-acc__content { padding-left: 27px; }
}

/* ---- orange pill button with trailing icon (Elementor "button" of the login page) ---- */
.sa-q .sa-pillbtn { display: inline-block; padding: 15px 30px; border: 2px solid var(--sa-orange); border-radius: 50px; background: var(--sa-orange); color: #fff; font-size: 15px; line-height: 15px; font-weight: 700; letter-spacing: .03em; text-align: center; text-transform: uppercase; text-decoration: none; transition: color .2s linear; }
.sa-q .sa-pillbtn__in { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; gap: 5px; }
.sa-q .sa-pillbtn__in > span { letter-spacing: .03em; }
.sa-q .sa-pillbtn .material-icons { font-size: 15px; width: 15.45px; line-height: 15px; }
.sa-q .sa-pillbtn:hover, .sa-q .sa-pillbtn:focus-visible { background: #fff; color: var(--sa-orange); }

/* ---- login page: two rounded square cards with a photo; stacked and centred below 1025px ---- */
.sa-q.sa-login { padding: 0 15px; min-height: calc(100vh - 148px); }
.admin-bar .sa-q.sa-login { min-height: calc(100vh - 180px); }
.sa-q .sa-login__row { display: grid; grid-template-columns: 1fr; gap: 30px; }
.sa-q .sa-login__col { padding: 0; }
.sa-q .sa-login__col:first-child { padding-top: 32px; }
.sa-q .sa-login__col + .sa-login__col { padding-bottom: 30px; }
.sa-q .sa-login__sq { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: stretch; box-sizing: border-box; width: 100%; max-width: calc(100vh - 130px); max-height: calc(100vh - 130px); aspect-ratio: 1 / 1; margin: 0 auto; padding: 0 40px; border-radius: 30px; background-repeat: repeat; text-align: center; }
.admin-bar .sa-q .sa-login__sq { max-width: calc(100vh - 162px); max-height: calc(100vh - 162px); }
.sa-q .sa-login__ov { position: absolute; inset: 0; border-radius: 30px; background: #000; opacity: .15; }
.sa-q .sa-login__sq > :not(.sa-login__ov) { position: relative; }
.sa-q .sa-login__h { margin: 0; padding: 0; color: #fff; font-size: 40px; line-height: 40px; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-login__t { color: #fff; }
.sa-q .sa-login__t p { margin: 10px 0 15px; }
@media (min-width: 1025px) {
	.sa-q.sa-login { min-height: calc(100vh - 176px); }
	.admin-bar .sa-q.sa-login { min-height: calc(100vh - 208px); }
	.sa-q .sa-login__row { grid-template-columns: 1fr 1fr; gap: 30px; }
	.sa-q .sa-login__col:first-child { padding: 30px 0 30px 15px; }
	.sa-q .sa-login__col + .sa-login__col { padding: 30px 15px 30px 0; }
	.sa-q .sa-login__sq { max-width: calc(100vh - 160px); max-height: calc(100vh - 160px); }
	.admin-bar .sa-q .sa-login__sq { max-width: calc(100vh - 192px); max-height: calc(100vh - 192px); }
	.sa-q .sa-login__col:first-child .sa-login__sq { margin: 0 0 0 auto; }
	.sa-q .sa-login__col + .sa-login__col .sa-login__sq { margin: 0 auto 0 0; }
}

/* ---- sitemap ---- */
.sa-q.sa-sec.sa-sec--nopad { padding-bottom: 0; }
@media (min-width: 576px) { .sa-q.sa-sec.sa-sec--nopad { padding-bottom: 0; } }
@media (min-width: 1025px) { .sa-q.sa-sec.sa-sec--nopad { padding-bottom: 0; } }
.sa-q .sa-box--in { margin: 0; padding: 0; }
.sa-q .sa-map__h { margin: 0 0 30px; padding: 0; color: var(--sa-navy); font-size: 40px; line-height: 40px; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-map__list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 30px; padding: 0; list-style: none; font-size: 18px; line-height: 32.4px; }
@media (min-width: 576px) and (max-width: 1024.98px) { .sa-q .sa-map__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sa-q .sa-map__list:last-child { margin-bottom: 0; }
.sa-q .sa-map__list li { margin: 0; padding: 0; }
.sa-q .sa-map__list a { color: var(--sa-blue); text-decoration: none; transition: color .2s linear; }
.sa-q .sa-map__list a:hover, .sa-q .sa-map__list a:focus-visible { color: var(--sa-dark); }

/* ---- news page: search field + card grid (cards: see style.css .sa-cards / .sa-card) ---- */
.sa-q .sa-newsgrid__search label { position: relative; display: flex; margin: 0; color: #898989; font: 500 15px/27px 'Roboto', Arial, sans-serif; }
.sa-q .sa-newsgrid__search input { display: block; width: 100%; height: 65px; margin: 0; padding: 5px 24px 5px 8px; text-indent: 24px; border: 2px solid #d6d6d6; border-radius: 4px; background: transparent; color: #000; font: 400 17px/26px 'Roboto', Arial, sans-serif; outline: 0; -webkit-appearance: none; appearance: none; }
.sa-q .sa-newsgrid__search input::placeholder { color: #6c757d; opacity: 1; }
.sa-q .sa-newsgrid__search input:focus { border-color: var(--sa-blue); }
.sa-q .sa-newsgrid__search svg { position: absolute; top: 24.5px; left: 10px; width: 16px; height: 16px; margin: 0; color: #c8c8c8; fill: none; stroke: currentColor; stroke-width: 2; pointer-events: none; }
.sa-q .sa-newsgrid .sa-cards { margin-top: 45px; }
.sa-q .sa-newsgrid .sa-card[hidden] { display: none; }
.sa-q .sa-newsgrid__more { height: 30px; margin: 24px 0 0; color: #898989; font-size: 13px; line-height: 30px; text-align: center; }
.sa-q .sa-newsgrid__more.is-idle { visibility: hidden; }
.sa-q .sa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- contact and quote pages: intro, tabs/form, then the map band ---- */
.sa-q.sa-sec.sa-sec--contact { padding-bottom: 0; }
/* the quotation form sits in a 25px gutter (no tabs to bleed out of) */
.sa-q.sa-sec--contact h5 { margin: 0 0 8px; padding: 0 0 32px; color: var(--sa-navy); font-size: 20px; line-height: 31px; font-weight: 700; letter-spacing: -.03em; }

/* ---- news post: date + text left, search / latest news / contact icons right (stacked below 1025px) ---- */
.sa-q .sa-post { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; }
.sa-q .sa-post > * { min-width: 0; }
@media (min-width: 1025px) { .sa-q .sa-post { grid-template-columns: 67fr 33fr; gap: 0 50px; } }
.sa-q .sa-post__date { display: flex; width: fit-content; align-items: center; margin: 0 0 15px; border-bottom: 3px solid var(--sa-blue); color: #898989; font-size: 17px; line-height: 30.6px; }
.sa-q .sa-post__date .material-icons { width: 14px; height: 14px; margin-right: 5px; font-size: 14px; line-height: 14px; }
.sa-q .sa-post__content { display: flow-root; }
.sa-q .sa-post__content p { margin: 10px 0 15px; }
.sa-q .sa-post__content a { color: var(--sa-blue); }
.sa-q .sa-post__content img { max-width: 100%; height: auto; }
@media (min-width: 992px) { .sa-q .sa-post__content .alignnone { margin: 15px 20px 15px 0; } }
.sa-q .sa-post__content figure { margin: 0 0 1em; }
.sa-q .sa-post__content .wp-block-spacer { clear: both; }
.sa-q .sa-post__content ul, .sa-q .sa-post__content ol { margin: 0 0 15px; padding-left: 25px; }
.sa-q .sa-ps { margin-top: 50px; }
@media (min-width: 1025px) { .sa-q .sa-ps { margin-top: 0; } }
.sa-q .sa-ps__search { display: flex; align-items: center; height: 50px; margin: 0 0 45px; border-radius: 3px; background: #f1f2f3; }
.sa-q .sa-ps__search svg { flex: 0 0 15px; width: 15px; height: 15px; margin: 0 0 0 16.67px; fill: none; stroke: #3f444b; stroke-width: 2; }
.sa-q .sa-ps__search input { flex: 1 1 auto; min-width: 0; height: 50px; margin: 0; padding: 0 16.67px; border: 0; background: transparent; color: #3f444b; font: 400 15px/15px 'Roboto', Arial, sans-serif; outline: 0; -webkit-appearance: none; appearance: none; }
.sa-q .sa-ps__search input::placeholder { color: #3f444b; opacity: 1; }
.sa-q .sa-ps__h { margin: 0 0 18px; padding: 0; color: var(--sa-navy); font-size: 20px; line-height: 20px; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-ps__h--contact { margin-top: 30px; }
.sa-q .sa-ps__list { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 576px) and (max-width: 1024.98px) { .sa-q .sa-ps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sa-q .sa-ps__item { border-bottom: 1px solid #dbdbdb; }
.sa-q .sa-ps__title { margin: 0; padding: 0; color: var(--sa-navy); font-size: 18px; line-height: 35px; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-ps__title a { color: var(--sa-blue); letter-spacing: -.03em; text-decoration: none; transition: color .2s linear; }
.sa-q .sa-ps__title a:hover, .sa-q .sa-ps__title a:focus-visible { color: var(--sa-dark); }
.sa-q .sa-ps__meta { margin: 0 0 13px; color: #adadad; font-size: 12px; line-height: 15.6px; }
.sa-q .sa-ps__social { display: flex; gap: 10px; }
.sa-q .sa-ps__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sa-orange); color: #fff; font-size: 18px; text-decoration: none; transition: all .2s linear; }
.sa-q .sa-ps__social a:hover, .sa-q .sa-ps__social a:focus-visible { background: #fff; color: var(--sa-orange); box-shadow: inset 0 0 0 2px var(--sa-orange); }
.sa-q .sa-ps__social svg { width: 18px; height: 18px; }
.sa-q .sa-ps__social .material-icons { font-size: 18px; }

/* ---- 404: the whole page is blue (body background), the main area is at least 720px high, the content sits in 90px (144px / 188px from 1025px) of space ---- */
html:has(body.error404), body.error404 { background-color: var(--sa-blue); }
.error404 #wrapper, .error404 #main { background-color: transparent; }
.error404 #main { min-height: 720px; padding-top: 0 !important; padding-bottom: 0 !important; }
.sa-q.sa-404 { padding: 90px 19px; color: #fff; text-align: center; }
.sa-q .sa-404__in { margin: 0 auto; }
.sa-q .sa-404__num { margin: 0 0 15px; font-size: 150px; line-height: 180px; font-weight: 700; }
.sa-q .sa-404__title { margin: 0 0 30px; padding: 0; color: #fff; font-size: 34px; line-height: 34px; font-weight: 700; letter-spacing: -.03em; }
.sa-q .sa-404__text { margin: 0 0 30px; font-size: 17px; line-height: 30.6px; }
.sa-q .sa-404__btn { display: inline-flex; align-items: center; padding: 15px 30px; border: 2px solid #fff; border-radius: 30px; background: #fff; color: var(--sa-blue); font-size: 14px; line-height: 16.8px; font-weight: 700; letter-spacing: .03em; text-decoration: none; transition: all .2s linear; }
.sa-q .sa-404__btn .material-icons { margin-right: 15px; font-size: 14px; width: 16.2px; line-height: 14px; }
.sa-q .sa-404__btn:hover, .sa-q .sa-404__btn:focus-visible { background: transparent; color: #fff; }
.sa-q.sa-404--en .sa-404__title { margin-bottom: 40px; }
@media (min-width: 767px) { .sa-q .sa-404__title { font-size: 40px; line-height: 40px; letter-spacing: -.03em; } }
@media (min-width: 576px) { .sa-q.sa-404 { padding-left: 0; padding-right: 0; } }
@media (min-width: 1025px) { .sa-q.sa-404 { padding: 144px 0 188px; } .sa-q .sa-404__num { font-size: 180px; } }

/* ---- vertical rhythm, the same on every page ----
   Under the title picture (the blue title box hangs 65 / 85 / 95px below the picture) the content starts 60 / 75 / 90px
   below the box: the first section after the picture has 125 / 160 / 185px of top padding (the Toepassingen and
   Documentatie sections sit inside the picture's own bottom padding, so they need less).
   The last section of a page leaves 75 / 90 / 105 / 143px above the footer (below 576px / 576-790px / 791-1024px / from 1025px).
   Rows inside a page are 30 / 45 / 75px apart (.sa-sec). */
.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--contact, .sa-q.sa-sec.sa-sec--post { padding-top: 125px; }
.sa-q.sa-sec.sa-sec--quote { padding-top: 74px; }
.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--post, .sa-q.sa-sec.sa-sec--faq, .sa-q.sa-sec.sa-sec--end { padding-bottom: 75px; }
@media (min-width: 576px) {
	.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--contact, .sa-q.sa-sec.sa-sec--post { padding-top: 160px; }
	.sa-q.sa-sec.sa-sec--quote { padding-top: 150px; }
	.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--post, .sa-q.sa-sec.sa-sec--faq, .sa-q.sa-sec.sa-sec--end { padding-bottom: 90px; }
}
@media (min-width: 791px) {
	.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--post, .sa-q.sa-sec.sa-sec--faq, .sa-q.sa-sec.sa-sec--end { padding-bottom: 105px; }
}
@media (min-width: 1025px) {
	.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--contact, .sa-q.sa-sec.sa-sec--post { padding-top: 185px; }
	.sa-q.sa-sec.sa-sec--quote { padding-top: 175px; }
	.sa-q.sa-sec.sa-sec--map, .sa-q.sa-sec.sa-sec--news, .sa-q.sa-sec.sa-sec--post, .sa-q.sa-sec.sa-sec--faq, .sa-q.sa-sec.sa-sec--end { padding-bottom: 143px; }
}

/* the last Toepassingen row has a 15px paragraph margin and the news post a sidebar that ends 8px lower: same distance to the footer */
.sa-q.sa-sec.sa-sec--end { padding-bottom: 61px; }
.sa-q.sa-sec.sa-sec--post { padding-bottom: 67px; }
@media (min-width: 576px) { .sa-q.sa-sec.sa-sec--end { padding-bottom: 76px; } .sa-q.sa-sec.sa-sec--post { padding-bottom: 82px; } }
@media (min-width: 791px) { .sa-q.sa-sec.sa-sec--end { padding-bottom: 91px; } .sa-q.sa-sec.sa-sec--post { padding-bottom: 97px; } }
@media (min-width: 1025px) { .sa-q.sa-sec.sa-sec--end { padding-bottom: 129px; } .sa-q.sa-sec.sa-sec--post { padding-bottom: 135px; } }
