/* CSS Document */
html, body {
	height: 100%;
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	top: 0;
	left: 0;
	font-family: Helvetica, Arial, sans-sans-serif;
}

body {
	height: 90vh;
	width: 96vw;
	margin: 0;
	text-align: center;
	margin-left: 2vw;
	background: none !important;
}

a i {
	color: #000000;
}

/* Home Page */
#land_header {
	height: 80px;
	background-color: #000000;
	width: 100%;
	color: #FFFFFF;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: 2px solid #FFFFFF;
	border-top: none;
}

#land_header #logo {
	max-height: 50px;
	float: left;
	margin-top: 15px;
}

#land_header #book-title {
	font-size: 1.2em;
	margin-top: 30px;
	float: left;
	margin-left: 10px;
}

#class_num {
	float: right;
	margin-top: 30px;
}

.main-content {
	margin-top: 40px;
	text-align: left;
}

#toc-head {
	font-size: 1.2em;
	text-transform: uppercase;
	color: #000000;
	font-weight: bold;
	text-align: center;
}

.toc-item, .asset {
	cursor: pointer;
	list-style: none;
	margin-bottom: 10px;
	text-align: left;
	padding: 5px;
	background-color: #FAFAFA;
	margin-left: -12%;
	font-size: 0.9em;
}

.toc-item {
	border-bottom: 1px solid #999999;
}

.asset {
	margin-left: 0px;
	padding-right: 40px;
	position: relative;
}

.asset-option {
	position: absolute;
	top: 1px;
	top: calc(50% - 15px);
	right: 5px;
	background-color: #FFFFFF;
	border: 1px solid #666666;
	border-radius: 50%;
	padding: 5px;
	width: 30px;
	height: 30px;
	z-index: 10;
	text-align: center;
}

.toc-item:hover, .asset:hover {
	/* background-color: #F6F6F6; */
}

.toc-item img {
	max-width: 80px;
	display: inline-block;
	margin-right: 10px;
}

#cover {
	/* max-height: 40vh; */
	box-shadow: 0px 0px 12px #333333;
	border: 4px solid #FFFFFF;
	border-radius: 10px;
}

.cover-img {
	text-align: center;
}

#open-book {
	width: 80%;
	margin: 0 auto;
	margin-top: 10px;
	max-width: 120px;
	text-align: center;
	background-color: #FF0000;
	padding: 10px;
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
	border-radius: 5px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.75em;
	letter-spacing: 1px;
}

#tp-login {
	padding: 20px;
	margin-top: 20px;
	background-color: #FFFFFF;
	border-radius: 10px;
}

#tp-login label {
	font-size: 0.8em;
	color: #666666;
	text-transform: uppercase;
}

.main-content h1 {
	color: #333333;
	font-weight: bold;
	line-height: 125%;
	font-size: 1.05em;
	margin-bottom: 30px;
}

p.help-link {
	text-align: right;
	text-decoration: none;
	font-weight: 400;
	font-size: 0.8em;
}

#asset-listing, #toc, #banners {
	background-color: #FFFFFF;
	border-radius: 10px;
	padding: 20px;
	/* max-height: 75vh; */
	overflow: auto;
	margin-bottom: 10px;
}

#asset-listing, #close-asset-listing {
/* #assets, #toc { */
	/* max-height: 65vh; */
	display: none;
}

#close-asset-listing img {
	position: absolute;
	top: 20px;
	right: 20px;
	max-width: 24px;
	z-index: 10;
	cursor: pointer;
}

#asset-listing h1 {
	color: #FFFFFF;
	font-size: 1.2em;
}

#asset-listing h1 img {
	max-height: 30px;
}

#continue-page {
	background-color: #d6074b;
	padding: 4px;
	border-radius: 5px;
	text-align: center;
	color: #FFFFFF;
	width: 250px;
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.8em;
	letter-spacing: 1px;
	z-index: 14;
	display: none !important;
}

#continue-page:hover {
	background-color: #c5063a;
}

#asset-types {
	background-color: #FFFFFF;
	padding: 20px;
	border-radius: 10px;
	overflow: auto;
	margin-bottom: 10px;
}

.asset-type {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	min-height: 200px;
	border-left: 4px solid #FFFFFF;
	margin-bottom: 15px;
	float: left;
	/* width: 33%; */
	width: 25%;
	cursor: pointer;
}

.banner {
	/* width: 50%;
	float: left; */
	border-left: 4px solid #FFFFFF;
	text-align: center;
}

.form-control {
	font-size: 0.8em;
}

/* Book Page */

