Copy code
body {
    font-family: "Lato", sans-serif;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 0;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: gainsboro;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebarAO {
    /*Always Open sidebar*/
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 200px;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: gainsboro;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebarAO a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 16px;
    color: black;
    display: block;
    transition: 0.3s;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 16px;
    color: black;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 16px;
    cursor: pointer;
    background-color: gainsboro;
    color: gainsboro;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #444;
}

.row-date span {
    font-size: 14px;
}

.row-date .btn {
    padding: 2px 0px;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }

    .row-date span {
        font-size: 10px;
    }
}
