/*!
 * Theme Name: Default
 * Package : DashLite
 * Author: Solly
 * Version	 :	1.0.0
 * Updated	 :	07.23.2020
**/

.creative-bs5-jumbotron {
    /* --- Background Image --- */
    background-image: url('../images/background.jpg'); /* ==> REPLACE with your image URL */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For the overlay */
    /* padding and margin are handled by BS5 utilities (p-5, mb-4) but can be overridden */
    text-align: center; /* Or 'left' / 'start' in BS5 */
    overflow: hidden; /* Good practice */
}

    /* --- Overlay for Readability --- */
    .creative-bs5-jumbotron::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(20, 30, 40, 0.55); /* Example: A slightly desaturated dark blue overlay */
        z-index: 1;
        border-radius: inherit; /* If the parent .creative-bs5-jumbotron has rounded corners from BS utilities */
    }

    /* --- Content Styling (ensure it's above the overlay) --- */
    .creative-bs5-jumbotron .content-above-overlay {
        position: relative;
        z-index: 2;
    }

    /* BS5 already has display classes and font-size utilities, but you can fine-tune */
    .creative-bs5-jumbotron h1.display-5 { /* Targeting BS5 display class */
        text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
        /* fw-light already applied in HTML for font-weight */
    }

    .creative-bs5-jumbotron .fs-4 { /* Targeting BS5 font-size class */
        margin-bottom: 1.5rem;
    }

    /* Style the ASP:Image (rendered as <img>) */
    .creative-bs5-jumbotron img { /* Already has img-fluid from HTML */
        max-width: 120px; /* Adjust size of the crest */
        height: auto;
        margin-top: 1rem;
        /* Example: Making a logo pop a bit */
        /* filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.3)); */
    }

/* --- Wrapper for the Crest Image --- */
.crest-wrapper {
    width: 130px; /* Overall width of the circular element (image + space + border) */
    height: 130px; /* Overall height, should be same as width */
    border-radius: 50%; /* Makes the wrapper circular */
    border: 3px solid rgba(255, 255, 255, 0.7); /* Your desired border */
     /* THIS CREATES THE INNER SPACE */
    /* Adjust this 'padding' value to increase/decrease the space */
    background-color: transparent; /* Or a specific color for the space if needed */
    /* e.g., rgba(0,0,0,0.2) for a subtle dark space */
    margin-left: auto; /* For centering the wrapper */
    margin-right: auto;
    margin-top: 1rem; /* Or use Bootstrap margin utilities */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow on the wrapper */
    display: flex; /* Helps in centering the image perfectly if it's smaller */
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensures the inner image respects the circular boundary */
}

    /* --- Styling for the Image inside the Wrapper --- */
    .crest-wrapper .crest-image { /* Targeting the asp:Image with CssClass="crest-image" */
        width: 100%; /* Image fills the padded area of the wrapper */
        height: 100%; /* Image fills the padded area of the wrapper */
        object-fit: cover; /* Maintains aspect ratio, covers the space */
        /* Ensures the image itself is also clipped circularly */
        /* This is important if the wrapper has a transparent background for the padding area */
        display: block; /* Default for img-fluid, good practice */
    }

.hero-full {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 0;
    /* break out of container-xl / wide-xl */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

    .hero-full::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
        z-index: 0;
    }

    .hero-full .content-above-overlay {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

.nk-block-full {
    margin-bottom: 2rem;
}

.nk-content-fluid {
    padding-top: 0;
}