/*
Theme Name: Bất Động Sản RealEstast
Description: Giao diện con của Flatsome cho website bất động sản, dựng bằng khối kéo thả UX Builder.
Author: ThemeWP5s
Template: flatsome
Version: 1.0.0
*/



/* Fonts END */
/**
* Global
*/
p {
	margin-bottom: 10px;
}

.mh-no-margin {
	margin: 0 !important;
}

.mh-no-padding {
	padding: 0 !important;
}

.mh-no-margin-bottom {
	margin-bottom: 0 !important;
}

.mh-no-padding-bottom {
	padding-bottom: 0 !important;
}

.mh-font-size-x-large {
	font-size: 25px !important;
}

.mh-font-size-large {
	font-size: 22px;
}

.mh-font-size-normal {
	font-size: 19px !important;
}

.mh-font-size-small {
	font-size: 17px !important;
}

.mh-font-small {
	font-size: 14px;
}

.mh-font-normal {
	font-weight: normal !important;
}

.mh-font-bold {
	font-weight: bold;
}

.mh-font-italic {
	font-style: italic;
}

.mh-color-primary {
	color: var(--primary-color) !important;
}

/*
.mh-color-secondary {
	color: #042e37 !important;
}

.mh-background-success {
	background-color: #e5c71f !important;
}
*/

.mh-text-justify {
	text-align: justify;
}

.mh-fontawesome::before,
.mh-fontawesome::after,
.menu-item > a::before,
.menu-item > a::after {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 7px;
}

.mh-map::before,
.menu-item-map a::before {
 content: "\f3c5";
}

.mh-hotline::before,
.menu-item-hotline a::before {
 content: "\f2a0";
}

.mh-phone::before,
.menu-item-phone a::before {
 content: "\f3cd";
}

.mh-mail::before,
.menu-item-mail a::before {
 content: "\f2b6";
}

.mh-flex-row {
	display: flex !important;
	flex-direction: row;
}

.mh-list {
	list-style-type: none;
}

.mh-list > li {
	margin: 0;
}

/* Form */
select, input, textarea,
.mh-input {
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-o-box-shadow: none !important;
}

input::placeholder,
textarea::placeholder,
select.mh-input::placeholder,
input.mh-input::placeholder,
input.mh-input[type='date']::placeholder {
	font-weight: 300;
}

.mh-form-2-col,
.mh-form-3-col {
	justify-content: space-between;
	align-items: center;
}

.mh-form-2-col > label {
	flex-basis: 49%;
}

/* UX Theme */
.mh-col-no-divider .is-divider {
	display: none;
}

	/* Title */
.mh-title-simple {
	padding: 0;
}

.mh-title-simple b {
	display: none;
}

.mh-title-simple .section-title,
.mh-title-simple .section-title-main{
	border: 0;
	padding: 0;
	margin: 0;
}

.mh-title-simple.center .section-title {
	justify-content: center;
}

.mh-title-simple.right .section-title {
	justify-content: flex-end;
}

.mh-title-simple.normal .section-title,
.mh-title-simple.normal .section-title-main {
	font-weight: 400;
}

.mh-title-simple.initial .section-title-main {
	text-transform: initial;
	position: relative;
}

	/* Page title */
.mh-page-title {
	background-color: transparent !important;
}

.mh-page-title > .page-title-bg {
	display: none;
}

.mh-page-title .page-title-inner  {
	padding-bottom: 0;
	padding-top: 0;
	justify-content: flex-start !important;
}

.mh-page-title .page-title-inner .title-content.text-right {
	display: none;
}

.mh-page-title .page-title-inner .title-wrapper,
.mh-page-title .mh-archive-title span {
	background-color: #fff;
	display: inline-block;
	padding: 20px 25px;
}

.mh-page-title .mh-archive-title,
.mh-page-title .page-title-inner .title-wrapper h1 {
	color: #333;
	background-color: transparent;
	text-transform: uppercase;
}

	/* Slider */
.mh-custom-slider-dots .flickity-page-dots .dot.is-selected {
	width: 15px;
	height: 15px;
}

.mh-custom-slider-dots .flickity-page-dots .dot:not(.is-selected) {
	border-color: #fff;
	background-color: #fff;
	opacity: 1;
	width: 10px;
	height: 10px;
}

.mh-custom-slider-arrow .flickity-button {
  width: 50px;
}

.mh-custom-slider-arrow .slider:hover .flickity-prev-next-button {
	opacity: 1;
}

