.tg-navigation > ul {
    width: auto;
}

.tg-bookscategories li {
    line-height: initial;
}

.tg-threecolumns {
    padding: 60px 0 30px 0;
}

.tg-formsortshoitems fieldset .form-group:first-child .tg-select select {
    padding: 0 44px 0 84px;
}

.tg-formsortshoitems fieldset .form-group .tg-select select {
    padding: 0 40px 0 87px;
}

.tg-searchbox {
    /* display: flex; */
    align-items: center;
    height: 92px;
}

img.avatar {
    width: 35px;
    border-radius: 100%;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
   color: white;
   margin-left: 3px;
}

.mr-1 {
    margin-right: 10px;
}

.mt-1 {
    margin-top: 10px;
}

.tg-postbook:hover .tg-featureimg {
    padding: 9px 13px 9px 0;
}

.tg-newreleasebooks .col-xs-3:nth-child(4) .tg-postbook:hover .tg-featureimg {
    padding: 9px 11px 9px 0;
}

body.tg-comingsoonpage {
    background: url(/user/images/comingsoon-bg.jpg) no-repeat center center fixed;
}

.form-group.login-google img {
    width: 50px;
}

.form-group.login-google {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
}

.form-login {
    height: 100%;
    display: flex;
    align-items: center;
}

body.tg-comingsoonpage {
    height: 100%;
}

body.tg-comingsoonpage .tg-haslayout {
    height: 100%;
}

body.tg-comingsoonpage #tg-wrapper main#tg-main .form-login {
    background: url(/user/images/comingsoon-bg.jpg) no-repeat center center fixed;
}

body.tg-comingsoonpage .tg-comingsoonhead h3 {
    margin-top: 30px;
}

.tg-btnbacktotop {
    top: auto;
    bottom: 70px;
    position: fixed;
}

.tg-homeslider .owl-nav .tg-btnround {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #f6f6f69c;
}

.tg-homeslider .owl-nav .tg-btnround i {
    font-size: 17px;
}

.tg-slidercontent p, .tg-slidercontent h1, .tg-slidercontent h2 {
    color: #0C2B32;
}

html, body, h1, h2, h3, h4, h5, h6, p, span, i, b {
    font-family: 'Roboto', sans-serif;
}

/* #tg-homeslider .item {
    background-color: #F3FEFA;
} */

.list-item {
    /* padding: 10px; */
    border-bottom: 1px solid #eee;
}

.list-item:last-child {
    border-bottom: none;
}

.tg-post figure a img, .tg-newslist .tg-post figure {
    width: 200px;
}

.tg-bookwriter {
    width: 100%;
    float: left;
    font-size: 15px;
    line-height: 20px;
    padding: 0 0 6px;
}

a.tg-btnaddtowishlist {
    border-radius: 5px;
    padding: 3px 16px;
}

#tg-pickedbyauthorslider strong.tg-bookcategory, #tg-pickedbyauthorslider .tg-bookpage {
    font-size: 12px;
}

.tg-hovercontent .tg-description p {
    -webkit-line-clamp: 5;
}

.tg-hovercontent {
    padding: 30px 0 30px 30px;
}

.tg-pickedbyauthor .tg-postbook {
    padding: 0 22px 20px;
}

#tg-pickedbyauthorslider .tg-booktitle h3 {
    margin-bottom: 10px;
}

#tg-pickedbyauthorslider.tg-pickedbyauthor .tg-featureimg {
    padding: 30px 30px;
    border-bottom: 1px solid #dbdbdb;
}

strong.tg-logo img {
    width: 88px;
    margin-right: 15px;
}

.tg-middlecontainer {
    padding: 3px 0;
}

.list-item a {
    color: #3a3535;
}

.list-item a:hover {
    color: #77b748;
}

.tg-wishlistandcart {
    padding: 25px 0;
}

.tg-description {
    white-space: pre-line;
}

.tg-titlepluscounter h2 {
    font-size: 17px;
}

