/* =============================================================
   GBB Modern Skin 2.0 - Design Update 2026
   Gemeentebelangen Bronckhorst
   Brand: Magenta #E6007E | Paars #392772 | Lime #D9E021
   Font: Source Sans 3 (Google Fonts)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
    --GBB-magenta:       #E6007E;
    --GBB-magenta-dark:  #c4006c;
    --GBB-magenta-light: rgba(230, 0, 126, 0.1);
    --GBB-paars:         #392772;
    --GBB-paars-dark:    #2a1d55;
    --GBB-paars-light:   rgba(57, 39, 114, 0.08);
    --GBB-lime:          #D9E021;
    --GBB-lime-dark:     #b8bf00;
    --GBB-white:         #ffffff;
    --GBB-bg:            #f0eef7;   /* very light purple tint - replaces page.jpeg */
    --GBB-text:          #2c2c2c;
    --GBB-shadow:        0 2px 12px rgba(57, 39, 114, 0.10);
}

/* ============================================================
   FONT OVERRIDE - apply Source Sans 3 everywhere
   ============================================================ */

html, body,
#art-main,
table, ul.art-hmenu,
.art-postcontent, .art-blockcontent,
input, select, textarea,
.art-button, a.art-button,
.art-hmenu > li > a,
.art-hmenu ul a {
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif !important;
}

/* Apply font to all art-main children EXCEPT icon elements.
   Font Awesome uses <i> tags and ::before/::after pseudo-elements
   with their own font-family — the broad *!important rule broke all icons. */
#art-main *:not(i):not([class*="fa-"]):not([class*="fas"]):not([class*="far"]):not([class*="fab"]):not([class*="fal"]):not([class*="fad"]) {
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif !important;
}

/* ============================================================
   PAGE BACKGROUND - no image, clean light purple tint
   ============================================================ */

body {
    background: var(--GBB-bg) !important;
    color: var(--GBB-text);
    min-width: 320px;
}

#art-main {
    background: var(--GBB-bg) none !important;  /* kills page.jpeg */
    font-size: 15px;
    color: var(--GBB-text);
    width: 100% !important;
    max-width: none !important;
}

/* ============================================================
   WIDE LAYOUT - remove Artisteer's fixed max-widths
   ============================================================ */

.art-sheet {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    background: transparent !important;
}

.art-header-inner,
.art-nav-inner,
.desktop .art-nav-inner {
    min-width: 0 !important;
    max-width: 1400px !important;
    width: 100% !important;
}

.desktop .art-nav {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.art-layout-wrapper {
    margin: 0 auto !important;
    max-width: 1400px;
}

/* Content pane comfortable padding */
#ContentPane {
    padding: 28px 36px;
}

/* ============================================================
   HEADER - white background so logo (white bg, magenta GBB) is readable
   Accent: thick magenta left border on logo area + lime bottom stripe
   ============================================================ */

.art-header,
.custom-responsive .art-header,
.default-responsive .art-header,
.default-responsive #art-header-bg {
    background: var(--GBB-white) !important;
    background-image: none !important;
    height: 140px !important;
    min-height: 140px;
    border-bottom: 0 !important;
    box-shadow: 0 2px 10px rgba(57, 39, 114, 0.15) !important;
    width: 100% !important;
    position: relative;
    overflow: hidden;
}

/* Magenta left-edge accent bar */
.art-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    background: var(--GBB-magenta);
    z-index: 200;
}

/* Lime + magenta bottom stripe */
.art-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--GBB-magenta) 0%, var(--GBB-magenta) 40%, var(--GBB-lime) 40%, var(--GBB-lime) 100%);
    z-index: 200;
}

/* Logo - aligned with content left edge.
   The content area is max-width 1400px centred, with 36px inner padding.
   We replicate that: position the logo inside a pseudo-centred zone
   by using left: 50% minus half of 1400px, then add the 36px content padding.
   calc(50% - 700px + 36px) = logo left edge matches #ContentPane text start. */
.art-logo-1976607847 {
    position: absolute !important;
    top: 50% !important;
    left: calc(50% - 700px + 36px) !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
    margin: 0 !important;
    width: auto !important;
    height: 100px !important;
    z-index: 102;
    filter: none;
}

