/*
Theme Name: Bds2
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.responsive-img {
    width: auto;
    height: auto;
}

.area-display {
    color: #333;
}
.area-display .m2 {
    color: #666;
    font-style: italic;
}

.product_list_widget span.amount {
    font-size: 17px;
}

.term-h2{
	font-size:112%;
  color: #0f5985;	
	text-align:justify;
}


/* Hiển thị upsell trên tablet/mobile */
.show-for-medium.hide-for-large.upsell-mobile-tablet {
    display: none;
}

/* Ẩn upsell desktop trên mobile/tablet */
.hide-for-medium.upsell-desktop {
    display: block;
}
												 



/*Css slider Price*/
.price-slider-min {
	display:none;
}
.price-slider-max{
	display:none;
}
.price-slider.both {
	padding:0 20px 0 20px !important;
}
.filter-title {
		font-size:95%;
	}
.filter-item .term-label {
	line-height:1.5;
}

/* CSS cho màn hình nhỏ hơn (Mobile) */
@media (max-width: 768px) {
    .responsive-img {
        width: 128px;
        height: auto;
    }
}

/*css giảm chiều cao breadcumb */
.gioithieu .page-title-inner {
    position: relative;
    padding-top: 0px;
    min-height: 60px;
}

/*css hiển thị list nhà*/
.product-small .title-wrapper2,
.product-small .title-wrapper-slider {
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    height: 50px;
    overflow: visible;
}

.product-small .title-wrapper2 {
    margin: 5px 0px 27px 0px;
    line-height: 70px;
	padding-right: 3px;	
}

  .product-small .title-wrapper-slider {
    margin: 0px 0px 65px 0px;
    font-size: 13px;
    line-height: 30px;
    height: 45px;
  }
}



/* Responsive for max-width: 768px */
@media only screen and (max-width: 768px) {
  .product-small .title-wrapper2 {
    margin: 5px 0px 1px 0px;
    font-size: 13px;
    line-height: 22px;
    height: 45px;
			padding-right: 3px;	
  }

  .product-small .title-wrapper-slider {
    margin: 0px 0px 48px -5px;
    font-size: 13px;
    line-height: 30px;
    height: 45px;
		padding-right: 3px;	
  }
}


/* Responsive for min-width: 769px and max-width: 1024px */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

	.product-small .title-wrapper2 {
    margin: 6px 0px 2px 0px;
    font-size: 15px;
    line-height: 23px;
    height: 48px;
  }

	
 .product-small .title-wrapper-slider {
    margin: 0px 0px 30px 0px;
    font-size: 8px;
    line-height: 32px;
    height:70px;
  }
}

/* Css Small One Open House Desktop */
.open-house-one-product-container {
    display: flex;
		background:#F4FFFF;		
    width: 300px;
    height: auto;
		margin: 10px 0 10px 0; 
    padding: 0;
	border: 1px solid #6699CC;
}

.open-house-one-product-left {
    width: 18px;
    height: auto;
    background: url('/wp-content/uploads/2024/09/SmallOpenHouse1Product_01_2.png') repeat;
    float: left;
		padding:0;
		margin:0;
}

.open-house-one-product-left .open-house-one-product-middle {
	flex:1;
}

.open-house-one-product-header {
    width: 282px;
    height: 36px;
    background: url('/wp-content/uploads/2024/09/SmallOpenHouse1Product_02.png') no-repeat right;
	color:#004aad;
	font-size:13pt;
	font-weight:bold;
	padding:0 0 0 8px;
}
.open-house-one-product-middle {
	  height: auto;
    width:  282px;
    position: relative;
}

.open-house-one-product-content {
		width: 282px;
		height: auto;
		font-size:11pt;   
}

.open-house-one-product-content ul{
	  display: flex;
    margin: 0px 0px 0px 0px;
    padding: 0px 5px 0px 20px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
}

