﻿


/*------------------------------------------------------------------ All Pages -------------------------------------------------------------------*/
/****style.css****/
/*<i class="fas fa-home menu-icon" > </i > Icon của trang chủ*/

body {
    
    color: #333;
    background: none !important;
    background-color: #f2f2f2 !important;
    overflow-x: hidden;
    background-size: 100%;
    font-family: Merriweather!important;
    font-size: 13.5px!important
}

#footer-content strong span{
    text-transform: uppercase;
    font-size: 31px !important;
    font-family: UTMBebas, sans-serif !important;
    padding-bottom: 19px;
    font-weight: 500;
    color: rgb(135 244 177 / 80%) !important;

}
.all-title-box {
   
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    padding: 51.3px 0px;
    position: relative;
    height: 94px;
}
li.nav-item, li.nav-item>a {
    padding-right: 13px;
    padding-left: 13px;
    padding-top: 0;
    padding-bottom: 0;
   
}

@media only screen and (min-width: 992px) {
    ul.navbar-nav>li.nav-item {
        padding: 0 5px;
    }
}
.navbar-expand-lg .navbar-nav .nav-link {
  
    font-family: UTMBebas, sans-serif !important;
   
    color: #2c2666;
}
span.nav-link.username {
    color: #fe8d1a !important;
    cursor: pointer;
}
@media (min-width: 1024px) {
    nav.navbar li.dropdown ul.dropdown-menu {
        border-top: solid 5px;
        font-family: 'UTMBebas';
    }
    .container-fluid.vung-contact-boc >div {
        padding: 0;
    }
}
.container.vung-contact {
    padding: 0;
    margin-top: 18PX;
}
.container.vung-contact-body {
    padding: 0;
    background: #fff;
    margin-bottom: 18px;
}
.text-center.contact-info h3 {
    text-align: center;
    text-transform: uppercase;
    padding: 18px;
    font-size: 32px;
}
ul.submenu.dropdown-menu.dropdown-menu-end.show {
    margin: 0;
    background: #0079c0;
}


ul.submenu.dropdown-menu.dropdown-menu-end.show li a:hover {
    color: #0079c0;
}

ul.submenu.dropdown-menu.dropdown-menu-end.show li a {
    color: #fff;
}

ul.submenu.dropdown-menu.dropdown-menu-end.show li:not(:last-child)>a {
    border-bottom: 1px solid #fff;
}

ul.submenu.dropdown-menu.dropdown-menu-end>li {
    padding: 5px 13px;
    text-align: left;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 13px;
        padding-left: 19px;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        font-family: UTMBebas, sans-serif !important;
        font-size: 25px;
        font-weight: 500;
        color: #2c2666;
    }
}
.all-title-box::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

.d-flex.toptren {
    color: #222;
    font-size: 12px;
    height: 29px;
    vertical-align: middle;
}
.flex-ngay {
    font-size: 14px;
    padding: 6px 0;
    color: #333;
    font-weight: 600;
    border-radius: 5px;
}
.container-fluid.banner {
    background-color: #fff !important;
}
.d-flex.container.banner-boc {
    padding: 0;
    width: 100%;
}

