
/* OPE Container */
#reader #book .ope-container {
	display: none;
	position: absolute;
	top: 44px;
	bottom: 44px;
}
#reader[data-opeposition="bottom"] #book .ope-container {
	width: 100%;
	bottom: 44px;
}
#reader #book .ope-container .ope-content {
	position: absolute;
	left: 5px; 
	right: 0px;
	height: 100%;
}
#reader[data-opeposition="bottom"] #book .ope-container .ope-content {
	left: 0;
	top: 5px;
	bottom: 0px;
	width: 100%;
}
#reader #book .ope-container .ope-content iframe {
	width: 100%;
	height: 100%;
}
#reader #book .ope-container .ope-content canvas {
	display: none;
	position: absolute;
	left: 0;
	top: 48px;
	width: 2048px;
	height: 2048px;
}
/*
#reader #book .ope-container .scratch-area {
	position:absolute; 
	display:none; 
	background-color:rgba(255,255,255,.5); 
	left:5px; 
	top:48px; 
	right:0px; 
	bottom:0px;
}
*/
#reader #book .ope-container .ope-content canvas#opecanvas {
	background-color:rgba(255,255,255,.5); 
}
#reader #book .ope-container .ope-handle {
	position: absolute;
	margin: auto 0px;
	height: 100%;
	cursor: pointer;
	cursor: w-resize;
	cursor: grab;
	cursor: -webkit-grab;
	border-left: 5px #595959 solid;
}
#reader #book .ope-container .ope-handle:active,
#reader #book .ope-container .ope-handle.active {
	width: 100%;
	cursor: pointer;
	cursor: w-resize;
	cursor: grabbing;
	cursor: -webkit-grabbing;
}
#reader[data-opeposition="bottom"] #book .ope-container .ope-handle {
	margin: 0px auto;
	width: 100%;
	height: auto;
	cursor: pointer;
	cursor: n-resize;
	cursor: grab;
	cursor: -webkit-grab;
	border-left: none;
	border-top: 5px #595959 solid;
}
#reader[data-opeposition="bottom"] #book .ope-container .ope-handle:active,
#reader[data-opeposition="bottom"] #book .ope-container .ope-handle.active {
	height: 100%;
	cursor: pointer;
	cursor: n-resize;
	cursor: grabbing;
	cursor: -webkit-grabbing;
}
#reader #book .ope-container .ope-handle .ope-handle-bar {
	height: 100%;
}
#reader #book .ope-container .ope-handle .icon {
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	margin-left: -19.5px;
	background-repeat: no-repeat;
	cursor: pointer;
	cursor: n-resize;
	cursor: grab;
	cursor: -webkit-grab;
	height: 125px;
	/*
	width: 0px;
	opacity: 0;
	z-index: 0;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	transition: .2s;
}
#reader[data-isApp="true"] #book .ope-container .ope-handle .icon {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	transition: none;*/
}
#reader[data-isApp="true"] #book .ope-container .ope-handle .icon,
#reader #book .ope-container .ope-handle.active .icon {
	opacity: 1;
	z-index: 1;
	width: 35px;
	cursor: pointer;
	cursor: n-resize;
	cursor: grabbing;
	cursor: -webkit-grabbing;
}
#reader[data-opeposition="bottom"] #book .ope-container .ope-handle .ope-handle-bar {
	width: 100%;
	/*height: 24px;*/
}
#reader[data-opeposition="bottom"] #book .ope-container .ope-handle .icon {
	left: 0;
	right: 0;
	margin: 0 auto;
	margin: 0 calc(50% - 62.5px);
	margin-top: 12.5px;
	transform-origin: 0% 0%;
	transform: rotate(-90deg);
	-webkit-transform-origin: 0% 0%;
	-webkit-transform: rotate(-90deg);
	-moz-transform-origin: 0% 0%;
	-moz-transform: rotate(-90deg);
	-o-transform-origin: 0% 0%;
	-o-transform: rotate(-90deg);
	-ms-transform-origin: 0% 0%;
	-ms-transform: rotate(-90deg);
}

#reader #book .ope-container .button-scratchpaper {
	display: none;
	position: absolute;
	top: 9px;
	right: 240px;
}

