/* Revealing 3D Menu CSS */

@import url(http://fonts.googleapis.com/css?family=Lobster);
@import url(http://fonts.googleapis.com/css?family=Cabin);

body
{
    font-family: Cabin, Arial;
    font-size: 100%;
    padding: 0;
    margin: 0;
    color: #333333;
    background-color: #000000;
    text-align:left;
}
h1{
    color:#600;
    text-align: center;
    font-family: 'Lobster', Georgia, Times, serif;
    font-size: 50px;
    font-weight: strong;
    margin: 0 0 0.2em 0;
    border-bottom: 1px solid #600;
}

h2
{
    font-family: 'Lobster', Georgia, Times, serif;
    font-size: 40px;
    font-weight: strong;
    border-bottom: 1px solid #999;
    color:#303030;
    padding:10px 0px;
    margin:30px 0px 10px 0px;
}

h3
{
    font-family: 'Lobster', Georgia, Times, serif;
    font-size: 30px;
    color:#505050;
    font-weight: normal;
    margin:25px 0px 5px 0px;
}

h4
{
    font-family: 'Lobster', Georgia, Times, serif;
    font-size: 20px;
    color:#606060;
    font-weight: normal;
    font-style:italic;
    margin:20px 0px 5px 0px;
}

h5
{
	color: #880000;
	margin: 0px 0px 0px 20px;
}
strong{
    color:#606060;
    font-style:italic;
}
p
{
    font-size: 16px;
    margin:10px 0px 0px 0px;
}
ul{
    padding:0px 0px 0px 20px
}
/* main page */
article
{
    position: fixed;
    width: 70%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 30px 15%;
    background-color: rgb(220,220,220);
    overflow: auto;
    z-index: 0;
    -webkit-transform-origin: 0 50%;
    -moz-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    -o-transform-origin: 0 50%;
    transform-origin: 0 50%;
}


article:after
{
    position: absolute;
    content: ' ';
    left: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: -webkit-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
    background-image: -moz-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
    background-image: -ms-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
    background-image: -o-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
    background-image: linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
    pointer-events: none;
}

/* navigation */
nav
{
    position: fixed;
    left: -16em;
    top: 0;
    color: #fff;
    bottom: 0;
    background-color: #000;
    border-right: 25px solid #600;
    box-shadow: 4px 0 5px rgba(0,0,0,0.2);
    z-index: 1;
    cursor: pointer;
    overflow-y:auto;
    overflow-x:hidden;


}



nav:after
{
    position: absolute;
    content: ' ';
    width: 0;
    height: 0;
    right: -45px;
    top: 50%;
    border-width: 50px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #000;
}

nav ul
{
    width: 14em;
    list-style-type: none;
    margin: 0;
    padding: 1em;
}

nav a:link, nav a:visited
{
    display: block;
    width: 100%;
    font-weight: bold;
    line-height: 1em;
    text-indent: 10px;
    text-decoration: none;
    color: #880000;
    border-radius: 2px;
    outline: 0 none;
}

nav a:hover, nav a:focus
{
    color: #e70202;
    box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
}

nav .header
{
    padding: 5px 0px 0px 0px;

}

nav .home
{
    color:White !important;
    background: #600;
    padding: 10px 5px;
}
/* hovering */
article, article:after, nav, nav *
{
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}

#titleImage:hover body>nav, nav:hover
{
    left: 0;
}

nav:hover ~ article
{
    -webkit-transform: translateX(16em) perspective(600px) rotateY(10deg);
    -moz-transform: translateX(16em) perspective(600px) rotateY(10deg);
    -ms-transform: translateX(16em) perspective(600px) rotateY(10deg);
    -o-transform: translateX(16em) perspective(600px) rotateY(10deg);
    transform: translateX(16em) perspective(600px) rotateY(10deg);
}

nav:hover ~ article:after
{
    left: 60%;
}

/* typography */
footer
{
    margin-top: 2em;
    border-top: 1px dotted #999;
    background-color:#989898;
    color:#303030;
    border-top:2px solid #b1b1b1;
    text-align:center;
}

footer ul{
    padding:10px;
    margin:0;
}

footer ul li{
    list-style:none;
    padding:4px;
    color:#303030;
}
footer a{
    text-decoration:none;
    color:#303030;
}
footer a:visited{
    color:#303030;
}
footer a:hover{
    color:#404040;
}
footer .header{
    background-color:#600;
    color:#f0f0f0;
}
.importantInfo{
    border-top:5px solid #ab0000;
    background-color:#600;
    color:#FFFFFF;
    padding:10px;
}
.importantInfo_text{
    padding:0;
    margin:0;
    font-size:16px;
}