/*Menu dọc chỉnh chữ*/
#mega-menu-title {
width: 340px;
background: #ffffff; /*Màu nền danh mục SP chèn mã màu khác tại đây*/
text-transform: uppercase;
font-size: 18px; /* Đặt kích thước chữ mong muốn ở đây */
    color: #000;
}
#mega-menu-title {
width: 340px;
text-transform: uppercase;
color:#000;
}

#mega_menu a:hover {
width: 340px;
}

#menu-item-716.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-716 {
width: 340px;
}

#mega_menu.sf-menu.sf-vertical.sf-js-enabled.sf-arrows {
width: 340px; /*độ rộng menu*/
}

#mega-menu-wrap.ot-vm-hover {
width: 340px;
}

.nav.header-nav.header-bottom-nav.nav-center.nav-uppercase {
left: 40px;
}
#mega-menu-wrap{
width:340px;
background:#fdd504;
}












/*title đẹp*/
#nz-div {
    display: flex; /* Thiết lập flexbox cho container */
    align-items: center; /* Căn giữa các items theo chiều dọc */
    justify-content: space-between; /* Phân bổ khoảng cách đều giữa các items */
    border-top: 4px solid red;
    margin-bottom: 40px;
    position: relative;
    height: 37px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#nz-div h2.tde {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    display: inline-block; /* Đảm bảo tiêu đề hiển thị inline */
    text-transform: uppercase;
}

.view-all {
    display: inline-block; /* Đảm bảo 'xem tất cả' hiển thị inline */
    white-space: nowrap; /* Ngăn không cho xuống dòng */
    color: #222222;
    text-decoration: none;
    margin-left: 20px; /* Khoảng cách giữa tiêu đề và 'xem tất cả' */
}

.view-all:hover {
    color: red; /* Thay đổi màu thành màu bạn mong muốn */
}

#nz-div h2.tde :after {
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-left: 20px solid red;
    border-bottom: 0px solid transparent;
    border-right: 0 solid transparent;
    position: absolute;
    top: 0px;
    right: -20px;
}

#nz-div h2.tde span {
    background: red;
    padding: 10px 20px 8px 20px;
    color: white;
    position: relative;
    display: inline-block;
    margin: 0;
    border-top-right-radius: 0px; /* Điều chỉnh giá trị này để bo tròn góc phía trên bên phải */
    border-bottom-right-radius: 0px; /* Điều chỉnh giá trị này để bo tròn góc phía dưới bên phải */
}

.parent-element {
    position: relative;
}

.sub-cat {
    display: inline-block;
    margin: 0 auto;  /* Center horizontally in the parent */
    line-height: 45px;
    position: absolute;
    top: 60%;       /* Center vertically */
    left: 50%;      /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust the exact centering */
    cursor: pointer; /* Thêm con trỏ chuột để cho biết có thể click */
    transition: color 0.3s, border-color 0.3s; /* Hiệu ứng chuyển màu và viền mượt mà */
}

.sub-cat:hover {
    color: red; /* Thay đổi màu sắc khi di chuột vào */
    border-color: black; /* Thay đổi màu viền khi di chuột vào */
}

.sub-cat:active {
    color: blue; /* Thay đổi màu sắc khi được click */
}

.sub-cat a {
    border: 1px solid #0404B4; /* Thêm viền màu đỏ với độ dày 2px */
    padding: 5px; /* Thêm padding để nội dung không chạm vào viền */
    margin-right: 5px; /* Thêm một chút khoảng cách giữa các liên kết */
    text-decoration: none; /* Loại bỏ gạch chân */
    color: black; /* Đặt màu chữ là đen */
    transition: color 0.2s, border-color 0.2s; /* Hiệu ứng chuyển màu mượt mà */
    border-radius: 8px; /* Làm tròn các góc của viền */
}

.sub-cat a:hover {
    color: red; /* Thay đổi màu chữ khi di chuột vào */
    border-color: red; /* Thay đổi màu viền khi di chuột vào */
}

.sub-cat {
    width: 80%; /* Chiếm 100% độ rộng của phần tử cha */
    display: block; /* Để chiếm toàn bộ độ rộng, chuyển nó sang block */
    text-align: center; /* Căn giữa các liên kết bên trong */
}

@media (max-width: 768px) {
    .sub-cat {
        display: none; /* Ẩn .sub-cat trên các thiết bị có chiều rộng màn hình nhỏ hơn 768px */
    }
}