/* The img inside the logo link also needs constrained height */
.art-logo-1976607847 img {
    width: auto !important;
    height: 100px !important;
    max-height: 100px !important;
    display: block;
}

/* Hide the empty h1 headline element */
.art-headline {
    display: none !important;
}

/* ============================================================
   NAVIGATION - dark purple, full width
   ============================================================ */

.art-nav {
    background: var(--GBB-paars) !important;
    width: 100% !important;
    position: relative;
    z-index: 499;
    box-shadow: 0 3px 10px rgba(57, 39, 114, 0.30);
}

/* Thin lime line at the bottom of nav */
.art-nav::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--GBB-lime);
    z-index: 1;
}

/* Menu items */
ul.art-hmenu > li > a,
ul.art-hmenu > li > a:link,
ul.art-hmenu > li > a:visited {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 0 !important;
    transition: color 0.2s, background 0.2s;
}

ul.art-hmenu > li > a.active,
ul.art-hmenu > li > a:hover,
.desktop ul.art-hmenu > li:hover > a,
.desktop ul.art-hmenu > li.ext > a:hover,
.desktop ul.art-hmenu > li.ext:hover > a {
    color: var(--GBB-lime) !important;
    background: rgba(217, 224, 33, 0.10) !important;
    border-radius: 0 !important;
}

/* Dropdown background */
ul.art-hmenu ul::before {
    background: var(--GBB-paars-dark) !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
}

.desktop ul.art-hmenu > li.ext > a:hover::before,
.desktop ul.art-hmenu > li.ext:hover > a::before,
.desktop ul.art-hmenu > li.ext:hover > .ext-r::before,
.desktop ul.art-hmenu > li.ext:hover > .ext-l::before,
.desktop ul.art-hmenu > li.ext:hover > .ext-m::before,
.desktop ul.art-hmenu > li.ext:hover > .ext-off::before {
    background-color: var(--GBB-paars-dark) !important;
}

.art-hmenu ul a,
.art-hmenu ul a:link,
.art-hmenu ul a:visited,
.art-hmenu ul a:hover,
.art-hmenu ul a.active {
    color: rgba(255,255,255,0.88) !important;
    font-size: 14px !important;
}

.art-hmenu ul a:hover,
.desktop .art-hmenu ul li:hover > a {
    color: var(--GBB-lime) !important;
}

/* Mobile hamburger button */
.art-nav .art-menu-btn {
    background: var(--GBB-magenta) !important;
    border-color: var(--GBB-magenta-dark) !important;
}
.art-nav .art-menu-btn span {
    background: var(--GBB-white) !important;
}

/* ============================================================
   CONTENT CELL - white card on light purple bg
   ============================================================ */

