﻿.container_title {
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 8px;
    position: relative;
    height: 50px;
    line-height: 50px;
    padding: 0px 20px;
    background-color: #fff;
}

    .container_title .catg_title {
        line-height: 50px;
        font-weight: 300;
    }

    .container_title .type_view {
        position: absolute;
        top: 0px;
        right: 200px;
        width: 100px;
        height: 50px;
    }

        .container_title .type_view .item_type_view {
            display: inline-block;
            text-align: center;
            width: calc(50% - 5px);
            font-weight: 500;
            cursor: pointer;
            color: #999;
        }

            .container_title .type_view .item_type_view.active {
                color: #4a09f9;
            }

    .container_title .cnt_sort_view {
        position: absolute;
        width: 200px;
        top: 0px;
        right: 0px;
        border-left: 1px solid #F0F0F0;
        height: 50px;
    }

        .container_title .cnt_sort_view select {
            width: 150px;
            border: none;
            box-shadow: none;
            line-height: 36px;
        }


/*.container_title .cnt_sort_view .icondown {
            position: absolute;
            top: 0px;
            left: 45px;
            text-align: center;
            line-height: 50px;
            cursor: pointer;
            width: 50px;
            color: #AAAAAA;
        }*/
.dropdown-toggle::after {
    display: none;
}

