.outer{/*style for off-canvas sidemenu*/
    position: relative;
    transform: translate3d(0,0,0); /* no shifting of DIV to start */
    transition: transform 0.5s; /* transition the transform property over 0.5s*/
}

#offcanvas-menu{ /* Full screen nav menu */
    width: 240px; 
    height: 100%;   
    top: 0;
    left: 0;        
    visibility: hidden; /* this is for browsers that don't support CSS3 translate3d */
    position: fixed; /* fixed menu position */
    transform: translate3d(-250px,0,0); /* shift menu -width to hide it initially */
    box-sizing: border-box; /* include padding/ border as part of declared menu width */
    background: #462118;
    display: block;
    text-align: left;   
    transition: transform 0.5s, visibility 0s 0.5s; /* transition settings. */
    /*overflow-y: hidden;*/
    overflow-x: scroll;
    z-index: 100;
}

input[type="checkbox"]#togglebox {
    /* checkbox used to toggle menu state */
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden; /* hide checkbox, instead relying on labels to toggle it */
}
 
label#navtoggler{ /* Main label icon to toggle menu state */
    z-index: 9;
    display: block;
    position: relative;
    font-size: 8px;
    width: 22px;
    height: 2px;
    top: 0;
    left: 0;
    text-indent: -1000px;
    border: 2px solid white;
    padding: 5px 0;
    /* border color */
    border-width: 2px 0;
    cursor: pointer;
}
 
label#navtoggler::before{
    /* inner strip inside label */
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    margin-top: -1px;
    left: 0;
    background: white; /* stripe background color. Change to match border color of parent label above */
}

input[type="checkbox"]#togglebox:checked ~ div.outer{
    margin-left: 0px; /* add some breathing room between menu and outer */
    transform: translate3d(240px,0,0); /* shift outer 250px to the right */
}
 
input[type="checkbox"]#togglebox:checked ~ nav#offcanvas-menu{ /* nav state when corresponding checkbox is checked */
    transform: translate3d(0,0,0); /* shift outer 250px to the right */
    visibility: visible; /* this is for browsers that don't support CSS3 translate3d in showing the menu */
    transition-delay: 0s; /* No delay for applying "visibility:visible" property when menu is going from "closed" to "open" */
}

#togglebutton {    
    background: #462118;
    margin-top: 5px;
    padding: 10px;
    width: 42px;
    display: none;
}
@media only screen and (max-width: 991px) {
    #togglebutton {
        display:block;
    }
}