.open-house-one-product-footer {
    width: auto;
    background: url('/wp-content/uploads/2024/09/SmallOpenHouse1Product_04.png') no-repeat left;
	text-align:center;
	color:blue;
	font-size:11pt; 
	padding-bottom:3px;
}

@media (max-width: 768px) { /* Cho màn hình di động và máy tính bảng */
  .open-house-info-mobile {
    display: block;
  }
  .open-house-info  {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 820px) { /* Chỉ cho iPad Air 4 */
  .open-house-info-mobile {
    display: block;
  }
  .open-house-info {
    display: none;
  }
}

@media (min-width: 821px) { /* Cho màn hình máy tính để bàn và máy tính bảng lớn hơn iPad Air 4 */
  .open-house-info-mobile {
    display: none;
  }
  .open-house-info {
    display: block;
  }
}


/*Css cho List Open Houses this week*/
.open-houses-title {
	color: #ffff00;
  font-size: 115%;
  margin-bottom: 0px;	
	font-weight:bold;
}

.open-houses-description {
    font-size: 80%;
    color: #ffffff;
}

.open-house-many-products-dates ul.fa-ul {
	  margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 4px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
	  letter-spacing: -0.9px;
		list-style-type: disc;
	 	list-style-position:outside; 
}


.open-house-many-products-dates .box-text {
	margin: 12% 8% 12% 8%;
	line-height:1.2;
	  border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

}

.open-house-many-products-dates .image-cover {
	padding-top:110% !important;
}

.open-house-many-products-dates  .box-overlay.dark .box-text, .box-shade.dark .box-text {
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
}


.open-house-many-products-dates  .section {
	padding: 0 !important;
}


/* Property Title */
.property-title {
	  color: #000080;
		font-weight:bold;	
    font-size: 130%;
		line-height: 1.2;
		padding-bottom: 3px;
}

/* Property Details */
.property-details {
    list-style-type: none; 
    padding: 0;
    margin: 0;
    display: flex;	
}

ul.property-details {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	flex-wrap: wrap;
  align-content: left;
  justify-content: left;
  align-items: flex-start;
}

.property-details li {
    margin-right: 0px; 
	  font-size: 100%;
    color: #3366ff;	 
		font-weight:bold;
}

.property-details li:last-child {
    margin-right: 0; 
}


.open-house-many-products-dates .invitation {
    padding-left: 8px;
    letter-spacing: -0.6px;		
}

.open-house-many-products-dates .invitation-text {
    color: #333399;
    font-size: 110%;	
}

.open-house-many-products-dates  .col-inner ul li {
    margin-bottom: 3px;
}

.open-house-many-products-dates .date-item {
    font-size: 100%;
}

.open-house-many-products-dates .date-text {
    color:#363636;
    font-size: 110%;
}

.open-house-many-products-dates .view-link {
    text-align: right;
}

.open-house-many-products-dates .link-text {
    font-size: 115%;
}

.open-house-many-products-dates .link-color {
    color: #0000ff;
}

.open-house-many-products-dates2
.property-title2 {
		color: black;
		font-weight:bold;	
    font-size: 115%;
		line-height: 1.2;
		padding-bottom: 3px;
		padding-right: 2px;
		padding-left: 4px;		
}

.open-house-many-products-dates2 .box-text {

	margin:10% 26% 50% 0%;
	padding: 5px 5px 2px 7px !important;
	line-height:1.2;
	border-top-left-radius: 0px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 10px;

}


.invitation2 {
    padding: 10px 0 0 25px;
		margin:0;
}

.invitation-text2 {
		color: #0441bb; 
    font-size: 110%;	
		text-align:left;
		font-weight:bold;
}


ul.fa-ul2 {
	padding: 0px 8px 0px 17px;
	flex-wrap: wrap;
  align-content: left;
  justify-content: left;
  align-items: flex-start;
	list-style-type:none;
}

.open-house-many-products-dates2 
.box {
	height:250px;
}
.open-house-many-products-dates2 .date-item {
    font-size: 90%;
}

.open-house-many-products-dates2 .link-text2 {
    font-size: 110%;
		color: #0033FF;
}
.property-details2 li {
    margin-right: 0px; 
	  font-size: 100%;
    color: #444444;	 
		font-weight:bold;
}
ul.property-details2 {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	flex-wrap: wrap;
  align-content: left;
  justify-content: left;
  align-items: flex-start;
}

.tim-nha-theo-yeu-cau-div {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 190px;
    height: 65px;
    z-index: 999;
}
	
.formtimnha-info {
    background-color:#008DDA; 
    padding: 19px 0 0 0;
		margin: 0 0 0 0;
    border-radius: 0px;		
}	
.formtimnha-des{
	color:#f2ffaa;
	font-weight:bold;
	padding-left:10px !important;
	padding-bottom:10px !important;
}

.formtimnha-info .col{
	padding: 0 15px 0px !important;
}
.formtimnha-infokhachhang{
    background-color:#0F67B1;
    padding: 19px 0 3px 0;
		margin: 0 0 5px 0;
    border-radius: 0px;
}	

.formtimnha-infokhachhang .col{
	padding: 0 15px 0px !important;
}

.formtimnnha .formtimnha-chuthich{
	padding-left: 5px;
	color:#CCFFFF;
	font-style:italic;
	font-size:90%;
}
.formtimnnha  .wpcf7-form-control-wrap {
	margin: 11px 0 -16px 0px !important;
}

@media (max-width: 768px) { /* Cho màn hình di động và máy tính bảng */
.section-title-center span {
	margin:5px 0 5px 0;
}
}

/*css sau thông báo sau khi submit thư */
.col#sent-alert {
    padding: 0 14px 1px;
}