@media (max-width: 768px) {
    #nz-div h2.tde:after {
        border-top: 4px solid transparent; /* Giảm chiều cao của tam giác */
        border-left: 10px solid red; /* Điều chỉnh chiều rộng của tam giác nếu cần */
    }
}





/* TABS TRƯỢT */
/*hệ thống*/

.hethong-title {
    position: absolute;
}
.hethong ul li a {
	padding:0 10px;
	color: #fff;
}
 
.hethong ul li.tab.has-icon {
    color: #fff;
    background: #a2a2a2;
    padding: 2px 10px;
    margin-right: 0.7em;
    margin-bottom: 0.5em;
    margin-left: 0;
    cursor: pointer;
    border-radius: 4px;
    min-width: max-content;
    line-height: 1.8em;
}
.hethong ul li.tab.active.has-icon {
    background: #b41e4d !important;
}
.hethong ul li.tab.active.has-icon a {
    color: #fff !important;
}






.listgroup{
   display: block;
   overflow: hidden;
}
.listgroup a {
 background: #f3f3f3;
 margin: 5px;
 margin-right: 0;
 padding: 20px 0px;
 font-size: 12px;
 color: #666;
 border-radius: 4px;
 display: flex;
 justify-content: center;
 align-items: center;
 min-height: 36px;
 line-height: 15px;
 float: left;
 overflow: hidden;
 margin-bottom: 10px;
 width: 24%;
 text-align: center;
}
.listgroup img {
    display: block;
    width: 45px;
    height: 45px;
    margin: 0 auto 5px;
    border-radius: 50px;
}
.listgroup span {
    display: block;
    line-height: 1.3em;
    font-size: 13px;
    color: #0064c2;
    text-align: center;
    padding: 0 5px;
}
.namegroup {
    display: block;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
}


.tabbed-content .tab { flex-shrink: 0 !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch !important; } .tabbed-content .nav { display: flex; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; flex-direction: unset; -webkit-flex-flow: unset; flex-flow: unset; -webkit-justify-content: unset; justify-content: unset; -webkit-align-items: unset; align-items: unset; } ::-webkit-scrollbar { height: 3px; -webkit-overflow-scrolling: touch; } ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); -webkit-overflow-scrolling: touch; } ::-webkit-scrollbar-thumb { border: 4px solid #ba6900; }




.col-inner ul li:nth-child(1).tab {
    background-color: #E20808;
    padding: 5px 15px 5px 15px;
		width: 355px; /* Chiều rộng cố định */
    height: 40px; /* Chiều cao cố định */
    margin-right: 3px; /* Khoảng cách giữa các tabs */
}
.col-inner ul li:nth-child(2).tab {
    background-color: #E20808;
    padding: 5px 15px 5px 15px;
		width: 355px; /* Chiều rộng cố định */
    height: 40px; /* Chiều cao cố định */
    margin-right: 3px; /* Khoảng cách giữa các tabs */
}
.col-inner ul li:nth-child(3).tab {
    background-color: #E20808;
    padding: 5px 15px 5px 15px;
		width: 355px; /* Chiều rộng cố định */
    height: 40px; /* Chiều cao cố định */
    margin-right: 3px; /* Khoảng cách giữa các tabs */
}
.col-inner ul li:nth-child(4).tab {
    background-color: #E20808;
    padding: 5px 15px 5px 15px;
		width: 355px; /* Chiều rộng cố định */
    height: 40px; /* Chiều cao cố định */
    margin-right: 3px; /* Khoảng cách giữa các tabs */
}
.col-inner ul li:nth-child(1).tab a, .col-inner ul li:nth-child(2).tab a, .col-inner ul li:nth-child(3).tab a, .col-inner ul li:nth-child(4).tab a {
 color: white;
		display: block; /* Đảm bảo liên kết chiếm hết không gian của tab */
    line-height: 15px; /* Đặt chiều cao line-height bằng với chiều cao của tab để văn bản canh giữa */
    text-align: center; /* Căn giữa văn bản theo chiều ngang */
}
.col-inner ul li.tab.active {
    background-color: #9A1515; /* Màu mới cho tab khi được click */
    color: white; /* Đổi màu chữ nếu muốn */
}
.tabbed-content li a:before {
opacity: 1 !important;
}




ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.tabs li {
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
  background: #f1f1f1;
}

ul.tabs li.current {
  background: #ddd;
}

.tab-content {
  display: none;
  background: #ddd;
  padding: 15px;
}

.tab-content.current {
  display: block;
}