/*Strip the ul of padding and list styling*/
#menu ul {
    list-style-type:none;
    margin:0;
    padding:0;
    position: absolute;
}
/*Create a horizontal list with spacing*/
#menu li {
    display:inline-block;
    float: left;
    
}
/*Style for menu links*/
#menu li a {
    display:block;
    
   
    text-align: center;
    
    color: #fff;
   
}
/*Hover state for top level links*/
#menu li:hover a {
   
}
/*Style for dropdown links*/
#menu li:hover ul a {
   
}
/*Hover state for dropdown links*/
#menu li:hover ul a:hover {
    
    color: #fff;
}
/*Hide dropdown links until they are needed*/
#menu li ul {
    display: none;
}
/*Make dropdown links vertical*/
#menu li ul li {
    display: block;
    float: none;
}
/*Prevent text wrapping*/
#menu li ul li a {
    width: auto;
   
    padding: 0 ;
}
/*Display the dropdown on hover*/
#menu ul li a:hover + .hidden, #menu .hidden:hover {
    display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
    
    text-align: center;
    padding: 5px 0;
    display: none;
}
/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: inline-block;
}
/*Responsive Styles*/
@media screen and (max-width: 600px){
    /*Make dropdown links appear inline*/
   #menu {
        position: absolute;
        display: none;
       top: 40px;
       right:20px
    }
    /*Create vertical spacing*/
   #menu li {
       background: #242424;
       padding: 5px 0;
    }
    /*Make all menu links full width*/
   #menu li, #menu li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    .show-menu {
        display:inline-block;
        float:right;
    }
}