﻿#publication {
    background-image: url("../images/background/emergency-bg.jpg");
    background-size: cover;
    position: relative;
    padding: 90px 0px 50px;
}

    #publication .owl-nav {
        position: absolute;
        left: 0px;
        top: 25%;
        z-index: 100;
        width: 100%;
        opacity: .8;
        margin-top: -10px;
        transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
    }

        #publication .owl-nav .owl-prev {
            position: absolute;
            left: -70px;
            width: 60px;
            height: 60px;
            color: #ffffff;
            line-height: 56px;
            font-size: 24px;
            text-align: center;
            border-radius: 50px;
            transition: all 500ms ease;
            -moz-transition: all 500ms ease;
            -webkit-transition: all 500ms ease;
            -ms-transition: all 500ms ease;
            -o-transition: all 500ms ease;
            border: 2px solid rgba(255,255,255,0.60);
        }

        #publication .owl-nav .owl-next {
            position: absolute;
            right: -70px;
            color: #ffffff;
            font-size: 24px;
            width: 60px;
            height: 60px;
            color: #ffffff;
            line-height: 56px;
            border-radius: 50px;
            text-align: center;
            transition: all 500ms ease;
            -moz-transition: all 500ms ease;
            -webkit-transition: all 500ms ease;
            -ms-transition: all 500ms ease;
            -o-transition: all 500ms ease;
            border: 2px solid rgba(255,255,255,0.60);
        }

.publication-list {
    width: 1110px !important;
    margin: 0 auto;
}

    .publication-list > li {
        display: inline-block;
        vertical-align: top;
        width: 280px;
        text-align: center;
        margin-top: 40px;
    }

    .publication-list .book-item {
        display: inline-block;
        vertical-align: top;
        width: 280px;
        text-align: center;
        margin: 20px 0 40px 0;
    }

    .publication-list .pushed-to-center {
        margin-left: 170px;
        clear: left;
    }

    .publication-list .book-holder {
        width: 186px;
        text-align: center;
        margin: 0 auto;
    }

        .publication-list .book-holder a {
            display: block;
            position: relative;
        }

            .publication-list .book-holder a:after {
                background-image: url("../../Content/Publication/bg-book-shadow-back.png");
                content: '';
                position: absolute;
                top: 0px;
                left: 13px;
                width: 172px;
                height: 160px;
                background-repeat: no-repeat;
                z-index: 2;
            }

            .publication-list .book-holder a:before {
                background-image: url("../../Content/Publication/bg-book-shadow-bottom.png");
                content: '';
                position: absolute;
                top: 117px;
                left: -23px;
                width: 230px;
                height: 50px;
                background-repeat: no-repeat;
            }

    .publication-list .book-title {
        display: block;
        font-weight: bold;
        font-size: 1.1em;
    }

    .publication-list .new-book {
        position: absolute;
        top: 0px;
        left: 25px;
        width: 69px;
        height: 62px;
        background-image: url("../../Content/Publication/book-label-new.png");
    }

    .publication-list.owl-carousel .owl-stage {
        margin: 0 auto;
    }

    .publication-list.owl-carousel .owl-item {
        margin-top: 40px;
    }

        .publication-list.owl-carousel .owl-item img {
            width: auto;
            display: inline-block;
        }

.publication-list {
    min-height: 400px;
}

    .publication-list .owl-stage {
        min-height: 350px;
    }

    .publication-list .owl-carousel .owl-stage-outer {
        min-height: 350px;
    }

.nested-books {
    text-align: center;
}

    .nested-books .item {
        display: inline-block;
        vertical-align: top;
        margin: 20px 179px 120px 0px;
    }

        .nested-books .item.no-left-margin {
            margin-left: 93px;
        }

        .nested-books .item.no-right-margin {
            margin-right: 0px;
        }

        .nested-books .item.pushed-to-right {
            margin-left: 270px;
        }

figure {
    display: block;
    margin: 1em 40px;
}

