﻿/*pill*/
.nav-item a.active {
    background-color: #ff7236 !important;
    border-color: #ff7236 !important;
    color: #fff !important;
}

.nav a:hover {
    color: #ff7236 !important;
}

a.active:hover {
    color: #fff !important;
}


/*display list*/
.single-book-box {
    border: 10px solid #f3f3f3;
    margin-bottom: 90px;
    position: relative;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
    .single-book-box {
        border-width: 5px;
        margin-bottom: 50px;
        padding-bottom: 60px;
    }

        .single-book-box img {
            width: 100%;
        }
}


.single-book-box .books-social-sharing {
    background-color: #fff;
    left: -55px;
    opacity: 0;
    padding: 10px 0;
    position: absolute;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    width: 55px;
    z-index: 1;
}

@media (max-width: 1080px) {
    .single-book-box .books-social-sharing {
        left: -54px;
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .single-book-box .books-social-sharing {
        left: 0px;
        padding: 0;
        top: -40px;
        transform: none;
        width: 100%;
    }
}

.single-book-box .books-social-sharing ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .single-book-box .books-social-sharing ul li {
        display: block;
        font-size: 1rem;
        margin: 10px 0;
    }

@media (max-width: 767px) {
    .single-book-box .books-social-sharing ul li {
        display: inline-block;
        padding: 15px 15px;
    }
}

.single-book-box .books-social-sharing ul a {
    display: block;
    color: #6b6b6b;
}

    .single-book-box .books-social-sharing ul a:hover {
        color: #ff7236;
    }

.single-book-box .optional-links {
    background-color: #f4f4f4;
    box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.07), 5px 0 5px -5px rgba(0, 0, 0, 0.07), 0 5px 5px -5px rgba(0, 0, 0, 0.07);
    opacity: 0;
    position: absolute;
    right: -70px;
    text-align: center;
    top: 0;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    width: 70px;
}

@media (min-width: 1200px) and (max-width: 1299px) {
    .single-book-box .optional-links {
        right: 0px;
        width: 50px;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .single-book-box .optional-links {
        right: -50px;
        width: 50px;
    }
}

@media (max-width: 1080px) {
    .single-book-box .optional-links {
        opacity: 1;
        right: 0;
        width: 50px;
        z-index: 1;
    }
}

@media (max-width: 767px) {
    .single-book-box .optional-links {
        bottom: -60px;
        top: auto;
        right: 0;
        width: 100%;
        opacity: 1;
    }
}

.single-book-box .optional-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .single-book-box .optional-links ul li {
        border-bottom: 1px solid #fff;
        display: block;
        padding: 18px 0;
    }

@media (max-width: 767px) {
    .single-book-box .optional-links ul li {
        border: none;
        display: inline-block;
        padding: 15px;
    }
}

.single-book-box .optional-links ul li:last-child {
    border-bottom: 0;
    padding: 17.5px 0;
}

.single-book-box .optional-links ul a {
    display: block;
    font-size: 20px;
    color: #6b6b6b;
}

    .single-book-box .optional-links ul a:hover {
        color: #ff7236;
    }

.single-book-box .optional-links .tooltip {
    font-size: 12px;
    text-transform: uppercase;
    min-width: 100px;
}

.single-book-box .post-thumbnail {
    display: inline-block;
    margin: -40px 0 -40px -10px;
}

@media (max-width: 767px) {
    .single-book-box .post-thumbnail {
        display: block;
        margin: 0;
    }
}

.single-book-box .entry-header .entry-title {
    color: #282828;
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 7px;
}

    .single-book-box .entry-header .entry-title a {
        color: #282828;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
    }

        .single-book-box .entry-header .entry-title a:hover {
            color: #ff7236;
        }

.single-book-box .entry-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .single-book-box .entry-header ul li {
        border: none;
        color: #6b6b6b;
        display: block;
        margin-bottom: 10px;
        width: auto;
    }

        .single-book-box .entry-header ul li strong {
            color: #282828;
        }

.single-book-box .post-detail {
    background-color: #fff;
    display: inline-block;
    position: absolute;
    /*right: -10px;*/
    /*width: 567px;*/
    padding: 15px 30px;
    top: 50%;
    transform: translateY(-50%);
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) and (max-width: 1080px) {
    .single-book-box .post-detail {
        -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.07);
        -moz-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.07);
        box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.07);
    }
}

