/*
Theme Name: bacninhit
Description: Theme được build lại bởi bacninhit.vn - 0965.565.742
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    
    
}
/**widget**/
.widget-post-list {
    width: 100%;
}

.widget-post-list .widget-post-item {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f2f2f2;
    align-items: center;
}

.view_item .inner-icon {
    width: 27px;
}

.view_item .widget-post-content {
    width: calc(100% - 27px) !important;
    float: left;
    padding-left: 10px;
}

.view_item .inner-icon span {
    font-size: 40px;
    font-weight: 900;
    line-height: 45px;
    color: var(--primary-color3);
}

.view_item {
    border: 0px !important;
}

.widget-title.view_title {
    background: transparent;
    padding: 0px !important;
    text-transform: unset !important;
}


.widget-title.view_title h3 {
    text-transform: unset !important;
    text-align: left;
    color: #000;
    font-size: 20px;
}

.widget-post-list .widget-post-item:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0px;
}

.widget-post-list .widget-post-item a {
    display: flex;
}

.widget-post-list .widget-post-item .widget-post-thumbnail {
    width: 120px;
    float: left;
    height: 80px;
    border: 1px solid #f2f2f2;
	    display: none;
}

.widget-post-list .widget-post-item .widget-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-list .widget-post-item .widget-post-content {
    width: calc(100% - 120px);
    float: left;
    padding-left: 10px;
}

.widget-post-list .widget-post-item .widget-post-content h3 {
    display: inline-block;
    color: #000;
    font-size: 15px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
    line-height: 24px;
}

.view_item h3 {
    font-weight: normal !important;
}

.widget-post-list .widget-post-item .widget-post-content h3:hover {
    color: var(--primary-color3);
}

.widget-post-list .widget-post-item .widget-post-content .post-meta {
    color: gray;
    font-size: 13px
}

.widget-post-list .widget-post-item .widget-post-content .product-price ins,
.widget-post-list .widget-post-item .widget-post-content .product-price ins span,
.widget-post-list .widget-post-item .widget-post-content .product-price b {
    color: #ff3333;
    font-size: 14px;
}

.widget-post-list .widget-post-item .widget-post-content .product-price del {
    color: gray;
    font-size: 13px;
    margin-left: 5px;
}

.widget-title {
    margin: 0 0 15px 0;
    width: 100%;
    display: block;
    background: #f2f2f2;
    text-transform: uppercase !important;
}

.widget-title h3, .widget-title span {
    color: #333;
    margin: 0px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
}

.widget-post-vertical a {
    display: block !important;
    flex-flow: wrap;
}

.widget-post-vertical .widget-post-thumbnail {
    width: 100% !important;
    height: 180px !important;
}

.widget-post-vertical .widget-post-content {
    width: 100% !important;
    padding: 10px 0 0 0 !important;
    border: 0px;
}

.is-divider.small {
    display: none;
}

.widget_categories ul, .widget_product_categories ul {
    margin-top: -5px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAEklEQVQImWNgYGCQYiAAhoYCAEfjALcmCP1hAAAAAElFTkSuQmCC)
}

.widget_categories ul li, .widget_product_categories ul li {
    width: 100%
}

.widget_categories ul li a, .widget_product_categories ul li a {
    width: 100%;
    display: block;
    color: #333;
    padding: 10px 15px !important;
    background: #e4e4e499;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s
}

.widget_categories ul li a:before, .widget_product_categories ul li a:before {
    content: "\f45c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size: 6px;
    vertical-align: middle;
    margin-right: 10px;
    color: var(--primary-color)
}

.widget_categories ul li:hover a, .widget_product_categories ul li:hover a {
    background: var(--primary-color) !important;
    color: #fff
}
/**post item**/
.post-item {
    width: 100%;
    transition: 0.3s ease-in-out;
}

.post-item .post-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.post-item:hover .post-thumbnail img {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
}

.post-item .post-content {
    width: 100%;
    padding: 15px 0 0 0;
}

.post-item .post-meta i {
    color: var(--primary-color3);
    margin-right: 2px;
}

.post-item .post-meta {
    display: flex;
    justify-content: space-evenly;
    font-size: 13px;
    color: #000;
/*     border-bottom: 1px solid #ccc; */
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
}

.post-item .post-content h4 a {
    font-size: 15px;
    line-height: 18px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
    height: 40px;
}

.post-item .post-content h4 {
    margin: 0 0 10px 0 !important;
}

.post-item .post-content h4 a:hover {
    color: var(--primary-color3)
}

.post-item .post-content {
    position: relative;
}

.post-item .post-content .post-desc {
    color: #616161;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 20px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-item .post-content .post-btn a {
    color: #000 !important;
    background: transparent !important;
    font-weight: 700 !important;
    font-size: 13px;
    text-transform: uppercase;
}

.post-item .post-content .post-btn a:hover {
    background: var(--primary-color3) !important;
    color: #fff !important;
}

