/*
Theme Name: Vanphonghcm
Description: Thiết kế bởi Web Đại Tín
Author: WebDaiTin.com
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#header-contact li a{
    text-transform:none;
}
#header-contact li a i
{
    font-size: 16px;
    border: 2px solid #fe840c;
    border-radius: 50%;
    padding: 5px 6px;
}
#header-contact li a{
    color: #fe840c;
    font-size: 14px;
}
.box-filter{
    border-radius: 10px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    /* padding: 0px 0px 0px 0px; */
    overflow: hidden;
}
.item-filter{
    padding-left:10px;
}
.title-filter{
    background: #004e7c;
    /* color: #fff; */
    padding: 9px 10px 1px 15px;
    margin-bottom:7px;
}
.title-filter h3{
    color:#fff;
    font-size:15px;
}
.item-filter{
    padding-bottom: 7px;
    margin-bottom: 7px;
    border-bottom: #eee solid 1px;
}
.item-filter a{
    font-size:14px;
}
.d-inline {
    display: inline !important;
}
.attr-pro-detail {
    list-style: none;
    padding: 0px;
}
label.attr-label-pro-detail {
    width: 170px;
    float: left;
    margin-top: 0px;
    font-weight: bold;
     color: #5d5d5d;
}
.attr-pro-detail li {
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #ececec;
    overflow: hidden;
}
.attr-label-pro-detail {
    margin: 0px 5px 0px 0px;
    float: left;
    margin-top: 5px;
    font-weight: 600;
}
.attr-content-pro-detail {
    float: inline-block;
    margin-bottom: 0px;
}
.price-new-pro-detail {
    font-weight: 700;
    font-size: 20px;
    color: #ec2d3f;
}
.updated_at {
    float: right;
    color: #3ba36a;
    margin-top: 5px;
}
.product-tabs {
    padding: 0px;
    list-style: none;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e7e7e7;
    overflow: hidden;
}
.woocommerce-tabs {
    margin-top: 1rem;
}
.product-tabs li {
    cursor: pointer;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #eee;
    padding: 8px 15px;
}
.product-tabs li:active{
    background: #004e7c;
    color: #fafafa;
}
.fiper .spleft {
    width: 105px;
    display: inline-block;
    font-weight: bold;
}
.fiper i {
    margin-right: 5px;
}
.fiper span.fee {
    color: #fe840c;
}
.right-pro-detail {
    position: sticky;
    top: 50px;
}
.newshome-scroll{height: 430px;}

.home .abs-filter {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 600px);
    height: 150px;
}
/*search*/
.home .abs-filter .box-filter-advance{
   background: #004e7f;
}
.abs-filter .box-filter-advance
{
    background: #042b44b8;
}
.abs-filter {

    top: 0;
    bottom: 0;
    left: calc(50% - 600px);
    height: 210px;
    background: url(assets/images/building-banner.jpg);
    padding-top: 30px;
    /*z-index: 9;*/
    /*display: flex;*/
    /*align-items: center;*/
}
.box-filter-advance {
    max-width: 600px;
    width: 100%;
    background: #004e7f;
    padding: 20px;
    border-radius: 5px;
    z-index: 9;
    position: relative;
}
.box-filter-advance.w-100 {
    max-width: 1200px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.box-filter-advance:before {
    content: '';
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    /* background: rgba(255,255,255,0.5); */
    position: absolute;
    z-index: -1;
    border-radius: 5px;
    border: 10px solid rgba(255,255,255,0.5);
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.box-filter-advance #keyword_advance {
    height: 40px;
    margin-bottom: 15px;
}
.box-filter-advance #keyword_advance {
    height: 33.5px;
}
.abs-filter .row .col {
    padding-bottom: 0;
}
.search-adv {
    height: 45px;
    background: #fe840c;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    border: none;
    cursor: pointer;
}
.box-filter-advance.w-100 .search-adv {
    height: 33px;
    line-height: 21px;
    font-size: 15px;
}
/*end search*/

