/*
 * Journey Thumbnails with Popup (was "Childs journey thumbnails") (`vc_thumbnail_pop`)
 *
 * Loaded only on pages that use this element, after common.css. Rules
 * shared with other elements are in common.css.
 */

.single-list li:after {
    background: transparent !important;
}

.single-list li {
    padding-left: 0px !important;
}

#classmodal .btn.h4{font-size:25px;line-height:28px}

#classmodal .btn-close{background:#fff}

/* Childs journey thumbnails ==============================================
*
* The two tints were <style> blocks written into the body, one per card, each
* keyed to a `wp_rand()` class that changed on every page load. They are a
* custom property on the element now, so there is one rule for all of them. */
.cwb-popup__tint {
    position: relative;
}

.cwb-popup__tint::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--cwb-popup-tint, transparent);
    pointer-events: none;
}

/* The modal image was a CSS background on a fixed-height box, built from the
* full-size original. It is an <img> filling that same box now, so it carries
* a srcset, lazy loading and the Media Library's alt text - and the Image
* position field reaches it through object-position, which is the first time
* that field has done anything at all. */
.cwb-popup__modal-img {
    position: relative;
    overflow: hidden;
}

.cwb-popup__modal-img > .cwb-popup__modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
