body {
  overflow-x: hidden;
  -webkit-animation: androidbugfix infinite 1s
}

@-webkit-keyframes androidbugfix {
  from {
      padding: 0
  }
  to {
      padding: 0
  }
}

#menu label {
    padding: 0 0.25em;
    font-size: 3.5em;
}

#menu label.close {
	opacity: 1;
    padding: 10px .3em;
}

#menu .sub-nav .toggle {
    padding: 0 0.3125em;
    font-size: 2em;
    top: 0;
    -webkit-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

#menu .sub-nav .toggle.back {
    padding: 15px 1em;
}

h3.main-title-offcanvas{
    display: inline-block;
    font-size: 1.5rem;
    float: left;
    margin-top: 15px;    
    padding-left: 1.8em;
}

#header label:hover,
#menu label:hover {
    color: #ccc;
}

#main-nav-check,
#menu .sub-nav-check {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.toggle {
    position: absolute;
    right: 0.15em;
    cursor: pointer;
    color: #03a9f4;
}

#menu{
    background: #fff;
}

#menu,
#menu .sub-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    /*background: #eee;*/
    z-index: 9999;
    left: -100%;
}

#menu #fof-sub.sub-nav{
    width: 100%;
    left: -100%;
}

#menu,
#menu .sub-nav {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: -webkit-transform .25s ease;
    transition: transform .25s ease;
}

#menu ul {
    background: #fff;
    line-height: 2.5em;
    text-decoration: none;
    padding: 0;
    list-style: none;
    margin-top: 4.0625em;
    border-top: 2px solid rgba(0,0,0,0.1);
}

#menu li {
	padding: 15px 0px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

#menu li a {
    display: block;
    font-size: 1.4em;
    padding-left: 2.2em;
    color: #222;
    text-decoration: none;
}

#menu .sub-nav {
    margin-top: -1px;
}

#menu .sub-heading {
    height: 60px;
    padding: 15px 1.4em 15px 2.8em;
    color: #03a9f4;
}

#menu .sub-heading h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 1.5em;
    color: #3a3938;
    display: inline;
}

#menu .toggle-sub {
    color: #3a3938;
    font-size: 1.4rem;
    margin-top: -2.2rem;
    width: 100%;
    cursor: pointer;
    text-align: left;
    padding-left: 1.8em;
    padding-right: 1.4em;
    margin-bottom: 0px;
}
#menu .toggle-sub .fa{
    color: #03a9f4;
    float: right;
    margin-top: 8px;
}

#menu,
#menu .sub-nav {
    -webkit-transform: translate3d(0, 0, 0);
}


/* http://davidwalsh.name/translate3d */


/* #### - corrects 'unfixing' bug in Safari - uncomment if you have position:fixed elements inside .container - #### */


/* @media screen and (-webkit-min-device-pixel-ratio:0) { .container { -webkit-transform:none !important } } */


/* #### - define ids of animated container, menu and sub-menus here - #### */

#main-nav-check:checked ~ .container,
#main-nav-check:checked ~ #menu,
#menu .sub-nav-check:checked ~ [id$="-sub"]
/* matches all elements with id ending "-sub" */

{
    -webkit-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    transform: translate(100%, 0);
}

.page-content {
    padding: 0 1em 1em;
    max-width: 64em;
    margin: auto;
}

.page-content:after {
    display: block;
    content: "";
    height: 1px;
}



