html {
    overflow-y: scroll;
}


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

}

/*This is all css code for main header on top of the page*/


/*
Header is relative so z-index: 1 guarantees always displayed on top
This is the top bit of the hamburger button, banner shown on web page 
*/
header {
    background-color: #8C0D33; 
    padding: 10px;
    text-decoration: none;
    position: relative;
    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);
}


/* ensuring that the image is responsive */ 
header img {
    max-width: 100%;
}

/* Heading of the top of the website, for the sub pages */
#header {
    padding: 25px 0px 0px 80px;
    max-width: 100%;
    height:10%;
    background-attachment: fixed;
}

/* Heading of the top of the website, for the sub pages */
#mainheader {
    margin-left: 185px;
    width: 100%;
    height:10%;


}




/*This is all css code for the body layout style*/

/*
using background color is important to cover the menu
position absolute isset to cover the whole viewport
*/
#content {
    background-color: #FFFFFF;
    padding: 52px 50px 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);
    margin: 10px;
}
/* This is the styling code for the INSTRUCTIONS section for index page */
#main {
	margin-left: 195px;
    width: 100%;
    height:10%;

}

/*Font colour for the INSTRUCTION section*/
h1 {
    color: #ff9999;
}

/*BLOGGER embedded in the LOST and FOUND pages*/
.blog {
  position: relative;
  padding-bottom: 75%;
  height: 100%;
  overflow: hidden;
}

.blog iframe{
  display: block;
  /*--Next two lines make the item centered-*/
  position:absolute;
  top: 0;
  left: 0;
  max-width:100%;
  max-height: 100%%;
}

/*
.blog {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.blog iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

*/

/* All css code for hamburger effect */

/*
the hamburger button with a little gradient effect
*/
#hamburger {
    border: 1px solid #374C77;
    border-radius: 3px 3px 3px 3px;
    cursor: pointer;
    display: block;
    height: 24px;
    padding: 3px 4px 3px;
    position: relative;
    width: 25px;
    background: #8C0D33;
    background: -moz-linear-gradient(top, #4569b2 0%, #4062a5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4569b2), color-stop(100%, #4062a5));
    background: -webkit-linear-gradient(top, #4569b2 0%, #4062a5 100%);
    background: -o-linear-gradient(top, #4569b2 0%, #4062a5 100%);
    background: -ms-linear-gradient(top, #4569b2 0%, #4062a5 100%);
    background: linear-gradient(to bottom, #4569b2 0%, #4062a5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4569b2', endColorstr='#4062a5', 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 tab that comes up when you click the hamburger button
*/
nav {
    opacity: 0;
    left: 0px;
    top: 0px;
    position: fixed;
    z-index: 0;
    width: 70%; /* The width of the side menu that pops up */
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    background: #8C0D33;
    background: -moz-linear-gradient(top, #8C0D33 0%, #8C0D33 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8C0D33), color-stop(100%, #8C0D33));
    background: -webkit-linear-gradient(top, #8C0D33 0%, #8C0D33 100%);
    background: -o-linear-gradient(top, #8C0D33 0%, #8C0D33 100%);
    background: -ms-linear-gradient(top, #8C0D33 0%, #8C0D33 100%);
    background: linear-gradient(to bottom, #8C0D33 0%, #8C0D33 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C0D33', endColorstr='#8C0D33', GradientType=0);
}

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

/* This is the dividers of the listed button */ 
nav li {
    position: relative;
    font-size: 1em;
    font-weight: bold;
    border-bottom: 1px solid #222222;
    border-top: 1px solid #fff;
    padding: 15px;
}

/* button names written when hamburger button is opened */ 
nav li a {
    color: #fff;
    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;
}

@media screen and (max-width: 1000px) {body{font-size: 16px;}#wrapper{width:100px}}
@media screen and (max-width: 768px) {body {font-size: 14px;}#wrapper{width:768px}}
@media screen and (max-width: 550px) {body{font-size: 12px;}#wrapper{width:550px}}
@media screen and (max-width: 320px) {body{font-size: 10px;}#wrapper{width:320px}}

@media screen and (max-width: 960px) { #nav ul li a {font-size:1.4em;}}
@media screen and (max-width: 768px) {{ #nav ul li a {font-size:1.3em;}}
@media screen and (max-width: 550px) {{ #nav ul li a {font-size:1.25em;}}
@media screen and (max-width: 320px) {{ #nav ul li a {font-size:1.1em;}}

@media screen and (max-width: 960px) {{.blog iframe {width:100% height:100%;}}
@media screen and (max-width: 768px) {{ .blog iframe {width:80% height:80%;}}
@media screen and (max-width: 550px) {{ .blog iframe {width:50% height:50%;}}
@media screen and (max-width: 320px) {{ .blog iframe {width:10% height:10%;}}



