form {
    margin-bottom: 1em;
}

.chart {
    height: 50em;
}

.inline-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.container > h4, .container > h5 , .container > div > h5{
    margin-top: 4.5rem;
    margin-bottom: 1.5rem;
}

.navbar.custom-navbar {
    padding: 0.8rem 1rem !important; /* Add !important if needed */
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    right: 96%;
    background-color: lightgrey;
}

.dropdown-submenu > .dropdown-menu[data-bs-popper] {
    left: auto;
}

.nextAndPrev {
    width: 2.5em;
}

.nextAndPrev:hover {
    background-color: aliceblue;
}

.responsive-span {
    display: flex;
}

.adjust-content {
    justify-content: center;
    display: flex;
    flex-direction: row;
}

.lastDaysGraph {
    width: 50em;
    height: 30em;
}

.monthlyGraphPie {
    width: 40em;
    height: 25em;
}

/* Hide the responsive span if the screen width is less than ... */
@media screen and (max-width: 100em) {
    .responsive-span {
        display: none;
    }

    .adjust-content {
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    .lastDaysGraph{
        width: 100%;
        height: 20em;
        @media screen and (min-width: 40em) {
            height: 30em;
        }
    }

    .monthlyGraphPie{
        width: 100%;
        height: 20em;
        @media screen and (min-width: 40em) {
            height: 30em;
        }
    }
}