.book-title {
	display: inline-block;
	float: left;
	margin-left: 0px;
	margin-top: 5px;
	font-weight: bold;
	color: #333333;
	font-size: 0.8em;
	text-transform: uppercase;
}

.separator {
	display: inline-block;
	width: 30px;
}

#header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 50px;
	padding-top: 10px;
	margin: 0 auto;
	margin-bottom: 2vh;
	margin-left: 0vw;
	background-color: #FF9999;
	box-shadow: 0px 4px 8px #CCCCCC;
	/* margin-left: -32px;
	margin-right: -32px; */
}

#header i {
	font-size: 1.5em;
	margin-top: 2px;
}

.header-icons {
	text-align: right;
}

#header-tools {
	text-align: left;
	width: 225px;
	padding: 10px;
	overflow: auto;
	background-color: #FFFFFF;
	box-shadow: 0px 0px 8px #999999;
	z-index: 80;
	position: fixed;
	top: 50px;
	right: 0px;
	cursor: pointer;
	display: none;
	border-radius: 6px;
}

.header-tool {
	padding: 10px;
	display: inline-block;
	height: 40px;
	width: 100%;
}

.header-tool i {
	width: 24px;
	text-align: center;
}

.header-tool:hover {
	padding: 10px;
	display: inline-block;
	background-color: #EAEAEA;
}

#header-tools a, #header-tools a:hover {
	color: #000000;
	height: 40px;
	text-decoration: none;
}

#show-digital {
	display: none;
}

.fa-label {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.9em;
	display: inline-block;
	margin-left: 10px;
}

.header-icon, .logo {
	max-height: 24px;
	margin: 5px;
	cursor: pointer;
	display: inline-block;
	margin-right: 20px;
}

.header-item {
	font-size: 0.8em;
	max-height: 40px;
	display: inline-block;
	float: right;
	margin-right: 20px;
	font-weight: 700;
	margin-top: 5px;
	text-transform: uppercase;
}

#goto-page {
	width: 36px;
	border: 1px solid #999999;
	text-align: center;
}

.goto-page {
	display: inline-block;
	margin-right: 20px;
	font-size: 0.9em;
}

.logo {
	float: left;
	max-height: 40px;
	margin-top: -5px;
}

#page-number {
	display: inline-block;
	float: center;
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: 700;
	margin-top: 5px;
}

#zoom, #annot-tools {
	position: fixed;
	bottom: 5%;
	z-index: 60;
	display: none;
	cursor: pointer;
}

#annot-move-up, #annot-move-down, #annot-move-right, #annot-move-left {
	font-size: 1.5em;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 5px;
	color: #669966;
}

#annot-move-down, #annot-move-left {
	display: none;
}

#annot-tools-undo {
	border-left: 1px solid #333333;
	padding-left: 5px;
	margin-left: 40px;
}

.pos-top {
	top: 5% !important;
	bottom: unset !important;
}

.pos-right {
	right: 5% !important;
	left: unset !important;
}

#canvas {
	height: calc(100vh-70px);
	width: 100vw;
	top: 70px;
	left: 0;
}

#message {
	height: 36px;
	padding: 5px;
	width: 40%;
	text-align: center;
	color: #333333;
	background-color: #CACACA;
	/* display: none; */
	position: fixed;
	left: 30%;
	bottom: 10%;
	opacity: 0.95;
	border-radius: 10px;
}

#tooltip {
	background-color: #333333;
	width: 100px;
	height: auto;
	border-radius: 10px;
	z-index: 120;
	max-height: 200px;
	font-size: 0.8em;
	padding: 2px;
	text-align: center;
	color: #FFFFFF;
	display: none;
	position: fixed;
}

#tooltip::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

#zoom {
	right: 5%;
}

#annot-tools {
	left: 5%;
	border: 1px solid #999;
	padding: 10px;
	border-radius: 10px;
	background-color: #FAFAFA;
	box-shadow: 0px 0px 24px #999999;
	z-index: 70;
}

#controls {
	margin-top: 10px;
	border-top: 1px solid #666666;
	padding-top: 10px;
}

#controls img {
	cursor: pointer;
	width: 40px;
}

.selected_pen {
	width: 40px;
	border: 2px solid #666666;
	border-radius: 50%;
	background-color: #EAEAEA;
	padding: 5px;
}

#pens img {
	width: 30px;
}

#zoom img {
	width: 90px;
}

#zoom-close-icon {
	display: none;
}

#single-page-icon {
	display: none;
}

.jSignature {
	height: 90vh !important;
	position: fixed;
	top: 70px;
	left: 0;
	background: none !important;
	display: none;
}