#reader #book .ope-container .button-opehandbook {
	display: none;
	position: absolute;
	top: 9px;
	right: 94px;
}
/*
#reader[data-usertype="T"] #book .ope-container .button-opehandbook.visible {
	display: inline-block;
}

#reader[data-opeposition="bottom"] #book .ope-container .button-opehandbook {
	top: 29px;
	right: 92px;
}
*/
/* /// OPE Container */


/* Handbook */

#reader #book .bubble-opehandbook {
	position: absolute;
	top: 107px;
	right: 65px;
	padding: 6px;
	z-index: 10;
	width: 250px;
	background-color: #18222E;
}
#reader #book .bubble-opehandbook:after {
	right: 34px;
	border-color: #18222E transparent;
}
#reader[data-opeposition="bottom"] .bubble-opehandbook {
	right: 7px;
}
#reader[data-opeposition="bottom"] .bubble-opehandbook:after {
}

#reader #book .bubble-opehandbook .bubble-header {
	height: 35px;
}
#reader #book .bubble-opehandbook .bubble-header .bubble-title {
	color: #9FB0C4;
	font-size: 1.05em;
	line-height: 2em;
	font-weight: bold;
	margin-left: .5em;
}
#reader #book .bubble-opehandbook .bubble-header .bubble-title.left {
	float: left;
	font-size: .8em;
}
#reader #book .bubble-opehandbook .bubble-header .bubble-title.right {
	float: right;
	font-size: .7em;
	width: 45px;
	line-height: 1.2em;
}
#reader #book .bubble-opehandbook .bubble-content .custom-animated-loading {
	display: none;
    height: 22px;
    width: 90px;
    margin-top: 0;
    top: 10px;
}
#reader #book .bubble-opehandbook .bubble-content .custom-animated-loading.visible {
    display: block;
}
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper {
	display: block;
	position: relative;
	margin: 5px 0 110px;

	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	max-height: 200px;
	min-height: 40px;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-base-color: #488AAA;
	scrollbar-3dlight-color: #488AAA;
	scrollbar-highlight-color: #488AAA;
	scrollbar-track-color: #CEE7EF;
	scrollbar-arrow-color: #488AAA;
	scrollbar-shadow-color: #488AAA;
	scrollbar-dark-shadow-color: #488AAA;
	-webkit-overflow-scrolling: touch;
}
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper::-webkit-scrollbar {
    width: 8px;
}

#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(72,138,170,0.3);
    border-radius: 10px;
}

#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 6px 6px 6px 6px rgba(72,138,170,0.5), inset 6px 0 6px rgba(72,138,170,0.5);
}

#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper::-webkit-scrollbar-thumb:active {
	-webkit-box-shadow: inset 6px 6px 6px 6px rgba(72,138,170,0.5);
}

#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option {
	position: relative;
	width: 100%;
	height: 40px;
	border-style: solid;
	border-width: 1px 0;
	border-top-color: #D6D6D6;
	border-bottom-color: #DEEEEE;
	overflow: hidden;
}
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-checkbox,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-checkbox {
	position: relative;
	width: 100%;
	height: 40px;
	font-size: 14px;
	text-indent: 1em;
	line-height: 40px;
	text-overflow: ellipsis;
	overflow: hidden;
	outline: none;
}
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-checkbox[disabled]:after,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-checkbox[disabled]:after {
	display: none;
}
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option {
	width: 95%;
	font-size: 10px;
	line-height: 2.2em;
}
#reader[data-lang="tc"] #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option,
#reader[data-lang="tc"] #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option {
	width: 90%;
	font-size: 12px;
	line-height: 1.8em;
}
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option:nth-child(2),
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option:last-child,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option:nth-child(2),
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option:last-child {
	left: -9px;
}
#reader[data-lang="tc"] #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option:nth-child(2),
#reader[data-lang="tc"] #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option:last-child,
#reader[data-lang="tc"] #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option:nth-child(2),
#reader[data-lang="tc"] #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option:last-child {
	left: -5px;
}
#reader #book .bubble-share-with.bubble-standalone .bubble-content .book-share-with-option .custom-toggle-option:before,
#reader #book .bubble-opehandbook .bubble-content .book-opehandbook-wrapper .book-opehandbook-option .custom-toggle-option:before {
	margin: 3px 2px;
	width: 16px;
	height: 16px;
}

