﻿.custom-carousel {
    position: relative;
    width: 100%;
}

.custom-carousel .carousel-inner {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    height: 100%;
}

.custom-carousel img {
    height: 100%; 
    object-fit: contain; 
    max-height: 800px; 
}

 .limited-image-size {
     max-width: 800px; 
     max-height: 800px; 
     object-fit: contain; 
     margin: auto;
 }
 
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}


.selectable-image-container {
    cursor: pointer;
    border: 2px solid transparent;
    padding: 5px;
    transition: border 0.2s;
}

.selectable-image-container.selected {
    border: 2px solid blue;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    overflow: hidden;
    width: 100%; /* Ensure the carousel is full-width */
}

.carousel-thing {
    flex: 0 0 100%; /* Make each item take full carousel width */
    box-sizing: border-box;
}

.carousel-thing img {
    width: 100%;
    height: auto;
}

.custom-carousel .carousel-inner {
    display: flex;
    overflow: hidden;
    white-space: nowrap; /* To keep the items on one line */
    transition: transform 0.5s ease; /* Smooth transition */
}

.carousel-thing {
    flex: 0 0 auto; /* Prevent shrinking */
    width: 100%; /* Set width of each item, adjust as needed */
}

.custom-carousel-control-icon {
    background-color: orange !important; /* Set the background color to bright orange */
    background-size: 100%, 100%;
}

