body{
	background-color:#ccc;
	font-family:Arial, Helvetica, sans-serif;
}

#terms{
	background-image:url(images/dark_text_bg.png);
	background-repeat:repeat;
	width:100%;
	height:100%;
	position:absolute;
	top:0px;
	left:0px;
	z-index:1;
}

#terms-content{
	position:relative;
	margin-left:auto;
	margin-right:auto;
	top:50px;
	width:600px;
	height:400px;
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	background-color:#FFF;
	border:1px solid #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:30px;
}

#terms-scroller{
	width:580px;
	height:290px;
	overflow:auto;
	border:1px solid #666;
	padding:10px;
	background-color:#CCC;
}

.agree-buttons{
	width:605px;
	height:30px;
	text-align:right;
}

.agree-buttons button{
	padding:5px;
	width:60px;
}

#main-container{
	width:960px;
	margin-right:auto;
	margin-left:auto;
	margin-top:50px;
}

#header{
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	background-color:#FFF;
	border:1px solid #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:30px;
	text-align:center;
}

h1{
	color:#060;
	font-size:26px;
}

.red{
	color:#C00;
}

h2{
	font-size:20px;
	margin-top:0;
	margin-bottom:20px;
	line-height:0px;
	color:#666;
}

h3{
	font-size:20px;
	font-weight:bold;
	margin-top:20px;
}

#narrative{
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	background-color:#FFF;
	border:1px solid #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:30px;
	margin-top:30px;
}

.switch-menu-button{
	width:auto;
	height:50px;
	padding:10px;
	border:1px solid #999;
	-webkit-border-top-left-radius: 10px;
	-moz-border-top-left-radius-top: 10px;
	border-radius-top-left-top: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-top-right-radius-top: 10px;
	border-radius-top-right-top: 10px;
	text-decoration:none;
	margin:100px 0 10px 0;
	color:#333;
	z-index:-1;
}

.menu-button-selected{
	background: #060;
  color: #fff;
}

#menu-loading{
	display:none;
}

#menu{
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	background-color:#FFF;
	border:1px solid #999;
	width:820px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:70px;
	text-align:left;
	top:30px;
	min-height:300px;
	height:auto;
	position:relative;
	left:0px;
}

#menu-content{
	z-index:100;
}

#nav {
  float: left;
  width: 820px;
	list-style:none;
	text-align:left;
	border:1px solid #999;
	padding-left:0px;
	font-size:12px;
}

#nav ul{
	list-style:none;
}
#nav li a {
    display: block;
    padding: 10px 15px;
    background: #ccc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #999;
    text-decoration: none;
    color: #000;
}
#nav li a:hover, #nav li a.active {
    background: #060;
    color: #fff;
}
#nav li ul {
    display: none; // used to hide sub-menus
}
#nav li ul li a {
    padding: 10px 25px;
    background: #ececec;
    border-bottom: 1px dotted #ccc;
}

.index-button{
	width:780px;
	padding:20px;
	text-align:left;
    background: #ccc;
    border: 1px solid #999;
    text-decoration: none;
    color: #000;
	margin-top:15px;
}

.index-link{
	text-decoration:none;
}

.clear{
	clear:both;
}
#back-to-menu-button{
	width:930px;
	display: block;
	margin-left:26px;
    padding: 10px 15px;
    background: #060;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #999;
    text-decoration: none;
    color: #fff;
	cursor:pointer;
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	border:1px solid #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#back-to-main-menu{
	width:930px;
	text-decoration:none;
	display: block;
    padding: 10px 15px;
    background: #060;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #999;
    text-decoration: none;
    color: #fff;
	cursor:pointer;
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	border:1px solid #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position:absolute;
	top:-60px;
	left:0px;
}

#book-frame{
	width:990px;
	height:510px;
	margin-left:27px;
	margin-top:20px;
	float:left;
}

#book-container{
	display:none;
	position:relative;
	left:5000px;
	top:30px;
	width:960px;
	margin-left:auto;
	margin-right:auto;
	height:660px;
}

#login{
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 15px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 15px rgba(50, 50, 50, 1);
	background-color:#FFF;
	border:1px solid #999;
	width:820px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:70px;
	text-align:left;
	top:30px;
	min-height:300px;
	height:auto;
	position:relative;
	left:0px;
}

#login-form{
	float:left;
	margin-left:20px;
	width:180px;
}

.login-item{
	margin-top:10px;
}

.login-button{
	width:180px;
	height:20px;
	float:left;
	margin-top:85px;
}

#error-message{
	width:720px;
	border:1px solid #ccc;
	background-color:#600;
	padding:30px;
	color:#fff;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
}

#error-message a{
	color:#fff;
	font-weight:bold;
}

#footer{
	margin-top:50px;
	width:960px;
	height:50px;
	color:#333;
	text-align:center;
}

.focus-table td{
	padding:10px;
}