.container-fluid.my-body>div {
    background: #fff;
    padding: 27px;
}
.banner-boc {
    background: url("/img/banner-ebook.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 113px;
}
.headtop_bg {
    background-color: #f0f8f4 !important;
    color: #222;
    font-family: "Roboto Condensed", sans-serif;
    height: 29px;
}
.color-menu-background-color {
    background-color: #fff;
    height: 49px;
    padding: 1px;
}
.m-show-more-action {
    color: #F7941E !important;
    font-weight: bold;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    user-select: none;
    padding-right: 20px;
    text-align:center;
}
.hidden {
    display: none;
}
.col-xl-9.shop-content-right {
    padding: 20px 30px;
}
.rating-color{
    color:#fbc634 !important;
}
a#LinhVuc_More {
    text-align: left;
    padding-bottom: 27px;
    /* font-size: 13px; */
}
.hidays-home-body 
{
    background-color: #fff;
    
}
.gioithieu-body, .book-info-body
{
    padding: 41px;
}
.boc-book-img
{
    position: relative;
    width: 100%;
    /* height: 191px; */
    max-height: 270px;
    border: 1px solid #f2f2f2;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.boc-book-img >img
{
    /* position:absolute; */
    width: 100%;
    height: auto;
    /* left: 0;
    top: 0; */
    object-fit: cover;
}
.product .row > div {
    margin-bottom: 15px;
}

a#NgonNgu_More {
    text-align: left;
    padding-bottom: 27px;
    font-size: 13px;
}
/*------------------------------------------------------------------ Thanh Nav Menu -------------------------------------------------------------------*/
#navbar-menu .nav-item, .nav-link, #danhmuc-title h3 {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
}
nav.navbar.bootsnav ul.nav li.active > a {
    color: #FBEC5E;
}
nav.navbar.bootsnav ul.nav li.active > a:hover{
    color: #FBEC5E;
}
nav.navbar.bootsnav ul.nav li > a:hover {
    color: #FBEC5E;
}
.form-group.col-md-12.col-sm-6.classLinhVuc {
    margin: 1px;
    padding: 3px 1px;
}
.navbar-light .navbar-brand{
    color: #2c2666;
}
.product-categori .list-group-tree .list-group-collapse .list-group
{
    padding: 0;
    margin: 0;
}