@media (max-width: 767px) {
    .single-book-box .post-detail {
        display: block;
        position: relative;
        right: 0;
        width: 100%;
        padding: 30px 15px;
        top: 0;
        transform: none;
    }
}

.single-book-box .post-detail .btn {
    color: #fff;
    padding: 11px 28px;
    font-size: 1rem;
    line-height: 16px;
    margin-top: 19px;
}

.single-book-box:hover .books-social-sharing {
    opacity: 1;
}

.single-book-box:hover .optional-links {
    opacity: 1;
}

.single-book-box:hover .post-detail {
    -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.07);
    -moz-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.07);
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.07);
}

.book-list-icon {
    background-image: url(/files/img/book-list-icons.png);
    background-repeat: no-repeat;
    height: 55px;
    left: -10px;
    padding: 14px 13px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: opacity 0.5s ease 0s;
    -o-transition: opacity 0.5s ease 0s;
    transition: opacity 0.5s ease 0s;
    -moz-transition: opacity 0.5s ease 0s 0.3s ease-in-out;
    -ms-transition: opacity 0.5s ease 0s 0.3s ease-in-out;
    -o-transition: opacity 0.5s ease 0s 0.3s ease-in-out;
    transition: opacity 0.5s ease 0s 0.3s ease-in-out;
    -webkit-transition: opacity 0.5s ease 0s 0.3s ease-in-out;
    width: 60px;
}

@media (max-width: 767px) {
    .book-list-icon {
        left: -5px;
        top: -5px;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.yellow-icon {
    background-color: #f9b81e;
    background-position: -5px 15px;
}

.light-green-icon {
    background-color: #84bb45;
    background-position: -75px 15px;
}

.blue-icon {
    background-color: #00adef;
    background-position: -145px 15px;
}

.red-icon {
    background-color: #f56363;
    background-position: -215px 15px;
}

.green-icon {
    background-color: #43c5b9;
    background-position: -286px 15px;
}

@media (min-width: 768px) {
    .single-book-img {
        width: 300px;
        height: 465px;
    }
}

/*display grid*/
.book-grid figure {
    border: 5px solid #f3f3f3;
}

    .book-grid figure:hover img {
        border: 0;
        transform: scale(1.027);
        transition: all 1s ease;
    }

.red-icon {
    background-image: url(/files/img/book-list-icons.png);
    background-repeat: no-repeat;
    width: 55px;
    height: 55px;
    left: 15px;
    padding: 14px 13px;
    position: absolute;
    top: 0;
    background-color: #f56363;
    background-position: -215px 15px;
}

figure figcaption {
    background-color: #fff;
    bottom: 0;
    left: 0;
    padding: 15px 14px 18px;
    position: absolute;
    transform: scaleX(1);
    transform-origin: left center 0;
    transition: all 0.4s linear 0s;
    width: 100%;
    z-index: 15;
}

.book-grid figure:hover figcaption {
    transform: scaleX(0);
}

.book-box {
    display: block;
    border: none;
    margin-bottom: 0;
    transition: all 0.1s ease-in-out 0s;
    top: 20%;
    background-color: white;
    left: 33px;
    z-index: 9999;
    border: 5px solid #f3f3f3;
    padding: 30px;
}

@media (min-width: 1200px) {
    .bdcard img {
        height: 380px;
    }

    .book-grid img {
        width: 253px;
        height: 402px;
    }

    .book-box {
        opacity: 0;
        display: block;
        border: none;
        margin-bottom: 0;
        transition: none;
        top: 20%;
        background-color: white;
        left: 20%;
        z-index: 9999;
        border: 5px solid #f3f3f3;
        padding: 30px;
        position: absolute;
        width: 320px;
    }

    .book-grid figure:hover .book-box {
        opacity: 1;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .book-box {
        box-shadow: 0 0 14px 0 rgb(0 0 0 / 7%);
    }
}

.page-item .pre-btn {
    background-color: white;
    border: 0;
    left: 0;
}

.page-item .next-btn {
    background-color: white;
    border: 0;
    right: 0;
}

.pagination a {
    cursor: pointer;
}

    .pagination a.active {
        color: #fff !important;
        background-color: #ff7236 !important;
        border-color: #ff7236 !important;
    }

.book-link {
    color: #282828;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

    .book-link:hover {
        color: #ff7236;
    }