#sent-alert .wpcf7-response-output {
    margin: 0em 2.5em 1em;
}
@media (max-width: 768px) { /* Cho màn hình di động và máy tính bảng */
	#sent-alert .wpcf7-response-output {
		 margin: 0em -0.5em 1em;
	}
}


.product_sidebar span.amount  {
		font-size: 18px;
}
.amount.baogia  {
		font-size: 16px;	
}

.icon-box.tim-nha-product-page{
	padding:10px 3px 0 5px;
}


.gcaptcha_field {
	width: 310px;
    overflow: hidden;    
    transform: scale(0.8);
    transform-origin: left top;
}

.gcaptcha_field2 {
	width: 310px;
    overflow: hidden;    
    transform: scale(0.8);
    transform-origin: left right;
}

.gcaptcha_field2 {
    display: none; 
}
.secure_ques {
    display: none; 
}

.form-nhan-tin:hover .gcaptcha_field2 {
    display: block; 
}

.formdangky:hover .gcaptcha_field2 {
    display: block; 
}
.formdangky:hover .secure_ques {
    display: block; 
}


.wpcf7-quiz-label {
	font-weight: 500px !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0em 0.5em 1em !important;
}

.back-to-top {
	margin-bottom:54px;
}
.wpsr-fm-chat-bubble  {
	margin-right:-12px;
	margin-bottom:-10px;
}

.out-of-stock-label {
	display:none !important;
}

.video-gioi-thieu-nha .item {
	padding-left:300px;
	padding-right:300px;
	color:#EEEEEE;
}
.video-gioi-thieu-nha .item h4{
	color:#fbff72;
}

/*page giới thiệu*/
.introduce-page {
            line-height: 1.6;
            margin: 0;
            padding: 0;

}
 .introduce-page .container {
            width: 80%;
            margin: 0 auto;
            padding: 10px;    
 }
 .introduce-page h1 {
            text-align: center;
            color: #004F92;
            font-size: 1.9em;
            margin-bottom: 0;
 }
 .introduce-page h2 {
	 	 color:#216DB0;
     font-size: 1.35em;
     margin-top: 0.8em;
}
 .introduce-page h3 {
	 	 	 color: #475157;
       font-size: 1.10em;
       margin-bottom: 10px;
  }
