body {
    margin: 0 0;
    padding: 0 0;
    overflow: hidden;
    overflow: -moz-hidden-unscrollable;
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color: #333333;
}

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

input, input:before, input:after, textarea, textarea:before, textarea:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

div.bookviewport {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    background-color: #333333;
    z-index: 100;
}

div.bookviewport.scrollable {
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}



div.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    z-index: 110;
    background-color: rgba(0, 0, 0, 0.7);
}

* {
    overflow: visible;
}

/**
    PAGE CONTAINER
**/

.pagecontainer {
    font-size: 16px;
}

.content-area {
    position: absolute;
    top:10px;
    left:10px;
    right:10px;
    bottom:10px;
}

.content-area.scrollable, .content-area-wrapper.scrollable, .figure.scrollable {
    overflow-y: scroll;
    -webkit-user-drag: auto;
    -webkit-overflow-scrolling: touch;
}

.content-area-wrapper {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.content-area-wrapper .content-area {
    position: relative;
}

a {
    color: #0000ee;
    text-decoration: underline;
    word-wrap: break-word;
}

sup {
    line-height: 0;
}

/* Remove borders around linked images in IE */
a img {
    border: 0;
}

/**
    COLUMNS
**/

.column-top {
    margin-top: 0 !important;
}

.column-split-top {
    text-indent: 0 !important;
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.column-bottom {
}

.column-split-bottom {
    border-bottom: none !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/**
 * Loading Indicator
 */

#busy
{
    z-index: 1000;
    position: absolute;
    opacity: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: -moz-linear-gradient(top, rgba(59, 83, 107, 0.70) 0%, rgba(59, 83, 107, 0.70) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(59, 83, 107, 0.70)));
    background: -webkit-linear-gradient(top, rgba(59, 83, 107, 0.70) 0%, rgba(59, 83, 107, 0.70) 100%);
    background: -o-linear-gradient(top, rgba(59, 83, 107, 0.70) 0%, rgba(59, 83, 107, 0.70) 100%);
    background: -ms-linear-gradient(top, rgba(59, 83, 107, 0.70) 0%, rgba(59, 83, 107, 0.70) 100%);
    background: linear-gradient(to bottom, rgba(59, 83, 107, 0.70) 0%, rgba(59, 83, 107, 0.70) 100%);
    background-size:   cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#layout-percent
{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -128px;
    margin-left: -128px;
    display: block;
    background-size: contain;
    height: 256px;
    width: 256px;
}

#busy-img
{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -128px;
    margin-left: -128px;
    display: block;
    background-size: contain;
    height: 256px;
    width: 256px;
}

#busy-percent-back
{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -10px;
    margin-left: -55px;
    display: block;
    height: 20px;
    width: 110px;
    background-color: #3a76cc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#busy-percent
{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -5px;
    margin-left: -50px;
    display: block;
    height: 10px;
    width: 0;
    background-color: #d0f7ff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.pagecontainer.loadingpage {
    background-color: transparent !important;
}

.pagecontainer .articleLoadingContainer {
    background-color: #666;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
    border-radius: 20px;
}

.pagecontainer .articleLoadingContainer h2 {
    color: #fff;
    text-align: center;
}

.pagecontainer .articleLoadingContainer h2 small {
    color: #ccc;
}

.pagecontainer .articleLoadingProgress {
    margin: auto;
    width: 200px;
    height: 230px;
}


/**
 * Book
 */

#pagebuilder {
    position: absolute;
    width:1px;
    height:1px;
    overflow: hidden;
    visibility: hidden;
    /*display: none;*/
}

.figure {
    position: absolute;
    z-index: 101;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* STYLE RESETS */
.pagecontainer h1, .pagecontainer .figure h1, .lightbox-content .figure h1, .pagecontainer h1.reset-styles,
.pagecontainer article h1, .pagecontainer article .figure h1, .lightbox-content .figure h1, .pagecontainer article h1.reset-styles {
    background-color: transparent;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    box-sizing: border-box;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    padding: 0 0;
    border: none;
}
.pagecontainer h2, .pagecontainer .figure h2, .lightbox-content .figure h2, .pagecontainer h2.reset-styles,
.pagecontainer article h2, .pagecontainer article .figure h2, .lightbox-content .figure h2, .pagecontainer article h2.reset-styles {
    background-color: transparent;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    box-sizing: border-box;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    padding: 0 0;
    border: none;
}

.pagecontainer h3, .pagecontainer .figure h3, .lightbox-content .figure h3, .pagecontainer h3.reset-styles,
.pagecontainer article h3, .pagecontainer article .figure h3, .lightbox-content .figure h3, .pagecontainer article h3.reset-styles {
    background-color: transparent;
    box-sizing: border-box;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    padding: 0 0;
    border: none;
}
.pagecontainer h4, .pagecontainer .figure h4, .lightbox-content .figure h4, .pagecontainer h4.reset-styles,
.pagecontainer article h4, .pagecontainer article .figure h4, .lightbox-content .figure h4, .pagecontainer article h4.reset-styles {
    background-color: transparent;
    box-sizing: border-box;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    padding: 0 0;
    border: none;
}
.pagecontainer h5, .pagecontainer .figure h5, .lightbox-content .figure h5, .pagecontainer h5.reset-styles,
.pagecontainer article h5, .pagecontainer article .figure h5, .lightbox-content .figure h5, .pagecontainer article h5.reset-styles {
    background-color: transparent;
    box-sizing: border-box;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    padding: 0 0;
    border: none;
}
.pagecontainer h6, .pagecontainer .figure h6, .lightbox-content .figure h6, .pagecontainer h6.reset-styles,
.pagecontainer article h6, .pagecontainer article .figure h6, .lightbox-content .figure h6, .pagecontainer article h6.reset-styles {
    background-color: transparent;
    box-sizing: border-box;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    padding: 0 0;
    border: none;
}
.pagecontainer p, .pagecontainer .figure p, .lightbox-content .figure p, .pagecontainer p.reset-styles,
.pagecontainer article p, .pagecontainer article .figure p, .lightbox-content .figure p, .pagecontainer article p.reset-styles {
    background-color: transparent;
    box-sizing: border-box;
    font-variant: normal;
    letter-spacing: normal;
    text-transform: none;
    color: #222222;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 0 0;
    border: none;
}


.pagecontainer {
    width: 940px;
    height: 600px;
    top: 0;
    margin: 0 0;
    padding: 0 0;
    left: 0;
    position: absolute;
    background-color: #fff;
}

.column {
    position: absolute;
    padding:0 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    z-index: 100;
}

.pagecontainer .column {
    top: 10px;
    bottom: 10px;
}

.pagecontainer .page_disable_overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background-color: #ff0000;
    opacity: 0;
}

/**
 * List support
 */
li.column-split-top {
    list-style-type: none;
    list-style-image:none;
}

/**
 * Lightbox
 */

.bookviewport {
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
}

.bookviewport.overlay-open {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
}

.lightbox {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transform: scale(0.8);
    opacity: 0;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    display: block;
    z-index: 300;
}

.lightbox.hidden {
    z-index: 1;
    opacity: 0;
}

.lightbox.overlay-open {
    opacity: 1;
    -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
}

.lightbox-content {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/**
 * Link maps
 **/

.image-map-overlay {
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    z-index: 10000;
    pointer-events:none;
}

.image-map-link {
    position: absolute;
    background-color: #ffff00;
    opacity: 0.3;
    pointer-events:all;
    border-radius: 4px;
}

.image-map-link:hover, .image-map-link.hide-link:hover {
    opacity: 0.8;
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    transform: scale(1.01);
}

.image-map-link, .image-map-link.hide-link {
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
}

.image-map-link.hide-link {
    opacity: 0.01;
}

.image-map-link.link-hidden {
    opacity:0;
}

.inlinePageInNPA {
    position: relative;
}

.bookviewport .scrollable { touch-action: pan-y; }
