

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}
 
.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .main .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.custom-group .btn-block {
    display: block;
    width: 100%;
}

.custom-group .number-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 30px; /* Adjusted to ensure space for two digits */
    height: 30px; /* Adjust height as well to maintain circular shape */
    padding: 0 6px; /* Horizontal padding to help maintain shape */
    font-size: 12px; /* Adjust font size as needed */
    border-radius: 50%; /* Ensures circular shape */
    color: white; /* Adjust text color as needed */
    background-color: #007bff; /* Adjust background color as needed */
    border: 1px solid transparent; /* Optional: can adjust border properties */
    font-size: 14px;
    margin-right: 10px;
}

.custom-group .btn {
    display: flex;
    align-items: center; /* Aligns the badge and text vertically */
    justify-content: start; /* Align items to the left */
    height: 50px;
}

.codelab-scrollable-section {
    position: fixed;
    top: 120px; /* Adjust the top value to be below the banner */
    margin-left: 340px; /* Same as before, adjust based on fixed section width */
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    overflow-y: auto;
    width: calc(100% - 340px);
    height: calc(100% - 100px); /* Adjust height to account for the banner */
}

.project-scrollable-section {
    position: fixed;
    top: 120px; /* space for top banner */
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: calc(100% - 120px); /* fill remaining vertical space */
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}


.codelab-fluid-image {
    max-width: 800px; /* Maximum image width */
    width: 100%;
    height: auto;
}

.codelab-content {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 840px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.codelab-fixed-section {
    position: fixed;
    top: 100px; /* Adjust the top value to be below the banner */
    left: 0;
    width: 320px;
    height: calc(100% - 120px); /* Adjust height to account for the banner */
    background-color: #f9f9f9;
    padding: 20px;
    overflow-y: auto;
    z-index: 999; /* Ensure this section is below the banner but above scrollable content */
}




.nav-button-group {
    display: flex;
    /* Additional styling for the button group if needed */
    height: 100px;
 
}

.nav-button {
    margin-bottom: 2px;
    
}

.nav-button-subgroup {
    padding: 4px;
}

.main-container {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}

.main-left-column, .main-right-column {
    display: flex;
    width: 64px; /* Fixed width for left and right columns */
    align-items: center; /* Center vertically */
    background-color: red;
    text-align: center;
}

.main-middle-column {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center; /* This centers the image vertically if you need */

    margin: 0 20px; /* Optional: Adds some space between the columns */
}

.main-responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensures image is not bigger than its container */
    max-height: 576px;
}

.my-custom-alert {
    max-width: 1024px; /* Adjust width as needed */
    margin: 0 auto; /* Center the alert horizontally */
    text-align: center; /* Center the text inside the alert */
    width: 100%;
}

.sidebar {
    position: fixed; /* Keeps the banner fixed at the top */
    top: 0;
    left: 0;
    height: 200px;
    width: 100%; /* Span the full width of the viewport */
    background-color: #333; /* Example background color */
    color: #fff; /* Text color */
    padding: 0 0; /* Padding for the banner content */
    text-align: center; /* Center the banner text */
    z-index: 1000; /* Ensure the banner stays on top of other content */
    /*  background-image: linear-gradient(180deg, rgb(22, 71, 35)  , rgb(63, 162, 73)   ); */
}

    .sidebar .top-row {
        background-color: rgba(40,129,63,1);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: white;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding: 0;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

/**
@media (max-width: 767.98px) {
*/

.main .top-row:not(.auth) {
    display: none;
}

.main .top-row.auth {
    justify-content: space-between;
}

.main .top-row a, .main .top-row .btn-link {
    margin-left: 0;
}

@font-face {
    font-family: 'HD44780';
    src: url('/fonts/hd44780.ttf') format('truetype'); /* Adjust the path */
    font-weight: normal;
    font-style: normal;
}

/*
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        //Never collapse the sidebar for wide screens
        display: block;
    }
 }
*/