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

/*************** ADD CUSTOM CSS HERE.   ***************/
.pd-0px {
	padding: 0px;
}
.pd-bt-0px {
	padding-bottom: 0px !important;
}
.mg-0px {
    margin: 0px !important;
}
.md-about-home {
    position: relative;
    top: -80px;
    background: #fff;
    padding: 15px 0px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #d9d9d9;
	z-index: 9;
}
.main-du-an {
	padding: 0 10px 20px !important;
}
.list-du-an {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}
.du-an-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}
.du-an-item {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.du-an-title a:hover {
    color: #0073aa; /* màu hover khi rê chuột vào tiêu đề */
}
.du-an-thumbnail {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.du-an-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease; /* Thêm transition mượt mà */
    border-radius: 5px;
}

.du-an-thumbnail:hover img {
    transform: scale(1.05); /* Zoom ảnh nhẹ khi hover */
}

.info-du-an {
	padding-top: 15px;
}
.info-du-an .du-an-title {
    font-size: 18px;
}
.info-du-an .du-an-dia-chi {
    font-size: 14px;
    height: 50px;
    margin-bottom: 0px;
	color: #404040;
}
.info-du-an .du-an-gia-ban {
    font-size: 14px;
    font-weight: 700;
    color: #d90000;
}
.label-md-site span {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 3em;
    padding-left: 0.25em;
    color: rgb(0 0 0);
    padding-bottom: 10px;
}
.label-md-site {
    text-align: center;
}
.label-md-site h2 {
    font-size: 26px;
    text-transform: uppercase;
    font-family: 'Open Sans';
    color: #f57a00;
}
.label-md-site h1 {
    font-size: 26px;
    text-transform: uppercase;
    font-family: 'Open Sans';
    color: #f57a00;
}
.label-md-site h1:before {
    left: 50%;
    margin-left: -30px;
    position: absolute;
    top: 70px;
    width: 60px;
    height: 2px;
    content: "";
    background-color: #c50000;
}
.label-md-site h2:before {
    left: 50%;
    margin-left: -30px;
    position: absolute;
    top: 45px;
    width: 60px;
    height: 2px;
    content: "";
    background-color: #c50000;
}
.footer-site {
    background: #ea7d008a;
    padding-top: 30px;
}
.footer-wrapper {
    background: url(/wp-content/uploads/2025/04/footer-bg-1.jpg);
}
.footer-site h3, .footer-site p, .footer-site span {
	color: #fff;
}
.footer-site .main-footer-site {
    margin: 0px auto !important;
}
.main-md-news-home {
    margin: 0px auto !important;
}
.md-news-home .post-item {
    background: #ffffff;
    padding: 0px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 8px #e5e5e5;
}
.col-sub-news .post-item .box-image {
    float: left;
    padding-right: 15px;
}
.col-sub-news .post-item .box-text {
    float: right;
	width: 70%;
	padding: 10px 10px 0px 0px;
}
.col-big-news .post-item .box-text {
    padding: 10px 10px 0px 10px;
}
.col-sub-news .post-item .box-text .post-title {
    font-size: 14px;
	color: #a55200;
}
.col-big-news .post-item .box-text .post-title {
    font-size: 16px;
    color: #a55200;
}
.col-sub-news {
    padding-left: 25px;
}
.box-blog-post .is-divider {
    margin-bottom: 0px !important;
}
.wpcf7-spinner {
	display: none;
}
.button-send-form .wpcf7-submit {
    height: 48px;
    background: #fff;
    color: var(--fs-color-primary);
    border-radius: 8px;
}
.button-send-form {
    padding: 0px;
	font-size: 15px;
}
.field-form-mail-site .wpcf7-text {
    border-radius: 8px;
    padding: 23px;
}
.main-footer-site .col ul li {
	color: #fff;
}
.md-news-home {
    background: #f5f5f5;
    margin-top: 30px;
    padding-top: 30px;
}
.text-2.widget_text .textwidget {
    text-align: center;
}
.info-header-single-du-an {
    margin-top: 30px;
    border-left: 3px solid #ea7d00;
    padding-left: 20px;
}
.info-header-single-du-an {
    color: #ea7d00;
}
.info-header-single-du-an h1 {
	color: #ea7d00;
}
.info-header-single-du-an .du-an-dia-chi {
    color: #2e2e2e;
    display: flex;
    align-items: center;
}
.info-header-single-du-an .du-an-gia-ban {
    color: #ff1a00;
    font-size: 16px;
    display: flex;
    align-items: center;
	font-weight: 600;
}
.info-header-single-du-an i {
    margin-right: 5px;
}
.blog-single ul {
    margin-left: 30px;
}
.md-contact-single-da {
    background: #ededed;
    border-radius: 8px;
}
.md-contact-single-da .col-image-info {
    display: flex;
    justify-content: center;
    align-items: center;
}
.md-contact-single-da .col-image-info span {
    background: #fff;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 100%;
    box-shadow: 0px 0px 10px #ababab;
}
.content-info-contact-single-da p {
    margin-bottom: 10px;
}
.title-content-info {
    color: #000;
    font-size: 14px;
    margin-bottom: 15px;
}
.title-content-info h4 {
    font-size: 18px;
    margin-bottom: 0px;
    color: #ea7d00;
}
.title-content-info span {
    color: #000;
    font-size: 14px;
}
.content-info-contact-single-da .button-zalo {
    background: #0077f1;
    color: #fff;
    border-radius: 5px;
    padding: 5px 15px;
}
.content-info-contact-single-da .button-hotline {
    background: #ff7f00;
    color: #fff;
    border-radius: 5px;
    padding: 5px 15px;
}
.main-md-contact-single-da {
    padding: 30px !important;
	margin-bottom: 30px;
}
#text-2.widget_text {
    text-align: center;
}
.md-about-home img {
    border-radius: 10px;
}
.main-page-tax {
    margin: 0px auto !important;
}
#logo img {
    padding: 3px 0;
    position: absolute !important;
    max-height: 150px !important;
    top: 1px !important;
}
.label-form-contact {
    text-align: center;
    font-size: 23px;
    color: red;
    font-weight: 600;
}
.label-field-contact {
    font-weight: 600;
}

/* Responsive cho di động */
@media (max-width: 768px) {
    .du-an-thumbnail {
        height: 250px; /* Giảm chiều cao ảnh trên mobile */
    }
	.md-about-home {
		position: relative;
		top: 0px !important;
		background: #fff;
		padding: 15px 0px;
		border-radius: 10px;
		box-shadow: 0px 0px 10px #d9d9d9;
		z-index: 9;
		margin-bottom: 30px;
	}
	.md-contact-single-da .col-image-info {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0px;
	}
	.md-contact-single-da .col-image-info span {
		background: #fff;
		width: 100px;
		height: 100px;
		display: flex;
		align-items: center;
		padding: 15px;
		border-radius: 100%;
		box-shadow: 0px 0px 10px #ababab;
	}
	#logo img {
		padding: 3px 0;
		position: absolute !important;
		max-height: 100px !important;
		top: 1px !important;
		left: 150px !important;
	}
}