.mh-custom-slider-arrow .flickity-button svg {
  background-color: #333;
	border-color: #333;
	background-image: url('https://bds6.themewp5s.com/wp-content/uploads/2026/11/bieu-tuong-mui-ten-dai-banner-tren-trang-chu.png');
	background-repeat: no-repeat;
}

.mh-custom-slider-arrow .flickity-button.previous svg {
	background-position: -4px -2px;
}

.mh-custom-slider-arrow .flickity-button.next svg {
	background-position: -50px -2px;
}

.mh-custom-slider-arrow .flickity-button svg path {
	display: none;
}

	/* Accordion Panel */
.mh-col-accordion .accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.mh-col-accordion .accordion-item > a {
  background-color: transparent;
  border: 0;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 15px 25px;
}

.mh-col-accordion .accordion-item a .toggle {
  font-size: 14px;
  top: 7px;
  left: auto;
  right: 20px;
  margin: 0;
}

.mh-col-accordion .accordion-inner {
  padding: 0 25px 15px;
}

/**
 * Block
 */
/* Khách hàng */
.mh-col-testimonial .slider-wrapper {
  background-color: #333;
  padding: 30px 15px 60px;
}

.mh-col-testimonial .flickity-page-dots {
  bottom: -35px;
}

.mh-testimonial .icon-box-text {
  flex-direction: column-reverse;
  display: flex;
}

.mh-testimonial .mh-quote-sign span {
  color: #aaa;
  display: block;
  font-family: Rochester,cursive;
  font-size: 5.142em;
  height: 30px;
  line-height: .4;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: 100px;
}

.mh-testimonial .mh-quote-sign span::before,
.mh-testimonial .mh-quote-sign span::after {
  border-top: 1px solid #444;
  content: "";
  position: absolute;
  top: 0;
  width: 35px;
}

.mh-testimonial .mh-quote-sign span::before {
  left: 0;
}

.mh-testimonial .mh-quote-sign span::after {
  right: -10px;
}

.mh-testimonial .testimonial-meta {
  display: flex;
  flex-direction: column;
  color: #aaa;
  margin-bottom: 30px;
}

.mh-testimonial .testimonial-name {
  color: var(--primary-color);
  text-transform: uppercase;
}

.mh-testimonial .testimonial-company {
  text-transform: uppercase;
  color: #aaa;
}

.mh-testimonial .testimonial-meta .testimonial-name-divider {
  display: none;
}

.mh-testimonial .testimonial-text p {
  color: #aaa;
  font-style: normal;
  position: relative;
  max-width: 255px;
}

.mh-testimonial .testimonial-text p::before,
.mh-testimonial .testimonial-text p::after {
  font-size: 20px;
  position: absolute;
}

.mh-testimonial .testimonial-text p::before {
  content: "\'\' ";
  top: 0;
  left: -5px;
}

.mh-testimonial .testimonial-text p::after {
  content: " \'\'";
}

/**
 * Header
 */
/* Topbar */
#top-bar p,
#top-bar a {
  color: #aaa;
	font-size: 13px;
}

#top-bar p i {
	font-size: 14px;
}

#top-bar > .flex-row,
#top-bar > .flex-row > .flex-col,
#top-bar > .flex-row > .flex-col .nav,
#top-bar > .flex-row > .flex-col .nav li,
#top-bar > .flex-row > .flex-col .nav li a {
	min-height: 35px;
	line-height: 35px;
}

#top-bar .flex-col.flex-left {
	margin-left: 260px;
}

#top-bar .social-icons a {
	margin: 0;
	font-size: 12px;
  padding: 11px 12px;
	border-right: 1px solid #222;
  opacity: 1;
}

#top-bar .social-icons a:first-child {
  border-left: 1px solid #222;
}

#top-bar .social-icons a:hover {
	background-color: var(--primary-color);
	color: #fff;
}

/* Main */
#logo {
	background-color: var(--primary-color);
	position: absolute;
	top: -35px;
	z-index: 999;
	min-height: 115px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#logo img {
	margin: auto;
}

#masthead {
  z-index: 12;
}

#masthead .header-nav > li > a {
	font-weight: 600;
	padding: 0 10px;
}

#masthead .header-nav > li.current-menu-item > a {
	color: var(--primary-color) !important;
	background-color: #fff;
}

#masthead .header-nav .nav-dropdown > li > a {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
}

/**
 * Footer
 */
