@font-face {
	font-family: 'ShortStack';
	src: url('./ShortStack.eot');
	src: url('./ShortStack.eot?#iefix') format('embedded-opentype'),
			 url('./ShortStack.woff') format('woff'),
			 url('./ShortStack.ttf') format('truetype'),
			 url('./ShortStack.svg#ShortStack') format('svg');
	font-weight: normal;
	font-style: normal;
}

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

#dark-bg{
	display:none;
	background-image:url(images/dark_text_bg.png);
	background-repeat:repeat;
	width:100%;
	height:100%;
	position:fixed;
	top:0px;
	left:0px;
	z-index:500;
}

#terms{
	background-image:url(images/dark_text_bg.png);
	background-repeat:repeat;
	width:100%;
	height:100%;
	position:fixed;
	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:18px;
	margin-top:-18px;
	margin-bottom:20px;
	line-height:28px;
	color:#666;
}

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

#header h3{
	width:600px;
	margin:5px auto;
}

#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, #resources_nav, #corr-nav {
  float: left;
  width: 820px;
	list-style:none;
	text-align:left;
	border:1px solid #999;
	padding-left:0px;
	font-size:12px;
}

#nav ul, #resources_nav ul, #corr-nav ul{
	list-style:none;
}
#nav li a, #resources_nav li a, #corr-nav li a{
    display: block;
    padding: 7px 15px;
    background: #F7F7E8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #999;
    text-decoration: none;
    color: #000;
	line-height: 20px;
}
#nav li a:hover, #nav li a.active, #resources_nav li a:hover, #resources_nav li a.active, #corr-nav li a:hover, #corr-nav li a.active{
   opacity:0.9;
}
#nav li ul, #resources_nav li ul, #corr-nav li ul{
    display: none; /* used to hide sub-menus */
}
#nav li ul li a, #resources_nav li ul li a, #corr-nav li ul li a {
    padding: 7px 25px;
    background: #ececec;
    border-bottom: 1px dotted #ccc;
    line-height: 20px;
}

.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;
}

.resource-icon{
	float:right;
	height:16px;
	opacity:0.8;
	margin-left:3px;
}

#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, #loading-frame{
	width:990px;
	height:510px;
	margin-left:27px;
	margin-top:20px;
	float:left;
}

#loading-frame{
	display:none;
}

#book-frame.book-hidden{
	position:relative;
	left:-10000px;
}

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

#flex-book-title{
	float:left;
	width:648px;
	background-color:#333;
	color:#fff;
	text-align:center;
	font-size:14px;
	padding:5px 15px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#flexpaper-container{
	position:relative;
	background:none;
	background-color:transparent;
	width:674px;
	left:284px;
	top:23px;
}

.flowpaper_viewer_container{
	position:absolute;
  	overflow:visible!important;
	background:none;
	background-color:transparent;
}

.flowpaper_fisheye{
	display:none!important;
}

.flowpaper_printFrame{
	left:-10000px!important;
}

#toolbar_documentViewer_wrap{
	position:relative;
	z-index:1000;
	z-index: 0!important;
}

#documentViewer{
	margin:0;
	padding:0;
	top:30px!important;
	overflow:visible!important;
	background:none;
	background-color:transparent;
}

.flowpaper_bttnDownload{
	display:none;	
}

.flowpaper_bttnThumbView{
	display:none;	
}

.flowpaper_searchabstracts_content{
	height:90%!important;
}

.flowpaper_searchabstracts > :first-child{
  height:96%!important;
}

#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:50px auto 0 auto;
	width:960px;
	height:50px;
	color:#333;
	text-align:center;
}

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

.logout-button{
	background-color:#666;
	border:1px solid #333;
	padding:5px 10px;
	float:right; 
	margin-top:-18px;
	font-size:12px;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:bold;
	color:#fff;
}

.logout-button:hover{
	background-color:#060;
	border:1px solid #030;
}

#print-loading{
	display:none;
	font-style:italic;
}

#forgot-password-link{
	margin-left:20px;
}

#forgot-password-link a{
	color:#060;
}

#printframe{
	display:none;
	height:0px;
	width:0px;
}


#add_annotation_message_container{
	display:none;
	position:fixed;
	width:100%;
	height: 171px;
  	z-index: 200;
  	margin: 0;
  	top: 0;
	background-color:rgba(50, 50, 50, 0.8);
}

#add_annotation_message{
	margin:33px auto;
	width:794px;
	padding:42px;
	border:1px solid #999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color:#fff;
	opacity:1!important;
	font-size:18px;
	font-weight:bold;
	text-align:center;
}

#annotations-overlay{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
}

.dimmed{
	background-color:rgba(255, 255, 255, 0.3)!important;
	border:1px solid #CCC;
}

.annotation{
    position: fixed;
    top: 190px;
    background-image: url(./images/lined-paper.jpg);
    background-repeat: repeat-y;
    background-size: contain;
    width: 960px;
    height: 70vh;
    z-index: 1000;
    padding: 0;
}

.annotation-marker, .teacher-annotation-marker{
	position:absolute;
	border:none;
	text-decoration:none;
	z-index:1000;
}

.close-annotation{
	position:absolute;
	background-color:#666!important;
	bottom:10px;
	right:72px;
	font-size:14px;
	color:#333;
	padding:10px;
	line-height: 14px;
	text-decoration:none;
}

.delete-annotation{
	position:absolute;
	background-color:#B04530!important;
	bottom:10px;
	right:146px;
	font-size:14px;
	color:#FFF;
	padding:10px;
	line-height: 14px;
	text-decoration:none;
}

.cancel-annotation{
	position:absolute;
	background-color:#B04530!important;
	bottom:10px;
	right:72px;
	font-size:14px;
	color:#FFF;
	padding:10px;
	line-height: 14px;
	text-decoration:none;
}

.save-annotation{
	position:absolute;
	background-color:#006600!important;
	bottom:10px;
	right:10px;
	font-size:14px;
	color:#FFF;
	padding:10px;
	line-height: 14px;
	text-decoration:none;
}

.annotation textarea{
	width: 100%;
    height: 70vh;
    box-sizing: border-box;
    min-height: 260px;
    background: none;
    padding: 28px 20px 28px 52px;
    line-height: 26px;
    font-size: 16px;
    font-family: "ShortStack";	
}