@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1 {
    font-family: 'Arial', sans-serif; /* You can choose another font if you prefer */
    font-weight: bold;
    font-size: 2.5em; /* Adjust size as needed */
    color: #800080; /* Purple color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for depth */
    margin-bottom: 20px; /* Adds some space below the title */
}
h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
    background-color: #FFFCF2; /* Very light yellow */
}
    .content h1 {
        font-family: 'Arial', sans-serif; /* You can choose another font if you prefer */
        font-weight: bold;
        font-size: 2.5em; /* Adjust size as needed */
        color: #800080; /* Purple color */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for depth */
        margin-bottom: 5px; /* Adds some space below the title */
    }
    .content h2 {
        font-family: 'Arial', sans-serif; /* You can choose another font if you prefer */
        font-weight: bold;
        font-size: 1.5em; /* Adjust size as needed */
        color: #800080; /* Purple color */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for depth */
        margin-bottom: 20px; /* Adds some space below the title */
    }

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}
/* Target the sidebar container */
.sidebar {
    background: linear-gradient(to bottom, #FFF9E0, #fff1e0); /* Adjusted yellow gradient */
}

.sidebar, .top-row {
    background: linear-gradient(to bottom, #FFF9E0, #fff1e0); /* This is a gradient from light yellow to a darker yellow */
}
.navbar, .nav-item, .nav-link {
    background: linear-gradient(to bottom, #FFF9E0, #fff1e0);
}
.navbar-toggler-icon {
    background-color: purple;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='yellow' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFFF00' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-brand {
    color: purple !important; /* Using !important to ensure it overrides any other styles */
    font-weight: bold;
    font-size: 2.5em;
}
.nav-link {
    color: purple !important; /* Using !important to ensure it overrides any other styles */
}
    .nav-link:hover {
        color: darkpurple !important; /* Or any other shade of purple you prefer */
    }

.news-container {
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;
    gap: 10px;
   
}

.news-card {
    flex: 0 0 auto;
    width: 300px;
    height: 300px;
    font-size: 12px; /* Adjust this as needed */
    padding: 10px; /* Padding can help give a little space inside the card */
    box-sizing: border-box; /* This ensures padding doesn't expand the card beyond its set dimensions */
    overflow-y: auto; /* This hides any overflowing content */
    background: #fff1e0;
}

    .news-card h2 {
        font-size: 14px; /* Adjust as needed */
        font-weight: bold;
        margin: 0 0 10px 0; /* Provides some spacing after the title */
    }

    .news-card p {
        margin: 0 0 12px 0; /* Provides some spacing after the description */
    }

    .news-card .date {
        font-size: 10px; /* A smaller font size for the date */
        color: #888; /* A lighter color for the date */
        margin-top: auto; /* Push the date to the bottom of the card */
    }
    .news-card .read-more {
        display: inline-block;
        margin-top: 10px; /* Space above the link */
        color: #007bff; /* Link color, adjust as needed */
        text-decoration: none;
        font-weight: bold;
        cursor: pointer;
    }

        .news-card .read-more:hover {
            text-decoration: underline;
        }

.modal {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 5px;
    max-width: 80%; /* 80% of viewport width */
    max-height: 90%; /* 80% of viewport height */
    overflow-y: auto; /* Add scrollbar if content is too long */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}
.modal-body-content {
    overflow-y: auto; /* Add scrollbar if content is too long */
    max-height: calc(100vh - 200px); /* Adjust this value based on your modal's header and footer height */
}
.modal-header-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.modal-title {
    font-weight: bold;
    margin-bottom: 15px;
}

.modal-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 20px;
}
.modal-iframe-container {
    flex-grow: 1;
    overflow: hidden;
    /*aspect-ratio: 16 / 9;*/ /* For a 16:9 video */
    /*max-height: 60vh;*/ /* Adjust based on your needs */
}


.close-btn {
    background-color: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 10px;
    transition: color 0.3s;
}
    .close-btn:hover, .close-btn:focus {
        color: #333;
        text-decoration: none;
        cursor: pointer;
    }


.read-more-Iframe {
    display: inline-block;
    /*background-color: #007bff;*/ /* Using a shade of blue here, adjust as needed */
    color: #555;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    top: 70px;
    right: 15px;
    position: unset; /* Remove absolute positioning */
    margin-left: 10px; /* Add some margin for spacing */
    padding: 5px 15px;
}

    .read-more-Iframe:hover {
        color: #333;
        text-decoration: none;
        cursor: pointer;
    }

.cpm-ad {
    position: sticky;
    top: 10px; /* Distance from the top of the viewport */
    z-index: 800; /* Ensure it's above other content */
    width: 100%; /* Take full width or set a fixed width */
    background-color: #f9f9f9; /* Example background color */
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cpm-ad-card {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9; /* Light gray for distinction */
    text-align: center;
}

.thumbnail-image {
    width: 100%; /* Make the image take the full width of the card */
    max-height: 120px; /* Adjust this value as needed */
    object-fit: cover; /* This will ensure the image covers the area without distortion */
    border-radius: 5px; /* Optional: to give rounded corners to the image */
    margin-bottom: 10px; /* Space between the image and the title */
}
.submenu {
    display: none;
}
    .submenu a {
        text-decoration: none; /* Removes the underline from submenu links */
        color: purple !important; /* Using !important to ensure it overrides any other styles */
    }

        .submenu a:hover {
            color: darkpurple !important; /* Or any other shade of purple you prefer */
        }

.nav-item:hover .submenu {
    text-decoration: none; /* Removes the underline */
    list-style-type: none;
    display: block; /* Show submenu on hover */
    margin-left: 20px;
    /*background-color: #f9f9f9;*/
}
.custom-divider {
    height: 0.5px;
    background: linear-gradient(to right, transparent, #FFEB3B, transparent);
    margin: 0.5px 0;
}

.morning-intro {
    background-color: #fff1e0; /* Light yellow background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 800px; /* Adjust based on your layout */
    margin: 20px auto; /* Centering the content */
}

    .morning-intro h1 {
        color: #800080; /* Purple color */
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 20px;
    }

    .morning-intro h2 {
        color: #800080; /* Purple color */
        font-size: 2em;
        margin-top: 20px;
        border-bottom: 2px solid #800080; /* Purple underline */
        padding-bottom: 10px;
    }

    .morning-intro h3 {
        color: #800080; /* Purple color */
        font-size: 1.5em;
        margin-top: 20px;
    }

    .morning-intro p {
        font-size: 1.1em;
        line-height: 1.6; /* Spacing between lines */
        margin-bottom: 20px;
        color: #555; /* Dark gray for readability */
    }

    /* If you have any icons or emojis, this will style them */
    .morning-intro h2:before {
        content: '\2600'; /* Unicode for sun emoji, you can replace with your own */
        margin-right: 10px;
    }

    /* Adjusting the last paragraph's margin for better spacing */
    .morning-intro p:last-child {
        margin-bottom: 0;
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.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."
    }
