﻿/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    float: right;
    z-index: 2; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    /*background-color: lightgray;*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 0px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}



/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    color: red;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
    display: none;
}

/* 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) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

/***********************************************/

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: transparent;
    color: gold;
    font-size: 20px;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .accordion:hover {
        color: gold;
        background-color: black;
    }

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    font-size: 18px;
    background-color: black;
    color: white;
    display: none;
    overflow: hidden;
}
