.menuresponsivo{
    width: 100%;
    height: auto;
    display: none;
}




#nav
{
    /* container */
}
    #nav > a
    {
        color: black;
        display: none;
    }
    #nav li
    {
        position: relative;
    }
 
    /* first level */
 
    #nav > ul
    {
        display: none;
        height: 3.75em;
    }
        #nav > ul > li
        {
            width: 25%;
            height: 100%;
            float: left;
        }
 
    /* second level */
 
    #nav li ul
    {
        display: none;
        position: absolute;
        top: 100%;
    }
        #nav li:hover ul
        {
            display: block;
            background-color: rgba(100, 100, 100, .3);
        }



@media only screen and ( max-width: 1020px ) /* 640 */
{
    
    .main-sidebar{
        display: none;
    }
    .menuresponsivo{
        width: 100%;
        height: auto;
        display: block;
        background-color: black;
}
    a{
        color: white;
        line-height: 30px; 
        padding: 10px 10px;
    }
    #nav
    {
        position: relative;
    }
        #nav > a
        {
            color: white;
            line-height: 30px;
            padding: 10px 10px;
        }
        #nav:not( :target ) > a:first-of-type,
        #nav:target > a:last-of-type
        {
            display: block;
            padding-left: 10px;
            border-bottom: 1px solid;
        }
 
    /* first level */
    
    #nav li ul li {
    left: -50px;
    padding: 10px 30px;
    color: white;
    border-bottom: 1px solid rgba(100, 100, 100, .5);
    }
    
    #nav li ul a{
        color: white;
        font-size: 12px;
    }
 
    #nav > ul
    {
        height: auto;
        display: none;
        position: absolute;
        left: -40px;
        right: 0;
        background-color: black;
        list-style: none;
        z-index: 1;
        color: white;
    }
    #nav li:hover ul {
    display: block;
    background-color: rgba(100, 100, 100, 0.3);
}
        #nav:target > ul
        {
            display: block;
            display: block;
        }
        #nav > ul > li
        {
            width: 100%;
            float: none;
            border-bottom: 1px solid rgba(100, 100, 100, .7);
            padding: 10px;
        }
 
    /* second level */
 
    #nav li ul
    {
        list-style: none;
        position: static;
    }
    .sidebar-menu{
    display: none;
}
}
