/*
 * Accordion Section (was "Accordion Tabs Section", then "Accordion") (`vc_accordion_tabs`)
 *
 * Loaded only on pages that use this element, after common.css. Rules
 * shared with other elements are in common.css.
 */

.accordion-body .b,
.accordion-body strong {
    font-weight: bold;
}

/* Accordion colours follow the section's colour profile: the header bar uses
the profile's Accent Background/Text, and the divider line, chevron and its
circle use the profile's Icon Background/Colour. Each falls back to the
Default Colour Profile, then to the shared black/white default, which is
what the var() fallbacks below express. */
.accordion .accordion-item{border:0;margin-bottom:15px;border-bottom:3px solid var(--cwb-icon-color,#fff);border-radius:5px 5px 0 0}

.accordion .accordion-item:last-child{margin-bottom:0}

/* Content blocks inside an accordion item. Each block holds its own optional
heading plus its content, so spacing is owned by the block rather than being
set per element (or typed in by hand). Only a bottom margin is used, cleared
on the last block so it never doubles up with the body's own padding. */
.accordion .accordion-item .accordion-body .accordion-block{margin-bottom:20px}

.accordion .accordion-item .accordion-body .accordion-block:last-child{margin-bottom:0}

.accordion .accordion-item .accordion-body .accordion-block>*:first-child{margin-top:0}

.accordion .accordion-item .accordion-body .accordion-block .h6{margin-bottom:10px}

/* Accordion block image. The Bootstrap ratio wrapper sets the aspect box and
absolutely positions the image to fill it; object-fit reproduces what
background-size:cover and background-position:center did when this was a CSS
background, and the radius is clipped on the wrapper so the image corners
match the previous .callout-img styling. */
.accordion .accordion-item .accordion-body .accordion-block__media{border-radius:3px;overflow:hidden}

.accordion .accordion-item .accordion-body .accordion-block__media img{width:100%;height:100%;object-fit:cover;object-position:center}

.accordion .accordion-item .accordion-header{border-radius:5px 5px 0 0;background:0 0;border-bottom:0}

.accordion .accordion-item .accordion-header button{background:var(--cwb-accent-bg,#000);border-radius:5px 5px 0 0;color:var(--cwb-accent-text,#fff);font-weight:700;border:0;-webkit-box-shadow:none;box-shadow:none;padding:13px 15px;min-height:70px;font-size:20px;line-height:initial}

.accordion .accordion-item .accordion-header button:after{border:3px solid var(--cwb-icon-color,#fff);color:var(--cwb-icon-color,#fff);height:44px;width:44px;border-radius:50%;font-weight:700;background:var(--cwb-icon-bg,#000);content:"\f106";font-family:'Font Awesome 5 Free';font-size:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}

.accordion .accordion-item .accordion-header button:not(.collapsed)::after{content:"\f106";font-family:'Font Awesome 5 Free';-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}

.accordion .accordion-item .accordion-body{padding-bottom:50px}

@media (max-width:767px) {
    .accordion .accordion-item .accordion-body{padding:20px 15px}
}