/*------------------------------------------------------------------ Thanh Danh Muc Left -------------------------------------------------------------------*/
#danhmuc-title{
    border-radius: 3px;
    border: none;
}
#danhmuc-title{
    background: #FD8913;
}
#danhmuc-title h3{
    color: #fff;
}
.title-left {
    font-size: 15.3px;
    border-bottom: 3px solid #F4710E;
    margin-bottom: 19.5px;
}
/*------------------------------------------------------------------ Footer -------------------------------------------------------------------*/
.footer-main {
    background: #125ea7 !important;
    color: #fff !important;
    padding: 13px 1px;
    text-align: center;
}
.borderradius {
  
    border-radius: 0 !important;
    line-height: normal;
}
.newsletter-box input {
    height: 41px;
    border: none;
    padding: 1px 13px;
    background: transparent;
    border-radius: 0;
    background: #fff;
    padding: 0 19px;
    width: 100%;
    box-shadow: 1px 1px 1px 1px #f2f2f2;
}
@media (max-width: 992px) {
.navbar-light .navbar-toggler {
 
    margin-right: 7px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.navbar-nav {
   
    background: #1671a6;
}
.nav-link
{
    color: #fff !important;
}
.banner-boc {
    background: url("/img/banner-ebook.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 68px;
}
.banner>div>div {
    padding: 0;
    margin: 0;
}
nav.navbar .navbar-brand {
    margin-top: 0;
    position: relative;
    top: -6px;
    padding-left: 6px;
    margin-left: 5px;
}
}
.product-item-filter li .nav-link.active {
    background-color: #FE8D1A;
    border: none;
    color: #ffffff;
}
.product-item-filter li .nav-link {
    border: none;
    border-radius: 0px;
    color: #111111;
    font-size: 19px;
}
/*------------------------------------------------------------------ Title -------------------------------------------------------------------*/
.rit-title-2024{
    font-size: 22px;
    margin-top: 10px;
}
.rit-cover .rit-titl i {
    font-size: 23px;
    margin-right: 5px;
}

.form-group-hiday .col-sm-2 {
    font-weight: bold;
    color: #333;
}
/*------------------------------------------------------------------ Rating -------------------------------------------------------------------*/
/* Định dạng chung cho tất cả các ô input và textarea */
.form-group-hiday input[type="text"],
.form-group-hiday textarea {
    width: 100%;
    padding: 13px 15px;
    font-size: 15.3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}
/* Đổi màu viền khi input được focus */
.form-group-hiday input[type="text"]:focus, 
.form-group-hiday textarea:focus {
    border-color: #FFA500; /* Màu cam sáng */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 8px rgba(255, 165, 0, 0.6); /* Hiệu ứng đổ bóng cam sáng */
    outline: none;
}

.review-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 13px;
    margin-bottom: 13px;
}

.review-author {
    font-size: 14px;
    color: #333;
}

.review-rating {
    font-size: 19px;
}

.review-body {
    font-size: 15.3px;
    color: #555;
    line-height: 1.5;
}

.review-body p {
    margin: 0;
    white-space: pre-wrap;
}


.listbook-title h2 {
    font-weight: 500;
    font-size: 19.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.6em; /* Giới hạn chiều cao, tương đương với 3 dòng chữ */
    line-height: 1.2em; /* Điều chỉnh khoảng cách giữa các dòng */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn số dòng */
    -webkit-box-orient: vertical;
    padding-left: 0;
}


.description-book p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.description-book p div {
    width: 48%; /* Đảm bảo các thông tin nằm cạnh nhau mà không bị đẩy xuống */
}

.description-book {
    position: relative; /* Thiết lập relative để làm mốc cho các phần tử con */
    padding-bottom: 51.3px; /* Tạo không gian cho nút "Đọc sách" ở phía dưới */
}
.description-book > *:not(.listbook-title) {
    line-height: 1.5;
}

.btnDocSach {
    position: absolute;
    bottom: 13px; /* Cố định nút cách đáy của .description-book một khoảng */
    right: 13px; /* Cố định nút cách mép phải một khoảng */
    margin-top: 0; /* Xóa khoảng cách margin-top để tránh ảnh hưởng bởi các yếu tố khác */
}

a#LoaiSach_More {
    text-align: left;
    padding-bottom: 19px;
}
.classLoaiSach {
    line-height: 1.5;
}
.book-title-wr {
    padding: 7px 10px;
    height: 50px;
    background-color: #f9f5e8;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.book-title {
    font-size: 14px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.pagination {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 200px;
    margin-top: 30px;
}
#danhmuc-title {
    padding-top: 7px;
}
#danhmuc-title > h3 {
    padding-bottom: 7px;
}
.list-group .form-group > input {
    top: -3px;
}
@media (max-width: 767px) {
    .navbar-light .navbar-toggler {
        /* border-color: #fff; */
        color: #2c2666;
        border-radius: 0px;
        margin-right: 7px;
        padding-top: 6px;
        padding-bottom: 6px;
        float: right;
        margin-top: 1px;
    }
}
@media only screen and (min-width: 280px) and (max-width: 599px) {
    .navbar-light .navbar-toggler {
        border-color: #fff;
        color: #2c2666;
        border-radius: 0px;
        margin-right: 7px;
        padding-top: 1px;
        padding-bottom: 6px;
    }
}
@media only screen and (max-width: 992px) {
    .container {
        max-width: 100%;
    }
    header > .container-fluid.banner {
        padding-left: 0;
        padding-right: 0;
    }
    .navbar.main-nav>.container {
        height: 39px;
        padding: 1px 3px;
        margin: 0;
        align-items: self-start;
    }
    #navbar-menu .nav-item, .nav-link {
       color: #fff;
       text-transform: unset;
        justify-content: left;
    }
    .color-menu-background-color {
        background-color: #fff;
        height: 39px;
        padding: 1px;
    }
    #footer-content strong span{
        font-size: 19px !important;
    
    }
    li.nav-item, li.nav-item>a {
        padding-right: 13px;
        padding-left: 13px;
        padding-top: 8px;
        padding-bottom: 2px;
    }
    ul>li.nav-item:not(:last-child) {
        border-bottom: 1px solid #fff;
    }
    div#collapsibleNavId {
        margin-top: -8px;
        z-index: 1000;
    }
    li.nav-item:hover {
        background-color: #f3f2f1;
        color: #2c2666;
    }
}
