body {
    background: rgb(204, 204, 204);
}

html {
    scroll-behavior: smooth;
}

@media print {

    body,
    page {
        margin: 0;
        box-shadow: 0;
    }
}

table.nicetable td {
    text-align: center;
    vertical-align: middle;
    width: 33%;
}


/* Carousel https://bbbootstrap.com/snippets/carousel-slider-thumbnails-25493000  */

.container {
    margin-top: 50px;
    margin-bottom: 70px;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
}

#custCarousel .carousel-indicators {
    position: static;
    margin-top: 20px;
}

#custCarousel .carousel-indicators>li {
    width: 100px;
}

#custCarousel .carousel-indicators li img {
    display: block;
    opacity: 0.5;

}

#custCarousel .carousel-indicators li.active img {
    opacity: 1;
}

#custCarousel .carousel-indicators li:hover img {
    opacity: 0.75;
}

.carousel-item img {

    width: 80%;
}

/* END Carousel  */
/* vile solution from https://stackoverflow.com/a/62452897 to change arrow icon colour from WHITE!  
  changed to %234268d5 to match template colour where %23 is the hash characterto avoid it being a fragment identifier! */

span.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%234268d5' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

span.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%234268d5' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

h4 {
    -webkit-text-stroke: 1px black;
    font-size: 2.5em;
    font-weight: bold;
}

.tag {
    display: inline-block;
    margin-right: 10px;
    /* Adjust the margin as needed */
}

.collections-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center collections horizontally */
    align-items: center;
    /* Center collections vertically */
    margin-top: 20px;
    /* Add vertical margin between collections */
}

.collections-container {
    /* white-space: nowrap;
    text-align: center;
    overflow-x: auto;
    Add horizontal scrollbar if needed */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* Adjust alignment as needed */
    text-align: center;
}

.collection {
    display: inline-block;
    margin-right: 10px;
    /* Adjust margin as needed */
    margin-bottom: 12px;
    /* Adjust margin as needed */
    width: auto;
    /* Reset width */
    text-align: center;
    /* Reset text-align */
}

/* .collection {
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
    display: inline-block;
    /* Center collection content horizontally */
/* } */

*/ .topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center topics horizontally within each collection */
}


/* Center the image vertically and horizontally within the button */
.btn-success .icon {
    display: block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.image-container {
    padding: 1rem;
    /* width: 50%; */
    display: flex;
    align-items: flex-start;
}

.text-container {
    text-align: justify;
    /* Apply text justification to the text content */
    padding: 1rem;
    text-align: justify;
}

.text-container p {
    margin: 0;
    text-align: justify;
    /* Apply text justification to the text content */
}


.custom-shadow {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    /* Customize shadow properties here */
    /* Add any other styling you want */
}


/* Added from child style */

.padded-input {
    padding: 10px;
    /* Adjust the padding as needed */
    vertical-align: middle;
}

.custom-outline {
    border: 3px solid #28a745;
    /* Adjust the thickness and color as needed */
    border-radius: 6px;
    /* Adjust border radius if needed */
}


/* Adjust the display property to inline-block for .topics */
.topics {
    display: inline-block;
}

.largeheading {
    font-style: italic;
    font-size: min(10vw, 100px);
    /* Set font size to be 10% of viewport width, with a maximum size of 100px */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Add shadow */
    text-align: center;
    color: rgb(177, 166, 166);
    overflow: hidden;
    /* Prevents text from overflowing its container */
    white-space: nowrap;
    /* Ensures text stays on one line */
    width: 100%;
    /* Set width to 100% */
    margin: 0 auto;
    /* Center align the heading */
    padding: 0 10px;
    /* Add padding to prevent cutting off on smaller screens */
}



.filter-by-category {
    max-width: 100%;
    overflow-x: scroll;
}

.filter-by-category::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.filter-by-category::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.filter-by-category::-webkit-scrollbar-thumb {
    background: #888;
}

.filter-by-category::-webkit-scrollbar-thumb:hover {
    background: #555;
}