.introduce-page p {
		 color: #343e44;
      text-align: justify;
       margin-bottom: 20px;
}
.introduce-page img {
            display: block;
            margin: 20px auto;
}
.introduce-page .highlight {
            font-weight: bold;
}
 .introduce-page .img-right {
            float: right;
            margin-left: 20px;
 }
.introduce-page .clear {
            clear: both;
 }
.introduce-page .under-tittle {
	 color: #004f92;
	text-align:center;
	font-size: 175%;
}

@media (max-width: 768px) {
    .introduce-page .container {
        width: 95%;
        padding: 10px;
    }

    .introduce-page h1 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .introduce-page h2 {
        font-size: 1.2em;
        margin-top: 0.5em;
    }

    .introduce-page h3 {
        font-size: 1em;
    }

    .introduce-page p {
        font-size: 0.95em;
    }

    .introduce-page .under-tittle {
        font-size: 1.3em;
    }

    /* Căn chỉnh lại hình ảnh để vừa với màn hình nhỏ */
    .introduce-page img {
        width: 100%;
        height: auto;
    }

    /* Loại bỏ float cho hình ảnh bên phải trên di động */
    .introduce-page .img-right {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
    }
}

/* Media queries cho màn hình rất nhỏ (dưới 480px) */
@media (max-width: 480px) {
    .introduce-page h1 {
        font-size: 1.3em;
    }

    .introduce-page h2 {
        font-size: 1.1em;
    }

    .introduce-page h3 {
        font-size: 1em;
    }

    .introduce-page p {
        font-size: 1em;
    }

    .introduce-page .under-tittle {
        font-size: 1.1em;
    }
}

/* Css xtbreadcrumbs */
.xtbreadcrumbs {
    font-size: 1em;
    font-family: "Roboto", sans-serif;
	 margin-bottom: 5px;
	line-height: 1.6;
	color: #a5aaad;
}
.xtbreadcrumbs.outside{
	 font-size:1.2em;
}
.xtbreadcrumbs span {
    display: inline-block;
	  margin-bottom: 0px;
}

.xtbreadcrumbs a {
    color: #777;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.xtbreadcrumbs a:hover {
    color: #3f7df6;
}

.xtbreadcrumbs .current-item {
    color: #222;
}
.white-list-house .icon-box-text span {
    font-size: 100%;
    color: #FFFFFF;
    transition: color 0.3s;
}

.white-list-house:hover .icon-box-text span  {
    color: 	#99CCFF !important;
}
.uu-diem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.woocommerce-product-attributes-item__label {
    vertical-align: top; 
    padding-top: 15px; 
}

.uu-diem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.uu-diem-item {
    display: flex;
    align-items: center;
}

.custom-check-icon {
    margin-right: 8px;
    color: green;
    font-weight: bold;
}

.filter-nha-cali2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
}

.filter-nha-cali2 .col-inner {
    padding: 0px;
    border: none;
}

.filter-nha-cali2 .col-inner p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.filter-nha-cali2 .facetwp-dropdown {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.filter-nha-cali2 .facetwp-number {
    width: calc(40% - 8px);
    padding: 6px;
    margin-right: 4px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.filter-nha-cali2 .facetwp-submit {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
	display: none;
}
.filter-dien-tich:hover .facetwp-submit {
    display: inline-block;
}
.filter-year-built:hover .facetwp-submit {
    display: inline-block;
}
.filter-nha-cali2 .facetwp-submit:hover {
    background-color: #0056b3;
}

.filter-nha-cali2 .fs-wrap.single {
    position: relative;
    font-size: 14px;
}

.filter-nha-cali2 .fs-label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
		width: 100px;
}

.filter-nha-cali2 .fs-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
}

