*, *::before, *::after {
    box-sizing: border-box;
}

ul[class], ol[class] {
    padding: 0;
}

body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd {
    margin: 0;
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

ul[class], ol[class] {
    list-style: none;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img {
    max-width: 100%;
    display: block;
}

article > * + * {
    margin-top: 1em;
}

input, button, textarea, select {
    font: inherit;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: "open_sansregular";
}

h3 {
    font-family: "open_sansbold";
    font-size: 24px;
}

p {
    text-align: justify;
    margin: 5px 0 15px;
}

address {
    font-style: normal;
    font-size: 13px;
    margin-bottom: 30px;
    line-height: 24px;
}

.hamburger, .btn-mobile-search {
    display: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.common-template {
    padding-bottom: 60px;
}

.menu-wrapper {
    width: 100%;
    height: auto;
    padding: 0;
    margin-bottom: 30px;
}

    .menu-wrapper .container {
        background: #f0eded;
        border-radius: 5px;
    }

.megamenu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 9;
    max-height: 1500px;
    background: #ffffff;
    display: none;
}

    .megamenu ul {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

        .megamenu ul li {
            width: 20%;
            display: flex;
            flex-direction: row;
        }

            .megamenu ul li span {
                font-size: 13px;
            }

    .megamenu.open {
        display: block;
    }

.topbar-wrapper {
    padding: 5px 10px;
    background-color: #f0eded;
}

    .topbar-wrapper .topbar {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

        .topbar-wrapper .topbar .online {
            display: flex;
            flex-direction: column;
            flex: 1;
            justify-content: center;
            font-family: "open_sansbold";
        }

        .topbar-wrapper .topbar .telephone {
            display: flex;
            flex-direction: column;
            flex: 1;
            justify-content: center;
            font-family: "open_sansbold";
            align-items: center;
        }

        .topbar-wrapper .topbar .authentication {
            display: flex;
            flex-direction: right;
            justify-content: flex-end;
            flex-direction: row;
            font-size: 15px;
            font-size: 13px;
            justify-content: center;
        }

            .topbar-wrapper .topbar .authentication a {
                color: #d71923;
                text-decoration: none;
                padding: 0 12px;
            }

                .topbar-wrapper .topbar .authentication a:last-child {
                    padding-right: 0;
                    border-left: 1px solid #d71923;
                }

            .topbar-wrapper .topbar .authentication .signin-signup {
                display: flex;
                align-items: center;
            }

.header-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

    .header-top .middlebar {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

        .header-top .middlebar .slogan {
            flex: 1;
            padding-left: 30px;
        }

        .header-top .middlebar .logo {
            padding: 20px 0;
            display: flex;
            flex-direction: column;
        }

        .header-top .middlebar .cart {
            display: flex;
            flex-direction: row;
            align-items: center;
            position: relative;
            padding: 5px 0;
        }

            .header-top .middlebar .cart a {
                display: flex;
                flex-direction: row;
                text-decoration: none;
            }

            .header-top .middlebar .cart:hover .wrapp-minicart {
                max-height: 500px;
                height: auto;
                opacity: 1;
                top: 33px;
            }

            .header-top .middlebar .cart .icon {
                display: flex;
                flex-direction: column;
                width: 28px;
                height: 24px;
                background: url("../images/icon.png");
                background-repeat: no-repeat;
                background-size: auto 200px;
                background-position: -23px -38px;
            }

            .header-top .middlebar .cart .wrapp-minicart {
                position: absolute;
                top: 43px;
                right: 0;
                width: 380px;
                height: 0;
                overflow: hidden;
                display: flex;
                flex-direction: column;
                border: #8a8a8a 1px solid;
                background: white;
                z-index: 1;
                opacity: 0;
                -webkit-transition: all 0.5s ease;
                -moz-transition: all 0.5s ease;
                -o-transition: all 0.5s ease;
                transition: all 0.5s ease;
                font-size: 13px;
                border-radius: 5px;
            }

                .header-top .middlebar .cart .wrapp-minicart .minicart-padding {
                    padding: 0;
                    box-shadow: 0 0px 9px 0 rgba(0,0,0,0.4), 0 0px 10px 0 rgba(0,0,0,0.4);
                    line-height: 40px;
                }

                    .header-top .middlebar .cart .wrapp-minicart .minicart-padding .checkout-link a {
                        color: #d71923;
                    }

                    .header-top .middlebar .cart .wrapp-minicart .minicart-padding .cart-link a {
                        color: #d71923;
                    }

                    .header-top .middlebar .cart .wrapp-minicart .minicart-padding .books-listing {
                        box-sizing: border-box;
                    }

                        .header-top .middlebar .cart .wrapp-minicart .minicart-padding .books-listing .item {
                            padding: 0 20px;
                            display: flex;
                            flex-direction: row;
                            box-sizing: border-box;
                        }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .books-listing .item:nth-child(even) {
                                background-color: #f0eded;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .books-listing .item .bookname {
                                width: 50%;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .books-listing .item .quantity {
                                width: 20%;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .books-listing .item .price {
                                width: 30%;
                                display: flex;
                                justify-content: flex-end;
                            }

                    .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary {
                        background-color: #f0eded;
                        padding: 10px;
                    }

                        .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary .row-1 {
                            display: flex;
                            flex-direction: row;
                            border: 1px solid #8a8a8a;
                            line-height: 30px;
                        }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary .row-1 .total-item {
                                width: 50%;
                                border-right: 1px solid #8a8a8a;
                                padding: 0 10px;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary .row-1 .total-count {
                                width: 50%;
                                display: flex;
                                justify-content: flex-end;
                                padding: 0 10px;
                            }

                        .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary .row-2 {
                            display: flex;
                            flex-direction: row;
                            border: 1px solid #8a8a8a;
                            border-top: 0;
                            line-height: 30px;
                        }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary .row-2 .total {
                                width: 50%;
                                border-right: 1px solid #8a8a8a;
                                padding: 0 10px;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .minicart-padding .summary .row-2 .total-price {
                                width: 50%;
                                display: flex;
                                justify-content: flex-end;
                                padding: 0 10px;
                            }

                .header-top .middlebar .cart .wrapp-minicart .cartheader {
                    padding: 0 20px;
                    background: #f0eded;
                    color: #ffffff;
                    border-radius: 5px 5px 0 0;
                }

                    .header-top .middlebar .cart .wrapp-minicart .cartheader ul {
                        display: flex;
                        flex-direction: row;
                        list-style: none;
                        justify-content: flex-end;
                        margin: 0;
                        padding: 0;
                    }

                        .header-top .middlebar .cart .wrapp-minicart .cartheader ul li {
                            padding-left: 30px;
                            position: relative;
                            font-size: 12px;
                            margin-right: 10px;
                        }

                            .header-top .middlebar .cart .wrapp-minicart .cartheader ul li a {
                                color: #8a8a8a;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .cartheader ul li.viewcart:before {
                                content: "";
                                display: flex;
                                flex-direction: column;
                                width: 20px;
                                height: 18px;
                                background: url(../images/icon.png);
                                background-repeat: no-repeat;
                                background-size: auto 150px;
                                background-position: -18px -28px;
                                position: absolute;
                                left: 0;
                                top: 0;
                                bottom: 0;
                                margin: auto;
                            }

                            .header-top .middlebar .cart .wrapp-minicart .cartheader ul li.checkout:before {
                                content: "";
                                display: flex;
                                flex-direction: column;
                                width: 24px;
                                height: 18px;
                                background: url(../images/icon.png);
                                background-repeat: no-repeat;
                                background-size: auto 150px;
                                background-position: -63px -28.5px;
                                position: absolute;
                                left: 0;
                                top: 0;
                                bottom: 0;
                                margin: auto;
                            }

            .header-top .middlebar .cart .amount {
                color: #d71923;
                margin-left: 7px;
            }

    .header-top .header-right {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

        .header-top .header-right .search-wrapper {
            position: relative;
            width: 430px;
        }

            .header-top .header-right .search-wrapper .search {
                width: 100%;
                height: 36px;
                background-color: #f0eded;
                columns: #8a8a8a;
                line-height: 36px;
                box-sizing: border-box;
                border: #8a8a8a 1px solid;
                padding-left: 50px;
                margin: 0;
                border-radius: 5px;
            }

            .header-top .header-right .search-wrapper .search-sugges {
                width: 100%;
                position: absolute;
                top: 36px;
                display: flex;
                flex-direction: column;
                padding: 0 10px;
                background: #ffffff;
                border: #f0eded 1px solid;
                border-radius: 0 0 5px 5px;
                z-index: 10;
                box-shadow: 0 0px 9px 0 rgba(0,0,0,0.4), 0 0px 10px 0 rgba(0,0,0,0.4);
                opacity: 0;
                -webkit-transition: all 0.5s ease;
                -moz-transition: all 0.5s ease;
                -o-transition: all 0.5s ease;
                transition: all 0.5s ease;
            }

                .header-top .header-right .search-wrapper .search-sugges > span {
                    line-height: 40px;
                    font-size: 13px;
                }

                    .header-top .header-right .search-wrapper .search-sugges > span a {
                        text-decoration: none;
                        color: #000000;
                    }

                .header-top .header-right .search-wrapper .search-sugges.active {
                    opacity: 1;
                }

            .header-top .header-right .search-wrapper .icon {
                width: 23px;
                height: 23px;
                background: url("../images/icon.png");
                background-repeat: no-repeat;
                background-size: auto 200px;
                position: absolute;
                top: 0;
                bottom: 0;
                left: 10px;
                z-index: 1;
                margin: auto;
                background-position: 0 -38px;
            }

.social-icons-wrapper {
    display: flex;
    flex: 1;
    justify-content: center;
}

    .social-icons-wrapper ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-right: 10px;
    }

        .social-icons-wrapper ul li {
            display: flex;
            margin: 0 5px;
        }

            .social-icons-wrapper ul li a {
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
            }

.social-icons {
    display: flex;
    flex-direction: row;
}

    .social-icons li {
        width: 30px;
        height: 30px;
        background: url("../images/icon.png");
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        background-position: top left;
        background-size: auto 158px;
    }

        .social-icons li.fb {
            background-position: -90px 0;
        }

        .social-icons li.insta {
            background-position: -30px 0;
        }

        .social-icons li.twitter {
            background-position: -60px 0;
        }

        .social-icons li.youtube {
            background-position: -150px 0;
        }

        .social-icons li.pintrest {
            background-position: -120px 0;
        }

.menu {
    display: flex;
    flex-direction: row;
}

    .menu menu {
        margin: 0;
        padding: 0;
        display: flex;
        flex: 1;
        position: relative;
    }

        .menu menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: row;
        }

            .menu menu ul li {
                position: relative;
            }

                .menu menu ul li > a {
                    display: flex;
                    flex-direction: column;
                    text-decoration: none;
                    color: #000000;
                    padding: 3px 22px;
                    -webkit-transition: all 0.5s ease;
                    -moz-transition: all 0.5s ease;
                    -o-transition: all 0.5s ease;
                    transition: all 0.5s ease;
                    text-align: center;
                }

                    .menu menu ul li > a .english {
                        font-size: 16px;
                        font-family: "open_sanssemibold";
                    }

                    .menu menu ul li > a .sinhala {
                        font-size: 12px;
                        font-family: "abhaya_libre_semiboldregular";
                    }

                    .menu menu ul li > a:hover {
                        background: #ec5159;
                        color: #ffffff;
                    }

                .menu menu ul li:hover .submenu {
                    display: flex;
                }

                .menu menu ul li:hover > a {
                    background: #ec5159;
                    color: #ffffff;
                }

                .menu menu ul li .submenu {
                    position: absolute;
                    top: 47px;
                    left: 0;
                    z-index: 11;
                    display: none;
                    flex-direction: column;
                    background: #d71923;
                    -webkit-transition: all 0.5s ease;
                    -moz-transition: all 0.5s ease;
                    -o-transition: all 0.5s ease;
                    transition: all 0.5s ease;
                }

                    .menu menu ul li .submenu li {
                        width: 150px;
                        display: flex;
                        flex-direction: column;
                    }

                        .menu menu ul li .submenu li a {
                            padding: 7px 22px;
                            color: #ffffff;
                            text-align: left;
                        }

                            .menu menu ul li .submenu li a .english {
                                font-size: 14px;
                            }

                .menu menu ul li.active a {
                    background: #d71923;
                    color: #ffffff;
                }

                .menu menu ul li.active:first-child a {
                    border-radius: 5px 0 0 5px;
                }

.slider {
    width: 100%;
    overflow: hidden;
    height: 300px;
    margin-bottom: 30px;
}

    .slider .homeslider {
        height: 100%;
    }

        .slider .homeslider img {
            width: 100%;
            height: auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .slider .homeslider .slick-slide {
            height: auto !important;
            outline: none;
        }

    .slider .slick-dots {
        padding: 7px 0;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0,0,0,0.2);
    }

        .slider .slick-dots li {
            width: 12px;
            height: 12px;
            padding: 0;
        }

            .slider .slick-dots li button {
                width: 100%;
                height: 100%;
                border-radius: 50%;
                background-color: #ffffff;
                padding: 0;
                text-indent: -999px;
            }

            .slider .slick-dots li.slick-active button {
                background-color: #d71923;
            }

    .slider .slick-arrow {
        border: solid #8a8a8a;
        border-width: 0 8px 8px 0;
        display: inline-block;
        padding: 3px;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .slider .slick-next {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        right: 15px;
        z-index: 5;
    }

    .slider .slick-prev {
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        left: 15px;
        z-index: 5;
    }

.slick-prev:before, .slick-next:before {
    font-size: 0;
}

.slick-next.slick-disabled, .slick-prev.slick-disabled {
    opacity: 0;
}

.slick-list {
    width: 100%;
}

.bookcat-col {
    margin-bottom: 30px;
    padding: 20px 30px;
    border: 1px solid #f0eded;
    border-radius: 5px;
    box-shadow: 0 0px 9px 0 rgba(0,0,0,0.05), 0 0px 10px 0 rgba(0,0,0,0.05);
    background: #f7f7f7;
}

    .bookcat-col h3 {
        text-align: left;
        font-size: 24px;
        cursor: pointer;
        width: 100%;
        position: relative;
    }

        .bookcat-col h3.acordian-tab:before {
            width: 30px;
            height: 30px;
            position: absolute;
            content: "";
            right: 30px;
            top: 0;
            bottom: 0;
            margin: auto;
            background-image: url("../images/icon.png");
            background-repeat: no-repeat;
            background-size: auto 200px;
            background-position: -30px -90px;
        }

        .bookcat-col h3.acordian-tab a {
            color: #000000;
            text-decoration: none;
        }

    .bookcat-col .book-overview {
        max-height: 0;
        display: flex;
        flex-direction: row;
        width: 100%;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        overflow: hidden;
        justify-content: center;
    }

        .bookcat-col .book-overview .slick-track {
            height: 100%;
        }

        .bookcat-col .book-overview .item {
            justify-content: center;
            display: flex;
            flex-wrap: wrap;
            flex-flow: column;
            align-items: center;
            text-align: center;
            outline: none;
            flex: 0 0 25%;
            padding: 0 15px;
            cursor: pointer;
            padding-bottom: 20px;
        }

            .bookcat-col .book-overview .item .item-inner {
                width: 100%;
                height: 100%;
                border: 1px solid #8a8a8a;
                border-radius: 8px;
                position: relative;
                padding: 20px;
                display: flex;
                flex-wrap: wrap;
                flex-flow: column;
                align-items: center;
                -webkit-transition: all 0.5s ease;
                -moz-transition: all 0.5s ease;
                -o-transition: all 0.5s ease;
                transition: all 0.5s ease;
                box-shadow: 0 5px 8px rgba(0,0,0,0.1);
            }

                .bookcat-col .book-overview .item .item-inner:hover:before {
                    content: "";
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background: rgba(255,255,255,0.4);
                    z-index: 2;
                    box-shadow: 0 5px 8px rgba(0,0,0,0.6);
                    border-radius: 8px;
                }

                .bookcat-col .book-overview .item .item-inner:hover .addto-cart {
                    display: block;
                    opacity: 1;
                    bottom: 30px;
                }

                .bookcat-col .book-overview .item .item-inner:hover .price, .bookcat-col .book-overview .item .item-inner:hover .discount-price {
                    opacity: 0;
                }

                .bookcat-col .book-overview .item .item-inner:hover .viewmore-discprice {
                    opacity: 1;
                    top: 0;
                }

            .bookcat-col .book-overview .item .viewmore-discprice {
                -webkit-transition: all 0.7s ease;
                -moz-transition: all 0.7s ease;
                -o-transition: all 0.7s ease;
                transition: all 0.7s ease;
                position: absolute;
                left: 0;
                top: 100px;
                right: 0;
                bottom: 0;
                height: 0;
                z-index: 3;
                opacity: 0;
                margin: auto;
            }

                .bookcat-col .book-overview .item .viewmore-discprice .discounted-price {
                    padding: 5px 10px;
                    color: #ffffff;
                    background: #d71923;
                    border-radius: 5px;
                    font-family: "open_sansbold";
                    font-size: 15px;
                    width: max-content;
                    margin: auto;
                }

                .bookcat-col .book-overview .item .viewmore-discprice .viewmore {
                    width: 50px;
                    height: 50px;
                    background-image: url("../images/icon.png");
                    background-repeat: no-repeat;
                    background-size: auto 200px;
                    background-position: 0px -130px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin: auto;
                    margin-bottom: 7px;
                }

            .bookcat-col .book-overview .item .addto-cart {
                width: 200px;
                position: absolute;
                left: 0;
                right: 0;
                bottom: 20px;
                margin: auto;
                z-index: 3;
                -webkit-transition: all 0.5s ease;
                -moz-transition: all 0.5s ease;
                -o-transition: all 0.5s ease;
                transition: all 0.5s ease;
                opacity: 0;
            }

            .bookcat-col .book-overview .item .discount-pers {
                width: 100px;
                height: 100px;
                background: url("../images/discount.png");
                position: absolute;
                top: -1px;
                left: -1px;
                z-index: 1;
                background-position: top left;
                background-size: auto 100px;
                font-size: 16px;
                font-family: "open_sansbold";
                color: #ffffff;
                text-align: left;
                padding: 10px 0 0 13px;
                box-sizing: border-box;
                background-repeat: no-repeat;
            }

            .bookcat-col .book-overview .item .book-name-author {
                height: 45px;
            }

                .bookcat-col .book-overview .item .book-name-author .name {
                    height: 22px;
                    line-height: 17px;
                    color: #02ace6;
                }

                .bookcat-col .book-overview .item .book-name-author .author {
                    height: 22px;
                    line-height: 17px;
                }

                .bookcat-col .book-overview .item .book-name-author .sinhala {
                    font-family: "abhaya_libreregular";
                    font-size: 14px;
                }

                .bookcat-col .book-overview .item .book-name-author .english {
                    font-size: 14px;
                    font-family: "open_sansbold";
                }

            .bookcat-col .book-overview .item .book-image {
                margin-bottom: 20px;
                height: 180px;
                display: flex;
                flex-direction: column;
                position: relative;
                padding: 0;
                box-shadow: 0 0px 9px 0 rgba(0,0,0,0.2), 0 0px 10px 0 rgba(0,0,0,0.19);
            }

                .bookcat-col .book-overview .item .book-image img {
                    width: auto;
                    height: 100%;
                }

                .bookcat-col .book-overview .item .book-image .ribbon span {
                    font-size: 14px;
                }

                .bookcat-col .book-overview .item .book-image .ribbon-top-left span {
                    right: -16px;
                }

                .bookcat-col .book-overview .item .book-image .ribbon-top-left:before {
                    top: 10px;
                    right: 23px;
                }

                .bookcat-col .book-overview .item .book-image .ribbon-top-left:after {
                    bottom: 14px;
                    left: 0;
                }

            .bookcat-col .book-overview .item .category {
                margin-top: 10px;
                height: 58px;
            }

                .bookcat-col .book-overview .item .category .cat-name {
                    font-family: "open_sanssemibold";
                    background: #d71923;
                    font-size: 10px;
                    height: 20px;
                    border-radius: 10px;
                    line-height: 20px;
                    padding: 0 15px;
                    color: #ffffff;
                    display: inline-flex;
                }

            .bookcat-col .book-overview .item .price {
                -webkit-transition: all 0.7s ease;
                -moz-transition: all 0.7s ease;
                -o-transition: all 0.7s ease;
                transition: all 0.7s ease;
                font-size: 15px;
                font-family: "open_sansbold";
            }

                .bookcat-col .book-overview .item .price.hasdiscount {
                    text-decoration: line-through;
                    color: #6e6e6e;
                }

            .bookcat-col .book-overview .item .discount-price {
                -webkit-transition: all 0.7s ease;
                -moz-transition: all 0.7s ease;
                -o-transition: all 0.7s ease;
                transition: all 0.7s ease;
                font-size: 18px;
                font-family: "open_sansbold";
                color: #f75326;
                opacity: 1;
            }

        .bookcat-col .book-overview .slick-arrow {
            -webkit-transition: all 0.5s ease;
            -moz-transition: all 0.5s ease;
            -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
        }

        .bookcat-col .book-overview .slick-arrow {
            border: solid #8a8a8a;
            border-width: 0 8px 8px 0;
            display: inline-block;
            padding: 3px;
            top: 0;
            bottom: 0;
            margin: auto;
        }

        .bookcat-col .book-overview .slick-next {
            transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
            right: -10px;
            z-index: 5;
        }

        .bookcat-col .book-overview .slick-prev {
            transform: rotate(135deg);
            -webkit-transform: rotate(135deg);
            left: -10px;
            z-index: 5;
        }

    .bookcat-col.active h3:before {
        background-position: 0 -90px;
    }

    .bookcat-col.active .book-overview {
        max-height: 600px;
        height: auto;
        margin-top: 20px;
        overflow: initial;
    }

    .bookcat-col #searchedBooks, .bookcat-col #searchedAuthors {
        display: block;
    }

        .bookcat-col #searchedBooks .item, .bookcat-col #searchedAuthors .item {
            display: flex;
            flex-wrap: wrap;
            float: left;
            margin-bottom: 30px;
            padding-bottom: 0;
        }

.find-more a {
    color: #d71923;
    text-decoration: none;
    font-family: "open_sanssemibold";
    float: right;
    margin-top: 20px;
}

.rating {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

    .rating .starbox {
        width: 143px;
        height: 24px;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 5;
        display: flex;
        flex-direction: row;
    }

        .rating .starbox > div {
            width: 20%;
            height: 24px;
            cursor: pointer;
        }

    .rating .stars {
        width: 143px;
        height: 24px;
        background-image: url("../images/stars.png");
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: auto 48px;
        position: relative;
    }

        .rating .stars:before {
            height: 24px;
            position: absolute;
            background-image: url("../images/stars.png");
            background-repeat: no-repeat;
            background-size: auto 48px;
            left: 0;
            top: 0;
            background-position: left top;
            content: "";
        }

        .rating .stars[data-rating="1"]:before {
            width: 28px;
        }

        .rating .stars[data-rating="2"]:before {
            width: 56px;
        }

        .rating .stars[data-rating="3"]:before {
            width: 84px;
        }

        .rating .stars[data-rating="4"]:before {
            width: 112px;
        }

        .rating .stars[data-rating="5"]:before {
            width: 140px;
        }

.btn-common {
    padding: 10px 20px;
    background: #d71923;
    color: #ffffff;
    font-family: "open_sansbold";
    text-transform: uppercase;
    font-size: 14px;
    margin: 10px 0;
    cursor: pointer;
    position: relative;
    border: 0;
    border-radius: 5px;
}

.remove-from-cart {
    padding: 0;
    height: 30px;
    width: 30px;
    color: #ffffff;
    font-family: "open_sansbold";
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    border: 0;
    opacity: 0;
}

    .remove-from-cart input[type="button"] {
        outline: none;
    }

.addto-cart {
    padding: 10px 40px 10px 20px;
    background: #d71923;
    color: #ffffff;
    font-family: "open_sansbold";
    text-transform: uppercase;
    font-size: 14px;
    margin: 10px 0;
    cursor: pointer;
    position: relative;
}

    .addto-cart:before {
        content: "";
        width: 24px;
        height: 17px;
        background: url(../images/icon.png);
        background-repeat: no-repeat;
        background-size: auto 150px;
        background-position: -37px -29px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 10px;
        margin: auto;
    }

.about-offers {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-left: -15px;
    margin-right: -15px;
}

    .about-offers h2 {
        color: #d71923;
        font-family: "open_sansbold";
        font-size: 30px;
    }

    .about-offers .about {
        width: 50%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

        .about-offers .about .block {
            display: flex;
            flex-direction: row;
            margin-top: 30px;
        }

            .about-offers .about .block .logo {
                width: 25%;
                display: inline-block;
            }

                .about-offers .about .block .logo img {
                    width: 100%;
                    height: auto;
                }

            .about-offers .about .block .about-text {
                width: 70%;
                padding-left: 5%;
            }

    .about-offers .offers {
        width: 50%;
        padding: 15px;
        box-sizing: border-box;
        border: 1px solid #8a8a8a;
        border-radius: 8px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        padding: 20px;
        margin-bottom: 30px;
        box-shadow: 0 5px 8px rgba(0,0,0,0.1);
        cursor: pointer;
        position: relative;
    }

        .about-offers .offers:hover {
            box-shadow: 0 5px 8px rgba(0,0,0,0.6);
        }

        .about-offers .offers h2 {
            font-family: "open_sansbold";
            text-transform: uppercase;
        }

        .about-offers .offers .item {
            justify-content: center;
            display: flex;
            flex-flow: column;
            align-items: center;
            text-align: center;
            outline: none;
            flex: 1;
        }

            .about-offers .offers .item .book-name-author {
                height: 45px;
            }

                .about-offers .offers .item .book-name-author .name {
                    height: 22px;
                    line-height: 17px;
                    color: #02ace6;
                }

                .about-offers .offers .item .book-name-author .author {
                    height: 22px;
                    line-height: 17px;
                }

                .about-offers .offers .item .book-name-author .sinhala {
                    font-family: "abhaya_libreregular";
                    font-size: 14px;
                }

                .about-offers .offers .item .book-name-author .english {
                    font-size: 14px;
                    font-family: "open_sansbold";
                }

            .about-offers .offers .item .category {
                margin-top: 10px;
                height: 58px;
            }

                .about-offers .offers .item .category .cat-name {
                    font-family: "open_sanssemibold";
                    background: #d71923;
                    font-size: 10px;
                    height: 20px;
                    border-radius: 10px;
                    line-height: 20px;
                    padding: 0 15px;
                    color: #fff;
                    display: inline-flex;
                    margin: 4px;
                }

            .about-offers .offers .item .price {
                font-size: 15px;
                font-family: "open_sansbold";
            }

    .about-offers .book-item {
        display: flex;
        flex-direction: row;
        padding-top: 30px;
        outline: none;
        position: relative;
    }

        .about-offers .book-item:hover:before {
            content: "";
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background: rgba(255,255,255,0.4);
            z-index: 1;
            border-radius: 8px;
        }

        .about-offers .book-item:hover .addto-cart {
            opacity: 1;
            bottom: 30px;
        }

        .about-offers .book-item:hover .price, .about-offers .book-item:hover .discount-price {
            opacity: 0;
        }

        .about-offers .book-item:hover .viewmore-discprice {
            opacity: 1;
            top: -140px;
        }

        .about-offers .book-item .book {
            position: relative;
            margin-left: 12px;
        }

            .about-offers .book-item .book .slick-track {
                margin: initial;
            }

        .about-offers .book-item .viewmore-discprice {
            -webkit-transition: all 0.7s ease;
            -moz-transition: all 0.7s ease;
            -o-transition: all 0.7s ease;
            transition: all 0.7s ease;
            position: absolute;
            left: 0;
            top: 100px;
            right: 0;
            bottom: 0;
            height: 0;
            z-index: 3;
            opacity: 0;
            margin: auto;
        }

            .about-offers .book-item .viewmore-discprice .discounted-price {
                padding: 5px 10px;
                color: #ffffff;
                background: #d71923;
                border-radius: 5px;
                font-family: "open_sansbold";
                font-size: 15px;
                width: max-content;
                margin: auto;
            }

            .about-offers .book-item .viewmore-discprice .viewmore {
                width: 50px;
                height: 50px;
                background-image: url("../images/icon.png");
                background-repeat: no-repeat;
                background-size: auto 200px;
                background-position: 0px -130px;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: auto;
                margin-bottom: 7px;
            }

        .about-offers .book-item .price {
            -webkit-transition: all 0.7s ease;
            -moz-transition: all 0.7s ease;
            -o-transition: all 0.7s ease;
            transition: all 0.7s ease;
            font-size: 15px;
            font-family: "open_sansbold";
        }

            .about-offers .book-item .price.hasdiscount {
                text-decoration: line-through;
                color: #6e6e6e;
            }

        .about-offers .book-item .discount-price {
            -webkit-transition: all 0.7s ease;
            -moz-transition: all 0.7s ease;
            -o-transition: all 0.7s ease;
            transition: all 0.7s ease;
            font-size: 18px;
            font-family: "open_sansbold";
            color: #f75326;
            opacity: 1;
        }

        .about-offers .book-item .addto-cart {
            width: 200px;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 20px;
            margin: auto;
            z-index: 3;
            -webkit-transition: all 0.5s ease;
            -moz-transition: all 0.5s ease;
            -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
            opacity: 0;
        }

.bestoffers-slider {
    padding: 0 20px;
}

    .bestoffers-slider .slick-dots {
        padding: 20px 0;
        position: absolute;
        bottom: -40px;
        left: 0;
        z-index: 2;
    }

        .bestoffers-slider .slick-dots li {
            width: 12px;
            height: 12px;
            padding: 0;
        }

            .bestoffers-slider .slick-dots li button {
                width: 100%;
                height: 100%;
                border-radius: 50%;
                background-color: #8a8a8a;
                padding: 0;
                text-indent: -999px;
            }

            .bestoffers-slider .slick-dots li.slick-active button {
                background-color: #d71923;
            }

    .bestoffers-slider .slick-arrow {
        border: solid #8a8a8a;
        border-width: 0 8px 8px 0;
        display: inline-block;
        padding: 3px;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .bestoffers-slider .slick-next {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        right: 0;
        z-index: 5;
    }

    .bestoffers-slider .slick-prev {
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        left: 0;
        z-index: 5;
    }

.ribbon {
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: absolute;
}

    .ribbon::before, .ribbon::after {
        position: absolute;
        z-index: -1;
        content: "";
        display: block;
        border: 5px solid #881116;
    }

    .ribbon span {
        position: absolute;
        display: block;
        width: 185px;
        padding: 7px 0;
        background-color: #d71923;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        color: #fff;
        font: 700 18px/1 "Lato", sans-serif;
        text-shadow: 0 1px 1px rgba(0,0,0,0.2);
        text-transform: uppercase;
        text-align: center;
    }

.ribbon-top-left {
    top: -10px;
    left: -10px;
}

    .ribbon-top-left::before, .ribbon-top-left::after {
        border-top-color: transparent;
        border-left-color: transparent;
    }

    .ribbon-top-left::before {
        top: 0;
        right: 0;
    }

    .ribbon-top-left::after {
        bottom: 0;
        left: 0;
    }

    .ribbon-top-left span {
        right: -25px;
        top: 30px;
        transform: rotate(-45deg);
    }

.featured-service .features {
    display: flex;
    flex-direction: row;
    background: #d71923;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 5px;
    box-sizing: border-box;
}

    .featured-service .features .feature {
        display: flex;
        flex: 1;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

        .featured-service .features .feature .icon {
            display: flex;
            flex-direction: column;
            width: 60px;
            height: 60px;
            overflow: hidden;
            background-image: url("../images/icon.png");
            background-repeat: no-repeat;
            background-size: auto 295px;
        }

        .featured-service .features .feature .text {
            padding: 0 20px;
            font-size: 15px;
            font-family: "open_sansbold";
            box-sizing: border-box;
        }

            .featured-service .features .feature .text > span {
                width: 100%;
                font-size: 20px;
                float: left;
                display: block;
                text-transform: uppercase;
            }

        .featured-service .features .feature.delivery .icon {
            background-position: -149px -133px;
        }

        .featured-service .features .feature.gift .icon {
            background-position: -217px -134px;
        }

        .featured-service .features .feature.loyality .icon {
            background-position: -275px -129px;
        }

        .featured-service .features .feature.support .icon {
            background-position: -91px -135px;
        }

.blog-wrapper {
    margin-bottom: 30px;
    display: flex;
    margin-top: 50px;
}

    .blog-wrapper h2 {
        font-size: 30px;
        font-family: "open_sansbold";
        text-transform: uppercase;
        text-align: left;
    }

    .blog-wrapper .blog {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        margin-left: -15px;
        margin-right: -15px;
        flex-wrap: wrap;
    }

        .blog-wrapper .blog .item {
            outline: none;
            padding: 15px;
            box-sizing: border-box;
            flex: 0 0 33%;
        }

            .blog-wrapper .blog .item .padded-multiline {
                line-height: 1.4;
                padding: 8px 0;
                max-width: 400px;
                width: auto;
                font-size: 24px;
                line-height: 32px;
            }

            .blog-wrapper .blog .item .image {
                height: 280px;
                background-size: cover;
                margin-bottom: 20px;
                border-radius: 10px;
            }

                .blog-wrapper .blog .item .image h3 {
                    color: #ffffff;
                }

                .blog-wrapper .blog .item .image span {
                    background: #393737;
                    color: #fff;
                    display: inline;
                    padding: 0.45rem;
                    font-size: 25px;
                    box-decoration-break: clone;
                    -webkit-box-decoration-break: clone;
                    border-radius: 10px 0 0 0;
                }

footer {
    background: #393737;
    padding: 30px 0 0;
}

    footer .footer {
        padding-bottom: 30px;
        display: flex;
        flex-direction: row;
    }

        footer .footer h3 {
            color: #ffffff;
            margin-bottom: 15px;
        }

        footer .footer .links {
            width: 60%;
        }

            footer .footer .links .links-block {
                display: flex;
                flex-direction: row;
                width: 100%;
                padding-right: 30px;
                box-sizing: border-box;
            }

                footer .footer .links .links-block .link-block-col {
                    display: flex;
                    flex-direction: column;
                    width: 33.33%;
                }

                    footer .footer .links .links-block .link-block-col ul {
                        margin-bottom: 15px;
                    }

                footer .footer .links .links-block h3 {
                    text-transform: uppercase;
                    font-size: 14px;
                    margin-bottom: 0;
                }

            footer .footer .links ul {
                width: 630px;
                list-style: none;
                padding: 0;
                margin: 0;
                height: auto;
                display: block;
                float: left;
            }

                footer .footer .links ul li {
                    width: 100%;
                    display: block;
                    float: left;
                    line-height: 25px;
                }

                    footer .footer .links ul li a {
                        color: #bfbfbf;
                        text-decoration: none;
                        font-size: 13px;
                        -webkit-transition: all 0.5s ease;
                        -moz-transition: all 0.5s ease;
                        -o-transition: all 0.5s ease;
                        transition: all 0.5s ease;
                    }

                        footer .footer .links ul li a:hover {
                            color: #ffffff;
                        }

        footer .footer .payment-method {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

            footer .footer .payment-method .payments-m {
                display: flex;
                flex-direction: row;
                margin-bottom: 30px;
            }

                footer .footer .payment-method .payments-m li {
                    display: flex;
                    flex-direction: column;
                    width: 45px;
                    height: 28px;
                    background: url("../images/icon.png");
                    background-repeat: no-repeat;
                    background-size: auto 200px;
                    background-position: 0 -62px;
                    margin-right: 10px;
                }

                    footer .footer .payment-method .payments-m li.visa {
                        background-position: -45px -62px;
                    }

                    footer .footer .payment-method .payments-m li.americanex {
                        background-position: -90px -62px;
                    }

                    footer .footer .payment-method .payments-m li.cod {
                        background-position: -135px -62px;
                    }

            footer .footer .payment-method .shipment-m {
                display: flex;
                flex-direction: row;
            }

                footer .footer .payment-method .shipment-m li {
                    color: #ffffff;
                    padding: 0 0 0 35px;
                    display: flex;
                    flex-direction: row;
                    position: relative;
                    margin-right: 15px;
                    font-size: 13px;
                }

                    footer .footer .payment-method .shipment-m li.parcel:before {
                        width: 30px;
                        height: 30px;
                        overflow: hidden;
                        background-image: url(../images/icon.png);
                        background-repeat: no-repeat;
                        background-size: auto 150px;
                        background-position: -41px -97px;
                        content: "";
                        left: 0;
                        top: 0;
                        z-index: 1;
                        position: absolute;
                    }

                    footer .footer .payment-method .shipment-m li.courier:before {
                        width: 30px;
                        height: 30px;
                        overflow: hidden;
                        background-image: url(../images/icon.png);
                        background-repeat: no-repeat;
                        background-size: auto 150px;
                        background-position: -75px -68px;
                        content: "";
                        left: 0;
                        top: 0;
                        z-index: 1;
                        position: absolute;
                    }

        footer .footer .social-share {
            display: flex;
            flex-direction: column;
            margin-left: 30px;
        }

            footer .footer .social-share h3 {
                text-align: right;
            }

            footer .footer .social-share .social-icons {
                display: flex;
                flex-direction: row;
            }

                footer .footer .social-share .social-icons li {
                    width: 38px;
                    height: 38px;
                    background: url("../images/icon.png");
                    background-repeat: no-repeat;
                    display: flex;
                    flex-direction: column;
                    background-position: top left;
                    background-size: auto 200px;
                    margin: 0 0 0 10px;
                }

                    footer .footer .social-share .social-icons li a {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                    }

                    footer .footer .social-share .social-icons li.fb {
                        background-position: -114px 0;
                    }

                    footer .footer .social-share .social-icons li.insta {
                        background-position: -38px 0;
                    }

                    footer .footer .social-share .social-icons li.twitter {
                        background-position: -76px 0;
                    }

                    footer .footer .social-share .social-icons li.youtube {
                        background-position: -190px 0;
                    }

    footer .footer-note {
        background: #272727;
        padding: 20px 0;
        color: #ffffff;
        text-align: center;
        font-size: 12px;
    }

.registration-form, .login-form {
    padding: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    float: none;
    margin: 50px auto;
    border: 1px solid #f0eded;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

    .registration-form a, .login-form a {
        color: #d71923;
        font-size: 14px;
        text-decoration: none;
    }

    .registration-form .form-group, .login-form .form-group {
        position: relative;
        width: 100%;
        height: auto;
        float: left;
        display: block;
    }

    .registration-form .eye-icon, .login-form .eye-icon {
        width: 38px;
        height: 38px;
        background: url("../images/icon.png");
        background-repeat: no-repeat;
        background-size: auto 130px;
        background-position: -58px -85px;
        position: absolute;
        right: 10px;
        bottom: 2px;
        z-index: 1;
        cursor: pointer;
    }

#password-strength-status {
    width: 100%;
    height: auto;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    font-size: 13px;
    border-radius: 5px;
}

.password-hint {
    font-size: 13px;
    width: 200px;
    height: auto;
    position: absolute;
    left: 346px;
    top: 26px;
    z-index: 2;
    background: #ffffff;
    padding: 5px;
    border: #8a8a8a 1px solid;
    display: none;
}

.strong-password {
    border: #0f7e00 1px solid;
    background: #aeffa3;
    color: #0f7e00;
    margin-bottom: 10px;
}

.weak-password {
    background-color: #f8d7da;
    color: #721c24;
    border: #721c24 1px solid;
    margin-bottom: 10px;
}

.medium-password {
    background-color: #ffe6c2;
    color: #ff9600;
    border: #ff9600 1px solid;
    margin-bottom: 10px;
}

.registration-form .eye-icon {
    bottom: 15px;
}

.text-danger {
    padding: 15px;
    font-size: 13px;
    margin-bottom: 10px;
}

    .text-danger.validation-summary-errors {
        background-color: #f8d7da;
        color: #721c24;
        border: #721c24 1px solid;
    }

    .text-danger ul {
        padding: 0;
        margin: 0;
    }

        .text-danger ul li {
            list-style: none;
        }

.error {
    font-size: 13px;
    color: #d71923;
    margin-bottom: 10px;
    display: block;
}

.login-form hr {
    margin-bottom: 20px;
}

.login-form .control-label {
    margin-top: 10px;
}

.login-form .text-danger {
    padding: 0;
    width: 100%;
}

    .login-form .text-danger > span {
        padding: 0;
        color: #d71923;
        margin-bottom: 10px;
        width: 100%;
    }

.login-form input[type="text"], .login-form input[type="password"] {
    margin-bottom: 0;
}

.login-form .rememberme {
    margin-top: 10px;
    float: left;
    width: 100%;
    display: block;
}

.control-label {
    font-size: 14px;
    padding: 0;
}

input[type="text"], input[type="password"], input[type="number"] {
    width: 100%;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
    margin-bottom: 15px;
    margin-top: 7px;
    box-sizing: border-box;
    padding: 0 15px;
}

input[type="submit"] {
    padding: 10px 30px 10px 30px;
    background: #d71923;
    color: #fff;
    font-family: "open_sansbold";
    text-transform: uppercase;
    font-size: 14px;
    margin: 10px 0;
    cursor: pointer;
    border: 0;
}

    input[type="submit"]:hover {
        background-color: #9c0911;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    }

textarea {
    width: 100%;
    height: 120px;
    margin-top: 7px;
    padding: 15px;
    margin-bottom: 15px;
}

select {
    width: 50%;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
    margin-bottom: 15px;
    margin-top: 7px;
    box-sizing: border-box;
    padding: 0 15px;
}

.searchpage {
    margin: 30px auto 0;
}

    .searchpage h2 {
        text-align: center;
    }

    .searchpage h3 {
        margin-bottom: 20px;
    }

    .searchpage .bookcat-col {
        background: none;
        box-shadow: none;
        border: 0;
        display: block;
        clear: both;
        padding: 0;
        margin-bottom: 0;
    }

        .searchpage .bookcat-col .book-overview {
            max-height: auto;
        }

            .searchpage .bookcat-col .book-overview .item {
                box-sizing: border-box;
                margin: 0;
            }

.topbar-wrapper .topbar .authentication .navbar-right {
    position: relative;
    display: flex;
    flex-direction: row;
}

    .topbar-wrapper .topbar .authentication .navbar-right .myprofile-block {
        cursor: pointer;
    }

        .topbar-wrapper .topbar .authentication .navbar-right .myprofile-block:hover .profiledropdown {
            top: 20px;
            max-height: 200px;
            height: auto;
            opacity: 1;
        }

    .topbar-wrapper .topbar .authentication .navbar-right .profiledropdown {
        width: 200px;
        height: 0;
        box-sizing: border-box;
        background: #d71923;
        color: #ffffff;
        position: absolute;
        top: 30px;
        left: 0;
        z-index: 1;
        display: block;
        padding: 0;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        overflow: hidden;
        opacity: 0;
    }

        .topbar-wrapper .topbar .authentication .navbar-right .profiledropdown ul {
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
        }

            .topbar-wrapper .topbar .authentication .navbar-right .profiledropdown ul li {
                list-style: none;
                padding: 0;
                margin: 0;
                width: 100%;
                display: flex;
                flex-direction: column;
            }

                .topbar-wrapper .topbar .authentication .navbar-right .profiledropdown ul li a {
                    width: 100%;
                    color: #ffffff;
                    margin: 0;
                    padding: 0;
                    padding: 10px 20px;
                }

                    .topbar-wrapper .topbar .authentication .navbar-right .profiledropdown ul li a:hover {
                        background: #ec5159;
                    }

.addedmsg {
    max-width: 240px;
    max-height: 60px;
    padding: 10px 20px;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    color: #ffffff;
    background: #00c746;
    z-index: 14;
}

.addedtocart {
    overflow: hidden;
    padding-right: 17px;
    position: relative;
}

    .addedtocart:before {
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        position: fixed;
        left: 0;
        top: 0;
        content: "";
        z-index: 13;
    }

.carttable {
    font-size: 13px;
    margin: 60px auto;
    border-radius: 5px 5px 0 0;
    padding: 0;
}

    .carttable select {
        width: 150px;
        box-sizing: border-box;
        padding: 7px 15px;
    }

    .carttable .header {
        background: #f0eded;
        border-radius: 5px 5px 0 0;
    }

    .carttable .bookname {
        color: #ffba00;
    }

    .carttable .numberOfItems {
        width: 60px;
        box-sizing: border-box;
        padding: 7px 15px;
        margin-right: 10px;
        height: 40px;
    }

    .carttable table {
        border: 1px solid #f0eded;
        border-bottom: 0;
        border-right: 0;
        box-sizing: border-box;
    }

        .carttable table tr {
            height: 50px;
            line-height: 50px;
        }

        .carttable table th {
            border: 1px solid #f0eded;
            border-left: 0;
            border-top: 0;
            padding: 0;
            text-align: center;
            box-sizing: border-box;
        }

        .carttable table td {
            border: 1px solid #f0eded;
            border-left: 0;
            border-top: 0;
            padding: 0;
            text-align: center;
            box-sizing: border-box;
            position: relative;
        }

            .carttable table td .text-left {
                text-align: left;
                padding: 0 20px;
                line-height: 26px;
            }

            .carttable table td .book-image {
                margin: auto;
                height: 70px;
                width: auto;
            }

                .carttable table td .book-image img {
                    width: auto;
                    height: 100%;
                }

        .carttable table .grandtotal {
            background: #d71923;
            color: #ffffff;
            height: 50px;
        }

            .carttable table .grandtotal h3 {
                font-size: 14px;
            }

            .carttable table .grandtotal .saving {
                font-family: "open_sanssemibold";
                font-style: italic;
            }

            .carttable table .grandtotal tr {
                height: 45px;
                line-height: 45px;
            }

            .carttable table .grandtotal td {
                padding: 0;
            }

        .carttable table .finaltotal-row {
            background: #f0eded;
        }

            .carttable table .finaltotal-row td {
                border-bottom: 2px solid #f0eded;
            }

    .carttable .continue {
        margin-top: 30px;
    }

        .carttable .continue a {
            text-decoration: none;
        }

.deliveryform {
    margin: 30px 0 40px 0;
}

    .deliveryform input[type="radio"] {
        margin: 20px 0 29px;
    }

    .deliveryform input[type="submit"] {
        margin-top: 6px;
    }

.btn-remove-wrapper {
    position: absolute;
    height: 30px;
    width: 30px;
    display: inline-table;
    top: 4px;
}

.close {
    display: inline-block;
    width: 23px;
    height: 24px;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 0;
    background: #d71923;
    border-radius: 5px;
}

    .close::before, .close::after {
        content: "";
        position: absolute;
        height: 2px;
        width: 80%;
        top: 0;
        left: 0;
        margin-top: -1px;
        background: #000;
        background: #fff;
        bottom: 0;
        right: 0;
        margin: auto !important;
    }

    .close::before {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .close::after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .close.black::before, .close.black::after {
        height: 3px;
        margin-top: -4px;
    }

#frm-payment-details {
    display: flex;
    flex-direction: column;
}

    #frm-payment-details input[type="text"] {
        width: 60%;
        clear: both;
    }

    #frm-payment-details input[type="submit"] {
        width: 120px;
    }

.succsess-message {
    width: 500px;
    height: auto;
    padding: 50px;
    text-align: center;
    font-size: 13px;
    border: #0f7e00 1px solid;
    background: #aeffa3;
    color: #0f7e00;
    margin: 20px auto 60px;
}

.info-message {
    width: 500px;
    height: auto;
    padding: 50px;
    text-align: center;
    font-size: 13px;
    border: #0f78d2 1px solid;
    background: #d1eaff;
    color: #0f78d2;
    margin: 20px auto 60px;
}

ul.category {
    margin-bottom: 60px;
}

    ul.category li {
        background: #8a8a8a;
        color: #ffffff;
        padding: 0 20px;
        font-size: 14px;
        border-radius: 50%;
        text-align: center;
        margin-right: 15px;
        height: 40px;
        border-radius: 20px;
        display: inline-block;
        line-height: 40px;
    }

.author-coverimage {
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

    .author-coverimage .authorphotos {
        position: absolute;
        left: 100px;
        bottom: -200px;
        width: 200px;
        height: 300px;
        z-index: 1;
        box-shadow: 0 5px 8px rgba(0,0,0,0.1);
    }

        .author-coverimage .authorphotos img {
            width: 100%;
            height: auto;
        }

    .author-coverimage .author-name {
        position: absolute;
        left: 30px;
        top: 0;
        bottom: 0;
        margin: auto;
        z-index: 1;
        height: max-content;
        font-size: 30px;
        font-family: "open_sansbold";
        padding: 0 20px;
        background: rgba(255,255,255,0.5);
    }

.author-wrapper {
    position: relative;
    height: 400px;
    margin: 30px 0 60px;
}

    .author-wrapper .author-content {
        width: 100%;
        padding: 0 0 60px 360px;
        box-sizing: border-box;
    }

        .author-wrapper .author-content h2 {
            background: #d71923;
            color: #ffffff;
            padding: 10px 30px;
            border-radius: 0 10px 0 0;
        }

        .author-wrapper .author-content p {
            padding: 20px 0 0 30px;
            margin: 10px 0;
        }

    .author-wrapper .author-image {
        width: 360px;
        height: 400px;
        border: #d71923 1px solid;
        background: #f0eded;
        border-radius: 10px 0 0 10px;
        position: absolute;
        left: 0;
        top: 0;
        padding: 40px;
        box-sizing: border-box;
    }

        .author-wrapper .author-image .image {
            width: 100%;
            height: 100%;
            background-size: cover;
            box-shadow: 0 0px 9px 0 rgba(0,0,0,0.2), 0 0px 10px 0 rgba(0,0,0,0.2);
        }

.authors-work, .recommended-books {
    width: 100%;
    display: block;
    clear: both;
}

    .authors-work h2, .recommended-books h2 {
        padding: 0 0 20px 0;
        margin: auto;
        text-align: left;
        font-family: "open_sansbold";
        font-size: 30px;
    }

.bookcat-col .book-overview.authorwork {
    max-height: initial !important;
    display: flex;
    flex-wrap: wrap;
}

    .bookcat-col .book-overview.authorwork .item {
        flex: 0 0 25%;
        margin: 0;
        padding: 15px;
    }

.elementfound {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-family: "open_sansbold";
    font-size: 25px;
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 20px 0 30px;
    align-items: center;
    font-family: "open_sansbold";
}

    .pagination a {
        color: #ffffff;
        background: #d71923;
        padding: 7px 15px;
        text-decoration: none;
        border-radius: 5px;
    }

    .pagination .currentpage {
        color: #ffffff;
        background: #8a8a8a;
        padding: 7px 15px;
        text-decoration: none;
        border-radius: 5px;
        margin: 0 7px;
    }

.book-details {
    margin-top: 30px;
    height: 100%;
    display: flex;
    clear: both;
    margin-bottom: 60px;
}

    .book-details .read-sample {
        margin-top: 30px;
    }

        .book-details .read-sample .btn-readsample {
            color: #ffffff;
            padding: 5px 15px;
            border-radius: 5px;
            background: #d71923;
            cursor: pointer;
        }

    .book-details .dorating-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

        .book-details .dorating-block h3 {
            font-size: 15px;
        }

@media only screen and (max-width: 600px) {
    .book-details .dorating-block h3 {
        font-size: 14px;
    }
}

.book-details .book-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

    .book-details .book-image .slick-track {
        margin: initial;
    }

    .book-details .book-image .book {
        width: 300px;
        height: auto;
        box-shadow: 0 5px 8px rgba(0,0,0,0.1);
    }

        .book-details .book-image .book .slick-slide {
            opacity: 0.3;
        }

        .book-details .book-image .book .slick-active {
            opacity: 0.6;
        }

        .book-details .book-image .book .slick-center {
            opacity: 1;
        }

        .book-details .book-image .book .slick-dotted.slick-slider {
            margin-bottom: 0;
        }

            .book-details .book-image .book .slick-dotted.slick-slider .slick-list {
                margin-top: 20px;
            }

        .book-details .book-image .book img {
            width: 100%;
            height: auto;
        }

        .book-details .book-image .book .slick-arrow {
            border: solid #8a8a8a;
            border-width: 0 6px 6px 0;
            display: inline-block;
            padding: 3px;
            top: 0;
            bottom: 0;
            margin: auto;
        }

        .book-details .book-image .book .slick-next {
            transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
            right: -30px;
            z-index: 5;
        }

        .book-details .book-image .book .slick-prev {
            transform: rotate(135deg);
            -webkit-transform: rotate(135deg);
            left: -30px;
            z-index: 5;
        }

.book-details .book-content {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

    .book-details .book-content h2 {
        font-size: 30px;
        font-family: "open_sansbold";
        color: #02ace6;
    }

@media only screen and (max-width: 600px) {
    .book-details .book-content h2 {
        font-size: 20px;
    }
}

.book-details .book-content h3 {
    margin-bottom: 18px;
}

    .book-details .book-content h3 a {
        font-size: 20px;
        font-family: "open_sansbold";
        color: #000000;
        text-decoration: none;
    }

        .book-details .book-content h3 a:hover {
            color: #02ace6;
        }

.book-details .book-content .rating-details {
    margin: 15px 0;
    display: flex;
    align-items: center;
    font-size: 12px;
}

    .book-details .book-content .rating-details .rating {
        justify-content: left;
        margin-right: 10px;
        position: relative;
    }

        .book-details .book-content .rating-details .rating .stars {
            margin-left: 10px;
            margin-top: 3px;
        }

    .book-details .book-content .rating-details .count {
        margin-right: 10px;
    }

.book-details .book-content .availability {
    font-family: "open_sansbold";
    margin: 15px 0;
}

    .book-details .book-content .availability > span {
        color: #ffffff;
        padding: 5px 15px;
        border-radius: 5px;
    }

        .book-details .book-content .availability > span.preorder {
            background: #000000;
        }

        .book-details .book-content .availability > span.outofstock {
            background: #d71923;
        }

        .book-details .book-content .availability > span.instock {
            background: #0f7e00;
        }

.book-details .book-content .countdown-wrapper {
    padding: 10px;
    background: #f0eded;
    border-radius: 10px;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

    .book-details .book-content .countdown-wrapper h3 {
        font-family: "open_sansbold";
        font-size: 20px;
    }

    .book-details .book-content .countdown-wrapper .countdown {
        font-family: "open_sansbold";
        font-size: 35px;
        color: #d71923;
    }

.book-details .book-content .bookdetails {
    display: flex;
    flex-direction: column;
}

    .book-details .book-content .bookdetails .row-element {
        display: flex;
        flex-direction: row;
    }

        .book-details .book-content .bookdetails .row-element .column-left {
            width: 30%;
            line-height: 35px;
        }

        .book-details .book-content .bookdetails .row-element .column-right {
            width: 70%;
            line-height: 35px;
        }

            .book-details .book-content .bookdetails .row-element .column-right a {
                color: #000000;
                text-decoration: none;
            }

                .book-details .book-content .bookdetails .row-element .column-right a:hover {
                    color: #d71923;
                }

.book-details .book-content .price-selectcover {
    width: 70%;
    display: flex;
    flex-direction: row;
    margin: 20px 0;
}

    .book-details .book-content .price-selectcover .price-wrapper {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

        .book-details .book-content .price-selectcover .price-wrapper .addtocart .btn-addtocart {
            background: #d71923;
            color: #ffffff;
            font-size: 16px;
            font-family: "open_sansbold";
            height: 40px;
            border: 0;
            border-radius: 0 5px 5px 0;
            padding: 0 15px;
            cursor: pointer;
        }

        .book-details .book-content .price-selectcover .price-wrapper .addtocart input[type="number"] {
            height: 40px;
            padding: 0 7px;
            box-sizing: border-box;
            float: left;
        }

        .book-details .book-content .price-selectcover .price-wrapper .price.hasdiscount {
            text-decoration: line-through;
            color: #000000;
            font-size: 23px;
            font-family: "open_sansbold";
        }

        .book-details .book-content .price-selectcover .price-wrapper .discount-price {
            font-size: 32px;
            font-family: "open_sansbold";
            color: #f75326;
        }

    .book-details .book-content .price-selectcover .selectcover {
        width: 50%;
        display: flex;
        flex-direction: column;
        color: #d71923;
        padding-top: 8px;
    }

        .book-details .book-content .price-selectcover .selectcover .sinhala-label {
            font-size: 12px;
        }

        .book-details .book-content .price-selectcover .selectcover select {
            width: 80%;
        }

        .book-details .book-content .price-selectcover .selectcover > div {
            height: 68px;
        }

.bookcat-col.contentblock .book-overview {
    overflow: hidden;
}

.writeareview {
    color: #02ace6;
    text-decoration: none;
}

.booksample-wrapper {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    margin: auto;
    display: none;
}

    .booksample-wrapper .booksample {
        width: 800px;
        height: max-content;
        padding: 30px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 5;
        margin: auto;
    }

        .booksample-wrapper .booksample .innerblock {
            position: relative;
        }

            .booksample-wrapper .booksample .innerblock img {
                box-shadow: 0 5px 8px rgba(0,0,0,0.5);
            }

.contact {
    padding-bottom: 60px;
}

    .contact h2 {
        font-size: 20px;
        font-family: "open_sansbold";
    }

    .contact h3 {
        font-size: 16px !important;
        font-weight: normal;
    }

.reviewform-wrapper {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    margin: auto;
    display: none;
}

    .reviewform-wrapper .reviewform {
        width: 800px;
        height: max-content;
        padding: 30px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 5;
        margin: auto;
    }

        .reviewform-wrapper .reviewform .textreview {
            width: 100%;
            height: 150px;
            border-radius: 5px;
            resize: none;
        }

        .reviewform-wrapper .reviewform .innerblock {
            position: relative;
        }

.btn-close {
    position: absolute;
    right: -45px;
    top: -45px;
    width: 32px;
    height: 32px;
    opacity: 1;
    cursor: pointer;
    background: #d71923;
    border-radius: 16px;
    padding: 5px;
}

    .btn-close:hover {
        opacity: 1;
    }

    .btn-close:before, .btn-close:after {
        position: absolute;
        left: 13px;
        content: " ";
        height: 23px;
        width: 6px;
        background-color: #ffffff;
    }

    .btn-close:before {
        transform: rotate(45deg);
    }

    .btn-close:after {
        transform: rotate(-45deg);
    }

body.openreview, body.opensample {
    overflow: hidden;
    padding-right: 17px;
}

.voucher-code-wrap {
    display: flex;
    flex-direction: column;
}

    .voucher-code-wrap h3 {
        font-size: 18px;
        background: #f0eded;
        padding: 15px 20px;
        border-radius: 5px 5px 0 0;
        margin: 0;
    }

    .voucher-code-wrap > div {
        position: relative;
        padding: 15px 20px;
        border-radius: 0 0 5px 5px;
        border: 1px #f0eded solid;
    }

    .voucher-code-wrap .voucher-code {
        border-radius: 5px;
        border: 1px solid #8a8a8a;
    }

    .voucher-code-wrap #add-voucher-code {
        position: absolute;
        top: 12px;
        right: 0;
        border-radius: 0 5px 5px 0;
        padding: 9px 20px 10px;
    }

.reviewblock {
    width: 100%;
    display: flex;
    flex-direction: column !important;
}

    .reviewblock .reviewtop {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .reviewblock .reviewtop .row-one {
            display: flex;
            flex-direction: row;
            justify-content: left;
            align-items: center;
        }

            .reviewblock .reviewtop .row-one .rating-details {
                display: flex;
                flex-direction: row;
                width: 100%;
                flex: 1;
            }

            .reviewblock .reviewtop .row-one .review-count {
                margin: 10px 0 10px 10px;
                display: flex;
                flex-direction: row;
            }

        .reviewblock .reviewtop .row-two {
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
        }

            .reviewblock .reviewtop .row-two .reviewabout {
                font-size: 18px;
                font-family: "open_sansbold";
                margin-right: 10px;
            }

    .reviewblock .revives {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

        .reviewblock .revives ul {
            padding: 0;
            list-style: none;
            margin: 40px 0 0;
        }

            .reviewblock .revives ul li {
                margin-bottom: 30px;
            }

                .reviewblock .revives ul li .raters-details {
                    display: flex;
                    flex-direction: row;
                    justify-content: left;
                    align-items: center;
                }

                    .reviewblock .revives ul li .raters-details .name {
                        display: flex;
                        flex-direction: row;
                        margin-right: 20px;
                    }

                        .reviewblock .revives ul li .raters-details .name > span {
                            font-family: "open_sansbold";
                            margin-right: 6px;
                        }

                    .reviewblock .revives ul li .raters-details .rating-details {
                        display: flex;
                        margin-right: 20px;
                        flex-direction: column;
                    }

                        .reviewblock .revives ul li .raters-details .rating-details .stars {
                            margin-left: 10px;
                        }

                    .reviewblock .revives ul li .raters-details .date {
                        display: flex;
                        flex-direction: column;
                        text-align: right;
                    }

.small.stars {
    margin-left: 10px;
    width: 72px;
    height: 12px;
    background-size: auto 24px;
    margin-top: 5px;
}

    .small.stars::before {
        height: 12px;
        background-size: auto 24px;
    }

    .small.stars[data-rating="1"]:before {
        width: 14px;
    }

    .small.stars[data-rating="2"]:before {
        width: 28px;
    }

    .small.stars[data-rating="3"]:before {
        width: 42px;
    }

    .small.stars[data-rating="4"]:before {
        width: 56px;
    }

    .small.stars[data-rating="5"]:before {
        width: 70px;
    }

.form-block {
    display: block;
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .form-block input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.radio-label {
    padding: 0 0 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    bottom: 0;
    margin: auto;
}

.form-block:hover input ~ .radiomark {
    background-color: #ccc;
}

.form-block input:checked ~ .radiomark {
    background-color: #d71923;
}

.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

.form-block input:checked ~ .radiomark:after {
    display: block;
}

.form-block .radiomark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

@media only screen and (max-width: 600px) {
    #countdown {
        font-size: 18px;
    }
}

.alert-modal {
    display: block;
    position: fixed;
    z-index: 4;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000;
    background-color: rgba(0,0,0,0.4);
}

    .alert-modal .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
    }

.alert-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .alert-close:hover, .alert-close .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
