﻿#menuToggle {
    display: block;
    position: relative;
    top: 50px;
    left: 50px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    border: 0px solid blue;
}
#menuToggle input {
    display: block;
    width: 32px;
    height: 28px;
    position: absolute;
    top: -58px;
    left: -60px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /*and place it over the hamburger */
    -webkit-touch-callout: none;
}
#hamburgerIcon + label {
    display: inline-block;
    background: url("https://assets.x12.org/images/icons/menu-icon-normal.png") no-repeat;
    width: 32px;
    height: 28px;
    position: absolute;
    top: -51px;
    left: -51px;
    cursor: pointer;
    opacity: 1; /* hide this */
    z-index: 2; /*and place it over the hamburger */
    -webkit-touch-callout: none;
}
#hamburgerIcon + label:hover {
    display: inline-block;
    background: url("https://assets.x12.org/images/icons/menu-icon-mouse-over.png") no-repeat;
    width: 33px;
    height: 29px;
    position: absolute;
    top: -51px;
    left: -51px;
    cursor: pointer;
    opacity: 1; /* hide this */
    z-index: 2; /*and place it over the hamburger */
    -webkit-touch-callout: none;
}
#menuToggle input:checked + label {
    background: url("https://assets.x12.org/images/icons/close-normal.png") no-repeat;
}
#menuToggle input:checked + label:hover {
    background: url("https://assets.x12.org/images/icons/close-hover.png") no-repeat;
}
#menu {
    border: 0px solid red;
    position: absolute;
    width: 200px;
    margin: -11px 0 0 -70px;
    /*padding: 50px;*/
    /*padding-top: 125px;*/
    background: #fff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    background: #dedede;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
#menu li {
    margin-left: -20px;
    padding: 5px 0 10px 0;
}
#menu > li:first-child {
    padding-top: 15px;
}
#menu > li:last-child {
    padding-bottom: 15px;
}
#menuToggle input:checked + label ~ ul {
    transform: scale(1.0, 1.0);
    opacity: 1;
}
#menu a {
    color: #000;
    transition: color 0.3s ease;
}
#menu a:hover {
    color: #999;
}
hr {
    border: 0;
    border-top: 1px solid #eee;
}
#menu hr {
    margin-top: 0;
    margin-bottom: 0;
    color: #333;
    border-style: inset;
    padding-bottom: 10px;
}