.view_grid_book .card .bookhay {
    background-color: #FFFFFF;
    color: #705DD3;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    top: 20px;
    position: absolute;
    font-size: 17px;
}
.view_grid_book .cardd {
  z-index:3;
}
.view_grid_book .card {
    position: relative;
    text-decoration: none;
    background-color: #fff;
    border: 0px solid rgba(0,0,0,5%);
    border-radius: 15px;
    padding-top:15px;
}

    .view_grid_book .card .btn_like {
        background-color: #FFFFFF;
        color: #705DD3;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 12px;
        top: 10px;
        right: 10px;
        position: absolute;
        font-size: 20px;
        z-index: 1;
    }

        .view_grid_book .card .btn_like.active {
            background-color: transparent;
            color: #FF656A;
        }

    .view_grid_book .card:hover {
        /*box-shadow: #6d65a5b5 0px 0px 10px;
        cursor: pointer;
        border-radius: 15px;*/
    }
    .view_grid_book .card .card-img-top.imgbookhay img,
    .view_grid_book .card .card-img-top.imgbookhay {
        border-radius: 10px;
        overflow: hidden;
        object-fit: cover;
        height: 235px;
        width: 165px;
        margin: 0 auto;
        border: 1px solid #e9e9e9;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
    }
    .view_grid_book .card .card-img-top img,
    .view_grid_book .card .card-img-top{
        border-radius: 10px;
        overflow: hidden;
        object-fit: cover;
        height: 300px;
        width: 211px;
        margin: 0 auto;
        border: 1px solid #e9e9e9;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
    }
        .view_grid_book .card .card-img-top{
            position:relative;
        }
        .view_grid_book .card:hover .card-img-top img {
            -ms-transform: scale(1.2);
            -moz-transform: scale(1.2);
            -webkit-transform: scale(1.2);
            -o-transform: scale(1.2);
            transform: scale(1.2);
        }

    .view_grid_book .card .catg_name {
        color: #6D5BD1;
        font-size: 14px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .view_grid_book .card .content_star {
        text-align: center;
    }

        .view_grid_book .card .content_star i {
            color: #FF764C;
            font-size: 20px;
        }

            .view_grid_book .card .content_star i.inactive {
                color: #E3E3E3;
            }



.view_list_book .item_book {
    position: relative;
    text-decoration: none;
    border: 1px solid #F0F0F0;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 10px;
    padding-left: 240px;
    color: #333;
}

    .view_list_book .item_book .card-title {
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        height: 3.2rem;
        line-height: 1.6rem;
        overflow: hidden;
        text-align: left;
        color: #333;
        margin-top: 20px;
    }

    .view_list_book .item_book .catg_name {
        color: #6D5BD1;
        text-transform: uppercase;
        text-align: left;
        margin-bottom: 10px;
    }

    .view_list_book .item_book .overview_book {
        line-height: 20px;
        font-size: 14px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .view_list_book .item_book .image_cover {
        position: absolute;
        width: 211px;
        height: 300px;
        top: 0px;
        left: 0px;
    }

        .view_list_book .item_book .image_cover .btn_like {
            background-color: #FFFFFF;
            color: #705DD3;
            width: 35px;
            height: 35px;
            line-height: 35px;
            text-align: center;
            border-radius: 8px;
            top: 25px;
            right: 30px;
            position: absolute;
            font-size: 20px;
        }

            .view_list_book .item_book .image_cover .btn_like.active {
                background-color: transparent;
                color: #FF656A;
            }

    .view_list_book .item_book:hover {
        box-shadow: #F1EFFC 0px 0px 20px;
        cursor: pointer;
    }

    .view_list_book .item_book .image_cover img {
        padding: 15px;
        border-radius: 25px;
        overflow: hidden;
        object-fit: cover;
        height: 300px;
        width: 211px;
    }

    .view_list_book .item_book .content_star {
        text-align: center;
        position: absolute;
        top: 0px;
        right: 16px;
    }
    

        .view_list_book .item_book .content_star i {
            color: #FF764C;
            font-size: 20px;
        }

            .view_list_book .item_book .content_star i.inactive {
                color: #E3E3E3;
            }

    .view_list_book .item_book .label_sub {
        font-size: 15px;
        color: #A1A1A1;
    }

    .view_list_book .item_book .list_author {
        line-height: 20px;
        font-size: 14px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        height: 78px;
        overflow: hidden;
    }

    .view_list_book .item_book .cnt_button {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }

        .view_list_book .item_book .cnt_button .cnt_buton_read {
            text-align: center;
            background-color: #6C5DD4;
            color: #fff;
            text-transform: uppercase;
            position: relative;
            margin: 1rem;
            border-radius: 10px;
            width: auto;
            padding: 10px 25px;
            display: flex;
            width: 10rem;
            align-items: center;
            justify-content: space-evenly;
        }

            .view_list_book .item_book .cnt_button .cnt_buton_read:focus-within {
                box-shadow: none;
            }

            /*.view_list_book .item_book .cnt_button .cnt_buton_read i {
                position: absolute;
                top: -7px;
                right: 0px;
            }*/

.content_register {
    background-image: url(../images/bg_quangcao.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    height: 250px;
    border-radius: 15px;
    display: table;
    background-size: 100% 100%;
    box-shadow: #6d65a5b5 0px 0px 10px;
}

    .content_register .form_register {
        display: table-cell;
        height: 100%;
        vertical-align: middle;
        text-align: center;
        font-size: 25px;
        color: #fff;
        line-height: 40px;
    }

        .content_register .form_register .input-group {
            width: 450px;
            margin: 20px auto;
            box-shadow: none;
            border-radius: 8px;
        }

            .content_register .form_register .input-group .form-control {
                padding: 10px 20px;
                border-top-left-radius: 8px;
                border-bottom-left-radius: 8px;
                box-shadow: none;
                background-color: transparent;
                color: #fff;
            }

                .content_register .form_register .input-group .form-control::placeholder {
                    color: #fff;
                }

                .content_register .form_register .input-group .form-control:focus-visible {
                    box-shadow: none;
                    border-color: #fff;
                }

            .content_register .form_register .input-group .input-group-text {
                text-transform: uppercase;
                color: #333;
                background-color: #FFFFFF;
                border-top-right-radius: 8px;
                border-bottom-right-radius: 8px;
                padding: 10px 20px;
                font-size: 14px;
                font-weight: 500;
                border: 1px solid #fff;
            }

.content_pagination {
    position: relative;
    min-height: 62px;
}

    .content_pagination .label_pagination {
        position: absolute;
        left: 0px;
        top: 4px;
        font-weight: 500;
        font-size: 15px;
    }

.accordion-body .list-group-item {
    padding: 0.5rem 0;
}

.content_category {
    font-size: 14px;
}

    .content_category ul {
        padding-left: 0px;
    }

        .content_category ul ul {
            padding-left: 10px;
        }

        .content_category ul, .content_category ul li {
            list-style-type: none;
            line-height: 32px;
        }

            .content_category ul .name_category {
                font-weight: 500;
                position: relative;
            }

                .content_category ul .name_category span {
                    cursor: pointer;
                }

                .content_category ul .name_category.has-child {
                    padding-left: 0px;
                }

                .content_category ul .name_category .icon_expand {
                    position: absolute;
                    top: 7px;
                    right: 0px;
                    font-size: 13px;
                    display: none;
                    width: 20px;
                    height: 20px;
                    text-align: center;
                    line-height: 20px;
                    cursor: pointer;
                }

                .content_category ul .name_category.has-child .icon_expand {
                    display: inline-block;
                }

                    .content_category ul .name_category.has-child .icon_expand .iconmoon-Down1 {
                        display: none;
                    }

                .content_category ul .name_category.has-child.child_expand .icon_expand .iconmoon-Down1 {
                    display: inline-block;
                }

                .content_category ul .name_category.has-child.child_expand .icon_expand .iconmoon-Back1 {
                    display: none;
                }

                .content_category ul .name_category.has-child + ul {
                    display: none;
                }

                .content_category ul .name_category.has-child.child_expand + ul {
                    display: block;
                }

                .content_category ul .name_category.has-child.child_expand span {
                    color: #6B5ED4;
                }

            .content_category ul li ul li {
                cursor: pointer;
            }

    .content_category .form-check .form-check-input {
        margin-top: 10px;
    }

.btn_filter_catg {
    margin-top: 20px;
}

    .btn_filter_catg .btn_filter_catg {
        width: 100%;
        background-color: #705DD3;
        color: #fff;
        border-radius: 8px;
        margin-bottom: 15px;
        border: 1px solid #705DD3;
    }

    .btn_filter_catg .btn_reset_filter_catg {
        width: 100%;
        background-color: #fff;
        color: #9C9C9C;
        border-radius: 8px;
        border: 1px solid #ECE6F2;
    }

#collapseCatg ul li {
    padding: 0px;
}

    #collapseCatg ul li .form-check {
        line-height: 30px;
    }

.book_top .content_star {
    position: relative;
}

.view_grid_book.book_top .card img.card-img-top {
    height: 255px;
    width: 180px;
}
.view_grid_book.book_top .card .cover_btn_like {
    height: 255px;
    width: 180px;
}

.book_top .content_star .rate-count {
    color: #FF764C;
    line-height: 1.2;
    font-weight: 500;
    vertical-align: bottom;
}
.view_grid_book .card .card-title {
    text-align: center;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 3.2rem;
    line-height: 1.6rem;
    overflow: hidden;
}
.nodata_ebook {
    margin-top: 5rem;
    text-align: center;
}
    .nodata_ebook h6.text-no-file {
        margin-top: 2rem;
    }
.view_grid_book .card .cnt_button .cnt_buton_read {
    background-color: #6C5DD4;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    margin: 1rem;
    border-radius: 10px;
    width: auto;
    padding: 10px 25px;
    width: 12rem;
    display:none;
}
.view_grid_book .card {
    width: 100%;
    margin: 0px auto;
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .view_list_book .item_book .label_sub {
        float: left;
        margin-right: 1rem;
    }
    .view_list_book .item_book .overview_book {
        margin-bottom: 0px !important;
        height: auto !important;
    }
    .view_list_book .item_book .list_author {
        margin-bottom: 0px !important;
        height: 0px !important;
    }
    .view_list_book .item_book .cnt_button .cnt_buton_read {
        margin: 0 auto !important;
    }
    .cnt_button {
        display: block !important;
        margin: 1rem auto;
        position: unset !important;
    }


    .content_pagination .label_pagination {
       position:unset !important;
    }
    .cardreponsive {
        width: 15rem !important;
        margin: 0 auto !important;
    }
    .splide__slide {
        width: 100% !important;
        margin-right: 5%;
    }


    .menu_top .navbar-brand {
        margin-right: 60px;
    }

    .container_title {
        margin-bottom: 60px;
    }

        .container_title .cnt-filter-view {
            border: 1px solid #F0F0F0;
            position: absolute;
            left: 0px;
            width: 100%;
            top: 55px;
            height: 50px;
            border-radius: 8px;
        }



    .content_register .form_register {
        font-size: 18px;
    }

        .content_register .form_register .input-group {
            width: 100%;
        }

    .view_grid_book .card .bookhay {
        background-color: #FFFFFF;
        color: #705DD3;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 12px;
        top: 10px;
        right: 10px;
        position: absolute;
        font-size: 17px;
    }
}
/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .view_list_book .item_book .label_sub {
        float: left;
        margin-right: 1rem;
    }
    .view_list_book .item_book .overview_book {
        margin-bottom: 0px !important;
        height: auto !important;
    }

    .view_list_book .item_book .list_author {
        margin-bottom: 0px !important;
        height: 0px !important;
    }

    .view_list_book .item_book .cnt_button .cnt_buton_read {
        margin: 0 auto !important;
    }

    .cnt_button {
        display: block !important;
        margin: 1rem auto;
        position: unset !important;
    }
    .splide__slide {
        width: 100% !important;
        margin-right: 5%;
    }
    .cardreponsive {
        width: 15rem !important;
        margin: 0 auto !important;
    }
    .cnt_button {
        width: 300px;
        margin: 0 auto;
        display: block !important;
    }

    .content_register .form_register .input-group {
        width: 100%;
    }

    .view_list_book .item_book {
        padding-left: 140px;
        height: auto;
    }

        .view_list_book .item_book .image_cover {
            width: 135px;
            height: 160px;
        }

            .view_list_book .item_book .image_cover img {
                height: 160px;
            }

        .view_list_book .item_book .content_star {
            position: relative;
            text-align: left;
            margin-left: 20px;
            margin-bottom: 8px;
        }

        .view_list_book .item_book .cnt_button {
            position: relative;
            bottom: unset;
            right: unset;
            margin-top: 8px;
            margin-bottom: 15px;
        }




}
/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .view_list_book .item_book .label_sub {
        float: left;
        margin-right: 1rem;
    }

    .view_list_book .item_book .overview_book {
        margin-bottom: 0px !important;
        height: auto !important;
    }

    .view_list_book .item_book .list_author {
        margin-bottom: 0px !important;
        height: 0px !important;
    }

    .view_list_book .item_book .cnt_button .cnt_buton_read {
        margin: 0 auto !important;
    }

    .cnt_button {
        display: block !important;
        margin: 1rem auto;
        position: unset !important;
    }
    .cnt_button {
        width: 300px;
        margin: 2rem auto 0 auto;
        display: block !important;
    }
    .splide__slide {
        width: 50% !important;
        margin-right: 5%;
    }


    
}
/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {

  
   
}
/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) and (max-width: 1365.98px) {


   


       
}
/* Extra large devices (large desktops, 1366px and up)*/
@media (min-width: 1366px) and (max-width: 1439.98px) {

   
  

        
}
/* Extra large devices (large desktops, 1440px and up)*/
@media (min-width: 1440px) {
   
    
   

       
}
/* Extra large devices (large desktops, 1680px and up)*/
@media (min-width: 1680px) {


 
    
        
}
/* Extra large devices (large desktops, 1920px and up)*/
@media (min-width: 1920px) {
    .splide__track {
        padding-right: 25% !important;
    }
    .cardreponsive {
        margin: 0 auto !important;
    }

    
   
        
}
/* Extra large devices (large desktops, 2560px and up)*/
@media (min-width: 2560px) {
    .splide__track {
        padding-right: 22% !important;
    }
}

