/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/

.core-slider .widget-header {
    margin-bottom: 15px;
}

@media (min-width: 64em) {
    .core-slider .widget-header {
        margin-bottom: 30px;
    }
}

.core-slider .widget-header-inner {
    padding: 0;
    border: none;
}

.core-slider .widget-header-inner .widget-title {
    font-size: var(--text-3xl);
    line-height: 2.1rem;
    font-family: var(--font-header);
}

.core-slider .widget-header-inner .widget-view-all {
    display: none;
}

.core-slider .slide .slide-title {
    font-family: var(--font-header);
    font-size: var(--text-2xl);
    line-height: var(--text-3xl);
    color: var(--text-color);
    text-align: left;
    max-width: 100%;
}

.core-slider .slide p {
    font-size: 15px;
    line-height: 21px;
    text-align: left;
    color: var(--text-color);
    margin: var(--space-2) 0;
}

@media (min-width: 40em) {
    .core-slider .slide .slide-title {
        font-size: var(--text-3xl);
        line-height: var(--text-4xl);
    }

    .core-slider .slide p {
        font-size: var(--text-base);
        line-height: var(--text-3xl);
    }
}

.core-slider .slide {
	transition: all .3s;
}

/* Default colour theme uses primary colour */
.core-slider .slide:hover {
	background-color: var(--primary-color);
	transition: all .3s;
}

/* Adding additional class 'theme-secondary' that will update widget background colour to the secondary color on hover */
.core-slider.theme-secondary .slide:hover {
	background-color: var(--secondary-color);
	transition: all .3s;
}

.core-slider:not([data-width="full"]) {
    max-width: calc(100% - var(--space-10));
    margin-left: 20px;
    margin-right: 20px;
    padding-right: 0;
    padding-left: 0;
}

@media screen and (min-width: 64em) { 
    .core-slider:not([data-width="full"]) {
        max-width: calc(var(--width-smallscreen) - var(--space-10));
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 1440px) { 
    .core-slider:not([data-width="full"]) {
        max-width: calc(var(--width-base) - var(--space-10));
    }
}

.core-slider .slide .slide-title a {
    display: flex;
    width: 100%;
    text-align: left;
}

.core-slider .slide .slide-title > a:hover {
    text-decoration: underline;
}

.core-slider .glide__arrows {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0;
    right: 0;
    top: auto !important;
    bottom: 0;
    gap: 25px;
    transform: translateY(0);
    max-width: var(--width-base);
    margin: 0 auto;
}

.core-slider .glide__arrows .glide__arrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 32px;
    width: 32px;
    border-radius: 5px;
    padding: 0;
}

.core-slider .glide__arrows .glide__arrow img {
    width: 100%;
}

/* Default colour theme uses primary colour */
.core-slider .glide__arrows .glide__arrow:hover {
    background-color: var(--primary-color);
}

/* Adding additional class 'theme-secondary' that will update arrow background colour to the secondary color on hover*/
.core-slider.theme-secondary .glide__arrows .glide__arrow:hover {
    background-color: var(--secondary-color);
}

.core-slider .glide__arrows .glide__arrow:hover .fa-angle-right::before {
    background: url(/includes/public/assets/shared/arrows/arrow_right_white.svg) no-repeat center center;
}

.core-slider .glide__arrows .glide__arrow:hover .fa-angle-left::before {
    background: url(/includes/public/assets/shared/arrows/arrow_left_white.svg) no-repeat center center;
}

.core-slider .slide.overlap-image-desktop .content-section {
    position: relative;
    padding: var(--space-5);
    background: #fff;
    width: auto;
}

.core-slider .slide.overlap-image-desktop .content-section .slide-title {
    font-family: var(--font-header);
    font-size: var(--text-lg);
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0.36px;
    max-width: 100%;;
}

.core-slider .slide.overlap-image-desktop p {
    color: var(--text-color);
    font-size: var(--text-base);
    font-weight: normal;
}

.core-slider .slide.overlap-image-desktop .content-section .title-desc-container .read-more {
    display: none !important;
}

.core-slider .slide.overlap-image-desktop .content-section .slide-footer {
    margin: 0;
}

.core-slider .slide.overlap-image-desktop .content-section .slide-footer .read-more {
    background: var(--primary-color);
    color: #fff;
    font-weight: normal;
    margin: 0;
    padding: 10px 15px;
    border-radius: 5px;
}

.core-slider .glide__arrows {
    display: none;
}

.core-slider .glide__arrows button:focus {
    outline: none;
}

.core-slider .glide__bullets {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
}

.core-slider .glide_bullet {
    height: 12px;
    width: 12px;
    background-color: #bfbfbf;
    border-radius: 100%;
    margin: 0px 6px;
    padding: 0;
}

/* JR - 25/07/23 - ZD 74575 - Max bullets 10 */

.core-slider .glide_bullet:nth-child(n+11) {
    display: none;
}
.core-slider .glide__bullet--active {
    background-color: #313130;
}

.core-slider .glide_bullet:hover {
    background-color: #313130;
}

.core-slider.show-arrows-mobile .glide__bullets {
    display: none;
}

.core-slider.show-arrows-mobile .glide__arrows {
    display: flex;
    justify-content: center;
    bottom: 30px;
}

.core-slider.show-arrows-mobile .slider-cont {
    padding: 0 0 var(--space-12);
}

@media screen and (min-width: 530px) {
    .core-slider.show-arrows-mobile .glide__arrows,
    .core-slider .glide__arrows {
        transform: translateY(-50%);
    }
}

@media screen and (min-width: 640px) {
    .core-slider.show-arrows-mobile .slider-cont {
        padding: 0;
    }

    .core-slider.show-arrows-mobile .glide__arrows,
    .core-slider .glide__arrows {
        justify-content: flex-end;
    }

    .core-slider .glide__bullets {
      display: none;
    }
}

@media (min-width: 40em) {
    .core-slider .widget-header-inner .widget-title {
        /*font-size: var(--text-5xl);*/
        font-size: 36px;
        line-height: 3.25rem;
        max-width: calc(100% - 150px);
    }

    .core-slider .slide > .inner {
        padding: 0;
    }

    .core-slider .glide__arrows {
        top: -45px !important;
        display: flex !important;
        justify-content: flex-end;
    }

	.core-slider .slide.overlap-image-desktop .content-section {
        padding: var(--space-4);
        position: static;
        margin: 0;
    }
}

@media (min-width: 64em) {
    .core-slider .widget-header-inner .widget-title {
        line-height: 2.1rem;
    }
    
    .cvb-site .core-slider .widget-header-inner .widget-title {
        line-height: 3rem;
    }

	.core-slider .slide.overlap-image-desktop .content-section {
		position: absolute;
		z-index: 2;
		left: 0;
		bottom: 0;
		padding: var(--space-4) var(--space-16);
		width: 100%;
		max-width: var(--width-comfortable);
	}
}