.tg-bookimg {
    width: 100%;
    height: 100%;
}

.tg-bookimg a {
    width: 100%;
    height: 100%;
}

.tg-postbook .tg-frontcover {
    width: 100%;
    height: 100%;
}

.tg-postbook .tg-frontcover img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.tg-postbook figure.tg-featureimg {
    height: 240px;
    width: 100%;
}
.tg-newreleasebooks .tg-postbook .tg-booktitle h3 {
    height: 37px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tg-postbook .tg-booktitle h3 {
    height: 58px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#tg-pickedbyauthorslider .tg-postbook figure.tg-featureimg {
    height: 250px;
}

.text-black {
    color: #3a3535;
}

.tg-bookscategories {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-pickedbyauthor .tg-postbook .tg-bookimg:before {
    background: #77b748;
}

.tg-sectionspace .tg-productdetail .product-detail .tg-featureimg {
    height: auto;
}

.tg-widget ul li .tg-author .tg-authorcontent,
.tg-widget ul li .tg-postcontent,
.tg-widgetcontent .tg-post .tg-postcontent {
    padding: 0;
    width: 100%;
    float: none;
}

.tg-widget ul li .tg-author .tg-authorcontent h2 a {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-wishlistandcart .tg-description, .tg-newslist .tg-description {
    white-space: inherit;
}

.text-success {
    color: #198754;
}

.text-danger {
    color: #dc3545;
}

.text-info {
    color: #0dcaf0;
}

.text-warning {
    color: #ffc107;
}

.text-dark {
    color: black;
}

.text-white {
    color: white;
}

.text-primary {
    color: #0d6efd;
}

.text-secondary {
    color: #6c757d;
}

.w-100 {
    width: 100%;
}
#review textarea {
    height: 100px;
}

.btn-success {
    background-color: #198754;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-info {
    background-color: #0dcaf0;
}

.btn-warning {
    background-color: #ffc107;
}

.btn-dark {
    background-color: black;
}

.btn-white {
    background-color: white;
}

.btn-primary {
    background-color: #0d6efd;
}

.btn-secondary {
    background-color: #6c757d;
}


.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none
}

.pager li>a, .pager li>span {
    border-radius: 0;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #77b748;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    border: 1px solid #77b748;
}

.pagination>li>a, .pagination>li>span {
    color: #0d6efd;
}

.tg-btnaddtowishlist {
    background: #77b748;
}

.tg-themetag {
    background-color: #dc3545;
}

.tg-themetag:before {
    border-color: #dc3545;
}

.rounded-circle {
    border-radius: 100%;
}

.review-item:not(:first-child) {
    margin-top: 20px;
}

.review-item img {
    width: 55px;
}

.review-star {
    overflow: auto;
    margin-bottom: 15px;
}

article.post-image {
    border: 1px solid #eee;
    padding: 7px;
}

.rv-book-item:hover .post-image {
    -webkit-box-shadow: 0 0 10px 2px rgb(0 0 0 / 20%);
    box-shadow: 0 0 10px 2px rgb(0 0 0 / 20%);
}

.rv-book-item:hover article.post-image {
    border: 6px solid #fff;
    padding: 0;
}

.tg-newslist .rv-book-item  .tg-post .tg-postcontent {
    padding: 0;
}

.rv-book-item:not(:first-child) {
    margin-top: 25px;
}

.review-book .tg-authorbox .tg-authorimg {
    width: 75px;
}

.review-book .tg-authorbox {
    /* margin-top: 25px; */
}

.review-book .tg-authorhead {
    padding: 0;
}

.review-book .tg-authorinfo {
    overflow: unset;
}

.review-book .tg-authorhead, .review-book .tg-authorname, .review-book .tg-leftarea {
    float: none;
}

.tg-formleavecomment .form-group {
    width: 100%;
}

.form-control, input[type="text"] {
    text-transform: none;
}

.user-info-sm {
    display: none;
}
.tg-logo-sm {
    display: none;
}

.tg-productcontent .tg-booktitle h3 {
    line-height: 35px;
}

.product-detail .tg-productcontent .tg-sectionhead {
    margin: 0px;
    padding: 0px;
    line-height: 28px;
    border-bottom: none;
}

.product-detail .tg-booktitle {
    float: none;
}

.over-auto {
    overflow: auto!important;
}

.instruction.tg-sectionspace {
    padding: 45px 0 0 0;
}

@media (max-width: 480px) {
    .user-dropdown {
        display: none;
    }
    #user-dropdown {
        z-index: 10;
    }

    .user-info-sm {
        display: flex;
        position: absolute;
        right: 0;
        height: 54px;
    }

    .tg-logo-sm {
        display: block;
        width: 50px;
        padding-top: 5px;
    }

    .user-info-sm a span, .user-info-sm a i {
        color: #fff;
    }

    #tg-homeslider .owl-item .item div {
        background-position: center!important;
    }

    .tg-postbook figure.tg-featureimg,
    #tg-pickedbyauthorslider .tg-postbook figure.tg-featureimg {
        /* height: auto; */
        padding: 0;
    }

    .tg-pickedbyauthor .tg-postbook {
        padding: 0;
    }

    .tg-statuscontent h2 {
        font-size: 12px;
        text-align: center;
    }

    .tg-collectioncounter {
        width: 50%;
    }

    .tg-sectionspace {
        padding: 100px 0 30px 0;
    }

    .tg-postbook .tg-booktitle h3 {
        height: auto;
    }

    .tg-productgrid .tg-postbook .tg-postbookcontent .tg-btn {
        width: 100%;
        margin: 20px auto 0;
        display: flex;
        justify-content: center;
    }

    .category .tg-postbookcontent .tg-stars {
        margin-bottom: 20px;
    }

    .category .tg-sectionspace, .product-detail.tg-sectionspace,
    .reviews .tg-sectionspace, .review-create .tg-sectionspace {
        padding: 30px 0 30px 0;
    }

    .category .tg-formsortshoitems fieldset .form-group {
        width: 100%;
    }

    .category .tg-formsortshoitems fieldset .form-group + .form-group {
        margin: 10px 0 0 0;
    }

    .tg-slidercontent .tg-description {
        width: 70%;
        margin: auto;
        float: none;
    }
}


