﻿.content-center {
    text-align: center;
}

.sample-html5 .zoom-in {
    display: none;
}

.guestbook-lock-test {
    overflow-y: hidden !important;
}

.guestbook-lock {
    overflow-y:hidden !important;
}

.guest-book-wrapper {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.guest-book {
    width: 960px;
    height: 600px;
    background-image: url(//d1v2hfhsvnke6s.cloudfront.net/Shared/images/spine.png);
    background-repeat: repeat-y;
    background-position: 479px 0;
    z-index: 0;
}


.guest-book h1 {
    font-family: "Stempel-Garamond-W01-Roman";
}

.guest-book .book-content {
    font-family: "Stempel-Garamond-W01-Roman";
    font-size: 16px;
    margin: 70px 40px;
}

.guest-book h2 {
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 400;
}

.guest-book blockquote {
    color: #586078;
    margin: 10px 0;
    font-style: italic;
}

.guest-book blockquote:before {
    content: "\201C";
    color: #333d53;
    font-size: 20px;
}

.guest-book blockquote:after {
    content: "\201D";
    color: #333d53;
    font-size: 20px;
}

.guest-book cite {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 200;
    font-style: normal;
    color: #666;
}

.guest-book .book-content .center-pic {
    margin: 0;
    text-indent: 0;
    text-align: center;
}

.guest-book .zoom-this:hover {
    opacity: 0.9;
    cursor: pointer;
}

.guest-book .book-content p {
    text-indent: 18px;
}

.guest-book .left-pic {
    float: left;
    margin-top: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.animated {
    -webkit-transition: margin-left 0.2s ease-in-out;
    -moz-transition: margin-left 0.2s ease-in-out;
    -o-transition: margin-left 0.2s ease-in-out;
    -ms-transition: margin-left 0.2s ease-in-out;
    transition: margin-left 0.2s ease-in-out;
}

.show-bar .guest-book .shadow {
    -webkit-transition: -webkit-box-shadow 0.5s;
    -moz-transition: -moz-box-shadow 0.5s;
    -o-transition: -webkit-box-shadow 0.5s;
    -ms-transition: -ms-box-shadow 0.5s;
    -webkit-box-shadow: 0 0 10px #999;
    -moz-box-shadow: 0 0 10px #999;
    -ms-box-shadow: 0 0 10px #999;
    -o-box-shadow: 0 0 10px #999;
    box-shadow: 0 0 10px #999;
}

.guest-book .page {
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 0 20px rgba(0,0,0,0.2);
    -o-box-shadow: 0 0 20px rgba(0,0,0,0.2);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}


.guest-book .p1,
.guest-book .p2,
.guest-book .last,
.guest-book .before-last {
    background-color: white;
    background-image: url('../../../Images/Guestbook/book-covers.jpg') !important;
}


.guest-book .p1 {
    background-position: -553px 0 !important;
}

.guest-book .p1 .side {
    width: 5px;
    height: 600px;
    position: absolute;
    top: 0;
    left: 475px;
    background: -webkit-gradient(linear, left top, right top, color-stop(0, #333), color-stop(0.5, #666), color-stop(1, #333));
    background-image: -webkit-linear-gradient(left, #333, #666, #333);
    background-image: -moz-linear-gradient(left, #333, #666, #333);
    background-image: -ms-linear-gradient(left, #333, #666, #333);
    background-image: -o-linear-gradient(left, #333, #666, #333);
    background-image: linear-gradient(left, #333, #666, #333);
    -webkit-transform: rotateY(-90deg);
    -moz-transform: rotateY(-90deg);
    -o-transform: rotateY(-90deg);
    -ms-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
    -webkit-transform-origin: top right;
    -moz-transform-origin: top right;
    -o-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    z-index: 100000;
}

.guest-book-transform div[page="1"] > div, .guest-book-transform div[page="2"] > div {
    overflow: visible !important;
}

.guest-book .depth {
    background-image: url('../../../Images/Guestbook/pages-depth.png');
    position: absolute;
    top: 7px;
    width: 16px;
    height: 590px;
}

.guest-book .front-side .depth {
    left: 4px;
    background-position: 0 0;
}

.guest-book .back-side .depth {
    right: 4px;
    background-position: right 0;
}


.guest-book .p2 {
    background-position: -480px 0 !important;
}

.guest-book .before-last {
    background-position: -960px 0 !important;
}

.guest-book .last {
    background-position: -5px 0 !important;
}

.guest-book .hard {
    width: 480px;
    height: 600px;
    background-color: white;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

.guest-book .page-wrapper {
    -webkit-perspective: 2000px;
    -moz-perspective: 2000px;
    -ms-perspective: 2000px;
    perspective: 2000px;
}

.guest-book .own-size {
    width: 460px;
    height: 582px;
    background-color: white;
    overflow: hidden;
}

.guest-book .even {
    background: -webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
    background-image: -webkit-linear-gradient(left, #fff 95%, #dadada 100%);
    background-image: -moz-linear-gradient(left, #fff 95%, #dadada 100%);
    background-image: -ms-linear-gradient(left, #fff 95%, #dadada 100%);
    background-image: -o-linear-gradient(left, #fff 95%, #dadada 100%);
    background-image: linear-gradient(left, #fff 95%, #dadada 100%);
}

.guest-book .odd {
    background: -webkit-gradient(linear, right top, left top, color-stop(0.95, #fff), color-stop(1, #cacaca));
    background-image: -webkit-linear-gradient(right, #fff 95%, #cacaca 100%);
    background-image: -moz-linear-gradient(right, #fff 95%, #cacaca 100%);
    background-image: -ms-linear-gradient(right, #fff 95%, #cacaca 100%);
    background-image: -o-linear-gradient(right, #fff 95%, #cacaca 100%);
    background-image: linear-gradient(right, #fff 95%, #cacaca 100%);
}

.guest-book .even .shadow {
    background-image: -webkit-gradient(linear, 100% 0%, 0% 0%, color-stop(0.65, rgba(0, 0, 0, 0)), color-stop(0.01, rgba(0, 0, 0, 0.208039)), to(rgba(0, 0, 0, 0)));
}

.guest-book .odd .shadow {
    background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(0.65, rgba(0, 0, 0, 0)), color-stop(0.01, rgba(0, 0, 0, 0.208039)), to(rgba(0, 0, 0, 0)));
}

.guest-book .odd .shadow, .guest-book .even .shadow {
    top: 0;
    bottom: 0;
    width: 30px;
    position: absolute;
}

.guest-book .odd .shadow {
    left: 0;
}

.guest-book .even .shadow {
    right: 0;
}

.guest-book .hard.even .shadow, .guest-book .hard.odd .shadow {
    top: 9px;
    bottom: 9px;
}

.guest-book .page-number {
    color: #999;
    width: 100%;
    bottom: 25px;
    position: absolute;
    display: block;
    text-align: center;
    line-height: 30px;
    font-size: 11px;
}

.guest-book .table-contents {
    font-size: 16px;
    width: 300px;
    margin: 110px auto;
    color: #ccc;
}

.guest-book .table-contents li {
    list-style: none;
    line-height: 25px;
}

.guest-book .table-contents span {
    float: right;
}

.guest-book .table-contents a {
    float: left;
    width: 100%;
    clear: both;
    text-decoration: none;
    color: #333;
    margin: 2px 0;
    padding: 0 10px;
}

.guest-book .table-contents a:hover {
    background: #cad1ee;
    float: left;
    width: 100%;
    clear: both;
    text-decoration: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
}

.book-wrapper {
    width: 960px;
    height: 600px;
}

.book-inner-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    z-index: 2;
    z-index: 9999;
}

.guest-book [class^="p"], .guest-book [class^="p"] img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.guest-book .p2 img {
    margin-top: 9px;
    margin-left: 20px;
}

.guest-book [class^="p"] img {
    width: 460px;
    height: 582px;
}

.guest-book [class^="p"] img.not-loaded {
    display: none;
}

.guest-book .loader {
    background-image: url('../../../Images/Guestbook/loader.gif');
    width: 22px;
    height: 22px;
    position: absolute;
    top: 280px;
    left: 219px;
    display: block;
}

.guest-book-wrapper .actions, .guest-book-wrapper .buy-wrapper {
    text-align: center;
    visibility: hidden;
}

.buy-wrapper {
    color: #fff;
    font: normal 16px/22px Lato;
}

.buy-wrapper button.fun-button, .buy-wrapper button.fun-button:hover {
    position: static;
    background-color: #386b93;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    margin-left: 35px;
    color: #fff;
}

.guest-book-wrapper .actions a {
    color: #fff;
}

.guest-book-wrapper .share-wrapper span.text{
    margin-right: 5px;
    display: inline-block;
    color: #fff;
}
.guest-book-wrapper .share-wrapper a{
    margin: 0 2px;
}

.animate {
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -ms-transition: -ms-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
}


.guest-book .next-button, .guest-book .previous-button {
    width: 22px;
    height: 600px;
    position: absolute;
    top: 0;
}

.guest-book .next-button {
    right: -22px;
    -webkit-border-radius: 0 15px 15px 0;
    -moz-border-radius: 0 15px 15px 0;
    -ms-border-radius: 0 15px 15px 0;
    -o-border-radius: 0 15px 15px 0;
    border-radius: 0 15px 15px 0;
}

.guest-book .previous-button {
    left: -22px;
    -webkit-border-radius: 15px 0 0 15px;
    -moz-border-radius: 15px 0 0 15px;
    -ms-border-radius: 15px 0 0 15px;
    -o-border-radius: 15px 0 0 15px;
    border-radius: 15px 0 0 15px;
}


.guest-book .previous-button:hover, .guest-book .next-button:hover {
    background-color: rgba(0,0,0, 0.2);
}

.guest-book .next-button,.guest-book .next-button:hover {
    background-image: url(../../../Images/Guestbook/arrows.png);
    background-position: -38px 284px;
    background-repeat: no-repeat;
    cursor: pointer;
}


.guest-book .previous-button,.guest-book .previous-button:hover{
    background-image: url(../../../Images/Guestbook/arrows.png);
    background-position: -4px 284px;
    background-repeat: no-repeat;
    cursor: pointer;
}


.guest-book-wrapper-inner {
    top: 50%;
    margin-top: -400px;
    left: 50%;
    margin-left: -480px;
    height: 740px;
    width: 1000px;
    position: absolute;
    overflow: hidden; 
    padding-top: 60px;
}


.guest-book-wrapper-inner.show-buy-form .share-wrapper *:not(.icon-close),
.guest-book-wrapper-inner.show-buy-form .book-inner-wrapper,
.guest-book-wrapper-inner.show-buy-form .buy-wrapper {
    display: none;
}

.guest-book-wrapper-inner.show-buy-form #bookOrderForm {
    display: block !important;
}

@media only screen and ( max-width: 1024px) {
    .guest-book-wrapper-inner {
        top: 0;
        margin-top: 0;
        left: 0;
        margin-left: 0;
        height: 100vh;
        width: auto;
        position: relative;
    }
    .show-buy-form .buy-form-box {
        padding: 30px;
    }
}

@media only screen and (max-height:699px) {
    .guest-book-wrapper-inner {
        margin: auto;
        position: relative;
        overflow: hidden;
        top: auto;
        left: auto;
        padding-top: 0;
    }
}