.post-item .post-content .post-btn {
    position: unset !important;
    margin: 0px !important;
    float: none !important;
    text-align: center;
    border-top: 1px solid #eaeaea;
    padding-top: 13px !important;
}

.post-item .post-content .post-btn a:after {
    content: "";
    background: url(../images/icon-cate-h.jpg);
    width: 10px;
    height: 11px;
    background-size: 100% !important;
    display: inline-block;
    margin-left: 5px;
}

/**post big**/
.post-big {
    width: 100%;
    transition: 0.3s ease-in-out;
}

.post-big .post-thumbnail {
    width: 100%;
    height: 350px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.post-big .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.post-big:hover .post-thumbnail img {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
}

.post-big .post-content {
    width: 100%;
    padding: 15px 0 0 0;
}

.post-big .post-meta span:first-child {
    border-right: 1px solid #ffffff80;
    padding-right: 6px;
}

.post-big .post-meta span:last-child {
    padding-left: 6px;
}

.post-big .post-content h4 a {
    font-size: 25px;
    line-height: 35px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
        color: #3A4A9F;
}

.post-big .post-content h4 {
    margin: 0 0 8px 0 !important;
}

.post-big .post-content h4 a:hover {
    color: var(--primary-color3);
}

.post-big .post-content .post-desc {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}

.post-big .post-content .post-meta {
    color: #767676;
    font-size: 15px;
}

/**post list**/
.post-list {
    width: 100%;
    display: flex;
    flex-flow: wrap;
    transition: 0.3s ease-in-out;
    border-top: 1px solid #C2C3CA;
    padding: 10px 0 10px 0;
}

.post-list .post-thumbnail {
    width: 180px;
    height: 120px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.post-list .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.post-list:hover .post-thumbnail img {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
}

.post-list .post-content {
    width: calc(100% - 180px);
    padding: 0 0 0 20px;
}

.post-list .post-meta {
    text-align: left;
    color: #767676;
    font-size: 14px;
}

.post-list .post-meta span {

}

.post-list .post-content h4 a {
    font-size: 18px;
    line-height: 24px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
      color: #3A4A9F;
}

.post-list .post-content h4 {
    margin: 0 0 8px 0 !important;
}

.post-list .post-content h4 a:hover {
    color: var(--primary-color3)
}

.post-list .post-content .post-desc {
    color: #fff;
    font-size: 13px;
    line-height: 18px;
}

/**breadcrumbs**/
section.breadcrumbs {
    padding: 10px 0 !important;
    font-size: 15px;
}

section.breadcrumbs a {
    color: #0285ff;
}

section.breadcrumbs span {
    color: #000;
    font-weight: normal !important;
}

section.breadcrumbs p {
    margin: 0;
}

/**category**/
.category-entry {
    margin: 25px 0;
}

/**single*/
.category-description {
    padding: 15px 15px 30px 15px;
    background: #f2f2f2;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

#header-single {
    margin-bottom: 15px;
}

#header-single h1 {
    margin: 0 0 15px 0;
}

#header-single .post-meta span {
    font-size: 16px;
}

#header-single .post-meta span:not(:first-child) {
    color: #999;
    margin-left: 15px;
}

.category-description table, .category-description table tr td, .category-description table tr {
    border: 1px solid #c3c3c3 !important;
    color: #000;
}

.category-description table td, .category-description table th {
    padding: 10px;
}

.category-description p, .entry-content b, .category-description ul li, .entry-content ul li, .entry-content ol li, .category-description ol li {
    margin: 0 0 10px 0 !important;
}

.category-description ul, .category-description ol, .entry-content ol, .entry-content ul {
    margin-left: 15px !important;
}

.category-description, .entry-content {
    font-size: 17px;
}

.category-description a, .entry-content a {
    color: var(--primary-color3) !important;
    text-decoration: unset !important;
}

article.entry-content {
    padding-top: 0px !important;
}

#comments .comment-respond {
    margin-top: 0px !important;
}

article.entry-content table, article.entry-content table tr td, article.entry-content table tr {
    border: 1px solid #c3c3c3 !important;
    color: #000;
}

article.entry-content table td, article.entry-content table th {
    padding: 10px;
}

/**category**/
.category-box {
    background: #f5f5f5;
    padding: 0.75rem;
    width: 100%;
    border: 2px solid #eaeaea;
}

.category-box .category-thumbnail {
    width: 100%;
    height: 350px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.category-box .category-thumbnail img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
    object-fit: cover;
}

.category-box .category-content {
    margin: 1.5rem 0 0 0;
    text-align: center;
}

.category-box .category-content h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
}

.category-box .category-content h4 a {
    color: #111113;
    font-size: 1.5rem;
    line-height: 2rem;
}

.category-box .category-content h4 a:hover {
    color: var(--primary-color3)
}

.button_for_primary {
    font-size: 1.125rem;
}

.button_for_primary:hover {
    background: var(--primary-color3);
    color: #fff !important;
}

.category-box:hover .category-thumbnail img {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
}