@media (max-width: 768px) {
    .reviews #tg-sidebar, .review-create #tg-sidebar, .review-book #tg-sidebar {
        display: none;
    }
}


@media (min-width: 768px) {
    .tg-slidercontent .tg-description {
        width: 80%;
        margin: auto;
        float: none;
    }

    .tg-statuscontent h2 {
        font-size: 20px;
        text-align: center;
    }

    .category .tg-sectionspace, .product-detail.tg-sectionspace,
    .reviews .tg-sectionspace, .review-create .tg-sectionspace {
        padding: 30px 0 30px 0;
    }

    .tg-postbookcontent .tg-btn {
        display: flex;
        justify-content: center;
    }

    .category .tg-postbookcontent .tg-stars {
        margin-bottom: 25px;
    }

    .tg-productgrid .tg-postbook .tg-postbookcontent .tg-btn {
        width: 100%;
    }
}

@media (min-width: 991px) {
    #tg-navigation.navbar-collapse.collapse {
        /* display: flex!important;
        justify-content: center; */
    }
}
.tg-relatedproductslider .tg-postbookcontent .tg-stars {
    margin-bottom: 20px;
}

.tg-relatedbooks .tg-postbook .tg-postbookcontent .tg-btn {
    width: 100%;
}

.tg-pickedbyauthor .tg-postbookcontent .tg-btn {
    margin: auto;
}

.tg-footercol {
    min-height: auto;
}

.btn-write {
    float: right;
    background-color: #4cae4c;
    color: #fff;
}

.reviews .tg-sectionhead {
    padding: 0 0 20px 0;
    margin-bottom: 30px;
}