#reader #book .bubble-opehandbook .bubble-content textarea {
	resize: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -74px;
	width: calc(100% - 16px);
	height: 60px;
	font-size: 12px;
	margin: 0 auto;
}

#reader #book .bubble-opehandbook .bubble-footer {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin: 5px;
	height: auto;
}
#reader #book .bubble-opehandbook .bubble-footer .left {
	font-size: 12px;
	line-height: 30px;
}
#reader #book .bubble-opehandbook .bubble-footer .left label {
	color: #FFF;
}
#reader #book .bubble-opehandbook .bubble-footer .left input {
	width: 100px;
}
.opehandbook-calendar {
	border: 6px solid #18222E;
	border-radius: 10px;
	background: #FBF5EA;
}
.opehandbook-calendar th {
	width: 37px;
}
.opehandbook-calendar .ui-datepicker-prev:before,
.opehandbook-calendar .ui-datepicker-next:after {
	color: #18222E;
	font-size: 1.5em;
	cursor: pointer;
}
.opehandbook-calendar .ui-datepicker-prev:before {
	content: '\25C0';
}
.opehandbook-calendar .ui-datepicker-next:after {
	content: '\25B6';
}
.opehandbook-calendar .ui-datepicker-prev-hover,
.opehandbook-calendar .ui-datepicker-next-hover {
	top: 2px;
}
.opehandbook-calendar .ui-datepicker-prev-hover:before,
.opehandbook-calendar .ui-datepicker-next-hover:after {
	color: #26FFFF
}
.opehandbook-calendar .ui-datepicker-prev-hover {
	left: 2px;
}
.opehandbook-calendar .ui-datepicker-next-hover {
	right: 2px;
}
.opehandbook-calendar .ui-corner-all {
	text-align: center;
}
.opehandbook-calendar .ui-datepicker-calendar tbody .ui-priority-secondary {
	color: lightgrey
}
.opehandbook-calendar .ui-datepicker-calendar tbody .ui-state-default {
	border: 1px inset transparent;
	border-radius: 6px;
	text-align: center;
	line-height: 1.5em;	
}
.opehandbook-calendar .ui-datepicker-calendar tbody .ui-state-hover {
	border-color: darkgrey;
	background-color: lightgrey;
	color: blue;
}
.opehandbook-calendar .ui-datepicker-calendar tbody .ui-state-highlight {
	background-color: #26FFFF;
	color: #000;
	font-weight: bold;
}
/* //Handbook */

/* Scratch Paper */

#reader #book .bubble-scratchpaper {
	position:absolute;
	background-color:#FBF5EA;
	top:100px;
	right:45px;
	height:58px;
	width:230px;
	z-index:10;
	border:#18222E solid 1px;
}

#reader #book .bubble-scratchpaper:after {
	content: none;
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-item {
	float: left;
	display: inline-block; 
	background-image: url(../images/1024/icons1024.png);
	background-repeat: no-repeat;
	border-bottom: 3px solid transparent;
	height: 35px;
	width: 45px;
	cursor: pointer;
	margin: 10px;
	-webkit-tap-highlight-color: transparent;
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-textitem {
	float: left;
	display: inline-block; 
	background-color: #34495e;
	border-radius: 5px;
	height: 38px;
	line-height: 38px;
	color: #ffffff;
	font-family: Verdana;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
	margin: 10px;
	-webkit-tap-highlight-color: transparent;
}
#reader #book .bubble-scratchpaper .scratchpaper-tool-textitem:hover {
	background-color: #26ffff;
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-item.selected {
	background-image: url(../images/1024/icons1024_over.png);
	border-bottom: 3px solid #000000;
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-item:hover {
	background-image: url(../images/1024/icons1024_over.png);
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-item[data-type="pen"] {
	background-position: 0px -245px;
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-item[data-type="eraser"] {
	background-position: -90px -245px;
}

#reader #book .bubble-scratchpaper .scratchpaper-tool-textitem[data-type="clearAll"] {
	width: 80px;
}

/* // Scratch Paper */