.art-layout-cell.art-content {
    background: var(--GBB-white) !important;
    box-shadow: var(--GBB-shadow);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.art-postcontent h1, .art-blockcontent h1 {
    color: var(--GBB-paars) !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    border-bottom: 3px solid var(--GBB-lime);
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
}

.art-postcontent h2, .art-blockcontent h2 {
    color: var(--GBB-paars) !important;
    font-weight: 700 !important;
    font-size: 22px !important;
}

.art-postcontent h3, .art-blockcontent h3 {
    color: var(--GBB-magenta) !important;
    font-weight: 700 !important;
    font-size: 19px !important;
}

.art-postcontent h4, .art-blockcontent h4 {
    color: var(--GBB-paars) !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

.art-postcontent h5 { color: var(--GBB-paars) !important; font-weight: 600 !important; }
.art-postcontent h6 { color: var(--GBB-magenta) !important; font-weight: 600 !important; }

.art-blockheader .t,
.art-blockheader .t a,
.art-blockheader .t a:link,
.art-blockheader .t a:visited {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.art-blockheader .t a:hover {
    color: var(--GBB-lime) !important;
    font-weight: 700 !important;
}

/* ============================================================
   LINKS
   ============================================================ */

.art-postcontent a, .art-postcontent a:link,
.art-blockcontent a, .art-blockcontent a:link {
    color: var(--GBB-magenta) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.art-postcontent a:visited, .art-postcontent a.visited,
.art-blockcontent a:visited, .art-blockcontent a.visited {
    color: var(--GBB-paars) !important;
}

.art-postcontent a:hover, .art-postcontent a.hover,
.art-blockcontent a:hover, .art-blockcontent a.hover {
    color: var(--GBB-paars) !important;
    text-decoration: underline;
}

/* ============================================================
   BODY TEXT
   ============================================================ */

.art-postcontent, .art-postcontent li, .art-postcontent table, .art-postcontent p,
.art-blockcontent, .art-blockcontent table, .art-blockcontent li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--GBB-text);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.art-button,
.dnnFormItem .art-button,
.dnnFormItem .art-button[type='submit'],
a.art-button, a.art-button:link,
input.art-button, button.art-button {
    background: var(--GBB-magenta) !important;
    border-radius: 4px !important;
    color: var(--GBB-white) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 0 22px !important;
    height: 36px !important;
    line-height: 36px !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 8px rgba(230, 0, 126, 0.30) !important;
    transition: background 0.2s, box-shadow 0.2s;
}

.art-button.active, .art-button.active:hover,
.dnnFormItem .art-button.active { background: var(--GBB-paars) !important; }

.art-button:hover, .art-button.hover,
.dnnFormItem .art-button:hover, .dnnFormItem input.art-button:hover {
    background: var(--GBB-paars) !important;
    box-shadow: 0 4px 12px rgba(57, 39, 114, 0.35) !important;
}

/* ============================================================
   FORM INPUTS
   ============================================================ */

input[type="text"], input[type="password"], input[type="email"],
input[type="url"], input[type="date"], input[type="datetime"],
input[type="datetime-local"], input[type="month"], input[type="number"],
input[type="range"], input[type="tel"], input[type="time"],
input[type="week"], textarea {
    background: var(--GBB-white) !important;
    border: 2px solid #d0cce0 !important;
    border-radius: 4px !important;
    color: var(--GBB-text) !important;
    font-size: 15px !important;
    padding: 6px 10px !important;
    transition: border-color 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus, textarea:focus {
    border-color: var(--GBB-magenta) !important;
    box-shadow: 0 0 0 3px var(--GBB-magenta-light) !important;
    outline: none;
}

div.art-search input[type="text"] {
    background: var(--GBB-white) !important;
    border: 2px solid var(--GBB-paars) !important;
    color: var(--GBB-text) !important;
    box-shadow: none !important;
}

div.art-search input[type="button"],
input.art-search-button, a.art-search-button {
    background: var(--GBB-magenta) !important;
    color: var(--GBB-white) !important;
    font-weight: 700 !important;
}

/* ============================================================
   LIST ITEMS
   ============================================================ */

.art-block li {
    color: var(--GBB-text) !important;
    font-size: 15px !important;
    line-height: 1.7;
}

/* ============================================================
   PAGER
   ============================================================ */

.art-pager {
    background: var(--GBB-paars-light) !important;
    border: 1px solid var(--GBB-paars) !important;
    border-radius: 4px !important;
}
.art-pager > * {
    background: var(--GBB-white) !important;
    border: 1px solid #d0cce0 !important;
    border-radius: 3px !important;
}
.art-pager .active {
    background: var(--GBB-magenta) !important;
    color: var(--GBB-white) !important;
    border-color: var(--GBB-magenta) !important;
}
.art-pager a:link, .art-pager a:visited { color: var(--GBB-paars) !important; }

/* ============================================================
   FOOTER - dark purple, full width
   ============================================================ */

.art-footer {
    background: var(--GBB-paars) !important;
    border-top: 5px solid var(--GBB-lime) !important;
    width: 100% !important;
    margin-top: 40px;
}

.art-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 36px !important;
}

.art-footer, .art-footer a, .art-footer a:link, .art-footer a:visited,
.art-footer p, .art-footer div, .art-footer span,
#Copyright, .art-footer .art-footer-inner p {
    color: rgba(255,255,255,0.78) !important;
    font-size: 13px;
}
.art-footer a:hover { color: var(--GBB-lime) !important; text-decoration: underline; }

/* ============================================================
   COMMENTS
   ============================================================ */

.art-comment-inner {
    background: var(--GBB-paars-light) !important;
    border-radius: 4px !important;
    border-left: 3px solid var(--GBB-magenta);
}
.art-comment-avatar { border: 2px solid var(--GBB-paars) !important; }
.art-comments { border-top: 2px solid var(--GBB-lime) !important; }
.art-comment-content a, .art-comment-content a:link { color: var(--GBB-magenta) !important; }
.art-comment-content a:visited { color: var(--GBB-paars) !important; }

/* ============================================================
   CHECKBOX & RADIO
   ============================================================ */

label.art-checkbox:before {
    background: var(--GBB-white) !important;
    border: 2px solid var(--GBB-paars) !important;
    border-radius: 3px !important;
}
label.art-checkbox, label.art-radiobutton { color: var(--GBB-text) !important; }
label.art-checkbox.active:before, label.art-radiobutton.active:before {
    background: var(--GBB-magenta) !important;
    border-color: var(--GBB-magenta) !important;
}
label.art-radiobutton:before {
    background: var(--GBB-white) !important;
    border: 2px solid var(--GBB-paars) !important;
    border-radius: 50% !important;
}

/* ============================================================
   DNN MODULE TITLES
   ============================================================ */

.DnnModule .dnnModuleTitle, .DnnModule h2.dnnFormTitle, h3.Head, .Head {
    color: var(--GBB-paars) !important;
    font-weight: 700 !important;
    border-bottom: 3px solid var(--GBB-lime);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* ============================================================
   HTML MODULE SELF-STYLED HEADERS
   Prevent skin/container broad selectors from overriding
   background-colors that HTML modules set on their own elements.
   ============================================================ */

/* Kandidatenlijst - magenta header band with white text */
.kandidaten-header {
    background-color: #E6007E !important;
    background:       #E6007E !important;
}

/* All headings inside a magenta/dark module header stay white */
.kandidaten-header h1,
.kandidaten-header h2,
.kandidaten-header h3,
.kandidaten-header h4,
.kandidaten-header h5,
.kandidaten-header h6 {
    color:         #ffffff !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom:  0 !important;
}

/* General guard: any element that already has an inline background
   set by the module should not get a dark overlay from skin list-item
   or block rules — achieved by unsetting background on .kandidaten-* wrappers */
.kandidaten-wrapper {
    background: transparent !important;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.art-breadcrumbs, .art-breadcrumbs a, .art-breadcrumbs a:link {
    color: var(--GBB-paars) !important;
    font-size: 13px;
}
.art-breadcrumbs a:hover { color: var(--GBB-magenta) !important; }

/* ============================================================
   THIN COLOUR BAR AT TOP OF BROWSER
   ============================================================ */

body::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--GBB-paars) 0%, var(--GBB-magenta) 50%, var(--GBB-lime) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Offset page content so fixed bar doesn't overlap */
body > * { padding-top: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* On viewports narrower than 1400px the content area goes edge-to-edge,
   so switch logo to a simple left offset matching the content padding. */
@media (max-width: 1400px) {
    .art-logo-1976607847 {
        left: 36px !important;
    }
}

@media (max-width: 900px) {
    .art-header { height: 110px !important; min-height: 110px !important; padding: 0 !important; }

    .art-logo-1976607847 {
        height: 76px !important;
        left: 18px !important;
    }

    .art-logo-1976607847 img {
        height: 76px !important;
        max-height: 76px !important;
    }

    #ContentPane { padding: 16px 18px; }
    .art-footer-inner { padding: 18px 16px !important; }
}

@media (max-width: 480px) {
    .art-header { height: 88px !important; min-height: 88px !important; }

    .art-logo-1976607847 {
        height: 60px !important;
        left: 12px !important;
    }

    .art-logo-1976607847 img {
        height: 60px !important;
        max-height: 60px !important;
    }

    #ContentPane { padding: 12px; }

    ul.art-hmenu > li > a {
        height: auto !important;
        line-height: 1.4 !important;
        padding: 10px 14px !important;
    }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
    body::before { display: none; }
    .art-header { background: var(--GBB-magenta) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .art-nav    { background: var(--GBB-paars) !important; }
    .art-footer { background: var(--GBB-paars) !important; }
}