.mh-footer-col p,
.mh-footer-col a {
    
    font-size: 14px;
}

.mh-footer-col p {
    margin-bottom: 7px;
}

.mh-footer-col a:hover {
    color: #d84949 !important;
}

.mh-footer-col p i {
	font-size: 11px;
	margin-right: 5px;
}

.mh-footer-col .widget_nav_menu {
	padding: 0;
	margin: 0;
}

.mh-footer-col .widget_nav_menu ul.menu > li {
	border: 0;
}

.mh-footer-col .widget_nav_menu ul.menu > li > a {
	padding: 4px 0;
}

.mh-footer-col .mh-input,
.mh-footer-col .mh-button {
	min-height: 40px;
}

.mh-footer-col .mh-input {
	border-top-left-radius: 3px;
	-moz-border-top-left-radius: 3px;
	-webkit-border-top-left-radius: 3px;
	-o-border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	-moz-border-bottom-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-o-border-bottom-left-radius: 3px;
}

.mh-footer-col .mh-button {
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-o-box-shadow: none !important;
	font-weight: normal;
	border-top-right-radius: 3px;
	-moz-border-top-right-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-o-border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-border-bottom-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-o-border-bottom-right-radius: 3px;
}

.absolute-footer {
	padding: 0;
}

.absolute-footer a {
    color: #c9141b;
}

.absolute-footer .copyright-footer {
	color: #666;
	border-top: 1px solid #222;
	padding: 30px 0;
}

/**
 * Blog
 */
/* Global */
.blog-wrapper > .row.row-large {
	max-width: 1170px;
}

.blog-wrapper > .row.row-large > .col {
  padding: 0 15px 30px;
}

.blog-wrapper .is-divider {
	display: none;
}

/* Archive */
.blog-wrapper.blog-archive .col.post-item .badge.post-date {
	top: 0;
    width: 70px;
    height: 80px;
}

.blog-wrapper.blog-archive .col.post-item .badge.post-date .badge-inner {
	line-height: 1.3;
}

.blog-wrapper.blog-archive .col.post-item .badge.post-date span.post-date-day {
	font-size: 30px;
}

.blog-wrapper.blog-archive .col.post-item .badge.post-date span.post-date-month {
	font-size: 15px;
}


.blog-wrapper.blog-archive .col.post-item > .col-inner {
	background-color: #fff;
}

.blog-wrapper.blog-archive .col.post-item .box-text {
	padding: 20px;
}

.blog-wrapper.blog-archive .col.post-item .box-text-inner {
	display: flex;
	flex-direction: column;
}

.blog-wrapper.blog-archive .col.post-item .post-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.3;
	color: #333333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	order: 1;
}

.blog-wrapper.blog-archive .col.post-item .from_the_blog_excerpt {
	order: 2;
}

.blog-wrapper.blog-archive .col.post-item .button {
    order: 3;
    color: #000;
    display: inline-block;
    font-size: 13px;
    max-width: 120px;
    padding: 5px 20px;
}

.blog-wrapper.blog-archive .col.post-item .button:hover {
	color: #fff;
}

.blog-wrapper.blog-archive .col.post-item .mh-post-meta,
.blog-wrapper.blog-archive .col.post-item .from_the_blog_excerpt {
	margin: 0 0 5px;
	font-size: 15px;
}

/* Single */
.blog-wrapper.blog-single article.post {
	background-color: #fff;
	padding: 20px;
}

.blog-wrapper.blog-single .entry-header .entry-category {
	display: none;
}

.blog-wrapper.blog-single .entry-header .entry-meta {
	font-size: 13px;
	border-bottom: 1px solid #f7f7f7;
	padding-bottom: 10px;
	text-transform: initial;
}

.blog-wrapper.blog-single .entry-header .entry-header-text {
  padding-bottom: 0;
}

.blog-wrapper.blog-single .entry-header .entry-title {
	margin-bottom: 0;
	font-size: 22px;
	margin-bottom: 10px;
}

.blog-wrapper.blog-single .blog-share .social-icons {
  margin: 20px 0 0;
}

/**
 * Sidebar
 */
.widget-area aside.widget:not(.block_widget),
#shop-sidebar aside.widget:not(.block_widget) {
	background-color: #fff;
	padding: 20px 15px;
}

.widget-area .is-divider,
#shop-sidebar .is-divider {
	display: none;
}

