@font-face {

    font-family: 'Merienda', cursive;
    font-family: 'arrows';
    src: url('../fonts/arrows/arrows.eot');
    src: url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
        url('../fonts/arrows/arrows.woff') format('woff'),
        url('../fonts/arrows/arrows.ttf') format('truetype'),
        url('../fonts/arrows/arrows.svg#arrows') format('svg');
    font-weight: normal;
    font-style: normal;
}

.bb-custom-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.bb-custom-wrapper .bb-bookblock {
    width: 100%;
    height: 100%;
    -webkit-perspective: 2000px;
    perspective: 2000px;
}

.textwrap {
    float: left;
}

.bb-custom-side {
    width: 50%;
    float: left;
    height: 100%;
    overflow: hidden;
    color: #575757;
    background: #4e4949;
    background: -moz-radial-gradient(center, circle cover, #454a4e 0%, #1c1e20 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #555a5f), color-stop(100%, #1c1e20));
   /* background: -webkit-radial-gradient(center, circle cover, #56585a 0%, #43484d 100%);*/
    background: -o-radial-gradient(center, circle cover, #454a4e 0%, #1c1e20 100%);
    background: -ms-radial-gradient(center, circle cover, #454a4e 0%, #1c1e20 100%);
    background: radial-gradient(center, circle cover, #454a4e 0%, #1c1e20 100%);

    /* Centering with flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.bb-custom-side2 {
    width: 100%;
    float: left;
    height: 100%;
    overflow: hidden;
    background: #fff;
    /* Centering with flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.bb-custom-firstpage {
    color: #525151;
    background: #3e3e3e;
    background: -moz-radial-gradient(center, circle cover, #3d3e3e 0%, #1c1e20 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #555a5f), color-stop(100%, #1c1e20));
    /*background: -webkit-radial-gradient(center, circle cover, #56585a 0%, #43484d 100%);*/
    background: -o-radial-gradient(center, circle cover, #494a4b 0%, #1c1e20 100%);
    background: -ms-radial-gradient(center, circle cover, #494a4b 0%, #1c1e20 100%);
    background: radial-gradient(center, circle cover, #494a4b 0%, #1c1e20 100%);
}

.bb-custom-firstpage h1 {
    font-size: 4.0em;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
    color: #f4f4f4;
}

.bb-custom-firstpage h2 {
    font-size: 2.8em;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
    color: #ebebeb;
}

.bb-custom-firstpage h1 span {
    display: block;
    font-size: 60%;
    opacity: 0.3;
    padding: 0 0 0.6em 0.1em;
}

.bb-custom-firstpage {
    text-align: center;
    padding-top: 3%;
    width: 50%;
    float: left;
    height: 100%;
}

.bb-custom-firstpage p {
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.2;
    color: #eaeaea;
}

.bb-custom-side p {
    padding: 8%;
    font-size: 1.8em;
    font-weight: 300;
    line-height: 1.2;
    color: #646464;
}

.bb-custom-wrapper h3 {
    font-size: 1.4em;
    font-weight: 300;
    margin: 0.4em 0 1em;
}

.bb-custom-wrapper > nav {
    width: 100%;
    height: 40px;
    margin: 1em auto 0;
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    text-align: center;
}

.page {
    font-size: 1.6em;
    font-weight: 400;
    color: #edf4f4;
    margin: 1em 0 3em 42%;
    position: fixed;
    bottom: 2px;
    z-index: 1000;
    text-align: right;
}

.page2 {
    font-size: 1.6em;
    font-weight: 400;
    color: #edf4f4;
    margin-left: 40%;
    margin-bottom: 3em;
    position: fixed;
    bottom: 2px;
    z-index: 1000;
    text-align: right;
}

.page3 {
    font-size: 1.6em;
    font-weight: 400;
    color: #585c5c;
    margin: 1em 42% 2em auto;
    position: fixed;
    bottom: 2px;
    z-index: 1000;
    text-align: left;
}

.bb-custom-wrapper > nav a {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 2px;
    background: #763131;
    color: #fff;
    font-size: 0;
    margin: 2px;
}

.bb-custom-wrapper > nav a:hover {
    color: #ffeaea;
    border-radius: 4px;
    background: #9f1a1a;
}

.bb-custom-icon:before {
    font-family: 'arrows';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 30px;
    line-height: 40px;
    display: block;
    -webkit-font-smoothing: antialiased;
}

.bb-custom-icon-first:before,
.bb-custom-icon-last:before {
    content: "\e002";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-arrow-right:before {
    content: "\e003";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first:before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* No JS */
.no-js .bb-custom-wrapper {
    height: auto;
}

.no-js .bb-custom-content {
    height: 470px;
}

@media screen and (max-width: 61.75em) {
    .bb-custom-side {
        font-size: 70%;
    }
}

@media screen and (max-width: 33em) {
    .bb-custom-side {
        font-size: 60%;
    }
}
