body {
    /*background-color: #000;*/
    margin: 0px;
    padding: 0px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
}
.flipbook-overlay{
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: url('../images/overlay_lightbox.png') repeat;
}
.flipbook-wrapper{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;

    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-shadow: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #ffffff;
    /*background: url('../images/overlay_lightbox.png') repeat;*/
}
.flipbook-wrapper-transparent{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background:none;
}
.main-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    /*background-color: #252525;*/
    /*background: url('../images/patterns/woven.png');*/
    background: url('../images/patterns/retina_wood.png');
    /*background: url('../images/overlay_lightbox.png') repeat;*/
}

.bookLayer{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 50px;
    overflow: auto;
}
#currentPage {
    /*display: block;*/
    position: absolute;
    color: #333;
    background-color: #222;
    left: 0px;
    bottom: 0px;
    padding: 5px;
    z-index: 99999;
    /*z-index: 999;*/

     /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
     /* Chrome,Safari4+ */
     /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
;
 background-color: rgba(255, 255, 255, 0.81);
}

#menu {
    position: absolute;
    height: 50px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    background-color: #333;
    text-align: center;
    margin: 0px;
    padding: 0px;
    z-index: 99999;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(241,241,241,1)), color-stop(51%,rgba(225,225,225,1)), color-stop(100%,rgba(246,246,246,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */

    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .5);
}

#menu .btn {
    display: inline-block;
    cursor: pointer;
    margin-top: 7px;
}

#thumbHolder{
    -webkit-box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .5);

    -webkit-transition: all .3s ease-out;  /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: all .3s ease-out;  /* Firefox 4-15 */
    -o-transition: all .3s ease-out;  /* Opera 10.50 */
    transition: all .3s ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
}

#toc{
    position: relative;

    /*box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .5);*/
    /*-webkit-box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .5);*/
}

#tocHolder{
    position: absolute;
    top:0px;
    left: 0px;
    width: 300px;
    bottom: 50px;

    -webkit-transition: all .3s ease-out;  /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: all .3s ease-out;  /* Firefox 4-15 */
    -o-transition: all .3s ease-out;  /* Opera 10.50
    transition: all .3s ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
}

.tocItem{
    background: rgba(241, 241, 241, 0.95);
    display: block;
    padding: 10px 20px;
    text-align: justify;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    border-top: 1px solid rgba(255, 255, 255, 0.58);
    cursor: pointer;
    font-size: .9em;

}
.tocItem .right{
    float: right;
}

#tocTitle{
    background: rgba(241, 241, 241, 0.95);
    display: block;
    padding: 20px;
    text-align: justify;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    border-top: 1px solid rgba(255, 255, 255, 0.58);
    text-align: left;
    text-transform: uppercase;
}

.invisible{
    opacity: 0;
    pointer-events:none;
}

.transition{
    -webkit-transition: all .3s ease-out;  /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: all .3s ease-out;  /* Firefox 4-15 */
    -o-transition: all .3s ease-out;  /* Opera 10.50*/
    transition: all .3s ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
}

#shareButtons{
    width: 41px;

    position: absolute;
    right: 0%;
    top: 0%;
    background-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .5);
    max-width: 100%;   max-height:100%;   
    overflow: hidden; /* Aligns Vertically - Remove for Horizontal Only */    /* Aligns Horizontally - Remove for Vertical Only  */;
    padding: 10px 0px;
    margin-right: 10px;
}

.shareBtn{
    display: inline-block;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
}

img{
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}


/*Icon font*/

@font-face {
    font-family: 'icomoon';
    src:url('../fonts/icomoon.eot');
    src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.woff') format('woff'),
    url('../fonts/icomoon.ttf') format('truetype'),
    url('../fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon-facebook:before,.icon-twitter:before, .icon-googleplus:before, .icon-flickr:before,
.icon-vimeo:before, .icon-linkedin:before {
    font-size: 1.3em;
    margin: 5px 5px;
    padding: 5px;
}

.icon-share:before, .icon-minus:before, .icon-plus:before, .icon-arrow-left:before, .icon-arrow-right:before,
.icon-layout:before, .icon-list:before, .icon-cross:before,  .icon-resize-enlarge:before, .icon-resize-shrink:before,
.icon-arrow-left-2:before, .icon-arrow-right-2:before, .icon-zoom-out:before, .icon-zoom-in:before {
    font-size: 2em;
    margin: 5px 5px;
    padding: 5px;
}

.icon-general{
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;

    color: rgba(0, 0, 0, 0.7);
}

.icon-share:before {
    content: "\e002";
}
.icon-minus:before {
    content: "\e003";
}
.icon-plus:before {
    content: "\e004";
}
.icon-arrow-left:before {
    content: "\e005";
}
.icon-arrow-right:before {
    content: "\e006";
}
.icon-facebook:before {
    content: "\e007";
}
.icon-layout:before {
    content: "\e009";
}
.icon-list:before {
    content: "\e00a";
}
.icon-cross:before {
    content: "\e00b";
}
.icon-twitter:before {
    content: "\e000";
}
.icon-googleplus:before {
    content: "\e001";
}
.icon-resize-enlarge:before {
    content: "\e008";
}
.icon-resize-shrink:before {
    content: "\e00c";
}
.icon-flickr:before {
    content: "\e00d";
}
.icon-vimeo:before {
    content: "\e00e";
}
.icon-linkedin:before {
    content: "\e00f";
}
.icon-arrow-left-2:before {
    content: "\e010";
}
.icon-arrow-right-2:before {
    content: "\e011";
}
.icon-zoom-out:before {
    content: "\e012";
}
.icon-zoom-in:before {
    content: "\e013";
}