/*
	Theme Name: Rehub child theme
	Theme URI: https://wpsoul.com
	Description: A Hybrid magazine/shop/review/news Wordpress Theme
	Author: Sizam
	Author URI: https://wpsoul.com
	Version: 9.4
	Template: rehub-theme
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
body {
	font-family: "Open Sans",arial !important;
}
body .font130 {
    font-size: 145% !important;
}
.post-meta-big span.postview_meta {color: #333 !important;}

.re-ribbon-badge.left-badge {left: -21px;}
.re-ribbon-badge {top: 53px; height: 80px;z-index:3;}
.re-ribbon-badge.left-badge span {transform: rotate(-90deg);right: 16px;}
.re-ribbon-badge span {box-shadow: none;top: 26px;}

.t-panel-container {padding: 0px !important; border: none !important;}
.gspb_tabs-id-gsbp-aa906b4 .t-btn-container {margin-bottom: 2px;}


.offer_act_enabled.col_item {
	padding-bottom: 5px;
}
.offer_grid.col_item {
	padding: 0px;
}
.grid_desc_and_btn {
	padding: 12px;
}

article.col_item {
	border: 1px solid #eee;
	border-radius: 5px;
}
.mb20 {
    margin-bottom: 9px !important;
}
.mb15 {
    margin-bottom: 5px !important;
}
.content_constructor {
	padding: 0 5px;
}
body .font90 {
    font-size: 100%;
}
body {
	font-family: "Tahoma",arial !important;
}
body .font130 {
    font-size: 135%;
}
body .font90 {
	font-size: 100% !important;
}
.lineheight25 {
    line-height: 26px;
}
.admin, .price_for_grid {
    display: none;
}
.favour_btn_red .heart_thumb_wrap, .row_social_inpost span.share-link-image {
	border: 1px solid #fff;
	border-radius: 4px;
}
.thumbminus {
	display: none;
}
.widget .title, .widget h2, .elementor-widget .title {
	text-transform: uppercase;
}
.header_top_wrap.dark_style {
    border-bottom: 1px solid #ffffff0f !important;
    background-color: #ffffff05 !important;
}
#main_header {
	background-size: contain;
}
nav.top_menu > ul:not(.off-canvas) > li > a:after {
	top: 31px;
}
.rh-hov-bor-line > a:after, .rh-border-line:after, nav.top_menu > ul:not(.off-canvas) > li > a:after {
	height: 2px;
}
nav.top_menu > ul:not(.off-canvas) > li > a:after {
	background: #98c2ff;
}
.rh-header-icon, .heads_icon_label, .rh-header-icon:hover {
	color: #f9f9f9;
}
@media screen and (max-width: 1224px) {
    .left_st_postproduct .post-meta span {
        line-height: 15px;
    }
}
#comments .title_comments {
	border-bottom:1px solid #eee;
}
.comment-respond {
	background: #f6f6f675 !important;
	box-shadow: none !important;
}
.comment-respond h3 {
	color: #747474 !important;
	font-size: 16px !important;
}
.comment-respond h3:before {
	content: "\2711";
}
#comments .title_comments {
	padding-bottom: 9px !important;
}
.favour_btn_red .heart_thumb_wrap .heartplus, .favour_btn_red .heart_thumb_wrap .heartplus.alreadywish:before {
	color: #b1141a;
}
.favour_btn_red .heart_thumb_wrap {
	background-color: #fff;
}
.favour_btn_red .heart_thumb_wrap {
	border: 1px dashed #b1141a;
}
.favour_btn_red .heart_thumb_wrap {
	padding: 2px 7px 0px 7px;
}
.share-link-image {
	color: #39599f !important;
	border: 1px dashed #939393 !important;
  border-radius: 7px;
}
.social_icon .fb, .rh-social-square .fb:hover, .social_icon .tw, .rh-social-square .tw:hover, .social_icon .pn, .rh-social-square .pn:hover, .social_icon .in, .rh-social-square .in:hover, .favour_btn_red .heart_thumb_wrap {
	background:unset !important;
}
.width-125 {
	width: 152px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: #000;
}
body .font110 {
    font-size: 99%;
}
.priced_block .btn_offer_block, .wpsm-button.rehub_main_btn, .priced_block .button {
	font-size: 11px;
	font-weight: 500;
}
.right_st_postproduct.floatright.mobileblockdisplay {
	float: none;
}
.inline_compact_btnblock.priced_block .rh_button_wrapper {
	border: 1px solid #fff;
	border-radius: 12px;
}
.rh_button_wrapper a:before {
    content: "\f08e";
    font-family: 'rhicons';
    padding-right: 5px;
}
.hheading h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}
.hnoibat h2:before {
    content: "\f2eb";
    font-family: 'rhicons';
    padding-right: 5px;
    color: #f3a104;
}
.videoh h2:before {
    content: "\f144";
    font-family: 'rhicons';
    padding-right: 5px;
    color: #eb3838;
}
.hhinhanh h2:before {
    content: "\e919";
    font-family: 'rhicons';
    padding-right: 5px;
    color: #2284b5;
}
.hnoidung h2:before {
    content: "\f1ea";
    font-family: 'rhicons';
    padding-right: 5px;
    color: #cd873c;
}
.hamthanh h2:before {
    content: "\e918";
    font-family: 'rhicons';
    padding-right: 5px;
    color: #3c38eb;
}
.hmoi h2:before {
    content: "\e903";
    font-family: 'rhicons';
    padding-right: 5px;
    color: #96ca4e;
}
.re-line-badge.re-line-table-badge {
	padding: 5px 5px;
}
.widget.better_woocat ul li ul.children li {
	font-weight: 500;
	list-style: circle;
}
.widget.better_woocat ul li>a {
	font-size: 14px;
}
.sdate {
	font-size: 13px;
	display: inline;
}
.featured_box {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.content_constructor h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
#rehub_latest_tabs_widget-2 h5, #rehub_posts_widget-2 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.cat {
    font-size: 14px;
}
.breadcrumb, .breadcrumb a {
	color: #000;
	font-size: 14px;
}
.wpd-icon-label {
    padding-top: 5px;
    padding-bottom: 5px;
}
.wpd-comment-label2 {
    border: 1px solid #999;
    border-radius: 3px;
}
#comments {
	color: #817d7d;
}
#wpdcom .wpd-comment .wpd-comment-right {
    background-color: #f5f5f7;
    padding: 5px 15px;
    border-radius: 12px;
    position: relative;
}

#wpdcom .wpd-comment .wpd-comment-right:before {
    content: '';
    position: absolute;
    left: -10px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #f5f5f7;
    transform: translatey(-50%) rotate(-90deg);
}
#wpdcom .wpd-comment .wpd-comment-right:before {
    top: 31px;
}
.wpd_comment_level-1 {
    margin-bottom: 18px;
}

.recentCommentsWrapper ul.recentComments .widget-comment-content::before {
    content: '';
    display: block;
    position: absolute;
    top: -8px;
    left: 35px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #b5b5b5;
    border-bottom-color: #f5f5f5;
    z-index: 2;
}
.recent-comment-post a:hover {
    color: #1969de;
}
.recent-comment-post a {
    color: #333;
}
.recent-comment-post {
display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
	
}
.recent-comment-content {
	font-size: 14px;
	color: #333;
}
.comment-avatar img {
    border: 1px solid #fff;
    border-radius: 50%;
}
.wpd_widgets_items_wrapper .recent-comment-content::before {
	content: '';
    display: block;
    position: absolute;
    top: -6px;
    left: 35px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #b5b5b5;
    border-bottom-color: #f5f5f5;
    z-index: 2;
}
@media (max-width: 768px) {
  .wpd-icon-label {
	display: inline;
  margin-left: 5px;
	position: relative;
  top: -4px;
}
.wpd-comment-label2 {
	display: inline;
  margin-left: 5px;
	top: -4px;
  position: relative;
  padding-right: 5px;
}
}

.widget.better_woocat ul li ul.children li {
    list-style: none; 
    position: relative; 
}

.widget.better_woocat ul li ul.children li::before {
	padding-top:11px;
    content: "\22C4"; 
    color: black; 
    font-size: 1em; 
    position: absolute;
    left: -1.2em; 
}

.widget.better_woocat ul li ul.children li:hover::before {
    color: #1969de; 
}
.widget.better_woocat ul li>a:hover {
	color: #1969de;
}
#wpdcom {
	max-width: 100%;
}
.widget.better_woocat .cat-item-19 > a,
.widget.better_woocat .cat-item-31 > a,
.widget.better_woocat .cat-item-26 > a,
.widget.better_woocat .cat-item-1 > a {
	text-transform: uppercase;
	font-weight: bold;
	color: #1969de;
}
.browse-categories-label {
	text-transform: uppercase;
}
.btn_more {
	display: none;
}

.gallery-slider {
    max-width: 1200px; /* Điều chỉnh theo nhu cầu */
    margin: 0 auto;
	padding-bottom: 30px;
}

