/* Custom styles for Reader */

body {
     background-color: #ddd;
}

/***************RICHEMENTS FLASH********************/

.actionpoint:after {
outline: 3px solid rgba(233,233,233,.65); 
background-color: rgba(255,255,255,.65);

}

/****************ActionBar*********************/
.actionbar {
    background-image:none;
    background-color: transparent;
}

/******************* POPUPS BACKDROP ****************/

.modal-backdrop {
    background-color: #fff;
    opacity:0.8;
}

.modal-body {
    background-color: #fff;
}


/***************** IMAGE POPUP *********************/
.image .modal-content {
    box-shadow:none;
    border:none;
}

.carousel-caption {
    text-shadow:none;
    color: #333;
}

.fit-zoomable .modal-dialog
{
    width: 100%;
}

.fit-zoomable .imageWrapper.zoomed
{
    width: 100%;
    height: 100%;
    overflow: auto;
}

.fit-zoomable .imageWrapper.zoomed img
{
    width:1280px;
    max-width: 200%;
    max-height: 3000px !important;
}
/*************** BUTTONS *************/
#fullscreenButton,#thumbButton {
    display:none;
}

#subPageIndicator {
    display:none;
}

/*****************Storybox text *******************/
read-text {
    height: 550px;
    overflow:auto;
    /* background-color: #fef8ec;
    background-image: url('../../images/storybg.jpg');
    background-size: 100% 100%;
    background-repeat: repeat-y; */
}
read-text p {
    font-family: "times new roman", serif;
    font-size: 1.2em;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
}
/*
p:first-child:first-letter { float: left; color: #903; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; }
*/

read-text h1 {
    font-family: "arial", sans-serif;
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    font-size: 1.4em;
}

read-text div {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.modal-header {
    background-image: none;
    background-color: #fff;
}

.modal button.close {
    color: #f00;
}

.arrow.arrow-right {
    top:40%;
    bottom:40%;
}
.arrow.arrow-left {
    top:40%;
    bottom:40%;
}
/* Prevent wrong scroll focusing in iphone app  */
.modal-dialog {
	height:90%;
}
.modal-content {
	height: 100%;
}
.modal-body {
	height: 90%;
}

read-text {
	height:100%;
}

/************** when fitted by width ************/

.fit-width .modal-dialog
{
    width: 90%;
    max-width: 960px;
	height: auto;
}

.fit-width .actionpoint.image show-picture img
{
    width: 100%;
}

.fit-width .modal-content
{
	height: auto;
}

.fit-normal .modal-dialog
{
	height: auto;
}

.fit-normal .modal-content
{
	height: auto;
}

/*force image hotspots to front*/
.actionpoint.image
{
	z-index: 9999;
}