.widget-area aside.widget .widget-title,
#shop-sidebar aside.widget .widget-title {
	display: block;
	margin: 0 0 15px;
	font-size: 17px;
}

.widget-area aside.widget ul li,
#shop-sidebar aside.widget ul li {
	border: 0;
}

.widget-area form #mh-submit-search,
#shop-sidebar form #mh-submit-search {
	color: #fff;
	margin: 0;
	background-color: var(--primary-color);
	font-weight: normal;
	width: 100%;
}

/**
 * Woocommerce
 */
/* Global */
.mh-box-price {
    background-color: var(--primary-color);
    padding: 10px 20px;
    display: inline-block;
    font-weight: 600;
}

/* Single */
	/* Gallery */
.mh-gallery-product > .col-inner {
    border-bottom: 1px solid #f5f5f5;
}

.mh-gallery-product .product-thumbnails {
	padding: 15px 25px 0 !important;
}

.mh-gallery-product .product-images .image-tools {
	display: none;
}

.mh-box-price.single {
	position: absolute;
    bottom: 181px;
}

	/* Summary */
.mh-row-summary {
	padding: 0 25px !important;
}

.mh-info-product .mh-box-info {
	border: 1px solid #111;
	padding: 10px;
	margin-bottom: 15px;
}

.mh-info-product .mh-box-info p {
	margin: 0;
	font-size: 14px;
}

.mh-info-product .mh-box-info p i {
	font-size: 12px;
	margin-right: 5px;
}

.mh-info-product .button {
	width: 100%;
	border: 0;
	margin-right: 0;
	min-height: 40px;
	line-height: 40px;
}

.mh-info-product .button::before {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	min-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	min-width: 40px;

}

.mh-info-product .button::after {
	content: '';
	position: absolute;
	display: block;
	top: 0;
	left: 40px;
}

.mh-info-product .button.alert::before {
	background-color: rgba(0,0,0,.1);
}

.mh-info-product .button.alert::after {
	border-top: 40px solid rgba(0,0,0,.1);
	border-right: 10px solid #0098bb;
}

.mh-info-product .button.white::before {
	background-color: rgba(0,0,0,.1);
}

.mh-info-product .button.white::after {
	border-top: 40px solid rgba(0,0,0,.1);
	border-right: 10px solid #ff0000;
}


.mh-info-product .button.mh-mail::before {
	content: "\f2b6";
}

.mh-info-product .button.mh-phone::before {
	content: "\f3cd";
}

.mh-info-product .button:hover {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}

.mh-info-product .button.white {
	background-color: #ff0000 !important;
	color: #fff !important;
}

.mh-summary-product .product-short-description {
	font-size: 14px;
}

	/* Tabs */
.mh-tabs-product .woocommerce-tabs ul.product-tabs {
	display: none;
}

.mh-tabs-product .woocommerce-tabs .tab-panels {
	padding-top: 0;
}

	/* Related */
.mh-related-product .related {
	border-top: 0;
}

.mh-related-product .product-section-title {
	display: none;
}

/* Archive */
.shop-page-title {
	display: none;
}

.category-page-row {
    padding-top: 50px;
}

.mh-title-resuilt {
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 25px;
}

/* Box product */
.product-small.box .mh-box-price {
	z-index: 1;
	top: 0;
	color: #fff;
	margin: 0;
	min-height: 40px;
}

.product-small.box .box-text {
	padding: 15px 0;
	background-color: #fff;
}

