html {
    overflow-y: scroll;
}

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

#page_container {
	height: 100%;
}

/*
Header is relative so z-index: 1 guarantees always displayed on top
*/
header {
    background-color: rgba(255, 255, 255, 0);
    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); */
	background-image: url("http://www.cs.queensu.ca/images/banner-mobile.png");
	height: 90px;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

/*
using background color is important to cover the menu
position absolute isset to cover the whole viewport
*/
#page {
    background-color: #FFFFFF;
	padding: 0px;
    padding-top: 125px;
    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 #11335d;
    border-radius: 3px 3px 3px 3px;
    cursor: pointer;
    display: block;
    height: 24px;
    padding: 3px 4px 3px;
    position: relative;
    width: 25px;
    background: #11335d;
    background: -moz-linear-gradient(top, #11335d 0%, #11335d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #11335d), color-stop(100%, #11335d));
    background: -webkit-linear-gradient(top, #11335d 0%, #11335d 100%);
    background: -o-linear-gradient(top, #11335d 0%, #11335d 100%);
    background: -ms-linear-gradient(top, #11335d 0%, #11335d 100%);
    background: linear-gradient(to bottom, #11335d 0%, #11335d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#11335d', endColorstr='#11335d', GradientType=0);
}

/*
The white stripes in the hamburger button
*/
#hamburger div {
    background-color: #fff;
    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;
	display: none; /* Needed for Mobile IE (otherwise you can still click menu items). */
    left: 0px;
    top: 0px;
    position: fixed;
    z-index: 0;
    width: 70%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: scroll;
    background: #2c3849;
    background: -moz-linear-gradient(top, #2c3849 0%, #1b232e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2c3849), color-stop(100%, #1b232e));
    background: -webkit-linear-gradient(top, #2c3849 0%, #1b232e 100%);
    background: -o-linear-gradient(top, #2c3849 0%, #1b232e 100%);
    background: -ms-linear-gradient(top, #2c3849 0%, #1b232e 100%);
    background: linear-gradient(to bottom, #2c3849 0%, #1b232e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2c3849', endColorstr='#1b232e', 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 #222222;
    border-top: 1px solid #444444;
    padding: 15px;
}

nav li a {
    color: #fff;
    text-decoration: none;
}
nav li ul  {
	padding-top: 10px;
}

nav li ul li {
	margin-left: 10px;
	font-weight: normal;
	font-size: 12px;;
	border: none;
	padding: 10px;
}


/*
nav ul ul {
	margin-left: 10px;
	font-size: 80%;
}

nav ul ul li {
	height: 10px;
}

nav ul ul ul {
	margin-left: 15px;
	font-size: 95%;
}

nav ul ul ul li {
	height: 10px;
}

nav ul ul ul ul {
	margin-left: 20px;
	font-size: 95%;
}

nav ul ul ul ul li {
	height: 10px;
}*/


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