_carousel.scss 5.32 KB
.swiper-pagination-bullet{
 background: #fff !important;
 border: 2px solid #2C2C2C !important;
 height: 13px !important;
 width: 13px !important;
 opacity:1 !important;
}
.swiper-pagination-bullet-active{
    background:  #3F9C35 !important;
    border: 2px solid  #3F9C35 !important;
   
}

//  carousel css
 .carousel:not(.is-admin){
    background-color: transparent !important;
    left: -20px;
    width: 100vw;
    margin-top: 30px;
    margin-bottom: 30px;
 }



 .carousel-items{
     list-style: none;
     margin-block-start: 0em;
     margin-block-end: 0em;
     margin-inline-start: 0px;
     margin-inline-end: 0px;
     padding-inline-start: 20px;
     background-color: transparent !important;
     @media only screen and (max-width: 600px) {
        padding-inline-start: 0px;
     }

 }

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    pointer-events: all !important;
}

.carousel-items.slick-initialized.slick-slider {
    margin-right:15px; //for the scroll bar
}


.carousel {
    width:100vw;
    margin-left:calc((100% - 100vw) / 2);
    @media only screen and (max-width: 600px) {
        width:95%;
        margin-left:0px;
    }
    left:0 !important;
    min-height: 340px!important;
    .swiper-button-next {
        right:8px !important;
    }
    .swiper-button-prev {
        left:7px !important;
        @media only screen and (max-width: 600px) {
            left:-5px !important;
        }
    }
    .swiper-pagination{
        bottom: -20px !important;
    }
    .carousel-items {
        margin-left:1.75rem;
    }
    .swiper-wrapper {
        gap: 1rem;
    }
}

// testimonials carousel css
.testimonials-carousel{
    @media only screen and (max-width: 600px) {
        margin-left: 0px !important;
    }
.swiper-slide{
    width:890px !important;
    @media only screen and (max-width: 600px) {
        width:98% !important;
    }
    .testimonials{
        width:890px;
        background:#E5F2F8;
        border-radius: 25px 25px 0px 0px;
        margin-right: 20px;
        @media only screen and (max-width: 600px) {
            width:98%;
            margin-right: 0px;
        }
        .row{
            margin-right:  0rem !important;
            border-bottom:20px solid  #FFA300;
            margin-left: -15px !important;
            min-height:316px !important;
            @media only screen and (max-width: 600px) {
               margin-left: 0px !important;
            }
    
        }
        
        .col-md-1 {
            background-size: cover;
            @media only screen and (max-width: 600px) {
                padding-left: 0px;
            }
        }
        .testimonial-text{
            padding: 30px 50px;
        }

        p{
            font-size: 16px !important;
            line-height:24px !important;
            color: #2C2C2C;
        }

        .testimonials_image{
            width: 100%;
        
        }
    }
}

 .swiper-slide:nth-of-type(2){ 
    .testimonials{ 
        .row{
        border-bottom:20px solid  #3F9C35;
         }
    }
    .promo-img img{
        border-bottom:20px solid  #3F9C35;
    }
 }
 .swiper-slide:nth-of-type(3){ 
    .testimonials{ 
        .row{
        border-bottom:20px solid  #0484B8;
        }
    }
    .promo-img img{
        border-bottom:20px solid  #0484B8;
    }
 }
 .swiper-slide:nth-of-type(4){ 
    .testimonials{ 
        .row{
        border-bottom:20px solid  #E04E39;
        }
    }
    .promo-img img{
        border-bottom:20px solid  #E04E39;
    }
 }
 


 
}


.promo-carousel{
    width:100% !important;
    margin-left:0px !important;
    position: relative;
    @media only screen and (min-width:1400px) {
    max-width: 100% !important;
    }
    .swiper-slide{
        margin-left:0px !important;
        max-width: 100% !important;
        @media only screen and (min-width:1400px) {
        width:100% !important;
        }
        .promo-img{
            max-height: 264px;
            max-width: 372px;
            overflow: hidden;
            border-bottom:20px solid  #FFA300;
        }
        .promo-img img{
            max-width: 372px;
            border-radius: 25px 25px 0px 0px;
           
        }
        .promo.row{
            width:100%;
            border-top:1px solid #FFA300;
            border-bottom:1px solid #FFA300;
            @media only screen and (min-width:1400px) {
                max-width: 1344px;
            }
            @media only screen and (max-width: 600px) {
                width:80%;
            }
            margin: 40px auto;
            padding: 50px 0px;
        
        }
        .promo_content{
            max-width: 760px;
            h3{
                font-size: 22px;
                line-height: 33px; 
            }
            p{
            font-size: 16px;
            line-height: 22px;
            }
        }
    }
    .swiper-button-next {
        right:30px !important;
    }
    .swiper-button-prev {
        left:7px !important;
    }
    .swiper-pagination{
        bottom: 65px !important;
    }
   
   
    .swiper-slide:nth-of-type(2){ 
        .promo-img {
            border-bottom:20px solid  #3F9C35;
        }
     }
     .swiper-slide:nth-of-type(3){ 
        .promo-img {
            border-bottom:20px solid  #0484B8;
        }
     }
     .swiper-slide:nth-of-type(4){ 
        .promo-img {
            border-bottom:20px solid  #E04E39;
        }
     }
}