/* 
	AZARDI READER AND AZARDI INTERACTIVE ENGINE EXTENSIONS
	Copyright 2007-2011 Infogrid Pacific Pte. Ltd. All rights reserved
	Version: 1-2011-02-07
	Modified Date: 2011-02-07
*/

/* These are the standard presentation styles for an IGP application or tool page */
body {
	margin:0;
	padding:0;
	/* COLUMN RULE FOR 2 COLUMN
	background-image: url("../icons/1x10.png");
	background-repeat: repeat-y;
	background-attachment: fixed;
	background-position: 50% 0;
	*/
	/* COLUMN RULE FOR 3 COLUMN
	background-image: url("../icons/1x10.png"), url("../icons/1x10.png");
	background-repeat: repeat-y, repeat-y;
	background-attachment: fixed, fixed;
	background-position: 33.33% 0, 66.66% 0;
	*/
	/* COLUMN RULE FOR 4 COLUMN
	background-image: url("../icons/1x10.png"), url("../icons/1x10.png"), url("../icons/1x10.png");
	background-repeat: repeat-y, repeat-y, repeat-y;
	background-attachment: fixed, fixed, fixed;
	background-position: 25% 0, 50% 0, 75% 0;
	*/
	}
body.rule-on.column-count-2 {
	background-image: url("../icons/1x10.png");
	background-repeat: repeat-y;
	background-attachment: fixed;
	background-position: 50% 0;
	}
body.rule-on.column-count-3 {
	background-image: url("../icons/1x10.png"), url("../icons/1x10.png");
	background-repeat: repeat-y, repeat-y;
	background-attachment: fixed, fixed;
	background-position: 33.33% 0, 66.66% 0;
	}
body.rule-on.column-count-4 {
	background-image: url("../icons/1x10.png"), url("../icons/1x10.png"), url("../icons/1x10.png");
	background-repeat: repeat-y, repeat-y, repeat-y;
	background-attachment: fixed, fixed, fixed;
	background-position: 25% 0, 50% 0, 75% 0;
	}
a, a:active {
	outline: none;
	}
#container-ape {
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	column-fill: auto;
	-moz-column-fill: auto;
	-webkit-column-fill: auto;
	-o-column-fill: auto;
}
.custom-style-igp {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0px;
	-moz-font-feature-settings: "kern=1";
	-webkit-font-feature-settings: "kern=1";
	font-feature-settings: "kern=1";
	}