.main-slider {
    width: 100%;
    position: relative;
}

.main-slider .slide img {
    width: 100%;
    height: 550px; /* Chiều cao cố định */
    object-fit: cover; /* Đảm bảo hình ảnh không bị méo */
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.thumbnail-slider {
    margin-top: 10px;
}

.thumbnail-slider .slide img {
    width: 100px; 
    height: 60px;
    cursor: pointer;
	  border:1px solid #fff;
	  border-radius: 10px;
}
@media (max-width: 480px) {
    .thumbnail-slider .slide {
        width: auto !important;
        margin: 0 5px;
    }

    .thumbnail-slider .slide img {
        width: 80px;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }
}
@media (max-width: 480px) {
    .thumbnail-slider .slick-track {
        display: flex !important;
        flex-direction: row;
        gap: 3px; 
        justify-content: center; 
    }

    .thumbnail-slider .slide {
        flex-shrink: 0;
        width: 80px !important; 
    }

    .thumbnail-slider .slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}
.bds-info-on-archive {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
    align-items: center; 
    justify-content: space-between; 
}

.bds-info-on-archive .bds-item {
    background: transparent; 
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    white-space: nowrap; 
}


@media (max-width: 768px) {
    .bds-info-on-archive {
        flex-wrap: nowrap;  
        overflow-x: auto;   
    }
}
.newsimage img {
	height: 160px !important;
}
.news-community, .rh_offer_list {
	border-radius: 5px;
}

.bds-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
	background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}