/*.home .abs-filter .row .col {
	max-width: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}
.home .abs-filter .row .col.col-input, .home .abs-filter .row .col.col-search {
	max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}
.home .abs-filter {
	width: 500px;
}*/
.home .open-search {
	display: none;
}
.sapxep .woocommerce-ordering {
    display: inline-block !important;
}
#tab-description {
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    position: relative;
}
#tab-description.expand {
    max-height: none;
    overflow: initial;
}
.wrapmore {
    position: absolute;
    bottom: 0;
    background: #fff;
    width: 100%;
    text-align: center;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.home .abs-filter {
		width: 100%;
	}
	.abs-filter {
		display: none;
		position: relative !important;
	    top: 0 !important;
	    bottom: 0 !important;
	    left: 0 !important;
	    height: initial !important;
	}
	.abs-filter.active {
		display: block;
	}
	.home .open-search {
		display: block;
		padding-left: 15px;
		padding-bottom: 15px;
	}
	.home .abs-filter .row .col {
		max-width: 100%;
	    -ms-flex-preferred-size: 100%;
	    flex-basis: 100%;
	}
}

a.product-video-thumb {
    height: 0;
    padding-bottom: calc(75% - 6px);
}
.product-video-thumb > div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}

.box-image .product-video {
    position: relative;
    height: 0;
    padding-bottom: 75%;
}

.box-image .product-video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loop-product-video-popup {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 !important;
    color: #fff;
    transition: all .3s ease;
}

.loop-product-video-popup:hover {
    color: red;
    background: #004e7cab;
}

.loop-product-video-popup i {
    border: 2px solid;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.box-image>a:first-child, .box-image>div>a:first-child {
    position: relative;
    height: 0;
    padding-bottom: 100%;
}

.box-image>a img, .box-image>div>a img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid {
	display: grid;
}

.flex {
	display: flex;
}

.items-center {
	align-items: center;
}

.justify-between {
	justify-content: space-between;
}

.pix-featured-real-estate-wrapper {
    padding: 20px 0;
}

.pix-featured-real-estate {
    padding: 30px;
    max-height: 460px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border: 2px solid #004e7e;
    padding: 20px;
}

.pix-featured-real-estate-wrapper > h3 {
	margin-bottom: 0;
	padding: 5px 10px;
	background: #004e7d;
	color: #fff;
	text-align: center;
}

.real-estate-item-body {
	margin-top: 10px;
	display: grid;
	grid-template-columns: 100px auto;
	gap: 10px;
}

.real-estate-item {
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    box-shadow: 0 3px 5px #ccc;
	background: #fff;
}

.real-estate-item-desc {
    background: #f4f3f3;
    border-radius: 4px;
    padding: 5px 10px;
}

.real-estate-item-desc > p {
    margin-bottom: 0;
}

.real-estate-item-head {
    font-size: 14px;
}

.real-estate-item-head > span:first-child {
    font-weight: bold;
	color: #004e7c;
	-webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    white-space: normal;
    overflow: hidden;
}

.real-estate-item-head > span:last-child {
    color: red;
}

.real-estate-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius: 4px;
}

.real-estate-item-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.real-estate-item-meta span:last-child {
	grid-column: 2 span;
}

.real-estate-item-meta span span {
	color: red;
}

@media (max-width: 768px) {
	.real-estate-item-body,
	.real-estate-item-meta,
	.pix-featured-real-estate {
		grid-template-columns: 1fr;
	}
	
	.real-estate-item-meta span:last-child {
		grid-column: 1 span;
	}
	
	.pix-featured-real-estate {
		max-height: 300px;
		padding: 10px;
	}
	
	.real-estate-item {
		display: grid;
        grid-template-columns: 60px auto;
        gap: 10px;
	}
	
	.real-estate-item-head {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
	.real-estate-item-desc {
		display: none;
	}
	.real-estate-item-body.grid {
		gap: 0;
        margin-top: 0;
        order: -1;
	}
}