.distance {
    margin-bottom: 100px;
}

.distancefooter {
    margin-top: 60px;
    margin-bottom: 60px;
}
/* Animation */
.zoom {
    /* padding: 50px; */
    /* background-color: green; */
    transition: transform .3s;
    /*margin: 0 auto;*/
}

    .zoom:hover {
        -ms-transform: scale(1.03); /* IE 9 */
        -webkit-transform: scale(1.03); /* Safari 3-8 */
        transform: scale(1.03);
        z-index: 11;
    }

.button_custom {
    width: 75%;
    margin: 0rem;
    background-color: #6C5DD4;
    color: white;
    font-size: 14px;
}

    .button_custom:hover {
        color: white;
    }

.cnt_button-list-book {
    border-top-style: none;
    /*display: none;*/
    margin-top: 5px;
    text-align: center;
    /*display:none;*/
}
.view_grid_book .card:hover .cnt_button-list-book{
    display:block;
}

.icondown {
    font-size: 12px;
    margin-right: 4rem;
}

    .icondown:hover {
        color: #4a09f9;
    }

.icondown_parent {
    text-align: end
}

.connectionid {
    text-decoration: none;
    color: #1e2125;
    display: inline-block;
    justify-content: space-between;
    align-items: baseline;
}

.sort_type {
    text-decoration: none;
    color: #1e2125;
    cursor:pointer;
}

