/* Be sure to update the version in the inclusion file to break the caching */
.menu {
    width: 250px;
    /*height: calc(100vh - var(--bulma-navbar-height));*/
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
}

#close-menu-button {
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
}

.divider {
    margin: 2px 12px;
    background: grey;
    height: 1px;
}

.nowrap {
    text-wrap: nowrap;
}

.pt-color {
    color: #0068b9;
}

.pd-color {
    color: #d00e00;
}

.rh-color {
    color: #006104;
}

@media (prefers-color-scheme: dark) {
    .pt-color {
        color: #6db0ff;
    }

    .pd-color {
        color: #ff8f90;
    }

    .rh-color {
        color: #1fffb5;
    }
}


@media print {
    /* Hide elements not needed for printing */
    .print:hidden {
        display: none !important;
    }
}

@media screen and (max-width: 769px) {
    .menu-wrapper {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100vw;
        height: calc(100vh - var(--bulma-navbar-height));
        overflow: hidden;
        z-index: 1000;
    }

    .menu {
        background-color: var(--bulma-scheme-main);
        position: fixed;
        z-index: 1002;
    }

    #close-menu-button {
        width: 100%;
        height: 100%;
        top: 0;
        position: absolute;
        z-index: 1001;
    }
}