/* 
    Name:        multicolumncarousel
    Created on : 18.10.2022, 15:34:01
    Author     : Vivien Lindemann <vivien.lindemann@gfz.de>
*/
@media (max-width: 768px) {
    .news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item > div {
	display: none;
    }
    .news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item > div:first-child {
	display: block;
    }
}

.news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item.active,
.news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-next,
.news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-prev {
    display: flex;
}

/* display 3 items */
@media (min-width: 768px) {
    .news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-end.active,
    .news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-next {
	transform: translateX(33.33333%);
    }
    .news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-start.active, 
    .news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-prev {
	transform: translateX(-33.33333%);
    }
}

.news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-end,
.news-list-view .carousel.template-layout-1 .carousel-inner .carousel-item-start { 
    transform: translateX(0);
}

/* Make indicators visible: show overflow */
.news-list-view .carousel.template-layout-1 {
    overflow: visible;
}
/* Make indicators visible: move below the cards, set opacity from 0 to 1 */
.news-list-view .carousel.template-layout-1 .carousel-indicators {
    bottom: -50px !important;
    bottom: -40px !important;
    opacity: 1;
}
/* Style indicators: make them round and change the color to gray */
.news-list-view .carousel.template-layout-1 .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #aaa;
}
/* Style active indicator: change color to orange */
.news-list-view .carousel.template-layout-1 .carousel-indicators .active {
    background-color: $primary;
}

.news-list-view .carousel.template-layout-1 h3 {
    font-weight:400 !important;
}

/* Kreise statt Balken */
.news-list-view .carousel.template-layout-1 .carousel-indicators [data-bs-target] {
    width: 10px;           /* Breite des Kreises */
    height: 10px;          /* Gleiche Höhe für perfekten Kreis */
    border-radius: 50%;    /* Macht das Element rund */
    
    /* Wichtig für Bootstrap 5.3: */
    border-top: 0;         /* Entfernt unsichtbare Rahmen, die den Kreis stauchen */
    border-bottom: 0;
    padding: 0;            /* Verhindert Verzerrungen durch Padding */
    
    /* Optional: Abstand zwischen den Punkten */
    /*
    margin-left: 5px;
    margin-right: 5px;
    */
    
    /* Graue Farbeinstellungen */
    background-color: #6c757d; /* Ein klassisches Bootstrap-Grau (Standard-Zustand) */
    opacity: 0.5;              /* Leicht transparent für die inaktiven Punkte */
    transition: opacity 0.6s ease; /* Weicher Übergang beim Wechseln */
}

/* Styling für den aktiven grauen Punkt */
.news-list-view .carousel.template-layout-1 .carousel-indicators .active {
    background-color: #495057; /* Ein dunkleres, kräftigeres Grau für den aktiven Punkt */
    opacity: 1;                /* Volle Deckkraft, damit er hervorsticht */
}
