﻿html {
    overflow-y: scroll;
}

/*
Setup a basic body
*/
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
/*    font-family: Verdana;
    font-size: 18px;
*/}

/*
Header is relative so z-index: 1 guarantees always displayed on top
*/
header {
    background-color: #fff59b;
    padding: 10px;
    text-decoration: none;
    position: fixed;
    width: 100%;
    z-index: 1;
    -webkit-box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.4);
}

/*
using background color is important to cover the menu
position absolute isset to cover the whole viewport
*/
#content {
    /*background-color: #cccccc;
*/    padding: 52px 10px 10px 10px;
    position: relative;
    width: auto;
    height: 100%;
  /*  -webkit-box-shadow: -10px 0px 9px 0px rgba(0, 0, 0, 0.4);
    box-shadow: -10px 0px 9px 0px rgba(0, 0, 0, 0.4);
*/}

/*
the hamburger button with a little gradient effekt
*/
#hamburger {
    border: 1px solid #000000;
    border-radius: 3px 3px 3px 3px;
    cursor: pointer;
    display: block;
    height: 24px;
    padding: 3px 4px 3px;
    position: relative;
    width: 25px;
    background: #a71f3c;
    background: -moz-linear-gradient(top, #a71f3c 0%, #a71f3c 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a71f3c), color-stop(100%, #a71f3c));
    background: -webkit-linear-gradient(top, #a71f3c 0%, #a71f3c 100%);
    background: -o-linear-gradient(top, #a71f3c 0%, #a71f3c 100%);
    background: -ms-linear-gradient(top, #a71f3c 0%, #a71f3c 100%);
    background: linear-gradient(to bottom, #a71f3c 0%, #a71f3c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a71f3c', endColorstr='#a71f3c', GradientType=0);
}

/*
The white stripes in the hamburger button
*/
#hamburger div {
    background-color: #fff59b;
    border: 1px solid #eee;
    border-radius: 2px 2px 2px 2px;
    height: 2px;
    margin-top: 3px;
    width: 90%;
}

/*
The navigation container in the background
*/
nav {
    opacity: 0;
    left: 0px;
    top: 0px;
    position: fixed;
    z-index: 0;
    width: 50%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff59b;
    background: -moz-linear-gradient(top, #fff59b 0%, #fff59b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff59b), color-stop(100%, #fff59b));
    background: -webkit-linear-gradient(top, #fff59b 0%, #fff59b 100%);
    background: -o-linear-gradient(top, #fff59b 0%, #fff59b 100%);
    background: -ms-linear-gradient(top, #fff59b 0%, #fff59b 100%);
    background: linear-gradient(to bottom, #fff59b 0%, #fff59b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff59b', endColorstr='#fff59b', GradientType=0);
}

/*
Style the navigation menu
*/
nav ul {
    list-style: none;
    margin: 0;
    width: 100%;
    padding: 0;
}

nav li {
    position: relative;
    font-size: 1em;
    font-weight: bold;
    border-bottom: 1px solid #a71f3c;
    border-top: 1px solid #a71f3c;
    padding: 15px;
}

nav li a {
    color: #a71f3c;
    text-decoration: none;
}

/*
The Layer that will be layed over the content
so that the content is unclickable while menu is shown
*/
#contentLayer {
    display: none;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    z-index: 5;
}
