#blazor-error-ui {
    background: #ffffe0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: .6rem .25rem .7rem 1.25rem;
    position: fixed;
    right: 0;
    z-index: 1000
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: .75rem;
        top: .5rem
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*
  This CSS color palette is designed to engender confidence in a product's sturdiness.
  It uses CSS custom properties (variables) for easy reuse and management.
*/
:root {
    /*
    Primary Color: A deep, industrial blue.
    Evokes feelings of trust, stability, and professionalism.
  */
    --color-primary: #263340;
    /*
    Secondary / Background Color: A dark charcoal gray.
    Associated with strength, durability, and raw materials like stone and metal.
  */
    --color-secondary: #34495e;
    /*
    Accent Color: A warm, burnt orange.
    Suggests industrial strength, energy, and precision, like copper or durable coatings.
    Use this for buttons, alerts, and important highlights.
  */
    --color-accent: #e67e22;
    /*
    Neutral Background: A light, clean gray.
    Provides a modern, unobtrusive background that makes the main colors stand out.
  */
    --color-background: #ecf0f1;
    /*
    Text Color: A soft, off-black.
    Offers high readability against the light background without the harshness of pure black.
  */
    --color-light-text: #c7c5c1;
    --color-text: #212529;
    --color-point: a85b31;
    --color-support: #62543D;
    --color-card-point: #1f16ad;
    --color-card-support: #454545;
    /*a85b31*/


    --cmx-carousel-height: 400px;
    --cmx-carousel-transition-duration: 1.5s; /* How long the fade takes */
    --cmx-carousel-bg-color: #f0f0f0;
    --cmx-carousel-control-color: #ffffff;
    --cmx-carousel-control-bg: rgba(0, 0, 0, 0.5);
    --cmx-carousel-indicator-active-color: #007bff;
    --cmx-carousel-indicator-inactive-color: rgba(0, 0, 0, 0.2);
}

/* --- Example Usage --- */

/* Apply the background color and font to the whole page */
body {
    color: var(--color-text);
    /* Using "Bahnschrift SemiCondensed" as requested.
    Added common condensed sans-serif fallbacks for systems that don't have it.
  */
    font-family: "Montserrat", "Bahnschrift SemiCondensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
}

/* Example of using the primary color for a header background */
.header-sturdy {
    color: var(--color-primary); /* Use the light background color for text on dark primary */
    padding: .1rem;
    text-align: center;
    letter-spacing: -0.08em; /* Tighten letter spacing for a more compact, solid look */
}

.header-point {
    color: var(--color-point); /* Use the light background color for text on dark primary */
    padding: .1rem;
    text-align: center;
    letter-spacing: -0.06em; /* Tighten letter spacing for a more compact, solid look */
}

.header-support {
    color: var(--color-point); /* Use the light background color for text on dark primary */
    padding: .1rem;
    text-align: center;
    letter-spacing: -0.06em; /* Tighten letter spacing for a more compact, solid look */
}

.card-point {
    color: var(--color-card-point); /* Use the light background color for text on dark primary */
    background-color: var(--color-card-point);
    padding: .1rem;
    text-align: center;
    letter-spacing: -0.06em; /* Tighten letter spacing for a more compact, solid look */
}

.card-support {
    color: var(--color-card-support); /* Use the light background color for text on dark primary */
    padding: .1rem;
    text-align: center;
    letter-spacing: -0.06em; /* Tighten letter spacing for a more compact, solid look */
}

.centered-card-deck {
    align-self: center;
    max-width: 75%; /* Adjust this value as needed to control the overall width */
    margin: 0 auto; /* This centers the element horizontally within its container */
    display: flex; /* Use flexbox to manage the card layout within the deck */
    flex-wrap: wrap; /* Allow cards to wrap to the next row if needed */
    justify-content: center; /* Center cards along the main axis (horizontally) */
}

.persuade {
    color: var(--color-support);
    font-size: 2.6rem;
    text-align: center;
}


/*Style for stanalone card.*/

