@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700);
@import url(http://fonts.googleapis.com/css?family=Shadows+Into+Light);

* {
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
    font-size: 100%;
    font-family: 'Ubuntu', sans-serif;
    background-image: url(../img/bg2010.jpg);
    background-size: cover;
}

body{
    min-height: 100%;
    background-color: rgba(242,245,174,0.7);

}

a{
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: #cc3399;
}

#backlink {
    font-size: 1rem;
    position: absolute;
    top: auto;
    right: 30px;
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

#wrapper {
    position: relative;
    width: 1020px;
    margin: 0 auto;

}

#top {
    background-color: #003366;
    height: 30px;
    position: relative;
}

#header {
    background: url(../img/bg2010.jpg) center center;
    background-size: cover;
    height: 220px;
    position: relative;
}

#content {
    background-color: #003366;
    position: relative;
    min-height: 470px;

}

#box1, #box2, #box3, #box4 {
    width: 400px;
    height: 160px;
    background-color: rgba(255,255,255,0.5);
    padding: 5px 5px;
    text-align: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: 7px 10px 10px rgba(0,0,0,0.8);
    -webkit-box-shadow: 7px 10px 10px rgba(0,0,0,0.8);
    -moz-box-shadow: 7px 10px 10px rgba(0,0,0,0.8);


}

#box1 {
    position: absolute;
    top: 40px;
    left: 100px;
}

#box2 {
    position: absolute;
    top: 40px;
    left: 520px;
}

#box3 {
    position: absolute;
    top: 240px;
    left: 100px;
}

#box4 {
    position: absolute;
    top: 240px;
    left: 520px;
}

#box5 {
    position: absolute;
    top: 20px;
    left: 50px;
    width: 90%;
    height: 420px;
    overflow: auto;
    background-color: rgba(255,255,255,0.5);
    padding: 5px 10px;
    text-align: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: 7px 10px 10px rgba(0,0,0,0.8);
    -webkit-box-shadow: 7px 10px 10px rgba(0,0,0,0.8);
    -moz-box-shadow: 7px 10px 10px rgba(0,0,0,0.8);

}

ul li {
    list-style-type: circle;
    margin: 15px;
    padding: 2px;
}

ul li ul li{
    list-style-type: square;
    margin: 5px;
    padding: 5px;
    line-height: 1rem;
}

h1 {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    text-decoration: underline;
}

body #wrapper #header h2 {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.6rem;
    text-decoration: underline;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 160px;
    right: 30px;

}

body #wrapper #header h1 {
    font-family: 'Shadows Into Light', cursive;
    font-size: 2.4rem;
    color: #fff;
    display: inline-block;
    background-color: rgba(0,0,0,0.4);
    position: absolute;
    top: 150px;
    left: 4px;
    text-decoration: none;
}

/* ------------------------ NAV-WRAPPER CONTENT ------------------------*/

#nav-wrapper{
    z-index: 999;
    background-color: rgba(255,255,255,0.5);
    position: fixed;
    top: 0;
    right: -135px;
    transition: right 300ms;
    -webkit-transition: right 300ms;
    -moz-transition: right 300ms;
    width: 135px;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#nav-wrapper:hover{
    right: 0px;
}

#nav-wrapper h2{
    display: inline-block;
    font-family: 'Shadows Into Light', cursive;
    color: #003366;
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 1rem;
    text-decoration: none;
    border-bottom: 2px solid #003366;
    padding-bottom: 2px;
  
}

#nav-wrapper ul li{
    list-style: none;
    font-size: 1.4rem;
    line-height: 1.4rem;
    margin-bottom: 5px;
}

#nav-wrapper ul li:last-child{
    margin-bottom: 0;
}

#nav-wrapper ul li a{
    color: #003366;
    font-family: 'Shadows Into Light', cursive;
}

#nav-wrapper ul li a:hover{
     color: #cc3399;
}

#nav-wrapper #nav-btn{
    position: absolute;
    left: -60px;
    top: 60px;
    width: 60px;
    height: 60px;
    background-color: #003366;
    padding: 15px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#nav-wrapper #nav-btn div{
    height: 6px;
    background-color: #fff;
    margin-bottom: 5px;
}

#nav-wrapper #nav-btn div:last-child{
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------*/