/* 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 *************/
#thumbButton {
    display:none;
}

#actionpointButton {
    display:none;
}

#fullscreenButton {
    display:inline;
}

#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;
}

esirivi  {
    display:block;
    font-weight:bold;
     margin-top:15px;
 }

ydinsana {
    display:block;
    margin-top:15px;
    font-weight:bold;
    text-transform: uppercase;
    color:#f60;
 }

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;
}

.captions-below .carousel-caption {
    /* position: absolute;
    left: 5px;
    right: 5px; */
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: rgba(255,255,255,0.8);
    bottom:5px;
    border: solid 1px #666;
}

/*force image hotspots to front*/
.actionpoint.image
{
	z-index: 9000;
}
.actionpoint.video
{
	z-index: 9500;
}

a.actionpoint.link
{
	z-index: 9900;
}

/* Link in popup-image appearance settings */
.picture-url
{
	height: 40px !important;
}

.picture-url a
{
color: #fff !important;
display: block;
background-color: #ef7f01;
height: 30px;
width: 70%;
margin-right: auto;
margin-left: auto;
border-radius: 6px;
padding-top: 3px;
font-weight: bold;
}