.arrow {
	max-height: 25px;
	margin-top: 5px;
	/* position: absolute; */
	/* top: 50%; */
	cursor: pointer;
	z-index: 50;
}

/* #arrow-right {
	right: 2%;
}

#arrow-left {
	left: 2%;
} */

.page {
	border: 1px solid #CCCCCC;
	box-shadow: 0px 0px 16px #AAAAAA;
	border-radius: 10px;
}

#page {
	top: 70px;
	height: 100%;
	width:100%;
	position: relative;
	margin-left: 0vw;
	border: 0px !important;
	background: #FFFFFF !important;
}

.page_highlight {
	border-bottom: 1px solid #FF0000;
}

#single-page, #right-page, #left-page {
	max-height: 100%;
	max-width: 100%;
	min-height: 88vh;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top center;
	position: relative;
}

#single-page {
	max-width: 50%;
	margin: 0 auto;
	background-position: center center;
}

#right-page, #left-page {
	width: 50%;
	float: left;
}

#right-page {
	right: 0px;
	background-position: center left;
}

#left-page {
	left: 0px;
	background-position: center right;
}

.full-width {
	max-width: 100% !important;
}

.half-width {
	max-width: 50%;
}

.maximum-width {
	width: 100% !important;
	max-width: 100% !important;
}

.grid {
	position: absolute;
	left: -30px;
}

.grid img {
	max-width: 32px;
	cursor: pointer;
}

.annotations {
	z-index: 15;
}

#annotations-right {
	position: absolute;
	right: 20px;
	top: 40px;
}

#annotations-left {
	position: absolute;
	left: 20px;
	margin-left: 2.5%;
	top: 40px;
}

#header i#glossary-icon {
	display: none !important;
}

#glossary-display {
	display: none;
	background-color: #FFFFFF;
	position: absolute;
	top: 10vh;
	left: 50%;
	margin-left: -40%;
	height: 80vh;
	width: 80%;
	border-radius: 16px;
	box-shadow: 0px 0px 8px #999;
	z-index: 50;
}

#glossary-display img#glossary-close {
	position: absolute;
	width:  32px;
	height: 32px;
	top:  -16px;
	right:  -16px;
	cursor: pointer;
}

#glossary-display #glossary-header {
	font-size: 1.5em;
	text-align: center;
	margin-bottom: 16px;
	height: 40px;
	width: 100%;
	position: relative;
	top:  6px;
}

#glossary-display #glossary-content {
	position: relative;
	top:  36px;
	width: 100%;
	overflow-y: auto;
  max-height: 70vh;
}

#glossary-disclaimer {
	font-size: 0.5em;
	color: #999999;
}

#glossary-display table {
	margin:  3%;
	width: 94%;
}

#glossary-display tr:nth-child(odd) {
    background-color: #EAEAEA;
    padding-right: 10px !important;
}

#glossary-display td, #glossary-display th {
	text-align: left;
	padding:  6px;
}


#player {
	display: none;
	position: fixed;
	background-color: #FFFFFF;
	z-index: 20;
	/* margin-left: 2.5%; */
	border-radius: 10px;
	border: 3px solid #FFFFFF;
	height: 80%;
	width: 80%;
	top: 10%;
	left: 10%;
}

.player-minimized {
	width: 50% !important;
	height: 100px !important;
	position: fixed !important;
	top: 10% !important;
	left: 25% !important;
	box-shadow: 0px 0px 8px #999;
}

.player-card {
	max-width: 20%;
	left: 40% !important;
}

#dimmer {
	display: none;
	width: 100vw;
	height: 100vh;
	background-color: #000000;
	opacity: 0.75;
	top: 0px;
	left: 0px;
	position: fixed;
	z-index: 15;
}

#close-player {
	display: none;
	position: fixed;
	z-index: 30;
	cursor: pointer;
}


#close-player-preview {
    display: none;
    position: fixed;
    z-index: 30;
    cursor: pointer;
    width: 200px;
    margin-left: -100px;
    left: 50%;
    bottom: 5%;
    background-color: #F35A4A;
    padding: 5px;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    border-radius: 8px;
}

.glossary-entry {
	background-color: #FF0000;
	opacity: 0.2;
	border-radius: 4px;
	position: absolute;
}

#close-player img {
	max-width: 30px;
}

@media (orientation: portrait) {
	.half-width {
		max-width: 100%;
	}

	#single-page {
		max-width: 100%;
	}

	@media (orientation: landscape) {
		.half-width {
			max-width: 50%;
		}

		#single-page {
			max-width: 50%;
		}

}