.product-small.box .box-text .name.product-title {
	margin: 0;
	padding: 0 15px 10px;
	border-bottom: 1px solid #eee;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-small.box .box-text .name.product-title a {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.product-small.box .box-text .mh-info-more {
	margin: 0;
	padding: 10px 15px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.product-small.box .box-text .mh-info-more p {
	margin: 0;
	font-size: 13px;
}

.product-small.box .box-text .mh-info-more p span {
	margin-left: 10px;
}

.product-small.box .box-text .mh-info-more p i {
	font-size: 11px;
	margin-right: 5px;
}

/* ===== Page ===== */
/**
 * Homepage
 */
/* Slider */
.mh-box-slider .text-inner h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.mh-box-slider .text-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.mh-box-slider .button {
  margin: 0;
  font-weight: normal;
  position: absolute;
  top: -37px;
  left: 0;
}

/* Search form */
.mh-form-search form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.mh-form-search form select,
.mh-form-search form button,
.mh-form-search form input {
  margin: 0;
  min-height: 40px;
}

.mh-form-search form button {
	color: #fff;
	background-color: var(--primary-color);
}

/* Product Category */
.mh-box-category {
  overflow: hidden;
}

.mh-box-category .box-text {
  position: absolute;
  bottom: 0;
}

.mh-box-category .box-text h4,
.mh-box-category .box-text p {
   overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-box-category .box-text h4 {
  margin: 0 0 5px;
  text-transform: uppercase;
  font-weight: 500;
}

.mh-box-category .box-text p {
  margin: 0;
  opacity: 0;
  filter: alpha(opacity=0);
}

.mh-box-category .box-text,
.mh-box-category .box-text p {
  -webkit-transition: opacity .2s,-webkit-transform .35s;
  transition: opacity .2s,transform .35s;
  -webkit-transform: translate3d(0,40%,0);
  transform: translate3d(0,40%,0);
}

.mh-box-category:hover .box-text,
.mh-box-category:hover .box-text p {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.mh-box-category:hover .box-text {
  bottom: 0;
}

.mh-box-category:hover .box-text p {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition-delay: 50ms;
  transition-delay: 50ms;
  -webkit-transition-duration: .35s;
  transition-duration: .35s;
}

/* Tư vẫn & Hỗ trợ */
.mh-box-info {
  padding: 20px;
  border: 1px solid #ddd;
}

.mh-box-info:hover {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
  box-shadow: 1px 1px 5px rgba(0,0,0,.2);
}

.mh-box-info .icon-box-img img {
  padding: 0;
}

.mh-box-info .icon-box-text {
  padding-left: 20px !important;
}

.mh-box-info .icon-box-text p {
  margin: 0;
  font-size: 14px;
}

.mh-box-info .icon-box-text p i {
  font-size: 12px;
  margin-right: 5px;
}

.mh-box-info .icon-box-text p:nth-child(1) {
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 15px;
}

/* Tin tức mới */
.mh-grid-blog .box-text-inner .post-title {
  font-size: 17px;
  margin: 0 0 10px;
}

.mh-grid-blog .box-text-inner  .post-meta,
.mh-grid-blog .box-text-inner .from_the_blog_excerpt {
  font-size: 14px;
  opacity: 1;
}

.mh-grid-blog .box-text-inner .from_the_blog_excerpt {
  margin: 0 0 5px;
}

.mh-grid-blog .box-text-inner .button {
  font-size: 13px;
  padding: 5px 25px;
  font-weight: 600;
  border-color: #333;
  color: #333;
}

.mh-grid-blog .box-text-inner .button:hover {
  border-color: var(--primary-color);
  color: #fff;
}

/* Vì sao chọn ... */
.mh-col-why .accordion-inner p {
  font-size: 13px;
  margin: 0;
}

/**
 * Page: Liên hệ
 */
.mh-col-contact p {
  margin-bottom: 0;
  font-size: 14px;
}

.mh-col-contact p i {
  font-size: 11px;
  margin-right: 5px;
  color: #08C;
}

.mh-col-contact .mh-input,
.mh-col-contact .mh-submit {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
}

.mh-col-contact input.mh-input,
.mh-col-contact .mh-submit {
  min-height: 40px;
  font-weight: normal;
}

/* ===== Responsive ===== */
/**
 * Tablet + Mobile
 */
@media only screen and (min-width: 320px) and (max-width: 860px) {
/* Header */
  #logo {
    position: static;
  }

/* Footer */
  .mh-footer-col .mh-input,
  .mh-footer-col .mh-button {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px;
  }

/* Woocommerce */
  /* Single */
  .mh-box-price.single {
    top: 0;
    bottom: auto;
  }

}

/**
 * Tablet
 */
@media only screen and (min-width: 426px) and (max-width: 860px) {
/* Header */
  #logo {
    min-height: 80px;
  }

/* Homepage */
  /* Search form */
  .mh-form-search form {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

}

/**
 * Mobile
 */
@media only screen and (min-width: 320px) and (max-width: 425px) {
/* Header */
  #logo {
    min-height: 90px;
  }

/* Homepage */
  /* Tư vẫn & Hỗ trợ */
  .mh-box-info {
  	flex-direction: column;
  	justify-content: center;
  	align-items: center;
  }

  .mh-box-info .icon-box-text {
  	padding: 20px 0 0 !important;
  }

  /* Search form */
  .mh-form-search form {
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
  }

}

@media only screen and (max-width: 320px) {

}
