/* Ensure Full Height */
body, html {
            height: 100%;
            margin: 0;
        }


/* Fixed Sidebar */
#nav-sidebar {
     width:280px;
     height: calc(100% -133px);
     overflow-y: auto;
     position: fixed;
     top: 133px;
     bottom: 0;
     left: 0;
     will-change: transform, opacity;
}

#logo-sidebar {
    width:280px;
    position: fixed;
    top: 0;
    left: 0;
}


/* Mobile Menu */
@media (max-width: 767px) {
    #nav-sidebar {
        top:56px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateY(-100%);
        opacity: 0;
        width: 100%;
        z-index: 1050;
    }
    #nav-sidebar.show {
        transform: translateY(0);
        opacity: 1;
    }
    
}



/* Fixed Top Bar */
.navbar {
    position: fixed;
    top: 0;
    width:100%;
    z-index:1060;
}


/* Page Shell */
.portal-shell {
    min-height: 100vh;
    display: flex;
    padding: 0;
}

.content {
    margin-left: 280px;
    width: 100%;
    overflow-y: auto;
    padding: 20px;
    min-height: 100vh;
    background-color: rgb(230, 230, 230);
}

@media (max-width: 767px) {
    .content {
        margin-left:0;
    }
}

/* Diary */
.event-line {
    width: 100%;
    border: 2px solid;
    border-radius: 4px;
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    opacity:1;
}

/* Custom Backgrounds */
.bg-dark-half {
    background: transparent;
}
.text-white-placeholder::placeholder {
    color:white!important;
}
.form-control:focus{
    background-color:inherit;
}
.form-select option{
    color: black;
}