.a:hover {
    color: unset;
}

/*.menu_top .content_profile_account a.dropdown-toggle i {*/
    /*right: 25px !important;
    top: 15px !important;*/
    /*right: 0px !important;
}*/
.locvasapxep {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
   
}
input[type=checkbox] {
    padding: 10px;
}
label.form-check-label {
    margin: 0px 0 10px 20px;
}

.label_selected{

}
.splide__slide {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 260px ;
    margin-right: 7%;
}

.splide__track {
    margin: 0px 2rem;
}

.splide__arrows .splide__arrow {
    background-color: #66666617;
    fill: #999999;
    border: 1px solid #66666617;
    /*margin: -5rem -1rem;*/
}

    .splide__arrows .splide__arrow:hover {
        background-color: #fffffffc;
        border: 1px solid #ccc;
        fill: #000;
    }

#side_left_modal .accordion-item:last-of-type .accordion-button.collapsed {
    border-top: 1px solid rgb(0 0 0 / 10%) !important;
}
#lst_book .view_list_book{
    padding:0 12px;
}

/*Xóa nút nhấn qua lại cho sách mới hay*/
.splide__arrow svg {
    display: none;
}
/*Chỉnh sửa nút nhắn cho đúng vị trí*/
.splide__arrow--prev, .splide__arrow--next {
    top: 35%;
}
.drop_language {
    padding-left: 25px;
    cursor:pointer;
}
.splide__pagination {
    bottom: unset !important;
    
}
.container_title .show_button_close {
    display: flex;
    align-items: center;
}
.title-orgname{
    padding:0 20px;
}
#collapseCatg .accordion-body .list-group .list-group-item .form-check .form-check-input {
    cursor:pointer;
}

.listbookhome .cardd .orgname_book {
    font-weight: 300;
    height: auto;
}

#lst_book .view_list_book .item_book .card-body {
    padding: 1rem 0rem;
}