.custom-style-igp math {
	-moz-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

.custom-style-igp img {
	-moz-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h1, h2, h3, h4, h5, h6 {
	-moz-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

.loading-ape {
	position: fixed;
	top: 45%;
	left: 47%;
}

.dest-targ {
	display: inline-block;
	height: 5px;
	width: 5px;
	background-color: red;
   -moz-border-radius-topleft: 3px;
   -webkit-border-radius-topleft: 3px;
   border-radius-topleft: 3px;
   -moz-border-radius-bottomleft: 3px;
   -webkit-border-radius-bottomleft: 3px;
   border-radius-bottomleft: 3px;
   -moz-border-radius-topright: 3px;
   -webkit-border-radius-topright: 3px;
   border-radius-topright: 3px;
   -moz-border-radius-bottomright: 3px;
   -webkit-border-radius-bottomright: 3px;
	border-radius-bottomright: 3px;
}

.white_overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	z-index:1350;
	-moz-opacity: 0.8;
	-webkit-opacity: 0.8;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.loading_overlay{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	z-index:1400;
	-moz-opacity: 0.8;
	-webkit-opacity: 0.8;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.loading_image{
	position: fixed;
	top: 46%;
	left: 35%;
	z-index:1410;
}

.notes-ape{
	font-family: Arial, Helvetica, sans-serif; 
	display: none;
	position: fixed;
	top: 25%;
	left: 10%;
	right: 0;
	width: 80%;
	height:50%;
	z-index: 1400;
	border: 1px solid gray;
	-moz-box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.5);
	box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.5);
	font-size: 13px;
	background-color: rgb(255, 255, 255);
	text-align:center;
}

.notes-header-ape{
	border-bottom: 1px dotted gray;
	text-indent: 0;
	text-align: left !important;
	position: relative;
	overflow:auto;
	min-height:20px;
	padding: 5px;
	margin-bottom:10px;
	background-color: rgb(220, 220, 200);
	font-weight:bold;
	}

.notes-footer-ape{
	padding: 7px 0px 5px 6px;
    text-align: right;
	width:80%;
	margin-left:10%;
}
.notes-footer-ape ul {
     margin: 0;
	 padding: 0;
}

.notes-title-ape{
	 font-size: 1.1em;
	 font-weight: bold;
	 color: rgb(100,100,100);
	 padding: 0px;
	 margin: 0px 0px 0px 10px;
	 float: left;
}

.notes-date-ape{
    color: gray;
    display: inline-block;
    font-size: 0.8em;
    font-weight: normal;
    margin: 5px 0 0 10px;
    padding: 0 0 0;
    position: relative;
    vertical-align: bottom;
}

div.notes-ape .notes-label {
	margin-top:5px;
	padding: 4px 0 4px 10px;
	font-weight:bold !important;
	}
div.notes-ape .save_notes {
	text-align:right;
	margin:10px 0px 0 5%;
	width:90%;
	text-align:right;
	}

.notes-close-ape{
	 font-size: 14px;
	 display: inline-block;
	 float: right;
	 font-weight:normal !important;
	 padding: 2px 4px 2px 4px;	
	 position:absolute;
	 right:4px;
	 top:3px;
	 border:1px solid rgb(100,100,100);
	 font-weight:bold;
	 background-color:transparent;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
}

.notes-close-ape:hover {
	background-color:white;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid gray;
}

.notes-description-ape {
	 font-size: 0.9em;
	 font-weight: normal;
	 margin: 10px 0 10px 4%;
	 text-align: left !important;
	 height: 200px;
	 overflow-x:hidden;
	 overflow-y:auto;
	 position:relative;
	 border:1px solid gray;
	 width:90% !important;
	 font-family:monospace;
	 padding:2px;
	}
	
.loading-progressbar{
	position: fixed;
	float: left;
	bottom: 0;
	left: 0;
	height: 6px;
	top: 50%;
	width: 50%;
	background: none repeat scroll 0 0 #99FF22;
	z-index: 500;
	text-align: center;
}

.bookProgressbar{
	position: fixed;
	float: left;
	bottom: 0;
	left: 0;
	height: 6px;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.25);
	z-index: 500;
}

.progressbar{
	position: fixed;
	float: left;
	bottom: 0;
	left: 0;
	height: 3px;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

.warning_message_box{
	position: fixed;
	float: left;
	bottom: 0;
	left: 0;
	z-index: 1500;
	width: 0;
	border: 1px solid;
	margin: 0px 0px;
	padding:5px 5px 5px 5px;
	background-repeat: no-repeat;
	background-position: 10px center;
	color: #9F6000;
	background-color: #FEEFB3;
	width: 100%;
	display: none;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}

.onpage-nav-prev {
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	width: 30px;
	z-index: 1000;
}

.onpage-nav-next {
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	width: 30px;
	z-index: 1000;
}

.onpage-nav-prev:hover {
	z-index: 1000;
	cursor: url('../icons/left.cur'), pointer;
	background-color: rgba(255,255,255,0.0);
}

.onpage-nav-next:hover {
	z-index: 1000;
	cursor: url('../icons/right.cur'), pointer;
	background-color: rgba(255,255,255,0.0);
}

.notes-button-ape {
	-moz-border-radius:3px 3px 3px 3px;
	-webkit-border-radius:3px 3px 3px 3px;
	border-radius:3px 3px 3px 3px;
	-moz-box-shadow:1px 1px 2px #ACACAC;
	-webkit-box-shadow:1px 1px 2px #ACACAC;
	box-shadow:1px 1px 2px #ACACAC;
	background:-moz-linear-gradient(90deg, #C0C0C0, #F1F1F1) repeat scroll 0 0 transparent;
	background:-moz-webkit-gradient(90deg, #C0C0C0, #F1F1F1) repeat scroll 0 0 transparent;
	background:linear-gradient(90deg, #C0C0C0, #F1F1F1) repeat scroll 0 0 transparent;
	border:1px solid gray;
	color:black !important;
	font-size: 13px;
	font-weight:normal;
	margin: 2px 4px 5px 0;
	min-width: 52px;
	min-height: 14px;
	padding: 3px 5px;
	display: inline-block;
	text-shadow: 1px 1px 2px #FFFFFF;
	text-align: center;
	cursor:pointer;
	}

.notes-button-ape:hover {
	border:1px solid black;
}

.notes-highlight{
	background-color:yellow;
}

.custom-style-igp a:link {
	color: #0000ff;
}

*.yellowBg {
	background-color: yellow;
} 

/* 	Cover Image  */
.azardi-cover-image{
    position: relative;
	margin: 0 auto 0 auto;
    padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
    background-size: contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-size: contain;
    background-repeat: no-repeat;  
    background-position: center; 
	overflow: hidden;
}

.azardi-cover-avatar{
    box-sizing: border-box;
    width: 480px;
    overflow: hidden;
    background-size: contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-size: contain;
    background-repeat: no-repeat;  
    background-position: center; 
    margin: 0 auto 0 auto;
    padding: 0;
    position: relative;
}

.azardi-cover-image p{
	display: none;
}

.azardi-cover-avatar p:first-child {
	display: block;
	min-height: 240px;
	max-height: 381px;
	color: rgba(0, 0, 0, 0.6);
	font-size: 48px;
	line-height: 66px;
	word-spacing: -0.1em;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
	text-align: center; 
	font-family: sans-serif;
	margin: 60px 15px 30px 15px;
	padding: 15px;
	border: 3px solid rgba(255, 255, 255, 0.8);
	background-color: rgba(255, 255, 255, 0.3);
}
.azardi-cover-avatar p:nth-child(2) {
	display: block; 
	height: 144px; 
	color: rgba(0, 0, 0, 0.8);
	font-size: 36px;
	line-height: 66px; 
	font-weight: normal;
	font-family: sans-serif;
	text-align: center; 
	overflow: hidden; 
	text-overflow: ellipsis;
	margin: 0px 30px 0 30px;
	padding: 15px;
}
.scroll-mode {
	margin-right: 302px;
	top: 0;
	right:0;
	bottom:0;
	left:0;
	overflow: auto;
}