.splide__slide {
    display: flex;
    justify-content: center;
}

.splide__slide__container {
    text-align: center;
    width: 100%;
}

.slide__content {
    margin: 1rem 0;
    font-size: 1.6rem;
    height: 100%;
    text-align: left;
}

.slide-img__wrapper {
    display: flex;
    align-items: center;
}

.slide-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    max-width: 100%;
    max-height: 100%;
}

.slide-img__caption {
    margin-left: 1rem;
}

.slide-img__caption span {
    color: #2e86c1;
    font-weight: 500;
}

/* Adding custom styling to the pagination */
.splide.is-initialized, .splide__track, .splide__list {
    height: 100%;
}

.splide__arrow {
    background: transparent;
}
.splide__pagination__page {
    height: 10px;
    width: 10px;
    background-color: #d4d4d4;
    border: 0;
    border-radius: 50px;
    opacity: 1;
}

.splide__pagination__page:hover {
    opacity: 1;
}

.splide__pagination__page.is-active{
    transform: none;
    background: #63d5b4;
}

.dengue-facts__slide{
    padding: 0;
}

.dengue-facts__content {
    padding: 2rem 1.5rem;
}

.dengue-facts__content p{
    color: white;
}

.splide__pagination{
    justify-content: flex-start;
    padding-left: 5rem;
}

.did-you-know {
    text-align: left;
}

.did-you-know .splide__slide img {
    height: 100%;
    max-height: 140px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Arrow */
.did-you-know .splide__slide:nth-child(4) img {
    max-height: 120px;
    margin-bottom: 15px;
}

/* Mosquito */
.did-you-know .splide__slide:nth-child(5) img{
    max-height: 90px;
}

/* Spray */
.did-you-know .splide__slide:nth-child(6) img {
    position: relative;
    right: 18px;
}

.did-you-know .splide__slide .field--name-field-image {
    margin-bottom: 3.8rem;
    width: 100%;
    position: absolute;
    bottom: 0;
    padding-right: 5rem;
}

.did-you-know .splide__slide .field--name-field-text p{
    margin-bottom: 1rem;
}

.did-you-know .splide__slide .field--name-field-text sup{
    font-size: 15px;
}

.did-you-know .field--name-field-fact-title,
.did-you-know .field--name-field-carousel-headline {
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 4px solid #FCBA27;
    width: fit-content;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    color: #142858;
    font-size: 15px;
    line-height: 20px;
}

.did-you-know .field--name-field-carousel-subhead {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    color: #142858;
    font-size: 33px;
    line-height: 35px;
    width: 60%;
}

@media only screen and (max-width: 767px) {
    .splide__pagination{
        justify-content: center;
        padding: 0;
        position: relative;
        bottom: 19px;
    }
}

@media only screen and (min-width: 767px) {
    .hidden-sm-up{
        display: none;
    }

    .dengue-facts__content {
        padding: 2rem 5rem;
    }
}

.side-by-side-cards {
    margin-bottom: 3rem;
}

.side-by-side-cards  h2 {
    color: #143858;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.7rem;
}

.side-by-side-cards  h1{
    color: #143858;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.side-by-side-cards  p{
    margin: 0;
}

.side-by-side-cards .card {
    width: 100%;
    padding: 3rem 4rem 3rem 2.3rem;
    border-radius: 6px;
}

.side-by-side-cards .left-card {
    background: #fef6e4;
}

.side-by-side-cards .right-card {
    background: #f3fcfa;
}

.side-by-side-cards .field--type-image {
    position: absolute;
    right: 19px;
    top: 11px;
    width: auto;
    height: auto;
}

.side-by-side-cards img {
    width: 37px;
    height: auto;
}

.splide__arrow svg {
    fill: gray;
}

.side-by-side-cards .splide__arrow--next {
    right: -25px;
}

.side-by-side-cards .splide__arrow--prev {
    left: -25px;
}

.side-by-side-cards .splide__pagination{
    position: absolute;
    bottom: -2rem;
}

.side-by-side-cards .splide__pagination li button.is-active {
    background: #3eb1cb;
}

.side-by-side-cards.mobile-view {
    display: none;
}

.side-by-side-cards.desktop-view .card-container {
    display: flex;
    background-image: -webkit-linear-gradient(-10deg, #fef6e4 50%, #f3fcfa 50%);
}

.side-by-side-cards.desktop-view .card{
    background: transparent;
    padding: 3rem 0 3rem 2rem;
    position: relative;
}

.side-by-side-cards.desktop-view .card.right-card{
    margin-left: 4rem;
}

.side-by-side-cards.desktop-view .field--type-image {
    position: absolute;
    right: 1rem;
}

.side-by-side-cards.desktop-view p {
    padding-right: 2rem;
    margin: 0;
}

@media only screen and (max-width: 576px) {
    .side-by-side-cards .splide__arrows {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .side-by-side-cards.mobile-view {
        display: block;
    }

    .side-by-side-cards.desktop-view {
        display: none;
    }
}

#get-to-know .field--name-field-text {
    font-size: 29px;
    line-height: 35px;
    color: #142858;
    padding-bottom: 50%;
}

#get-to-know .field--name-field-text span{
    display: none;
}

#get-to-know .splide__pagination__page {
    background-color:white
}

#get-to-know .splide__pagination__page.is-active {
    background-color: #143858;
}

#get-to-know .splide__arrow{
    top:98%
}

#get-to-know .splide__arrow[disabled] {
    display: none;
}

#get-to-know .splide__arrow svg {
    fill: #143858;
    height: 1.4rem;
    width: auto;
}

#get-to-know li.splide__slide {
    padding: 20px 21px 20px 24px;
}

#get-to-know li.splide__slide:first-child {
    background-image: url(../../images/mosquito.svg);
    background-repeat: no-repeat;
    background-position: 118% 10%;
}

#block-didyouknow {
    padding: 0;
    padding-bottom: 15px;
    background-color: #D8D8D8;
}