/**
 * Theme Name:     K-Tech
 * Author:         K-Tech
 * Template:       flatsome
 * Text Domain:	   k-tech
 * Description:    Theme Build by Dai
 * Theme URI:      https://k-tech.net.vn/
 * Author URI:     https://k-tech.net.vn/
 * Version:        2025
 * License:        2NRJM-B46WR-K6VQR-Y4T3D-QRWPX
 * License URI:    https://k-tech.net.vn/
 */



 /*************** ADD CUSTOM CSS HERE.   ***************/
/*Header*/
#logo img {
    max-height: 110px;
    padding-right: 15px;
}
#main-menu a {
    color: #993333;
}
#menu-item-189 .nav-top-link {
    font-size: 0; /* Ẩn chữ bằng cách thu nhỏ font */
}
.header{
	    box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.1);
}
.header a.icon:not(.button) {
    margin-left: .3em;
    margin-right: 1.3em;
}
ul.header-nav.header-nav-main.nav.nav-right.nav-uppercase {
    justify-content: flex-start;
}
.header .social-icons {
    color: #993333;
    display: inline-block;
    gap: 20px;
    font-size: 16px;
    vertical-align: middle;
	padding: 8px;
}
.header .nav>li>a {
    font-size: 15px;
	color: #000000;
}
.header .nav>li>a:hover {
    font-size: 15px;
	color: rgb(153, 51, 51);
}
.header-bottom-nav > li {
    margin-right: 50px;
}

.tag-label {
    background-color: #FFEBEB;
    border-radius: 6px;
    color: #333333!important;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.1px;
    line-height: 1;
    padding: 4px 20px;
    text-transform: none;
}
.cat-label.tag-label:hover {
    color: #993333 !important;
}
.op-7 {
    opacity: inherit; 
}
.has-hover:hover .tag-label {
    background-color: #FFEBEB !important;
    opacity: inherit !important;
	color: #993333;
}

.bg-red-row {
    background-color: #993333;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: 15px;
}
.bg-yellow-row {
    background-color: #ce9513;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: 15px;
}
.bg-gray-row {
    background-color: #F6EFEF;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: 15px;
}

.blogs .col.post-item::after {
    content: " ";
    display: block;
    width: 100%; /* chiều dài đường line, ví dụ 80% */
    margin: 40px auto 0; /* canh giữa và khoảng cách trên */
    border-bottom: 1px solid #ddd;
}
.blogs .row {
    position: relative;
}
.col_post .text_box{
	background-color: #EEE;
}
/* Thêm class hoặc selector để chỉ áp dụng cho phần post */
.blogs .row.large-columns-2 {
    position: relative;
}

.blogs .row.large-columns-2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Giữa hai cột */
    transform: translateX(-0.5px);
    width: 1px;
    background-color: #ddd;
    z-index: 1;
}
.home1 img,
.home2 img,
.home3 img,
.home4 img,
.blogs img {
    border-radius: 10px;
}
.home1 .image-cover {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
    border-radius: 10px;
}
.home1 .col, .columns, .gallery-item {
    margin-bottom: 15px;
    padding: 0px 15px 5px;
    position: relative;
    width: 100%;
}

.main-breadcrumb {
    display: flex;
    align-items: center;
    gap: 20px;
	margin-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 4px;
}
.main-cate {
    margin-top: 10px;
}
.main-cate-title a {
    white-space: nowrap;
    text-transform: uppercase;
    color: #933;	
}
.col_breadcrumb {
    padding-bottom: 10px !important;
}

.chevron-right {
    display: flex;
    align-items: center;
	font-size: 25px;
    color: #222;
	margin-bottom: 9px;
}

.list-sub-cate {
    display: flex;
    list-style: none;
    margin: 0;
	font-size: 16px;
	 font-weight: bold;
    padding: 0;
    gap: 12px;
	margin-top: 4px;
}

.list-sub-cate li a {
    text-decoration: none;
    color: #222;
    white-space: nowrap;
	font-size: 18px;
}
.breadcrumb-item {
    font-size: 24px;
	color: #933;
}
.post-sidebar .box-image {
  width: 0% !important;
}
.post-sidebar .box-text{
	padding: 10px;
}
.sidebar_home .box-image {
  width: 0% !important;
}
.box-blog-post .is-divider {
    height: 2px;
    margin-bottom: 2px;
    margin-top: 2px;
    display: none;
}
.news .is-divider {
    margin-top: .66em;
    display: none;
}
.news .widget-title{
	letter-spacing: .05em;
    line-height: 1.05;
    text-transform: none!important;
	font-size: 22px;
}
#recent-posts-4 ul li {
  position: relative;
}

