/*
 * Cognita WPBakery Elements - common element styles
 *
 * Loaded on every page that has the plugin's styles, before any element's
 * own file. It holds the rules several elements share, the plugin's
 * helpers, and any element rule that has to stay in its original order
 * against a rule in another file, or that also styles markup outside its
 * element. Rules are in their original order.
 */

/*
 * Moved from the cognita-europe theme's custom-style.css in plugin 0.11.0
 * (element assets project, phase 4b), unchanged and in their original order.
 * They stayed in the theme at first because theme code (theme_styles())
 * still named them. They come first here, as they came before every rule
 * below.
 */

.component.fee-table {
    overflow-x: auto;
}

.fee-table .table{margin-bottom:0}

.fee-table .table thead th{background:#c41f2f;color:#fff;border-bottom:0;padding:15px 20px;vertical-align:middle;font-size:18px}

@media (max-width:767px) {
    .fee-table .table thead th{padding:15px 10px}
}

.fee-table .table thead th h6{margin:0;font-size:18px}

.fee-table .table tbody{background:#f8f8f8;border-bottom:0}

.fee-table .table tbody tr{border-bottom:0;border-color:#c41f2f}

.fee-table .table tbody tr td,.fee-table .table tbody tr th{padding:15px 20px;font-size:16px}

@media (max-width:767px) {
    .fee-table .table tbody tr td,.fee-table .table tbody tr th{padding:20px 10px}
}

.fee-table+.component p{font-size:16px}

/*
 * Moved from the cognita-europe theme's custom-style.css in plugin 0.11.0
 * (element assets project, phase 4a), unchanged and in their original order.
 * They stayed in the theme at first because theme code still named their
 * classes. They come first here, as they came before every rule below.
 */

.section--blue .section--white .list--IconWithText-list .link .btn {
    color: #6F96B7;
}

/* Dots */
.card-items-slider.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.card-items-slider .slick-dots
{
    position: absolute;
    bottom: -25px;

    /* Anchored to the left edge of the box it is positioned against.
     *
     * Without this `left` stays `auto`, which puts the list at its static
     * position - inside the row's padding - while `width: 100%` resolves
     * against the padding box and so spans the full width. The list therefore
     * started 60px in and overhung 60px to the right, and `text-align: center`
     * centred the dots inside that shifted box: measured 60px right of the
     * slider's centre at every width where the row carries its 60px padding for
     * the arrows, and correct below 768px only because the padding is 0 there. */
    left: 0;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}

.card-items-slider .slick-dots li
{
    position: relative;

    display: inline-block;

    width: 8px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}

.card-items-slider .slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 8px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.card-items-slider .slick-dots li button:hover,
.card-items-slider .slick-dots li button:focus
{
    outline: none;
}

.card-items-slider .slick-dots li button:hover:before,
.card-items-slider .slick-dots li button:focus:before
{
    opacity: 1;
}

.card-items-slider .slick-dots li button:before
{
    font-family: 'FontAwesome' !important;
    font-size: 30px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 8px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card-items-slider .slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}

.card-items-slider .card {
    box-shadow: 0 0 10px rgba(16,23,30,.15);
}

@media (max-width: 767px) {
    .card-items-slider.slick-slider .slick-track {
        left: 0;
    }

    .card-items-slider .slick-next {
        right: 0;
    }

    .card-items-slider .slick-prev {
        left: 0;
        z-index: 1;
    }

    .card-items-slider .slick-prev,
    .card-items-slider .slick-next {
        display: none !important;
    }
}

/* Cards in a slider stand as tall as the tallest one beside them.
 *
 * This was `height: 230px !important` on the card body (and 285px on the
 * reviews variant), which made the cards equal by forcing every one to the same
 * size. It held only while the content happened to fit: the description is
 * clamped to four lines below, but the title is not, so a long title on a
 * narrow card pushed straight out of the box - measured overflowing at 1000px
 * and 800px, where three cards share the row and each is about 270px wide.
 *
 * The track is a flex row instead, which is what makes slick's slides stretch
 * to the tallest of them, and the height is then handed down to the card. Same
 * equal heights, decided by the content rather than by a number, so nothing can
 * overflow. `.card-body` is already `flex: 1 1 auto` and `.thumbitemDesc` is
 * already a flex column with `space-between`, so the button stays pinned to the
 * bottom of whichever card is shortest. */
.card-items-slider .slick-track {
    display: flex;
}

.card-items-slider .slick-slide {
    height: auto;
}

/* slick wraps each slide in a div of its own, so the height is passed through
   that and the column inside it before it reaches the card. */
.card-items-slider .slick-slide > div,
.card-items-slider .slick-slide > div > div,
.card-items-slider .slick-slide .card {
    height: 100%;
}

/* Before slick loads – show only first 3 */
.card-items-slider > *:nth-child(n+4) {
    display: none;
}

/* After slick initializes – show all */
.card-items-slider.slick-initialized > * {
    display: block;
}

.list--IconWithText-list{padding:0;margin:0}

@media (max-width:767px) {
    .list--IconWithText-list .card-body{padding:15px 10px}
}

.list--IconWithText-list.margin-B-sm li{margin-bottom:4px}

.list--IconWithText-list ul li{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:18px;padding:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center}

.list--IconWithText-list ul li:after{display:none}

/* Icons only: an icon <i> always has a class, italic text in an item has none.
 * Without the condition, italic text was set as a 24px, 20px-wide flex box
 * (and ringed in a bordered list, below). :where() adds no specificity, so the
 * icons' own rules win exactly as before. */
.list--IconWithText-list ul li i:where([class]){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;margin-right:14px;font-size:24px;margin-top:3px;width:20px}

@media (max-width:767px) {
    .list--IconWithText-list ul li i:where([class]){margin-right:8px}
}

.list--IconWithText-list ul li a{color:#10171e;font-size:18px}

.slick-slider--with-icon .slick-arrow{position:absolute;border-radius:50%;width:50px;height:50px;top:calc(50% - 50px);border:2px solid #10171e;z-index:99;background:#fff;font-size:30px;font-weight:900;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}

.slick-slider--with-icon .slick-arrow.slick-next{right:-55px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}

.slick-slider--with-icon .slick-arrow.slick-prev{left:-55px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}

@media (max-width:767px) {
    .slick-slider--with-icon .slick-arrow{display:none}
}

.list--IconWithText-list ul li{margin-bottom:5px}

.list--IconWithText-list .icon i{height:50px;width:50px;border:2px solid;border-radius:50%;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;background:#c41f2f;color:#fff}

.list--IconWithText-list.list--sm li{margin-bottom:6px}

.list--IconWithText-list.list--sm .link a{font-size:16px}

.list--IconWithText-list .btn{padding-right:0}

@media (max-width:767px) {
    .list--IconWithText-list .btn{font-size:16px;line-height:20px}
}

.list--IconWithText-list .btn>span{font-size:16px}

/* Card Slider — the arrows and dots follow the Icon colours.
 *
 * The element used to offer three colour pickers, one for the arrows and two
 * for the dots, each writing an !important rule into the middle of the page.
 * The arrows are now the same circular, bordered control the Flexible Content
 * and Image Slider sliders use, which `cognita_wpbakery_slider_arrow_styles()`
 * already paints from Icon Background and Icon Colour in Global Options.
 *
 * slick-slider--with-icon parks its arrows 55px outside the slider, which suits
 * a full-width image slider and would hang them off the edge of a card row —
 * they sit just inside here instead. */
.card-items-slider .slick-arrow {
    position: absolute;
    top: calc(50% - 25px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 2px solid #10171e;
    border-radius: 50%;
    background: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.card-items-slider .slick-arrow.slick-prev { left: 0; transform: rotate(180deg); }

.card-items-slider .slick-arrow.slick-next { right: 0; transform: rotate(180deg); }

@media (min-width: 768px) {
    .card-items-slider { padding-left: 60px; padding-right: 60px; }
}

/* Dots take the accent colour rather than a hardcoded black. */
.card-items-slider .slick-dots li button:before { color: var(--cwb-accent-bg, #10171e); opacity: .35; }

.card-items-slider .slick-dots li.slick-active button:before { color: var(--cwb-accent-bg, #10171e); opacity: 1; }

.cwb-thumbs.is-collapsed .cwb-thumbs__extra {
    display: none;
}

.cwb-thumbs .cwb-thumbs__more {
    padding: 2px 8px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.cwb-thumbs .cwb-thumbs__more:focus-visible {
    outline: 3px solid var(--cwb-link, #1a558b);
    outline-offset: 3px;
}

.py-4,
.enquirypagetemplate .pb-4,
.py-4 {
    padding-bottom: 1.5rem!important;
}

@media screen and (max-width:991px) {
    .component.p-md-4.section--blue,
    .component.p-md-4.section--white,
    .component.p-md-4.section--grey {
        padding: 24px!important;
    }

    .card.horizontal--card.img--100 img {
        height: 100%;
    }

    .mob-P-0 {
        padding: 0;
    }
}

.prize h6 {
    font-size: 1.125rem;
    font-weight: 700;
}

.hash-list .ul-marker li:before {
    display: none;
}

/*
* The arrows and the dots are meant to be found: frosted dark glass with a
* white glyph, so they hold up on a bright photograph and a dark one alike,
* and they fill white on hover or focus like a button would.
*/
.header-media-slider__arrow,
.header-media-slider__controls {
    background: rgba(16, 23, 30, 0.45);
    border: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
}

/* Hidden on phones, where a swipe moves the slides. slick writes an inline
display onto its arrows, so both states need !important to hold. */
.header-media-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-media-slider__arrow--prev {
    left: 24px;
}

.header-media-slider__arrow--next {
    right: 24px;
}

@media (min-width: 768px) {
    .header-media-slider__arrow {
        display: inline-flex !important;
    }
}

.header-media-slider__arrow svg {
    width: 24px;
    height: 24px;
}

.header-media-slider__arrow:hover,
.header-media-slider__arrow:focus-visible {
    background: #fff;
    color: #10171e;
}

/* A white ring with a dark halo, so focus shows on any image. */
.header-media-slider__arrow:focus-visible,
.header-media-slider__pause:focus-visible,
.header-media-slider__dot-list button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(16, 23, 30, 0.6);
}

/* The dots, with the pause button first, where the scroll arrow would be.
They fade in once the slider is running - it starts after the page has
loaded - rather than showing a pause button with nothing to pause. */
.header-media-slider__controls {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    transform: translateX(-50%);
}

.header-media-slider__pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-media-slider__dot-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-media-slider__dot-list li {
    margin: 0;
    padding: 0;
}

.header-media-slider__dot-list li::before,
.header-media-slider__dot-list li::after {
    content: none;
}

/* A 24px target around a 10px dot; the current slide's dot stretches into a
pill. */
.header-media-slider__dot-list button {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 0;
    cursor: pointer;
    transition: width 0.3s ease;
}

.header-media-slider__dot-list button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    opacity: 0.55;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, opacity 0.2s ease;
}

.header-media-slider__dot-list button:hover::before {
    opacity: 1;
}

.header-media-slider__dot-list .slick-active button {
    width: 36px;
}

.header-media-slider__dot-list .slick-active button::before {
    width: 26px;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .header-media-slider__controls,
    .header-media-slider__arrow,
    .header-media-slider__pause,
    .header-media-slider__dot-list button,
    .header-media-slider__dot-list button::before {
        transition: none;
    }
}

@media (max-width: 767px) {
    .no-gap-mobile .col-xl-4.col-lg-4.col-md-4.boxPadding-0 {
        margin-bottom: 0px!important;
    }

    .no-gap-mobile .justify-content-between {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.section--blue .card.border-0.section--yellow {
    color: #fff;
}

ul.small-items.ul-marker {
    position: relative;
    left: 15px;
}

.section--withBG.section--blue:before {
    background: none;
}

/* A Section Background Image stands in for the colour profile's background
colour, and only that: text, headings, buttons and accent colours all still
come from the profile. Skipping the inline background-color covers most
profiles, but the 1. Brand profile is also written to .main-color and its
legacy .section--blue alias as a stylesheet rule, so it needs overriding
here. Listing every profile keeps this working if any of them is given a
stylesheet output later. */
.section--withBG.main-color,
.section--withBG.primary-color,
.section--withBG.secondary-color,
.section--withBG.tertiary-color,
.section--withBG.light-color,
.section--withBG.dark-color,
.section--withBG.section--blue {
    background-color: transparent;
}

.card.horizontal--card .component.link .btn-primary {
    color: #fff;
}

.section--blue .card.horizontal--card .component.link .btn-primary {
    color: #6f96b7;
}

.row>div>.pt-4:first-child {
    padding-top: 0!important;
}

.form-step>.col-lg-8:nth-child(2) {
    margin-top: 25px;
}

.form-step>.col-lg-8>.col-lg-12 {
    margin-top: 30px;
}

._video_modal .modal-dialog {
    min-width: 60%;
    /* A video modal holds one thing, so it sits in the middle of the screen.
       Anchored to the top, a 16:9 player on a tall phone left most of a screen
       of empty panel below it. This is what Bootstrap's own
       .modal-dialog-centered does, applied here so the markup stays as it is. */
    min-height: calc(100% - 1rem);
    display: flex;
    align-items: center;
}

/* height:auto carries over from the old "div#herovideo-modal .modal-content"
rule. Without it the booking-modal styling this markup shares stretches the
panel to the full height of the screen, which is right for a form and leaves
a video sitting at the top of an otherwise empty panel. */
._video_modal .modal-content {
    width: 100%;
    height: auto;
    /* `.modal-content{min-height:100vh}` in this stylesheet makes every modal as
       tall as the window below 768px, which leaves a centred dialog nothing to
       centre within - the same trap the gallery modal hit above. */
    min-height: 0;
}

._video_modal .modal-body.padding-bottom {
    padding: 100px 25px 25px;
}

._video_modal .btn-close {
    background: white!important;
}

/* A video player is 16:9, so let the ratio set the height rather than a
viewport unit. The popup used to be 50vh tall on desktop and 100vh on mobile
with the width left to the modal, so the frame's shape changed with the
window and only matched the video by coincidence at some sizes. */
._video_modal .cwb-video__mount > iframe {
    display: block;
    /* The width is capped rather than the height: capping the height while the
       width stayed at 100% would stretch the box wider than 16:9 and letterbox
       the video inside it. Working back from the height cap keeps the ratio. */
    width: min(100%, calc(70vh * 16 / 9));
    height: auto;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
}

.card.horizontal--card .col-7 .card-body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.section--blue .section--grey.horizontal--card .link .btn,
.section--blue .section--white.horizontal--card .link .btn {
    color: #6F96B7;
}

section.container-width {
    max-width: 1140px !important;
    margin: auto;
}

.container-width .slick-carousel {
    width: 97%;
    margin: auto;
}

.animated {
    animation-duration: 1.5s !important;
    transition-delay: 05ms !important;
}

.table-with-multi-cell td,
.table-with-multi-cell th {
    border-right: 1px solid #ddd;
}

.linkcard .card--bordered .btn.btn-link.simple-link.h5 {
    color: #fff;
}

.school-iframe.h-100:hover img {
    opacity: 0.5;
    background: #01379b;
    border: #013087 solid 2px;
}

.school-iframe.h-100 .view-more {
    display: none;
}

.school-iframe.h-100:hover .view-more {
    display: block;
    position: absolute;
    top: calc( 50% - 21px);
    left: calc( 50% - 62px);
    border-radius: 5px;
    background: #00205c;
    color: #fff;
    padding: 5px 10px;
    border: none
}

.school-iframe.h-100 {
    position: relative;
}

.school-iframe.h-100 a {
    width: 100%;
    height: 100%;
    float: left;
}

@media only screen and (max-width:576px) {
    .school-iframe.h-100 .view-more {
        display: block;
        position: absolute;
        top: calc( 50% - 21px);
        left: calc( 50% - 62px);
        border-radius: 5px;
        background: #00205c;
        color: #fff;
        padding: 5px 10px;
        border: none
    }

    .school-iframe.h-100 img {
        opacity: 0.5;
        background: #01379b;
        border: #013087 solid 2px;
    }
}

.modal-overlay a.btn-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-right: 10px;
    color: #6f96b7;
    margin: 0;
    right: 10px;
    width: 100%;
    padding-right: 0;
}

.modal-overlay.sm--modal a.btn-link i {
    height: 20px;
    width: 20px;
    font-size: 12px;
    border-color: #6f96b7;
    color: #6f96b7;
}

.modal-overlay a.btn-link i {
    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;
    height: 35px;
    width: 35px;
    border: 2px solid;
    border-radius: 50%;
    text-align: right;
    margin-bottom: 10px;
    margin-right: 0;
}

.card.horizontal--card.horizontal--card-sm .modal-overlay.sm--modal a:after {
    content: none !important
}

.thumbitemDesc {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.center-button-flexible {
    position: relative;
}

.btnBottom-flexible {
    bottom: 9px;
    width: 100%;
    left: 0;
}

.callout-img.halfcol--img{background-position: center;}

.tech-images .callout-img.halfcol--img {
    height: auto;
}

.tech-images .leftBottom-content .heading .h5{
    padding: 4px 10px 4px 10px;
}

.tech-images .callout-img .img-overlay>div {
    width: auto;
}

.news--section .single-img .callout-img.halfcol--img{
height: auto;
min-height: auto;}

.blog-post .col-sm-12.col-md-10.col-lg-9.mx-auto {
    width: 100%;
}

/* Homepage Module News cards */
.card.card--white.d-flex-box {

    padding-bottom: 10px;
    height: 100%;
    display: flex!important;
    justify-content: space-between;
    flex-direction: column;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .three-columns-full .thumbitemDesc .component .btn{
        min-width:auto;
    }
}

.three-columns-full img.card-img-top{
    height:630px;
}

.three-columns-full .thumbitemDesc {
    position: absolute;
    text-align: center;
    display: flex;
    color: #fff;
    justify-content: end;
    height: 100%;
    width: 100%;
}

.thumbitemDesc p.sub-title-big {
    min-height: 120px;
}

@media (max-width: 767px) {
    .page_video iframe.callout__iframe {
        height: auto !important;
    }

    .three-columns-full img.card-img-top{
        height:512px;
    }
}

.three-columns-full .thumbitemDesc .component .btn {
    margin-bottom: 20px;
}

.three-columns-full.card.card--white.center-button-flexible {
    cursor: pointer;
}

.tech-images.next-steps-module:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/*
* The card grows a little under the pointer; it does the same when the link
* has keyboard focus, which also gets a ring, and it eases back as well as
* out. Nobody who has asked for less motion gets the movement.
*/
.tech-images.next-steps-module {
    transition: transform 0.3s ease-in-out;
}

.tech-images.next-steps-module:focus-within {
    transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
    .tech-images.next-steps-module,
    .tech-images.next-steps-module:hover,
    .tech-images.next-steps-module:focus-within {
        transform: none;
        transition: none;
    }
}

.tech-images .leftBottom-content .heading .h5 {
    line-height: 40px;
     font-size: 25px;
    font-weight: 400;
}

.tech-images .callout-img.halfcol--img {
    width: auto;
    border-radius: unset;
}

.card-items-slider .card-body.thumbitemDesc .card-title--desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
}

.row>div>.pt-4:first-child{padding-top:0!important}

@media (max-width:767px) {
    .row>div.order-2.order-md-1{margin-top:20px;margin-bottom:0}

    .row>div.order-1.order-md-2{margin-top:0;margin-bottom:0}

    .row>div.order-3.order-md-2{margin-top:20px;margin-bottom:0}

    .row>div.col-lg-8>.row>.col-lg-6{margin-top:0;margin-bottom:0}
}

.cards--section .row>div.col-lg-3,.cards--section .row>div.col-lg-4,.cards--section .row>div.col-lg-6,.cards--section .row>div.col-lg-8{margin-bottom:0;margin-top:0}

.section--blue .link .btn-link.simple-link,.section--blue .link .simple-link.btn-modal{color:#fff}

.section--blue .horizontal--card{color:#10171e}

.section--withBG{background-position:right;background-repeat:no-repeat;position:relative;background-size:cover}

.section--withBG .container,.section--withBG .container-fluid{position:relative;z-index:1}

.section--withBG:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0}

.section--withBG.section--grey:before{background:rgba(240,240,240,.8)}

.section--withBG.section--white:before{background:linear-gradient(89deg, #ffffffed, transparent)}

@media (max-width:991px) {
    .margin-top-lg.order-1.order-md-2{margin-top:-125px}

    .padding-bottom{padding-bottom:40px}
}

.centerText{text-align:center}

@media (max-width:767px) {
    .centerText{text-align:left}
}

/* Brand rule: the shared section title is centred by default and switches to
left-aligned on mobile, matching .centerText above. Applied to the shared
section title component so every element using it follows the guideline
without repeating the rule per element. */
.cwb-section-title,.cwb-section-title h1,.cwb-section-title h2,.cwb-section-title h3,.cwb-section-title h4,.cwb-section-title h5,.cwb-section-title h6,.cwb-section-title p,.cwb-section-description,.cwb-section-description p{text-align:center}

@media (max-width:767px) {
    .cwb-section-title,.cwb-section-title h1,.cwb-section-title h2,.cwb-section-title h3,.cwb-section-title h4,.cwb-section-title h5,.cwb-section-title h6,.cwb-section-title p,.cwb-section-description,.cwb-section-description p{text-align:left}
}

/* Section heading spacing.

Spacing here is owned by the heading block and expressed as bottom margins
only, so it travels with whatever is actually present: leave the description
out and its spacing goes with it, with nothing left behind to collapse or
compensate for.

1. The block owns the gap to the content below it, so that gap no longer
   depends on what the next element happens to be. The site's general
   `component` spacing is a top margin, which meant an element that wrapped
   its content in `component` sat further from the heading than one that did
   not — the same heading spacing differently per element.
2. Inside the block, each part carries its own bottom margin and the last
   one clears it, so title-only, description-only and both are all spaced
   correctly without needing to know which case applies.
3. The inherited top margins are zeroed rather than the site-wide
   `component` rule being changed, which is relied on in several hundred
   places and is not safe to alter globally. */
/* Full Width Text's section label sits in a row that centres its contents,
which is right for the title and body text but not for the label: the same
label in other elements is left aligned with its rule under the left edge.
These rules restore that, leaving the rest of the section centred.

The rule under the label needs `.centerText` in the selector to sit above
the centring rule further down this stylesheet, which is otherwise an exact
specificity tie and would win simply by coming later. */
.cwb-element--vc-full-width-text .title{text-align:left}

.cwb-element--vc-full-width-text .centerText .title .body-small::after,
.cwb-element--vc-full-width-text .title .body-small::after{left:0;right:auto;margin:0}

/* Flexible Content images render as a real <img> inside the ratio box rather
than as a CSS background, so they carry alt text, a srcset and lazy loading.
Bootstrap's .ratio>* already positions and fills the image; object-fit takes
over from the background-size: cover the background version relied on.

Scoped to .cwb-image, which only this element emits, so the other elements
still rendering .callout-img as a background are untouched. */
.cwb-image>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

/* The overlay tint sits above the image. It used to be a <style> block keyed to
a random class, colouring Bootstrap's .ratio::before — which no longer works
once the box has a positioned child, because the image paints over it. The
colour now comes in as a custom property and the tint is its own layer. */
.cwb-image--overlay::after{content:"";position:absolute;inset:0;z-index:1;background:var(--cwb-image-overlay,transparent);pointer-events:none}

/* Flexible Content slider slides carry a real <img> for the same reasons. The
box keeps its .callout-img sizing, so object-fit and object-position stand in
for the background-size: cover and background-position: right it used to
inherit, and border-radius: inherit keeps the rounded corners the background
used to get for free. */
.cwb-slider__img>img{width:100%;height:100%;object-fit:cover;object-position:right;display:block;border-radius:inherit}

@media (max-width:767px) {
    .section.cwb-bgimage.callout-img.full--img{min-height:0}
}

/* A slide height set on the element. The class is only present when a height was
actually entered, so sliders without one keep the theme's own 550px/270px.
Outweighing .slick-slider.full--slider .callout-img on specificity replaces
the !important the old per-slider <style> block relied on. */
.cwb-slider--height .slick-slider.full--slider .callout-img{height:var(--cwb-slider-height)}

/* A slide shape sizes the slide instead, through Bootstrap's own ratio classes.
Those hold the box open with padding, which cannot work while the theme is
also setting an explicit height, so the height is released here. Unlike the
fixed height, a shape scales with the column, so these slides shrink on a
phone rather than keeping their desktop height. */
.cwb-slider--ratio .slick-slider.full--slider .callout-img{height:auto;min-height:0}

/* Three older rules further down the stylesheet also reach these images, and all
three outrank `.cwb-slider__img>img` on specificity, so they were winning:

  .slick-slider .slick-slide img{max-height:40vh}   - caps the image short of
    its box, which is what stopped a shape having any visible effect
  .slick-slider .slick-slide img{border-radius:0}   - under 767px only
  .callout-img{min-height:370px}                    - under 767px only, and
    handled by the min-height:0 above

They were written for images sized by their own height. These slides are
sized by the box around them, so the image should fill it. */
.cwb-slider .slick-slider .cwb-slider__img>img{max-height:none;border-radius:inherit}

/* The caption wrapper is a <figure> so that its <figcaption> is valid. Only the
bottom margin is reset - Bootstrap's reboot gives every figure 1rem of it -
because the 20px above the caption comes from .component and should stay. */
.cwb-slider figure{margin-bottom:0}

/* The arrows are positioned against the slider, so anything under the image
pushes them off the picture: the stylesheet's own `top: calc(50% - 50px)`
centres them on the whole slide and then lifts them a further 25px, which is
why they sat high on a slider with no captions and dropped on one with them.

They now centre on the image, by discounting the caption strip. One caption's
worth of space is held open on every slide of a slider that has captions -
see vc_sol_flex_slider() - so the strip is the same height on all of them and
the arrows do not move as you page through. A slider with no captions
discounts nothing and centres on the image directly. */
.cwb-slider{--cwb-slider-caption:0px}

.cwb-slider--captions{--cwb-slider-caption-h:30px;--cwb-slider-caption:calc(20px + var(--cwb-slider-caption-h))}

.cwb-slider--captions figure.sub-heading{min-height:var(--cwb-slider-caption-h)}

.cwb-slider .slick-slider--with-icon .slick-arrow{top:calc((100% - var(--cwb-slider-caption))/2 - 25px)}

/* Slick wraps each slide's contents in an inline-block, which sits on a text
baseline. Where a slide contains text - a caption - that text supplies the
baseline and the wrapper fills its line box. Where it does not, the baseline
falls back to the wrapper's bottom margin edge and the line box adds room for
descenders underneath it: 7px at this font size. So a slide with a caption
and one without differ in height by more than the caption, and with Slick's
adaptiveHeight the slider grows as you page onto an uncaptioned slide.

Aligning the wrapper to the top of its line box removes the descender space,
so every slide is the height of its own contents. */
.cwb-slider .slick-slide>div>div{vertical-align:top}

/* Flexible Content Embed. The caption is inside a <figure> so the <figcaption>
is valid, which brings Bootstrap's 1rem figure margin with it - the spacing
under an embed is owned by whatever follows it, as it was before the wrapper
existed. The frame itself is sized by the .ratio box around it, replacing the
inline width/height the iframe used to carry. */
.cwb-embed{margin-bottom:0}

.cwb-section-heading{margin-bottom:30px}

.cwb-section-heading>*{margin-top:0;margin-bottom:10px}

.cwb-section-heading>*:last-child{margin-bottom:0}

.cwb-section-heading+*{margin-top:0}

/* Paragraphs inside a section description are separated.
*
* A blank line in the field makes wpautop write a second <p>, but the theme's
* typography reset reduces every <p> to `margin:0`, so the two ran together
* with a 0px gap and read as one paragraph. This restores the 1rem Bootstrap
* gives a <p> by default, for this container only.
*
* `:not(:last-child)` rather than zeroing the last one: a lone paragraph is
* itself the last child and so is never given a margin, and if a description
* ends in something other than a <p> - a list, say - the paragraphs before it
* still get their spacing. The gap under the whole block stays the 10px the
* rule above gives it. */
.cwb-section-description p:not(:last-child){margin-bottom:16px}

/* The shared section label reuses the `title` styling so it matches the same
label elsewhere, but that styling carries its own large bottom margin. Inside
the heading block the spacing is owned by the block, so it is normalised here
— and the label stays left aligned with its rule under the left edge, even
where the title and description above it are centred. */
.cwb-section-heading .cwb-section-label{margin-bottom:10px;text-align:left}

.cwb-section-heading .cwb-section-label:last-child{margin-bottom:0}

.cwb-section-heading .cwb-section-label .body-small::after{left:0;right:auto;margin:0}

@media (max-width:767px) {
    .extra-display-h1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}
}

.h8{font-size:22px;font-weight:700;line-height:24px}

@media (max-width:767px) {
    .h8{font-size:20px;line-height:24px}
}

.h9{font-size:16px;font-weight:400}

.body-large{font-size:20px;font-weight:400;line-height:24px}

.body-large-bold{font-size:20px;line-height:24px;font-weight:700}

/* .body-medium is a deliberate editor choice ("Text medium normal") selected in
the backend, so it keeps its own size/weight/line-height. It is no longer
hardcoded into element templates — template text inherits the Global Options
body typography instead. */
.body-medium{font-size:18px;font-weight:400;line-height:24px}

.body-medium-bold{font-size:18px;line-height:24px;font-weight:600}

.body-small-bold{font-size:16px;font-weight:600;line-height:22px}

/* Title styles 1-4 (0.11.1): the four extra Title Appearance choices. A title
that chose one carries its old class as well (h7, h8, body-medium-bold or
body-small), and this class on top takes the size and weight set in Global
Options > Typography > Title Styles, through the theme's --title-style-N
tokens, which include the shrinking on phones. The templates that print the
old classes on their own (news cards, staff names, footer text) are untouched.

The fallbacks are the old classes' own values, for a theme that prints no
tokens, and the tokens' presets are the same values, so a site that has not
changed the settings looks as before on desktop. The font is not set: it
stays the tag's own. One class, so a rule aimed at the old class in a
particular place (.title .body-small, card headers) still wins there, as it
did. Line heights keep the old values at the preset size and grow in
proportion with a larger one, so a bigger style does not overlap itself;
Style 1 keeps .h7's inherited line height. */
.cwb-title-style-1{font-size:var(--title-style-1-size,25px);font-weight:var(--title-style-1-weight,700)}

.cwb-title-style-2{font-size:var(--title-style-2-size,22px);font-weight:var(--title-style-2-weight,700);line-height:max(24px,1.0909em)}

.cwb-title-style-3{font-size:var(--title-style-3-size,18px);font-weight:var(--title-style-3-weight,600);line-height:max(24px,1.3333em)}

.cwb-title-style-4{font-size:var(--title-style-4-size,16px);font-weight:var(--title-style-4-weight,400);line-height:max(22px,1.375em)}

@media (max-width:767px) {
    .cwb-title-style-1{font-size:var(--title-style-1-size,18px)}

    .cwb-title-style-2{font-size:var(--title-style-2-size,20px)}
}

header .container-fluid .col-lg-6{margin:0}

.centerText .title .body-small::after{right:0;margin:auto}

@media (max-width:767px) {
    .centerText .title .body-small::after{margin:0}
}

.list--IconWithText-list.bordered--icon i:where([class]){border:3px solid;border-radius:50%;height:50px;width:50px}

ul.small-items.ul-marker{position:relative;left:15px;width:calc(100% - 15px)}

ul.small-items.ul-marker li{padding-left:0}

.link .btn-link--withouticon:after{position:relative;top:3px}

.link .btn-link.simple-link,.link .simple-link.btn-modal{padding:0;color:#6f96b7}

.link .btn-link.simple-link:after,.link .simple-link.btn-modal:after{position:relative}

.link .btn-expand{padding:0;text-decoration:none;font-weight:700;position:relative;text-align:left;color:#6f96b7}

.link .btn-expand:after{content:"\f107";font-family:"Font Awesome 5 Free";top:2px;margin-left:7px;position:absolute;right:-15px}

.link .btn-expand~.component{display:none}

.modal-overlay{position:absolute;left:0;top:0;bottom:0;right:0}

.link .modal-overlay button.btn-modal,.modal-overlay .link button.btn-modal,.modal-overlay button.btn-link{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding-right:10px;color:#6f96b7;margin:0;right:10px;width:100%;padding-right:0}

.link .modal-overlay button.btn-modal i,.modal-overlay .link button.btn-modal i,.modal-overlay button.btn-link i{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;height:35px;width:35px;border:2px solid;border-radius:50%;text-align:right;margin-bottom:10px;margin-right:0}

.link .modal-overlay button.btn-modal:after,.modal-overlay .link button.btn-modal:after,.modal-overlay button.btn-link:after{display:none}

.link .modal-overlay.sm--modal button.btn-modal i,.modal-overlay.sm--modal .link button.btn-modal i,.modal-overlay.sm--modal button.btn-link i{height:20px;width:20px;font-size:12px;border-color:#6f96b7;color:#6f96b7}

@media (max-width:767px) {
    .welcome--section .row>div.order-1.order-md-2.margin-top-lg{margin-top:-135px;margin-bottom:20px}
}

.level-percentage .card .card-body p.body-small-bold {font-size:20px;line-height:24px}

.slick-slider.full--slider .callout-img{height:550px}

@media (max-width:767px) {
    .slick-slider.full--slider .callout-img{height:270px}

    .slick-carousel{overflow:hidden}
}

.fee-table .table .prize{text-align:right}

.fee-table .prize{position:relative;white-space:nowrap}

.fee-table .prize h6{font-size:16px}

.fee-table.fixed-table .table tr th{width:33.3%}

@media (max-width:767px) {

    .form-step .row>.order-md-1.order-2{margin-top:45px}

    .form-step .row>.order-md-1.order-2 .h8{margin-bottom:10px}

    .card .card-title.body-large-bold{font-size:18px;padding:0;margin:0}

    .card.blue-heading .card-header.body-large-bold{font-size:18px;margin:0}

    .card.blue-heading .card-header .body-large-bold {font-size:16px}

    .card .card-header.section--blue .body-large-bold,.card .card-header.section--blue .body-medium-bold{font-size:16px}
}

.card.horizontal--card{margin-top:15px;height:auto}

.card.horizontal--card:nth-child(n+1){margin-top:20px}

.card.horizontal--card .component{margin:0}

.card.horizontal--card .component a{color:#6f96b7}

.card.horizontal--card .component .body-medium-bold,.card.horizontal--card .component .body-small{font-size:14px;line-height:18px;text-align:left}

.card.horizontal--card:first-child{margin-top:0}

.card.horizontal--card .row{min-height:117px}

.card.horizontal--card .row>div:last-child{display:-webkit-box;display:-ms-flexbox;display:flex}

.card.horizontal--card .row>div:last-child .component:first-child{margin-top:0!important;padding-top:0!important}

.card.horizontal--card img{width:100%;height:120px}

@media (max-width:991px) {
    .card.horizontal--card img{min-height:120px;height:auto}
}

@media (max-width:767px) {
    .card.horizontal--card .row>div,.card.horizontal--card .row>div.col-lg-4,.card.horizontal--card .row>div.col-lg-6{margin-bottom:0;margin-top:0}

    .card.horizontal--card .body-large-bold{font-size:18px}
}

.card.horizontal--card.img--100 img{height:140px}

.card.horizontal--card.img--100 .card-body{padding:10px}

@media (max-width:767px) {
    .card.horizontal--card.img--100 .card-body{padding:15px}
}

.card.horizontal--card-sm img{height:100px}

.IconWithText-list .card-header{min-height:60px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}

@media (max-width:767px) {
    .section--blue .card-header .body-large-bold {font-size:16px}

    .one-column .modal-overlay.link{max-width:100%;right:0;bottom:6px}
}

.one-column .modal-overlay i{margin-bottom:9px}

.one-column .simple-link{font-size:30px;line-height:34px;margin-bottom:15px}

.two-column .simple-link{font-size:20px;line-height:24px;margin-bottom:15px}

.bg-light .btn-close{color:#c41f2f;border-color:#c41f2f;background:#fff;padding:0}

.bg-light .btn-close:hover{color:#c41f2f}

.modal .bg-light .btn-close{color:#10171e;border-color:#10171e}

.modal .bg-light .btn-close:hover {color:#10171e}

@media (max-width:767px) {
    .extra--padding.mob-P-0 .modal-body{padding:0}

    #classmodal .row>div.order-2.order-md-1{margin-top:0}

    #classmodal .img-sec .callout-img{min-height:200px}
}

.callout-img .cwb-slider__img>img {border-radius:3px}

.callout-img.full--img{min-height:580px}

@media (max-width:767px) {
    .callout-img.full--img{min-height:500px;background-position:right}

    .callout-img.full--img .img-overlay{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}
}

.callout-img.halfcol--img{min-height:300px}

.callout-img.halfcol--img .img-overlay{padding:15px}

@media (min-width:768px) {
    .callout-img.halfcol--img{min-height:210px}
}

@media (max-width:767px) {
    .callout-img.halfcol--img{min-height:210px}
}

.callout-img.map--img{height:353px}

@media (max-width:767px) {
    .callout-img.map--img{height:195px;min-height:initial}
}

.callout--video.full--img{min-height:500px}

@media (max-width:767px) {
    .callout--video.full--img{min-height:320px;height:320px}
}

.news--section .callout-img.halfcol--img{min-height:200px}

.easysteps .row>div.col-lg-6, .easysteps .row>div.col-lg-8 {margin:0}

.list--IconWithText-list.bordered--icon .icon i{border-width:2px}

.rating-sec .stars{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}

.rating-sec .stars div{margin:0 2px 5px}

.rating-sec .stars div svg{float:left}

.rating-sec .stars div svg path{fill:#fff}

.rating-sec .stars.star--sm svg{height:32px;width:34px;float:left}

.rating-sec--grey .stars div,.rating-sec--white .stars div{margin:0 2px 5px}

.rating-sec--grey .stars div svg path,.rating-sec--white .stars div svg path{fill:#c41f2f}

/* Extra-large selectable title tier (D3) — responsive ladder preserved. */
.extra-display-h1 { font-size: var(--extra-display-h1-size); }

@media (max-width: 767px) {
    .extra-display-h1 { font-size: var(--extra-display-h1-size-md); }
}

@media (max-width: 420px) {
    .extra-display-h1 { font-size: var(--extra-display-h1-size-sm); }
}

/* The rule under a section label sits at the left of the label, not the middle.
*
* `.centerText .title .body-small::after` re-centres it with `right:0;margin:auto`,
* and scores the same as the shared label rule, so whichever came later in the
* stylesheet won - which was the centring one. Full Width Text already carried a
* copy of this fix scoped to itself; this is the same fix for every element that
* uses the shared section heading, by naming the class the label already has. */
.cwb-section-heading .cwb-section-label.title .body-small::after { left: 0; right: auto; margin: 0; }

/* image_only cards keep the rounded bottom the card body would otherwise give
them. This was a bare `.card-img-top` rule written into the page, unscoped,
so it rounded every card image on the page and not just this slider's.
Cards - Columns is the same cards without the carousel and takes the same
rule. */
.card-items-slider .card-img-top--only .card-img-top,
.cwb-cards .card-img-top--only .card-img-top {
    border-bottom-left-radius: calc(.25rem - 1px);
    border-bottom-right-radius: calc(.25rem - 1px);
}

/* The Thumbnail Card's title follows the section's Text Link Colour.
*
* `.card.horizontal--card .component a` hardcodes #6f96b7 and, at three
* classes to their two, outweighs the per-profile link rules Global Options
* writes - so the title stayed that blue whatever the profile said. Naming the
* anchor's own class outweighs it in turn, and --cwb-link carries the profile's
* colour, falling back to the hardcoded value so nothing moves where no link
* colour is set. The other seven elements sharing `.horizontal--card` keep the
* rule they have. */
.card.horizontal--card .component a.cwb-card-link{color:var(--cwb-link,#6f96b7)}

.card.horizontal--card .component a.cwb-card-link:hover{color:var(--cwb-link-hover,#6f96b7)}

/* The image fills the card.
*
* `.card.horizontal--card.img--100 img` sets height:140px, so a card whose
* text ran past that was left with a 140px image and white space beneath it -
* 210px and 201px cards with a 140px image on the test page. Four classes
* outscore that rule without needing !important.
*
* The image comes out of the flow so the text decides the card's height, and
* min-height keeps the 140px floor it has always had when the text is the
* shorter of the two. */
.card.horizontal--card.cwb-flex-card .cwb-flex-card__media {
    position: relative;
    min-height: 140px;
    height: 100%;
    /* The card's own corners, on the two the image sits against. Other cards
     * get these from `rounded-start` on the <img>, which cannot work here: the
     * image is positioned to fill a box it no longer sizes, so the corners
     * belong to the box and are clipped rather than drawn on the image. The
     * radius is read from the card rather than repeated, so the two cannot
     * drift apart. */
    overflow: hidden;
    border-radius: var(--bs-card-border-radius, 6px) 0 0 var(--bs-card-border-radius, 6px);
}

/* An image with no text beside it is the whole card, so it takes all four. */
.card.horizontal--card.cwb-flex-card .cwb-flex-card__media--full {
    border-radius: var(--bs-card-border-radius, 6px);
}

.card.horizontal--card.cwb-flex-card.img--100 .cwb-flex-card__media > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 575.98px) {
    .card.horizontal--card.cwb-flex-card .cwb-flex-card__media {
        min-height: 0;
        aspect-ratio: 16 / 9;
        /* Stacked, so the rounded pair moves from the left to the top. */
        border-radius: var(--bs-card-border-radius, 6px) var(--bs-card-border-radius, 6px) 0 0;
    }

    .card.horizontal--card.cwb-flex-card .cwb-flex-card__media--full {
        border-radius: var(--bs-card-border-radius, 6px);
    }
}

/* The body used to sit in a `.col-7`, which is what
* `.card.horizontal--card .col-7 .card-body` styled. It is `col-sm-7` now that
* the two halves stack, so the rule is re-hung on the body's own class. */
.card.horizontal--card.cwb-flex-card .cwb-flex-card__body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    /* Bootstrap's own card padding, the 16px every other card element gets.
     * `.card.horizontal--card.img--100 .card-body` sets 10px, and 15px below
     * 768px, which left the text almost against the image. That rule scores
     * the same four classes as this one, so source order settles it - and it
     * is shared with the Thumbnail Card, which keeps its 10px. */
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}

/* The picture was a CSS background on the box, fixed at `min-height: 210px`
* whatever shape it was. It is an <img> filling a box of a chosen shape now,
* so the crop is object-fit and the height comes from the ratio. */
.callout-img.halfcol--img.cwb-overlay-image {
    /* Three classes: `.callout-img.halfcol--img{min-height:210px}` is two, and
     * it sits in the compiled block at the foot of this file, so an equal
     * score would be settled by source order in its favour - which held the
     * box at 210px and broke the shape in a narrow column. */
    min-height: 0;
}

/* Table - Fees, Term Dates, Staff List ====================================
*
* "Fixed Table Column Width" did almost nothing. It adds `.fixed-table`, and
* the only rule for it was `.fee-table.fixed-table .table tr th{width:33.3%}`
* - hardcoded to three columns, and never setting `table-layout`, so with the
* default `auto` the browser was free to ignore the width entirely. Both
* blocks using it are two-column tables, where it measured a plain 50/50.
*
* `table-layout: fixed` with no width at all divides the columns equally,
* whatever their number, which is what the option's name promises. The 33.3%
* has to be undone for that to work; three classes, because the rule setting
* it is two and sits in the compiled block at the foot of this file. */
.fee-table.fixed-table .table.table-with-multi-cell {
    table-layout: fixed;
}

.fee-table.fixed-table .table.table-with-multi-cell tr th {
    width: auto;
}

/* The table's own colours follow the section's colour profile.
*
* Both were hardcoded to the brand red: the heading background and the line
* under a row. They take the profile's accent now, falling back to that same
* red where a section has no profile, so nothing moves where none is set. A
* heading given a profile of its own paints itself inline and overrides this.
*
* Scoped to `.table-with-multi-cell`, because `.fee-table .table` is shared
* with the retired Fees Heading element. */
.fee-table .table.table-with-multi-cell thead th {
    background: var(--cwb-accent-bg, #c41f2f);
}

.fee-table .table.table-with-multi-cell tbody tr {
    border-color: var(--cwb-accent-bg, #c41f2f);
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Two across on a tablet whatever the choice, the same as the other card
    * elements, which take col-md-6 through this range. The base rule is
    * 31.3%, so three of these cards - a date, a title, an excerpt and a
    * button each - used to share a tablet row. */
    .gallery.cwb-catgrid li { width: 48%; }
}

@media (min-width: 992px) {
    .gallery.cwb-catgrid--2 li { width: 48%; }

    .gallery.cwb-catgrid--3 li { width: 31.3%; }

    .gallery.cwb-catgrid--4 li { width: 23%; }
}

/* A card image cropped to a chosen shape, the same treatment the other card
* elements use: Bootstrap's .ratio positions and stretches the image, which
* would distort it, so object-fit crops it instead. */
.cwb-catgrid__img.ratio > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Where the card button sits. Centre is the default; the class is always
* present, so this also replaces the inline `text-align` the button used to
* carry, and `.centerText`, which switches to left below 767px. */
/* The card list's own bottom margin goes with its padding: the space under
* the cards belongs to the View All button, which now carries it, so a grid
* without one ends at the cards. */
.gallery.cwb-catgrid { margin-bottom: 0; }

/* The View All button stays centred at every width. `.centerText` centres on a
* desktop but switches to left below 767px, which is not what this wants. */
.cwb-catgrid__viewall { text-align: center; }

.cwb-catgrid__btn-wrap--left   { text-align: left; }

.cwb-catgrid__btn-wrap--center { text-align: center; }

.cwb-catgrid__btn-wrap--right  { text-align: right; }

/* The category tab list.
*
* Spacing came from two places at once - `.filters{margin:1em 0}` plus an
* `mb-4` on the element - giving 18px above and 24px below a 31px list. The
* class is gone from the markup and the margin is set here in one place: none
* on top, where the section padding or the heading block's own bottom margin
* already provides the gap, and 24px below to separate the tabs from the cards.
*
* When the tabs wrap onto a second line, the rows touched: each tab is a float
* with only a right margin. As a wrapping flex row, row-gap adds space between
* lines only, so a single line of tabs keeps exactly its old height. The tabs
* keep their own 45px right margin, so they wrap at the same point as before. */
ul.cwb-catgrid-filters {
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 12px;
}

/* 14px was small against 18px body copy. */
ul.cwb-catgrid-filters .filters__item a.filter {
    font-size: 16px;
    color: var(--cwb-link, #10171e);
}

ul.cwb-catgrid-filters .filters__item a.filter:hover,
ul.cwb-catgrid-filters .filters__item a.filter:focus,
ul.cwb-catgrid-filters .filters__item a.filter.active {
    color: var(--cwb-link-hover, #10171e);
}

/* The sliding rule under a tab keeps its animation and takes the section's
* Accent Background Colour, the same source as the rule under a section label
* and under each card's meta line. It was painted from a head style hardcoded
* to the 1. Brand profile's background colour, with !important - which is why
* this carries one too, and an extra element in the selector to outrank it. */
ul.cwb-catgrid-filters li.filters__item a.filter:after {
    border-bottom-color: var(--cwb-accent-bg, #000) !important;
}

/* The card meta line carries the gap to the title, rather than the title's
* link carrying it above itself.
*
* The link takes `margin-top: 20px` from `.gallery li .card .card-body
* .btn.btn-link`, which is five classes deep, hence the length of the selector
* that zeroes it. The 14px below the meta line replaces it, so the spacing
* belongs to the element that owns it and disappears with it when the meta
* line is set to show neither.
*
* The rule's own padding drops from 22px to 18px, matching the section label:
* `.title .body-small` sets 18px, and `.card .card-body .title>p.body-small`
* was overriding it with 22px at four classes and an element, so this carries
* one class more. */
.card .card-body .component.cwb-catgrid__meta {
    margin-bottom: 14px;
}

.card .card-body .component.cwb-catgrid__meta > p.body-small {
    padding-bottom: 18px;
}

.gallery li .card .card-body .cwb-catgrid__title .btn.btn-link {
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 0;
}

/* The card button sits outside .card-body, so that the card's own flex column
* can hold it at the foot whatever height the content above it comes to. That
* part works; what it did not inherit was .card-body's horizontal padding, so
* a left- or right-aligned button sat flush against the card edge, 16px out of
* line with the title and text above it. It takes the same spacing token the
* card body uses, so the two stay in step.
*
* Moving the button inside .card-body and pinning it with `margin-top: auto`
* is the tidier structure, but .card-body sits inside .topcontent, which is a
* plain block and does not grow - so it would need that wrapper restructured
* too, and that is what holds a row of cards to a common height. Not worth
* risking for spacing that this fixes exactly. */
.cwb-catgrid__btn-wrap {
    padding-left: var(--bs-card-spacer-x, 16px);
    padding-right: var(--bs-card-spacer-x, 16px);
}

/* Custom Post Grid - the bio popup.
The window itself comes from .booking-modal and .extra--padding, shared with
the other modals on the site, and Bootstrap's .modal-dialog-scrollable keeps
a long bio scrolling inside it with the close button still reachable.

The paragraph rule is the same problem the section description had: the
theme's typography reset takes every <p> to `margin:0`, so a bio of several
paragraphs ran together as one block of text. This restores a gap for this
container only, matching the 16px used there. `:not(:last-child)` so a
single-paragraph bio adds no trailing space, and so paragraphs before a
closing list still get their spacing. */
.cwb-catgrid__bio-modal .cwb-catgrid__bio-title {
    margin-bottom: 16px;
}

.cwb-catgrid__bio-modal .cwb-catgrid__bio-content p:not(:last-child),
.cwb-catgrid__bio-modal .cwb-catgrid__bio-content ul:not(:last-child),
.cwb-catgrid__bio-modal .cwb-catgrid__bio-content ol:not(:last-child) {
    margin-bottom: 16px;
}

/* The image sits in its own column beside the text, as the retired Staff
module's popup did. Below 768px the columns stack, so the picture sits above
the bio and keeps its own gap. A post with no featured image gets the
--noimage class instead, and the text takes the full width rather than
leaving an empty column beside it. */
.cwb-catgrid__bio-modal .cwb-catgrid__bio-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .cwb-catgrid__bio-modal .cwb-catgrid__bio-media {
        margin-bottom: 16px;
    }
}

.cwb-catgrid__bio-row--noimage .cwb-catgrid__bio-media {
    display: none;
}

.cwb-catgrid__bio-row--noimage .cwb-catgrid__bio-main {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Until the content arrives the window shows "Loading" rather than an empty
white box, which read as broken. */
.cwb-catgrid__bio-loading {
    display: none;
}

.cwb-catgrid__bio-modal .cwb-catgrid__bio-row--loading + .cwb-catgrid__bio-loading {
    display: block;
}

.cwb-catgrid__bio-modal .cwb-catgrid__bio-row--loading {
    display: none;
}

/* The Custom Post Grid's role line - a staff member's job title under their
name. Bold, as marketing asked, at the body size so it reads as a label for
the name above rather than competing with it. Sits in the body text colour,
not the link colour: it is a fact about the person, not something to click. */
.gallery.cwb-catgrid .card .card-body p.cwb-catgrid__role {
    margin: 0 0 12px;
    font-family: var(--font-family-base, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--cwb-body-text, #10171e);
}

/*
* Thumbnail Cards with Media Pop-up (plugin `vc_thumbnailiframepop`, and the
* retired no-sidebar copy it also draws).
*
* The cards keep the stylesheet's horizontal card styling. Each card has one
* control: its title, a button whose stretched-link area covers the card. The
* + is a plain icon, drawn where the theme's .modal-overlay button used to put
* it - 20px, 11px in from the right and 9px up from the bottom - and the card
* gets a focus ring when its title has keyboard focus.
*
* The cards are white whatever the section's colour profile, so the title and
* the + take the Default profile's link colours - the ones chosen for a white
* background - in place of the stylesheet's fixed #6f96b7, which no Global
* Options setting could change. The title is 16px rather than 14px, on a
* relative line height so it scales with it.
*
* Under Full width, cards past the sixth are hidden until Show more is
* pressed. The button keeps the look of the Load more text it replaces - bold,
* centred, 12px under the cards, in the section's text colour.
*/
.cwb-thumbs .card.horizontal--card .component .cwb-media__title {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    color: var(--cwb-default-link, #6f96b7);
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
}

.cwb-thumbs .card.horizontal--card .component span.cwb-media__title {
    color: var(--cwb-body-text, #10171e);
}

.cwb-thumbs .card.horizontal--card:hover .component button.cwb-media__title {
    color: var(--cwb-default-link-hover, var(--cwb-default-link, #6f96b7));
}

.cwb-thumbs .card .cwb-media__plus {
    position: absolute;
    right: 11px;
    bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: var(--cwb-default-link, #6f96b7);
    font-size: 12px;
    line-height: 12px;
    pointer-events: none;
}

.cwb-thumbs .card.horizontal--card:hover .cwb-media__plus {
    color: var(--cwb-default-link-hover, var(--cwb-default-link, #6f96b7));
}

.cwb-thumbs .card .stretched-link:focus-visible {
    outline: 0;
}

.cwb-thumbs .card .stretched-link:focus-visible::after {
    border-radius: inherit;
    outline: 3px solid var(--cwb-link, #1a558b);
    outline-offset: 2px;
}

/* An embed pasted as code keeps the size in its code, up to the pop-up's
width. The 16:9 rule above is for the video player alone. */
._video_modal .cwb-media__embed iframe {
    display: block;
    max-width: 100%;
    margin-inline: auto;
}

.cwb-thumbs .cwb-thumbs__more-wrap {
    margin-top: 12px;
    text-align: center;
}

/* The sidebar's title takes its look from its tag, H3 by default. */
.cwb-thumbs .cwb-thumbs__sidebar-title {
    margin: 0 0 16px;
}

/* A sidebar with a colour profile of its own, not drawn as a card, is
padded so its text is not up against the edge of the colour. */
.cwb-thumbs .cwb-thumbs__sidebar--filled {
    padding: 24px;
    border-radius: 6px;
}

/* Show as a card: Flexible Content's card - the stylesheet's own card with
its soft shadow - with the title as a bar across the top in the section's
accent colours. */
.cwb-thumbs .cwb-thumbs__sidebar--card {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(16, 23, 30, .12);
}

.cwb-thumbs .cwb-thumbs__sidebar--card > .cwb-thumbs__sidebar-title {
    margin: 0;
    padding: 16px 24px;
    border: 0;
}

.cwb-thumbs .cwb-thumbs__sidebar--card > .card-body {
    padding: 24px;
}

.cwb-thumbs .cwb-thumbs__sidebar--card > .card-body > :first-child {
    margin-top: 0;
}

/*
* Full width image with text (plugin `vc_bgimage_text`): the picture on its
* own, with Hide the content on the image ticked - what the retired "Image with
* custom height" and "Full width image with title" did.
*
* With content over it the section takes the height its content needs, with a
* 580px minimum on desktop. On its own there is no content to take a height
* from - it fell to a 100px strip on a phone - so its Image shape sets one: an
* aspect ratio, kept at every width, or a custom height in pixels. Four classes
* outrank `.callout-img.full--img`'s 580px and the phone `.callout-img` 370px.
*/
.cwb-bgimage.callout-img.full--img.cwb-bgimage--image-only {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.cwb-bgimage.callout-img.full--img.cwb-bgimage--shape-21x9 {
    aspect-ratio: 21 / 9;
}

.cwb-bgimage.callout-img.full--img.cwb-bgimage--shape-3x1 {
    aspect-ratio: 3 / 1;
}

.cwb-bgimage.callout-img.full--img.cwb-bgimage--shape-4x3 {
    aspect-ratio: 4 / 3;
}

.cwb-bgimage.callout-img.full--img.cwb-bgimage--shape-custom {
    height: var(--cwb-bgimage-height, auto);
    aspect-ratio: auto;
}

@media (max-width: 767px) {
    .cwb-bgimage-group__box.callout-img.full--img {
        min-height: 0;
    }
}

/*
* List Area shown as a card (plugin cognita_wpbakery_list_block_html()): the
* title as a header bar in the profile's Accent Background and Accent Text,
* over the list, outlined in the accent. The card is transparent, so it sits
* on whatever it is in - a white Tabs Section panel, or a section's own
* colour - and Bootstrap's white card with a grey border never shows.
*/
.card.cwb-list-card {
    background-color: transparent;
    border: 1px solid var(--cwb-accent-bg, currentColor);
    color: inherit;
}

.card.cwb-list-card .card-header {
    margin: 0;
    border-bottom: 0;
}

.card.cwb-list-card .card-body {
    background-color: transparent;
    color: inherit;
}

/*
* Image shape: Circle (plugin cognita_wpbakery_image_shape_class()).
*
* Offered on every Image shape field whose picture stands on its own: the
* Flexible Content and Tabs Section Image block, Flexible Content Thumbnails,
* Cards (with Thumbnails), Category Grid, Content Grid and School Locations.
* The box is the square ratio box with cwb-circle beside it, so each
* element's own rules for the image filling its box keep applying; this only
* rounds it, caps its size and centres it in its container. min-height: 0
* keeps a theme height on .callout-img from stretching the square. The square
* ratio class is named too, so these outweigh an element's own box rules -
* Content Grid's `.tech-images .callout-img.halfcol--img` sets width: auto.
*
* An Image block's circle is up to 400px across, a grid tile's the width of
* its tile, and a card's 160px (120px on a phone) at the top of the card, as
* Child's Journey has it.
*/
.ratio.ratio-1x1.cwb-circle {
    width: min(100%, var(--cwb-circle-size, 400px));
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    border-radius: 50%;
}

.ratio.ratio-1x1.cwb-circle > img {
    border-radius: 0;
}

/* An Image block's caption sits centred under its circle. */
.component.link:has(.cwb-circle) > figcaption {
    text-align: center;
}

.cwb-thumbnail__img.cwb-circle,
.cwb-catgrid__img.cwb-circle,
.cwb-grid-image.cwb-circle {
    --cwb-circle-size: 160px;
    flex: none;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .cwb-thumbnail__img.cwb-circle,
    .cwb-catgrid__img.cwb-circle,
    .cwb-grid-image.cwb-circle {
        --cwb-circle-size: 120px;
    }
}