.book {
    width: 160px;
    height: 200px;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    margin: 0 auto;
    position: relative;
}

    .book ::before,
    .book ::after {
        content: "";
    }

    .book ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .book .title {
        display: block;
        font-size: .8em;
        margin: 10px 5px;
        font-weight: bold;
        text-align: center;
        position: absolute;
        top: 210px;
        font-size: 15px;
        transform: rotateY(30deg);
        width: 200px;
        left: 50%;
        margin-left: -100px;
    }

    .book .btn-view {
        display: inline-block;
        color: #bbb;
        font-size: .9em;
        line-height: 1.1em;
        -webkit-transition: color .3s;
        transition: color .3s;
        font-weight: bold;
        text-decoration: none;
        margin-top: 30px;
        padding: 2px 5px;
        box-sizing: border-box;
    }

        .book .btn-view i {
            color: #bbb;
            display: block;
        }

            .book .btn-view i:before {
                /*content: "\e90e";*/
            }

        .book .btn-view:hover {
            color: #5d5d5d;
        }

            .book .btn-view:hover i {
                color: #5d5d5d;
            }

    .book .description {
        display: block;
        margin: 10px 5px;
        font-size: .6em;
        line-height: 1.1em;
        max-height: 85px;
        overflow: hidden;
        padding: 0 15px;
        text-align: center;
    }

    .book .hardcover_front li:first-child {
        background-color: transparent;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        .book .hardcover_front li:first-child img {
            text-align: center;
            width: 100%;
            height: 100%;
            color: forestgreen;
            font-size: 1.1em;
            font-weight: bold;
            overflow: hidden;
        }

    .book .hardcover_front li:last-child {
        background: #fffbec;
    }

    .book .hardcover_back li:first-child {
        background: #fffbec;
    }

    .book .hardcover_back li:last-child {
        background: #fffbec;
    }

    .book .book_spine li:first-child {
        background: #eee;
    }

    .book .book_spine li:last-child {
        background: #333;
    }

        .book .hardcover_front li:first-child:after,
        .book .hardcover_front li:first-child:before,
        .book .hardcover_front li:last-child:after,
        .book .hardcover_front li:last-child:before,
        .book .hardcover_back li:first-child:after,
        .book .hardcover_back li:first-child:before,
        .book .hardcover_back li:last-child:after,
        .book .hardcover_back li:last-child:before,
        .book .book_spine li:first-child:after,
        .book .book_spine li:first-child:before,
        .book .book_spine li:last-child:after,
        .book .book_spine li:last-child:before {
            background: #999;
        }

    .book .page > li {
        background: -webkit-linear-gradient(left, #e1ddd8 0, #fffbf6 100%);
        background: linear-gradient(left, #e1ddd8 0, #fffbf6 100%);
        box-shadow: inset 0 -1px 2px rgba(50, 50, 50, 0.1), inset -1px 0 1px rgba(150, 150, 150, 0.2);
        border-radius: 0 5px 5px 0;
    }

    .book .hardcover_front {
        -webkit-transform: rotateY(-34deg) translateZ(5px);
        transform: rotateY(-34deg) translateZ(5px);
        z-index: 100;
        -webkit-transition: all 0.8s ease, z-index 0.6s;
        transition: all 0.8s ease, z-index 0.6s;
    }

    .book .hardcover_back {
        -webkit-transform: rotateY(-15deg) translateZ(-8px);
        transform: rotateY(-15deg) translateZ(-8px);
    }

    .book .page li:nth-child(1) {
        -webkit-transform: rotateY(-28deg);
        transform: rotateY(-28deg);
    }

    .book .page li:nth-child(2) {
        -webkit-transform: rotateY(-30deg);
        transform: rotateY(-30deg);
        text-align: center;
    }

    .book .page li:nth-child(3) {
        -webkit-transform: rotateY(-32deg);
        transform: rotateY(-32deg);
    }

    .book .page li:nth-child(4) {
        -webkit-transform: rotateY(-34deg);
        transform: rotateY(-34deg);
    }

    .book .page li:nth-child(5) {
        -webkit-transform: rotateY(-36deg);
        transform: rotateY(-36deg);
    }

    .book .hardcover_back,
    .book .book_spine,
    .book .hardcover_back li,
    .book .book_spine li {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .book .hardcover_front,
    .book .hardcover_front li {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .book .hardcover_front,
    .book .hardcover_back {
        -webkit-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
        transform-origin: 0 100%;
    }

        .book .hardcover_front li:first-child {
            cursor: default;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-transform: translateZ(2px);
            transform: translateZ(-2px);
        }

        .book .hardcover_front li:last-child {
            -webkit-transform: rotateY(180deg) translateZ(2px);
            transform: rotateY(180deg) translateZ(2px);
        }

        .book .hardcover_back li:first-child {
            -webkit-transform: translateZ(2px);
            transform: translateZ(2px);
        }

        .book .hardcover_back li:last-child {
            -webkit-transform: translateZ(-2px);
            transform: translateZ(-2px);
        }

            .book .hardcover_front li:first-child:after,
            .book .hardcover_front li:first-child:before,
            .book .hardcover_front li:last-child:after,
            .book .hardcover_front li:last-child:before,
            .book .hardcover_back li:first-child:after,
            .book .hardcover_back li:first-child:before,
            .book .hardcover_back li:last-child:after,
            .book .hardcover_back li:last-child:before,
            .book .book_spine li:first-child:after,
            .book .book_spine li:first-child:before,
            .book .book_spine li:last-child:after,
            .book .book_spine li:last-child:before {
                position: absolute;
                top: 0;
                left: 0;
            }

        .book .hardcover_front li:first-child:after,
        .book .hardcover_front li:first-child:before {
            width: 2px;
            height: 100%;
        }

        .book .hardcover_front li:first-child:after {
            -webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
            transform: rotateY(90deg) translateZ(-2px) translateX(2px);
        }

        .book .hardcover_front li:first-child:before {
            -webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
            transform: rotateY(90deg) translateZ(158px) translateX(2px);
        }

        .book .hardcover_front li:last-child:after,
        .book .hardcover_front li:last-child:before {
            width: 4px;
            height: 160px;
        }

        .book .hardcover_front li:last-child:after {
            -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
            transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
        }

        .book .hardcover_front li:last-child:before {
            box-shadow: 0 0 30px 5px #333;
            -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-120px) translateX(-2px) translateY(-78px);
            transform: rotateX(90deg) rotateZ(90deg) translateZ(-120px) translateX(-2px) translateY(-78px);
        }

        .book .hardcover_back li:first-child:after,
        .book .hardcover_back li:first-child:before {
            width: 4px;
            height: 100%;
        }

        .book .hardcover_back li:first-child:after {
            -webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
            transform: rotateY(90deg) translateZ(-2px) translateX(2px);
        }

        .book .hardcover_back li:first-child:before {
            -webkit-transform: rotateY(90deg) translateZ(130px) translateX(2px);
            transform: rotateY(90deg) translateZ(130px) translateX(2px);
        }

        .book .hardcover_back li:last-child:after,
        .book .hardcover_back li:last-child:before {
            width: 4px;
            height: 160px;
        }

        .book .hardcover_back li:last-child:after {
            -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
            transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
        }

        .book .hardcover_back li:last-child:before {
            box-shadow: 10px -1px 80px 20px #666666;
            -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-120px) translateX(2px) translateY(-78px);
            transform: rotateX(90deg) rotateZ(90deg) translateZ(-120px) translateX(2px) translateY(-78px);
        }

    .book .page,
    .book .page > li {
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .book .page {
        width: 100%;
        height: 98%;
        top: 1%;
        left: 3%;
        z-index: 10;
    }

        .book .page > li {
            width: 100%;
            height: 100%;
            -webkit-transform-origin: left center;
            -ms-transform-origin: left center;
            transform-origin: left center;
            -webkit-transition-property: -webkit-transform;
            transition-property: -webkit-transform;
            transition-property: transform;
            transition-property: transform, -webkit-transform;
            -webkit-transition-timing-function: ease;
            transition-timing-function: ease;
        }

            .book .page > li:nth-child(1) {
                -webkit-transition-duration: .6s;
                transition-duration: .6s;
            }

            .book .page > li:nth-child(2) {
                -webkit-transition-duration: .6s;
                transition-duration: .6s;
            }

            .book .page > li:nth-child(3) {
                -webkit-transition-duration: .4s;
                transition-duration: .4s;
            }

            .book .page > li:nth-child(4) {
                -webkit-transition-duration: .5s;
                transition-duration: .5s;
            }

            .book .page > li:nth-child(5) {
                -webkit-transition-duration: .6s;
                transition-duration: .6s;
            }

    .book:hover > .hardcover_front,
    .book.hover > .hardcover_front {
        -webkit-transform: rotateY(-145deg) translateZ(0);
        transform: rotateY(-145deg) translateZ(0);
        z-index: 0;
    }

    .book:hover > .page li:nth-child(1),
    .book.hover > .page li:nth-child(1) {
        -webkit-transform: rotateY(-30deg);
        transform: rotateY(-30deg);
        -webkit-transition-duration: 1.5s;
        transition-duration: 1.5s;
    }

    .book:hover > .page li:nth-child(2),
    .book.hover > .page li:nth-child(2) {
        -webkit-transform: rotateY(-35deg);
        transform: rotateY(-35deg);
        -webkit-transition-duration: 1.8s;
        transition-duration: 1.8s;
    }

    .book:hover > .page li:nth-child(3),
    .book.hover > .page li:nth-child(3) {
        -webkit-transform: rotateY(-118deg);
        transform: rotateY(-118deg);
        -webkit-transition-duration: 1.6s;
        transition-duration: 1.6s;
    }

    .book:hover > .page li:nth-child(4),
    .book.hover > .page li:nth-child(4) {
        -webkit-transform: rotateY(-130deg);
        transform: rotateY(-130deg);
        -webkit-transition-duration: 1.4s;
        transition-duration: 1.4s;
    }

    .book:hover > .page li:nth-child(5),
    .book.hover > .page li:nth-child(5) {
        -webkit-transform: rotateY(-140deg);
        transform: rotateY(-140deg);
        -webkit-transition-duration: 1.2s;
        transition-duration: 1.2s;
    }

.download-book-icon {
    display: block;
    color: #a56f33;
}

@-moz-document url-prefix() {
    .book .hardcover_back,
    .book .hardcover_front {
        display: inline-table;
    }
}