cmx-map {
}
/* Styles for the entire card deck */
.cmx-card-deck {
    background-color: #f8f9fa; /* Light grey background for the deck area */
    padding: 2px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex; /* Ensures the deck behaves as a flex container */
    flex-wrap: wrap; /* Allows cards to wrap to the next line */
    gap: 10px; /* Spacing between cards */
    justify-content: center; /* Center cards horizontally */
}

    /* Styles for individual cards within the deck */
    .cmx-card-deck .card {
        border: 1px solid #dee2e6; /* Light grey border */
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease-in-out; /* Smooth hover effect */
        flex: 1 1 3px; /* Allows cards to grow, shrink, and have a base width */
    }
        .cmx-card-deck .card:hover {
            transform: translateY(-5px); /* Lift card on hover */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
        }

    /* Styles for the card image */
    .cmx-card-deck .card-img-top { /* Blazorise CardImage often renders as img with .card-img-top */
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        height: 26em; /* Set the height to 300 pixels */
        width: auto; /* Automatically adjust width to maintain aspect ratio */
    }

    /* Styles for the card title */
    .cmx-card-deck .card-title { /* Blazorise CardTitle often renders as h5 with .card-title */
        color: #0056b3; /* Dark blue color for titles */
        font-size: 1.4rem;
        font-weight: bold;
        margin-bottom: 10px;
        text-align: center;
    }
    /* Styles for card body text (optional) */
    .cmx-card-deck .card-text {
        color: #6c757d; /* Muted grey for text */
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: justify;
        padding: 0 15px 15px; /* Add some padding within the body */
    }



.alert-persuade {
    background-color: var(--color-primary);
    color: white;
    font-size: 1.3rem;
    border-radius: 14px;
    width: 60%;
    margin: 0 auto; /* center horizontally */
}

.spaced-div {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.paragraph-center {
    color: var(--color-point);
    padding: .1rem;
    text-align: center;
    letter-spacing: .5em;
}

/* Example of using the accent color for a button */
.button-confident {
    background-color: var(--color-accent);
    color: white;
    text-align: center;
    border: none;
    padding: 0.75em 1.5em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.lnk-campaign {
}
/* A new button style using the primary 'sturdy' color */
.btn-campaign {
    background-color: var(--color-primary);
    color: var(--color-background);
    border: none;
    padding: 0.75em 1.5em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
}

.header-footer {
    color: #202828;
    background-color: #E4EEEF;
    z-index: 1000;
}

strong {
    font-size: 1.6rem;
    color: #1e40af; /* Tailwind blue-800 for emphasis */
}

warn {
    font-size: 1.3em;
    color: #f9e154;
    font-style: oblique;
}

em {
    color: #059669; /* Tailwind green-600 for emphasis */
}


img {
    height: 3em; /* Set the height to 300 pixels */
    width: auto; /* Automatically adjust width to maintain aspect ratio */
}

.side-img {
    height: 10em; /* Set the height to 300 pixels */
    width: 12em; /* Automatically adjust width to maintain aspect ratio */
}

.card-img-fixed {
    height: 14em; /* Set the height to 300 pixels */
    width: 24; /* Automatically adjust width to maintain aspect ratio */
    padding: 0%;
}

.card-img {
    height: 26em; /* Set the height to 300 pixels */
    width: auto; /* Automatically adjust width to maintain aspect ratio */
    padding: 0%;
}
/* For screens smaller than 1024px (tablet and mobile) */
@media screen and (max-width: 1024px) {
    .card-img {
        width: 26em; /* Set the height to 300 pixels */
        height: auto; /* Automatically adjust width to maintain aspect ratio */
    }

    .card-img-fixed {
        height: auto; /* Set the height to 300 pixels */
        width: 18em; /* Automatically adjust width to maintain aspect ratio */
        padding: 0%;
    }
}



/* Base styling for the custom carousel container */
.cmx-carousel.carousel {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for the carousel */
    margin: 0 auto;
    height: var(--cmx-carousel-height);
    background-color: var(--cmx-carousel-bg-color);
    overflow: hidden; /* Hide overflowing content during transition */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure the inner container of the carousel is positioned correctly */
.cmx-carousel .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Important for crossfade */
}

/* Style for individual carousel items */
.cmx-carousel .carousel-item {
    position: absolute; /* Stack items on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Ensure it's always block to control opacity */
    opacity: 0; /* Start hidden */
    transition: opacity var(--cmx-carousel-transition-duration) ease-in-out; /* Fade transition */
    z-index: 1; /* Default z-index */
    background-size: cover; /* Ensure background images cover the item */
    background-position: center;
    background-repeat: no-repeat;
}

    /* Style for the active carousel item */
    .cmx-carousel .carousel-item.active {
        opacity: 1; /* Make active item visible */
        z-index: 2; /* Bring active item to front */
    }

    /* Ensure images within carousel items fit and look good */
    .cmx-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover the area, cropping if necessary */
        display: block; /* Remove extra space below image */
    }

/* Style for carousel controls (prev/next arrows) */
.cmx-carousel .carousel-control-prev,
.cmx-carousel .carousel-control-next {
    width: 10%; /* Make controls thinner */
    background: var(--cmx-carousel-control-bg); /* Semi-transparent background */
    opacity: 0.7; /* Slightly less opaque */
    transition: opacity 0.3s ease;
    z-index: 3; /* Ensure controls are above items */
}

    .cmx-carousel .carousel-control-prev:hover,
    .cmx-carousel .carousel-control-next:hover {
        opacity: 1; /* Full opacity on hover */
    }

.cmx-carousel .carousel-control-prev-icon,
.cmx-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)); /* Add shadow to icons for visibility */
    color: var(--cmx-carousel-control-color); /* Control icon color */
    font-size: 2rem; /* Larger icons */
}

