/*
http://builtbywill.com/code/booklet/

Booklet is a jQuery tool for displaying content on the web in a flipbook layout.
It was built using the jQuery library. Licensed under both MIT and GPL licenses.
http://jquery.org/license
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #444;
    color: #000;
    display: flex;
    justify-content: center;
}

h1 {
    color: #2F1B0C;
    font-size: 40px;
    margin: 20px 0px 0px 20px;
}

span.reference {
    display: block;
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
}

span.reference a {
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0px 20px;
}

span.reference a:hover {
    color: #ddd;
}

.sideMenu {
    display: inline-block;
    position: relative;
    top: 50px;
    width: 70px;
    margin-right: 65px;
    vertical-align: top;
}

.booklet {
    display: inline-block;
    -moz-box-shadow: 0px 0px 1px #fff;
    -webkit-box-shadow: 0px 0px 1px #fff;
    box-shadow: 0px 0px 1px #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    background: transparent url(../../res/img/bg.png) no-repeat 9px 27px;
}

.booklet::before {
    content: '';
    border: none;
    position: absolute;
    z-index: -1;
    background: transparent url(../../res/img/bg.png) no-repeat;
    background-size: cover;
}

.booklet .b-wrap-left {
    background: url(../../res/img/left_bg.jpg) no-repeat;
    background-size: cover;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.booklet .b-wrap-right {
    background: url(../../res/img/right_bg.jpg) no-repeat;
    background-size: cover;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.booklet .b-counter {
    bottom: 10px;
    position: absolute;
    display: block;
    width: 90%;
    height: 20px;
    border-top: 1px solid #ddd;
    color: #222;
    text-align: center;
    font-size: 12px;
    padding: 5px 0 0;
    background: transparent;
    -moz-box-shadow: 0px -1px 1px #fff;
    -webkit-box-shadow: 0px -1px 1px #fff;
    box-shadow: 0px -1px 1px #fff;
    opacity: 0.8;
}

.book {
    min-width: 1100px;
    min-height: 635px;
    margin: auto;
    position: relative;
    display: none;
}

.book:before {
    content: '';
    display: block;
    height: 35px;
}

.book h1 {
    color: #13386a;
    margin: 5px 5px 5px 15px;
    font-size: 26px;
    background: transparent url(../../res/img/h1.png) no-repeat bottom left;
    padding-bottom: 7px;
}

.book p {
    font-size: 16px;
    margin: 15px 5px 15px 15px;
}

.book p::after {
    content: "";
    clear: both;
    display: table;
}

.book a.article,
.book a.demo {
    background: transparent url(../../res/img/circle.png) no-repeat 50% 0px;
    display: block;
    width: 95px;
    height: 41px;
    text-decoration: none;
    outline: none;
    font-size: 16px;
    color: #555;
    float: left;
    line-height: 41px;
    padding-left: 47px;
}

.book a.demo {
    margin-left: 50px;
}

.book a.article:hover,
.book a.demo:hover {
    background-position: 50% -41px;
    color: #13386a;
}

.book img {
    margin: 10px 0px 5px 35px;
    width: 300px;
    padding: 4px;
    border: 1px solid #ddd;
    -moz-box-shadow: 1px 1px 1px #fff;
    -webkit-box-shadow: 1px 1px 1px #fff;
    box-shadow: 1px 1px 1px #fff;
}

.booklet .b-wrap-right img {
    border: 1px solid #E6E3C2;
}

a#next_page_button,
a#prev_page_button {
    display: none;
    position: absolute;
    width: 41px;
    height: 40px;
    cursor: pointer;
    margin-top: -20px;
    top: 50%;
    background: transparent url(../../res/img/buttons.png) no-repeat 0px -40px;
}

a#prev_page_button {
    left: -30px;
}

a#next_page_button {
    right: -30px;
    background-position: -41px -40px;
}

a#next_page_button:hover {
    background-position: -41px 0px;
}

a#prev_page_button:hover {
    background-position: 0px 0px;
}

.loading {
    position: absolute;
    width: 160px;
    height: 56px;
    line-height: 56px;
    color: #fff;
    padding-left: 60px;
    font-size: 15px;
    background: #000 url(../../res/img/ajax-loader.gif) no-repeat 10px 50%;
    opacity: 0.7;
    z-index: 9999;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}

.book .prevPage {
    position: absolute;
    bottom: 15px;
    left: 2px;
}

.book .nextPage {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.b-page-3 {
    visibility: hidden;
}

#btn-start {
    position: static;
    margin-left: 50%;
}