.filter-nha-cali2 .fs-option {
		padding:5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-nha-cali2 .fs-option:hover {
    background-color: #f1f1f1;
}

.woocommerce-product-attributes-item th {
	font-size:0.8em !important;
}

.listed-by-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.listed-by-wrapper-mobile {
    display: none;
}

.listed-by {
    margin-top: 15px;
    margin-left: 5px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    @media (max-width: 549px) {
    .listed-by-wrapper {
        display: none;
    }
	.listed-by-wrapper-mobile {
    display: flex;
		align-items: center;
		justify-content:center;
		flex-direction:row;
    gap: 10px;
	}
 }
}


.listed-by p {
    margin: 0;
    padding: 0;
	color:#012169;
}

.listed-by-title {
  font-style: italic;
	text-decoration:underline;	
	font-size: 1em;
}

.listed-by-info {
    font-weight: bold;
}

.logo_cong_ty_moi_gioi img {
    width: 70px;
    height: auto; 
		padding-top:25px;
		padding-left:0;
		margin:0 0 20px 0;
}


.listed-by-wrapper-mobile .listed-by {
    margin-top: 0px;
    margin-left: 5px;
    font-size: 0.8em;
} 

.listed-by-wrapper-mobile .logo_cong_ty_moi_gioi img {
    width: 70px;
    height: auto; 
		padding-top:0px;
		padding-left:0;
		margin:0 0 20px 0;
}

/* Màu internal link */
.related-posts-box {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007bff;
    margin: 15px 0;
}

.related-posts-box h4 {
    margin-top: 0;
}

.related-post-link {
    text-decoration: none;
    color: #007bff;
}

.related-post-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Màu place holder form tìm nhà tương tự */
.ginput_container_textarea textarea::placeholder,
.ginput_container_text input::placeholder {
    color: #A9A9A9 !important;
}

.gfield_label {
	font-weight: bold !important;
}
.ginput_container_nurslider .noUi-target {
    background: #e6af46 !important;
}

.gform_title {
	color: #F95700 !important;
}
.gform_description {
	color: #053fb0 !important;
	font-weight:bolder;
}


/*sub mennu*/

.header-main .nav > li > a {
    line-height: 0px !important;
}


.nav-dropdown .nav-dropdown-col > ul li:hover {
  background: #1E90FF;

}

.nav-dropdown .nav-dropdown-col > ul li:hover > a {
  color: white;	
  border-bottom-color:#1E90FF;
}

.nav-dropdown .nav-dropdown-col > ul li ul {
  padding-left: 8px; 	
}

.nav-dropdown .nav-dropdown-col > ul li ul li ul {
  padding-left: 11px;
}

.nav-dropdown .nav-dropdown-col > ul li ul li ul li:hover { 
  
}

.bds-related-posts {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

.bds-section-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;    
}

.bds-posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bds-post-item {
    display: flex;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.bds-post-thumbnail {
    flex: 0 0 300px;
}

.bds-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.bds-post-content {
    flex: 1;
}

.bds-post-title {
    margin: 0 0 15px 0;
    font-size: 22px;
}

.bds-post-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.bds-post-title a:hover {
    color: #007bff;
}

.bds-post-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .bds-post-item {
        flex-direction: column;
    }
    
    .bds-post-thumbnail {
        flex: 0 0 auto;
    }
    
    .bds-post-thumbnail img {
        height: 150px;
    }
    
    .bds-section-title {
        font-size: 24px;
    }
    
    .bds-post-title {
        font-size: 20px;
    }
	.entry-content ul li {
		margin-left: 1.2em !important;
	}
	.entry-content ul li[aria-level="2"] {
		margin-left: -1em !important; 
	}
	.entry-content ul li[aria-level="3"] {
		margin-left: -1em  !important; 
	}
		
}


@media (max-width: 767px) {
    .wp-block-button__link {
        font-size: 1em;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
