﻿.overlay3 {
    height: 100%;
    width: 0px;
    position: fixed;
    z-index: 4;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    opacity: 0;
    transition: opacity 1s;
}
        
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 99;
    top: 0;
    /*left: 0;*/
    right: 0;
    background-color: #1B282C;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.5s;
    padding-top: 60px;
    padding-bottom: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.sidenav a, .dropdown-btn {
    width: 250px;
    padding: 11px 16px 11px 24px;
    cursor: pointer;
    text-decoration: none;
    font-size: 17px;
    color: #818181;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.3s;
}

/* Green Lucide icons on each side-menu tab */
.sidenav a .menuIcon, .dropdown-btn .menuIcon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #39B77C;
}

.sidenav a .menuLabel, .dropdown-btn .menuLabel {
    flex: 1 1 auto;
}

/* Hover: tab background turns dark green */
.sidenav a:hover, .dropdown-btn:hover {
    color: #f1f1f1;
    background-color: #1A3A3A;
}

/* Powered by: Rycor footer pinned to the bottom of the menu */
.sidenav-poweredby {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 16px 4px 24px;
}

.sidenav-powered-label {
    font-size: 12px;
    font-weight: 700;
    color: #f1f1f1;
}

.sidenav-powered-logo {
    height: 16px;
    width: auto;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 15px;
    }
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
    transition: 0.3s;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}