#recent-posts-4 a {
  color: #333;
}
#recent-posts-4 ul li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #993333;
  position: absolute;
  top: 50%;
  left: -22px;
  border-radius: 50%;
  transform: translateY(-50%);
	opacity: inherit!important;
}
#recent-posts-4 ul li::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

#recent-posts-4 {
    background: linear-gradient(to bottom, #ccc 49%, #ffffff00 50%) 0 0 / 1px 4px repeat-y;
    position: relative;
    padding-left: 18px;
}
.news-table {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-table-bot {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Ảnh bài lớn */
.news-table-bot-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.news-table-title {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-table-title h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.news-excerpt {
    font-size: 16px;
    color: #555;
}

.sidebar_cus .box-image{
	width: 0px;
}
.sidebar_cus .box-text{
	padding: 10px 10px 10px 0px;
	 border-bottom: 2px solid #eee;
}
.sidebar_cus .text{
	margin-top: 10px;
}
.sidebar_cus .is-xsmall {
     font-size: 15px;
    font-weight: normal;
}
.headline_post .box-image {
    width: 66% !important; 
}

.headline_post .image-cover {
    padding-top: 50% !important; 
}

.back-to-top {
    right: 24px !important;
    bottom: 24px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #993333 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
	border-color: #ffffff !important;
}

.back-to-top i {
    color: #fff !important;
    font-size: 28px !important;
}
.entry-content {
    padding-bottom: 10px;
    padding-top: 10px;
}
.entry-header-text {
    padding: 10px 0;
}
/*Footer*/
#footer .ux-menu.stack.stack-col.justify-start{
	font-weight: bold;
}
.absolute-footer{
	background-color: rgb(153 51 51 / 91%);
}
.copyright-footer {
    color: #fff;
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
	.ux-sidebar-menu-icon {
        display: none;
    }
    .sidebar_cus .plain {
    font-size: 16px!important;
}
	.blogs .row.large-columns-2::before {
        display: none;
    }
	/* Bố cục các row con trong .most_view nằm ngang */
    .most_view .row-collapse.row-full-width {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    /* Số thứ tự: giữ khoảng cách bên phải */
    .most_view .row-collapse.row-full-width > .col:first-child {
        flex: 1;
        padding-right: 10px;
		margin: 0px 30px 10px 0px;
    }

    /* Nội dung tiêu đề: chiếm phần còn lại */
    .most_view .row-collapse.row-full-width > .col:last-child {
        flex: 1 1 auto;
    }

    /* Xóa margin dư thừa tiêu đề */
    .most_view .article-title {
        margin: 0;
    }
	.most_view p{
		margin-bottom: 0px;
	}
	.main-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 2px;
}
.main-cate {
    margin-top: 5px;
}
.main-cate-title a {
    white-space: nowrap;
    text-transform: uppercase;
    color: #933;	
	font-size: 14px;
}
.col_breadcrumb {
    padding-bottom: 5px !important;
}

.chevron-right {
    display: flex;
    align-items: center;
	font-size: 18px;
    color: #222;
	margin-bottom: 3px;
}

.list-sub-cate {
    display: flex;
    list-style: none;
    margin: 0;
	font-size: 14px;
	 font-weight: bold;
    padding: 0;
    gap: 3px;
	margin-top: 4px;
}

.list-sub-cate li a {
    text-decoration: none;
    color: #222;
    white-space: nowrap;
	font-size: 12px;
}
.breadcrumb-item {
    font-size: 16px;
	color: #933;
}
	.bg-red-row {
    background-color: #993333;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: inherit;
}
.bg-yellow-row {
    background-color: #ce9513;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: inherit!important;
}
.bg-gray-row {
    background-color: #F6EFEF;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: inherit!important;
}
}
@media (max-width: 549px) {
    #logo img {
        max-height: 50px!important;
    }
	.bg-yellow-row {
    background-color: #ce9513;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: inherit!important;
}
.bg-gray-row {
    background-color: #F6EFEF;
	background-image: url(https://ktech3.k-tech-services.com/info351/wp-content/uploads/2025/08/patten-1.png);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
	padding: 40px;
	border-radius: inherit!important;
}
}