﻿.center-pagination, .mud-card-flex, .mud-item-flex-container {
    display: flex;
}

.center-pagination {
    justify-content: center;
    padding: 1em 0;
}

.search-container {
    align-items: center;
    gap: 1em;
}

.mud-appbar {
    box-shadow: 0 14px 28px rgba(0,0,0,0.03), 0 1px 1px rgba(0,0,0,0.2);
}

body {
    background-color: whitesmoke;
}

.mud-card-flex {
    flex: 1;
}

.mud-chipset {
    width: 100%;
    max-width: calc(100% - 72px);
}

.mud-expand-panel-icon {
    margin-top: -100px;
}

.mud-toolbar-appbar {
    height: 100px !important;
}

.mud-item-flex-container, .mud-card-flex {
    flex-direction: column;
}

.mud-paper {
    border-radius: 8px;
}

/* DetailedView-specific CSS */
.detailedview-card {
    box-shadow: 0 14px 28px rgba(0,0,0,0.03), 0 1px 1px rgba(0,0,0,0.2);
    border: 0.5px solid rgba(0,0,0,0.2);
    transition: all 0.15s cubic-bezier(.25,.8,.25,1);
    backface-visibility: hidden;
}

    .detailedview-card:hover {
        box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.22);
        transform: scale(1.02);
        backface-visibility: hidden;
    }

/* General card style */
.thumbnail-card {
    position: relative;
    height: 300px; /* Adjust as needed */
    overflow: hidden; /* Hide overflow to maintain layout */
}

    .thumbnail-card:hover {
        box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.22);
        transform: scale(1.02);
        backface-visibility: hidden;
    }
    /* Style for image section */
    .thumbnail-card-image {
    height: 50%; /* Half the card height for the image */
    overflow: hidden; /* Ensure no overflow */
}

/* Wrapper for the content */
.thumbnail-card-content-wrapper {
    position: absolute;
    top: 50%; /* Start the content wrapper at the middle of the card */
    width: 100%;
    height: 50%; /* Half the card height for the content */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Hide any overflow */
}

/* Style for content section */
.thumbnail-card-content {
    background-color: white; /* Ensure background is visible */
    padding: 10px;
    box-sizing: border-box; /* Ensure padding does not affect height */
    height: 100%; /* Full height of the wrapper */
}

/* Slide up effect on hover for cards with images */
.thumbnail-card.image-available:hover .thumbnail-card-content-wrapper {
    transform: translateY(-30%);  Slide up effect (adjust percentage as needed) 
    transition: transform 0.3s ease;
    background-color: #992c4b;
    box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.22);
    backface-visibility: hidden;
}




/* Container for Learn More button */
.learn-more-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: white; /* Ensure button is visible */
    display: flex;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 2; /* Ensure the button stays above content */
}

/* Full height style for content cards without images */
.thumbnail-card.no-image .thumbnail-card-content-wrapper {
    top: 0; /* Start content at the top */
    height: 100%; /* Full height */
    transform: none; /* Ensure no slide effect */
}

.thumbnail-card.no-image .thumbnail-card-content {
    height: auto; /* Adjust to fit content */
    transform: none; /* Ensure no slide effect */
}

/* Ensure .learn-more-container styles are distinct */
.thumbnail-card .learn-more-container {
    background-color: white; /* Override any inherited background */
    box-sizing: border-box; /* Override any inherited box-sizing */
    padding: 10px; /* Ensure padding is consistent */
    z-index: 3; /* Keep it on top */
}

.roundtop {
    border-radius: 8px 8px 0 0;
}

.mud-list-item {
    display: flex;
}

.centered-overlay .mud-typography {
    color: white;
}

.flex-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the layout takes full viewport height */
}

.mud-container {
    flex: 1 0 auto; /* Ensures the container grows to take up space */
}

/*.footer {
    flex-shrink: 0;*/  /*Prevents the footer from shrinking */
    /*background-color: whitesmoke;*/  /*Footer background color */
    /*padding: 25px 0;
    width: 100%;
    margin-top: 230px;*/  /*Pushes footer to the bottom when content is small */
/*}

    .footer .actlogo {
        width: 70%;
        height: auto;
        max-width: 70%;
    }*/


/*.footer {
    position: relative;
    background-color: whitesmoke;
    min-height: 380px;
    width: 100%;*/
/* padding: 10px 0;*/
/*}*/


/* Add this for responsive iframe */
.responsive-iframe {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    height: 0;
}

.flex-link {
    display: flex;
    align-items: center; /* For vertical alignment */
    justify-content: flex-start; /* Start content from left */
}

.link-icon {
    margin-right: 16px; /* spacing between icon and text */
    vertical-align: middle; /* Adjust the vertical position of the icon */
}


.mud-nav-link {
    padding: 8px 2px;
}

.mud-list-item-gutters {
    padding: 0;
}



.responsive-iframe iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/*.carousel-container {
    width: 480px;
    height: 300px;
}

.carousel-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}*/

/* MudDrawer specific styles */
.muddrawer-carousel-container {
    width: 480px; /* Adjust size if necessary */
    height: 300px; /* Adjust size if necessary */
}

.muddrawer-carousel-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.muddrawer-carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure image fits within the container */
}


.image-container {
    width: 320px;
    height: 400px; /* Adjust the height as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.custom-card {
    box-shadow: none; /* Remove box-shadow */
    border: none; /* Remove border */
    transition: none; /* Remove transition */
    backface-visibility: visible; /* Reset backface-visibility */
}

    .custom-card:hover {
        box-shadow: none;
        transform: none;
        backface-visibility: Visible;
    }

.switch-with-padding {
    padding-left: 16px; /* Adjust the value as needed */
}

.search-container {
    display: flex;
    align-items: center;
    margin: 12px;
    margin-top: 0;
}

.right-align-button {
    margin-left: auto;
}

.switch-with-padding {
    padding-left: 16px; /* Adjust the value as needed */
}

.v-btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.v-btn__content {
    display: flex;
    align-items: center;
    padding: 8px 18px; /* Add padding to provide space around content */
}

.v-btn--flat {
    padding: 0;
}

.v-icon {
    margin-right: 8px;
}

.theme--light {
    color: #000;
}
/*#image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#image-overlay__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

#image-overlay img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

#image-overlay__close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
}
*/

/*Overlay CSS */
/*.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;  Higher than MudDrawer;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .overlay img {
        max-width: 90%;
        max-height: 90%;
    }

.overlay-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}*/


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000; /* Higher than MudDrawer */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.overlay-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure image fits within the container */
}

/*.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;*/ /* Ensure image fits within the carousel container */
/*}*/

/* Overlay specific styles */
.overlay-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.overlay-carousel-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.overlay-carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure image fits within the container */
}


.overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2100; /* Ensure it is above the overlay content */
}