.inline2 {
  display: block; /* hoặc để mặc định */
}
.archive .bds-item {
	padding: 6px !important;
}

.bds-item {
    background: #fdfdfd;
    padding: 7px;
    font-size: 14px;
	border:1px solid #efefef;
	border-radius: 5px;
}
.bds-item2 {
    background: #fdfdfd;
    padding: 1px;
    font-size: 14px;
	border-bottom:1px solid #efefef;
}
.post-meta span {
	padding-top: 8px;
}
.diachi {
	color: green;
	display:inline;
}

.thumbnail-slider .slide {
    padding: 5px; 
}

.thumbnail-slider .slide img {
    width: 100px; 
    height: 70px;
    cursor: pointer;
    
    transition: border-color 0.3s ease; 
}

.thumbnail-slider .slide.active img {
    transform: scale(1.1); 
}
.post_share {
	display: inline-flex;
}
.wpsm-button {
	background: #fff;
	color: red;
	border: 1px dashed #999;
	border-radius: 3px;
}
.wpsm-button.small {
	padding: 11px 9px;
}
span.wpsm-button-inner:hover {
    color: #000;
}

.readonly-textbox {
    pointer-events: none !important;
    background: #f0f0f0; 
}@media (max-width: 767px) {
    body .moblineheight15 {
        line-height: 20px;
    }
}
.single .tags p .tags-title-post {
	background: #f1f1f1;
	color: #111;
}
.single .tags p a {
	border: none;
border-bottom: 1px dashed #ddd;
}
a.rh-cat-label-title, .rh-cat-label-title a, .rh-label-string {
	background: #fff;
	color: #000;
}
.widget.better_woocat ul li>a {
	font-size: 15px;
}

