/*** Main Nav Bar ***/
.dropdown-item:hover{
    color: var(--primary) !important;
    background-color: transparent !important;
    text-decoration: underline;
}


/*** Carousel ***/
.carousel-indicators button{
    height: 15px !important;
    width: 15px !important;
    border-radius: 100% !important;
    background-color: #D6D6D6 !important;
}

.carousel-indicators .active{
    background-color: #869791 !important;
}


/*** Council Carousel ***/
.business-partner-carousel .business-partner-item {
    padding: 0 30px 30px 30px;
}

.business-partner-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.business-partner-carousel .owl-nav .owl-prev,
.business-partner-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: .5s;
}

.business-partner-carousel .owl-nav .owl-prev:hover,
.business-partner-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


/*** News Hub ***/
.news-hub-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

.news-hub-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--primary) !important;
}

.news-hub-item .news-hub-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/blob-primary.png) center center no-repeat;
    background-size: contain;
    transition: .5s;
}

.news-hub-item:hover .news-hub-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
}

.news-hub-item h5,
.news-hub-item p {
    transition: .5s;
}

.news-hub-item:hover h5,
.news-hub-item:hover p {
    color: #FFFFFF;
}

.news-hub-item a.btn {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    transition: .5s;
    z-index: 1;
}

.news-hub-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.news-hub-item:hover a.btn {
    bottom: 0;
}

.news-img-height{
    height: 150px;
}

.news-hub-btn-square{
    width: 105px;
    height: 50px;
}

.news-text-height{
    min-height: 200px;
}

.news-text-height p{
    min-height: 10px;
}

.news-text-height h5{
    min-height: 120px;
}

.newsTitle {
    overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  }


/*** Contact Us Timeline ***/
.timeline {
    border-left: 1px solid hsl(0, 0%, 90%);
    position: relative;
    list-style: none;
  }
  
  .timeline .timeline-item {
    position: relative;
  }
  
  .timeline .timeline-item:after {
    position: absolute;
    display: block;
    top: 0;
  }
  
  .timeline .timeline-item:after {
    background-color: hsl(0, 0%, 90%);
    left: -38px;
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
  }


/*** About Us Timeline ***/
/* The actual timeline (the vertical ruler) */
.main-timeline-2 {
position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline-2::after {
content: "";
position: absolute;
width: 3px;
background-color: #26c6da;
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}

/* Container around content */
.timeline-2 {
position: relative;
background-color: inherit;
width: 50%;
}

/* The circles on the timeline */
.timeline-2::after {
content: "";
position: absolute;
width: 25px;
height: 25px;
right: -11px;
background-color: #26c6da;
top: 15px;
border-radius: 50%;
z-index: 1;
}

/* Place the container to the left */
.left-2 {
padding: 0px 40px 20px 0px;
left: 0;
}

/* Place the container to the right */
.right-2 {
padding: 0px 0px 20px 40px;
left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left-2::before {
content: " ";
position: absolute;
top: 18px;
z-index: 1;
right: 30px;
border: medium solid white;
border-width: 10px 0 10px 10px;
border-color: transparent transparent transparent black;
}

/* Add arrows to the right container (pointing left) */
.right-2::before {
content: " ";
position: absolute;
top: 18px;
z-index: 1;
left: 30px;
border: medium solid white;
border-width: 10px 10px 10px 0;
border-color: transparent black transparent transparent;
}

/* Fix the circle for containers on the right side */
.right-2::after {
left: -14px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
    .main-timeline-2::after {
        left: 31px;
    }

    /* Full-width containers */
    .timeline-2 {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timeline-2::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left-2::after,
    .right-2::after {
        left: 18px;
    }

    .left-2::before {
        right: auto;
    }

    /* Make all right containers behave like the left ones */
    .right-2 {
        left: 0%;
    }
}


/*** Features Pop Up Message Button ***/
.features-button{
    width: 40px;
    border-radius: 100%;
    font-weight: bold;
}

.feature-item.enlarge {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.btn-purple {
    background-color: #6f42c1;
    color: white;
}


/*** Know More ***/
.know-more-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

.know-more-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--primary);
}

.know-more-item h5,
.know-more-item p {
    transition: .5s;
}

.know-more-item:hover h5,
.know-more-item:hover p {
    color: #FFFFFF;
}

.know-more-item a.btn {
    position: absolute;
    top:0;
    right: -70%;
    transform: translateX(0);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 0 10px 10px 0;
    transition: .5s;
    z-index: 1;
}

.know-more-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.know-more-item:hover a.btn {
    right: 0;
}

.know-more-btn-square{
    width: 140px;
    height: 100%;
}


/*** Flexi Protect Plan Start ***/
.flexi-motor-plan-img {
    background: url('../../assets/img/flexi_protect_webpage/FlexiMotorHeaderEN.png') no-repeat left center; 
    background-size: cover;
}

.flexi-transit-plan-img {
    background: url('../../assets/img/flexi_protect_webpage/FlexiTransitHeaderEN.png') no-repeat left center; 
    background-size: cover;
}

.background-shade{
    background: rgba(0, 0, 0, 0.5);
}

/*** Flexi Protect Add Ons ***/
.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.scroll-container::-webkit-scrollbar {
    display: none;
}


/*** Council List (Copied From Project Portfolio But Change Class Name) ***/
#council-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#council-flters li:hover,
#council-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.council-item img {
    transition: .5s;
}

.council-item:hover img {
    transform: scale(1.1);
}

.council-item .council-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 34, 204, .9);
    transition: .5s;
    opacity: 0;
}

.council-item:hover .council-overlay {
    opacity: 1;
}

/*** Flexi EV Add On ***/
.flexi-protect-nav.active{
    text-decoration: underline;
}

/*** Hidden col ***/
@media(max-width: 992px) {
    .empty_col {
        display: none;
        /* Hide the div */
    }
}