/* Style for carousel indicators (dots at the bottom) */
.cmx-carousel .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .cmx-carousel .carousel-indicators li {
        box-sizing: content-box;
        flex: 0 1 auto;
        width: 10px;
        height: 10px;
        margin: 0 5px;
        text-indent: -999px;
        cursor: pointer;
        background-color: var(--cmx-carousel-indicator-inactive-color);
        background-clip: padding-box;
        border: 0;
        border-radius: 50%;
        opacity: 0.7;
        transition: opacity 0.6s ease;
    }

    .cmx-carousel .carousel-indicators .active {
        background-color: var(--cmx-carousel-indicator-active-color);
        opacity: 1;
    }

/* For screens smaller than 768px (mobile devices) */
@media screen and (max-width: 768px) {
    .card-img {
        width: 18em; /* Slightly smaller for better spacing */
        height: auto; /* Maintain aspect ratio */
    }

    .card-img-fixed {
        height: 18em; /* Set the height to 300 pixels */
        width: 13; /* Automatically adjust width to maintain aspect ratio */
        padding: 0%;
    }

    .alert-persuade {
        margin: 0 auto;
        font-size: 1.0rem;
        width: 96%;
        margin: 2%; /* full width on small screens, no horizontal margin */
    }
    .cmx-carousel.carousel {
        height: 300px; /* Adjust height for smaller screens */
    }

    .cmx-carousel .carousel-control-prev,
    .cmx-carousel .carousel-control-next {
        width: 15%; /* Wider controls on smaller screens */
    }

    .cmx-carousel .carousel-control-prev-icon,
    .cmx-carousel .carousel-control-next-icon {
        font-size: 1.5rem; /* Smaller icons */
    }


    /* Styles for individual cards within the deck */
    .cmx-card-deck .card {
        border: 1px solid #dee2e6; /* Light grey border */
        border-radius: 3px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease-in-out; /* Smooth hover effect */
        flex: 1 1 3px; /* Allows cards to grow, shrink, and have a base width */
    }
    /* Styles for the card image */
    .cmx-card-deck .card-img-top { /* Blazorise CardImage often renders as img with .card-img-top */
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        height: 8em; /* Set the height to 300 pixels */
        width: auto; /* Automatically adjust width to maintain aspect ratio */
    }

}