ul.mdf_taxonomy_check_list li {
    margin-bottom: 1px;
    border-bottom: 1px solid #eee;
    padding-top: 6px;
    padding-bottom: 7px;
}
h4.data-filter-section-title {
	border-bottom:1px solid #00a17c;
	padding:4px !important;
	border-radius:2px !important;
	text-transform: uppercase;
	color: #00a17c !important;
	font-weight:bold !important;
}
.widget-meta-data-filter h3 {
    margin-bottom: -20px;
	font-size: 22px;
}
span.mdf_term_count_string {
	float: right;
    width: auto;
    background-color: #efefefdb;
    padding: 5px 6px;
    border-radius: 8px;
    color: #5a5a5a;
	font-size: 13px;
}
ul.related-posts li {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
	  margin-left: 6px;
}
.mdf-handle {
	top: 50% !important;
	background-size: 68px 68px !important;
}
.related-title i {
    vertical-align: middle; 
    margin-right: 7px; 
    position: relative;
    top: -1px; 
}
.related-posts-parent {
    padding-bottom: 10px;
}
.news-community .post-meta {
	display:inline;
	float:right;
}
.date_time_post {
    padding-top: 7px;
}
.acf-gallery-wrapper-with-title {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px 20px;
    margin-bottom: 30px;
    background: #ffffff;
    position: relative;
	  margin-top: 25px;
}

.acf-gallery-title {
    position: absolute;
    top: -14px;
    left: 20px;
    background: #fafafa;
    padding: 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
nav.top_menu > ul > li > a {
	padding: 8px 13px 5px 13px;
}

.acf-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.acf-gallery-item img {
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.acf-gallery-item img:hover {
    transform: scale(1.03);
}
.rh-boxed-container .rh-outer-wrap {
	box-shadow: 0 0 4px 0 rgba(0,0,0,.1) !important;
}
.mdf_widget_found_count {
	padding: 27px 0 5px 35px !important;
	color: red;
}
.idarchive {display: inline;}
/* Ẩn .rh_gr_img thumbnail khi màn hình ≤ 768px (tablet/mobile) */
@media (max-width: 480px) {
  .rh_gr_img {
    display: none !important;
  }
}
.re_filter_panel ul.re_filter_ul li span.active {
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
    border-radius: 6px 6px 0px 0px;
}
.gs_tabs_690 .gs_tab.active {
	background-color: #97b5a3 !important;
	}
.gs_tabs_690 .gs_tab {
	border: 1px solid #fff;
	padding: 0.8rem 1rem !important;
	border-radius: 6px;
}
.postlistright .mb10 {
    border-bottom: 1px solid #eee;
    margin-bottom: 0px !important;
}
/* Thêm list style type cho list bài viết bên cột phải trang chủ */
.wpsm_recent_posts_list .col_item .item-small-news-details a {
  display: inline-block;           /* hoặc block để full width */
  position: relative;
  padding-left: 1em;               /* chừa chỗ cho bullet */
}

.wpsm_recent_posts_list .col_item .item-small-news-details a::before {
  content: "•";                    /* ký tự bullet */
  position: absolute;
  left: 0;
  color: #ddd !important;                     /* màu bullet */
  font-size: 1.2em;                /* kích cỡ */
  line-height: 1;
  padding-top:8px;
}
/* Kết thúc - Thêm list style type cho list bài viết bên cột phải trang chủ */


.item-small-news-details {
  display: flex;                /* xếp con theo hàng ngang */
  align-items: center;          /* căn giữa theo chiều dọc */
  overflow: hidden;             /* ẩn phần dư */
}

.item-small-news-details .mb10 {
  flex: 1 1 auto;               /* chiếm hết chỗ còn lại */
  min-width: 0;                 /* quan trọng để ellipsis chạy */
}

.item-small-news-details .mb10 a {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;          /* chỉ 1 dòng */
  width: 100%;                  /* full chiều rộng flex */
}

.item-small-news-details .post-meta {
  flex-shrink: 0;               /* không co ngày */
  margin-left: 8px;
}

.item-small-news-details .date_meta {
  white-space: nowrap;
  font-size: 90%;
  color: #555;
}
.rh_gr_img figure img, .rh_gr_img_first figure img {
	border-radius: 8px !important;
}
