.book, .contact-detail address, .contact-detail p {
    /*overflow: hidden;*/
}

.book ul, .home-wrapper-alt, .video-btn i {
    vertical-align: middle;
}

.back-to-top i {
    color: #fff;
    font-size: 22px;
    display: block;
    line-height: 30px;
}

.book, .book img, .book::after, .book::before {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.book ul {
    display: table-cell;
}

.list-inline {
    padding-left: 0;
    list-style: none;
}

.list-inline>li {
    display: inline-block;
    margin-left: 3em;
    padding-left: 0 !important;
}

.book, .book a {
    margin: 0;
    padding: 0;
    display: block;
}

.list-inline>li:first-child {
    margin-left: 0
}

.book {
    cursor: pointer;
    width: 100px;
    height: 140px;
    position: relative;
    background: #fff;
    z-index: 1;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1), 0 9px 20px 0 rgba(0, 0, 0, .25);
    -webkit-transition: box-shadow .3s linear;
    transition: box-shadow .3s linear;
}

.book::after, .book::before, .glow::after {
    content: '';
    position: absolute;
}

.book img {
    width: inherit;
    height: inherit;
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    -webkit-transition: all .45s ease;
    transition: all .45s ease;
}
/*
.book:hover {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25), 0 9px 20px 0 rgba(0, 0, 0, .45);
}

.book:hover img {
    -webkit-transform: rotateY(-25deg);
    transform: rotateY(-25deg);
    box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, .2);
}
*/
.book::after, .book::before {
    display: block;
    width: inherit;
    height: inherit;
    z-index: -1;
    top: 0;
    background: transparent;
    /*border: 1px solid #d9d9d9;*/
}

.book::before {
    left: -3px;
}

.book::after {
    left: -6px;
}

.glow::after {
    background-image: -webkit-linear-gradient(right, transparent 4%, hsla(0, 0%, 100%, .4) 61%, hsla(0, 0%, 100%, .4) 85%, hsla(0, 0%, 74%, 0) 96%);
    background-image: linear-gradient(-90deg, transparent 4%, hsla(0, 0%, 100%, .3) 61%, hsla(0, 0%, 100%, .5) 85%, hsla(0, 0%, 74%, 0) 96%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: .77;
    pointer-events: none;
    -webkit-transition: opacity .15s;
    transition: opacity .15s;
    width: 100%;
}

.book {
    padding: 0px 0 0;
    margin: auto
}

.shelf {
    border-bottom: 30px solid #a5a5a5;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    top: -20px;
    z-index: -10;
    margin-bottom: 50px;
}

.shelf:after {
    content: '';
    background: url(../img/concrete_bg_dark.jpg) top left repeat-x #686868;
    height: 20px;
    width: calc(100% + 40px);
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1;
    margin: 0 -20px;
}

.ribbon {
   position: absolute;
   right: -5px; top: -5px;
   z-index: 1;
   overflow: hidden;
   width: 75px; height: 75px;
   text-align: right;
}
.ribbon span {
   font-size: 10px;
   color: #fff;
   text-transform: uppercase;
   text-align: center;
   font-weight: bold; line-height: 20px;
   transform: rotate(45deg);
   width: 100px; display: block;
   background: #79A70A;
   background: linear-gradient(#9BC90D 0%, #79A70A 100%);
   box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
   position: absolute;
   top: 19px; right: -21px;
}
.ribbon span::before {
   content: '';
   position: absolute;
   left: 0px; top: 100%;
   z-index: -1;
   border-left: 3px solid #79A70A;
   border-right: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.ribbon span::after {
   content: '';
   position: absolute;
   right: 0%; top: 100%;
   z-index: -1;
   border-right: 3px solid #79A70A;
   border-left: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.red span {background: linear-gradient(#F70505 0%, #8F0808 100%);}
.red span::before {border-left-color: #8F0808; border-top-color: #8F0808;}
.red span::after {border-right-color: #8F0808; border-top-color: #8F0808;}

.blue span {background: linear-gradient(#2989d8 0%, #1e5799 100%);}
.blue span::before {border-left-color: #1e5799; border-top-color: #1e5799;}
.blue span::after {border-right-color: #1e5799; border-top-color: #1e5799;}

.book-menu{
    height: inherit;
    background: radial-gradient(#6e6e6e,#2f2f2f);
    background: -webkit-radial-gradient(#6e6e6e,#2f2f2f);
    background: -moz-radial-gradient(#6e6e6e,#2f2f2f);
    color: #fff;
    position: relative;
    overflow:hidden;
    font-size: 10px;
}
.book-menu figure {
    position: absolute;
    padding: 3px 5px;
    width: 100%;
    bottom: -47px;
    transition: ease-in-out .25s;
    background: rgba(0, 0, 0, 0.71);
    border-top: 1px solid #fff;
}
.book-menu:hover figure {
    bottom: -17px;
}
