/**
* Theme Name: Anbaokhang Child
* Description: This is a child theme of Spaciaz, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: anbaokhang
* Version: 1.1.1
*/

/* ----- custom ----- */
body * {
    letter-spacing: unset !important;
}
@media (min-width: 768px) {
	body.single .col-fluid {
		padding: 0 20px;
	}
}

/* title */
body.single-post h1, 
body.single-post h2, 
body.single-post h3, 
body.single-post h4, 
body.single-post h5, 
body.single-post h6 {
	letter-spacing: 0 !important;
}
body.single-post h1, 
body.single-post h2 {
	text-transform: uppercase !important;
}
body.single-post h1 {
	font-size: 26px !important;
}
body.single-post h2 {
	font-size: 30px !important;
}
body.single-post h3 {
	font-size: 24px !important;
}
body.single-post h4 {
	font-size: 18px !important;
}
body.single-post h5 {
	font-size: 14px !important;
}
.color-scd {
	color: var(--e-global-color-8d9cd1e);
}

/* text */
.elementor-widget-text-editor p {
	margin-bottom: 10px;
}
.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* header */
.col-menu-mb .accordion-menu-items .uc-side-menu-items ul li a {
	justify-content: space-between;
}
.col-menu-mb .accordion-menu-items ul.sub-menu>li {
	border-bottom: 1px solid #ccc;
}
.btn-show-menu .elementor-button-icon {
	border-radius: 10px;
	width: 40px;
    height: 40px;
}
body .menu-mb-items .ue_menu {
	top: -16px !important;
    left: -16px !important;
    width: 100vw !important;
    height: 100vh !important;
}

/* services */
.services-h-items .elementor-service-wrapper .service-item,
.services-h-items .elementor-service-wrapper .service-item .service-style-inner {
	height: 100%;
}

/* price */
.tt-price-linear .elementor-heading-title,
.sub-price-linear .elementor-heading-title {
	color: transparent !important;
    background-clip: text;
}
.tt-price-linear .elementor-heading-title {
	background-image: linear-gradient(to top, #D8D81F, #115434) !important;
}
.sub-price-linear .elementor-heading-title {
	background-image: linear-gradient(to top, #7B9B29, #FF0000) !important;
}
.list-check-price .elementor-icon-list-item .elementor-icon-list-text span {
	font-weight: 900;
	color: var(--e-global-color-primary);
    text-shadow: 0.5px 0 0 white, -0.5px 0 0 white, 0 0.5px 0 white, 0 -0.5px 0 white, 0.5px 0.5px 0 white, -0.5px -0.5px 0 white, 0.5px -0.5px 0 white, -0.5px 0.5px 0 white;
}

/* project */
.img-orther-project {
	overflow: hidden;
    width: 100%;
    height: calc(100% - 165px);
	padding-bottom: 105px;
}
.img-orther-project * {
	height: 100% !important;
	width: 100% !important;
}
.img-orther-project img {
	object-fit: cover;
	border-radius: 20px;
}
.loop-project .uc-posts-pagination {
	margin-top: 30px;
	display: flex;
	gap: 10px;
}
.loop-project .uc-posts-pagination .page-numbers {
	background-color: var(--e-global-color-border);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
	transition: all 0.3s;
}
.loop-project .uc-posts-pagination .page-numbers:hover,
.loop-project .uc-posts-pagination .page-numbers.current {
	background-color: var(--e-global-color-primary);
	color: white;
}
.project-form-filter select[name="status"] {
	display: none;
}
.project-slider-mb .project-item .project-status {
	display: none;
}
.project-slider-mb .project-item .project-button-wrap {
	display: block;
}
.project-slider-mb .project-item .project-button-wrap .project-button {
	color: var(--accent);
	margin-top: 30px;
}
.project-slider-mb .project-item .project-post-thumbnail {
	padding-top: 630px;
}

/* gallery */
.glr-h-items.gallery-spacing-custom .elementor-image-gallery .gallery-icon {
	aspect-ratio: 4 / 3;
    overflow: hidden;
}
.glr-h-items.gallery-spacing-custom .elementor-image-gallery .gallery-icon * {
	height: 100%;
	width: 100%;
}
.glr-h-items.gallery-spacing-custom .elementor-image-gallery .gallery-icon img {
	object-fit: cover;
}

/* tính phí */
.col-form-tinh-phi {
	
}
.step_active {
    position: relative;
    background: linear-gradient(to right,var(--primary),var(--primary));
    transition: 1s;
    color: #fff;
}
.step_active::after {
    content: '';
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: absolute;
    right: -20px;
    top: 0;
    border-left: 20px solid var(--primary);
}
.step
{
    display: block;
    float: left;
    width: 75px;
    margin-right: 20px;
    font-size: 18px;
    line-height: 40px;
    padding-left: 10px;
}
.steps
{
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    overflow: hidden;
    height: 40px;
	display: flex;
}
.step_focus
{
    background: var(--primary);
    color: #fff;
    width: 95px;
    margin: 0;
}

/* Ẩn các bước không cần thiết */
.display_none {
    display: none !important;
}

/* Định dạng cho form */
.tt-line-tinh-phi {
	text-transform: uppercase;
    font-size: 24px;
    color: var(--e-global-color-primary);
	padding-bottom: 15px;
	position: relative;
}
.tt-line-tinh-phi:before {
	width: 95%;
	height: 1px;
    background-color: #ccc;
}
.tt-line-tinh-phi:after {
	width: 10%;
	height: 2px;
    background-color: var(--e-global-color-primary);
}
.tt-line-tinh-phi:before,
.tt-line-tinh-phi:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
}
.form_tinhgia {
    margin-top: 20px;
}
.form_tinhgia #buoc1,
.form_tinhgia #buoc2,
.form_tinhgia #buoc3,
.form_tinhgia #buoc4 {
	padding: 30px;
    border: 1px solid #ccc;
    border-radius: 20px;
}
.form_tinhgia .list-btn {
	margin-top: 30px;
	text-align: center;
}
.form_tinhgia .field {
	margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.form_tinhgia .field .col-customer {
	width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.form_tinhgia .field .col-customer fieldset {
	flex: 1;
}
.form_tinhgia .field input,
.form_tinhgia .field select {
	width: 100%;
}
.form_tinhgia .field .required-ip {
	display: flex;
	gap: 5px;
}
.form_tinhgia .field .col-md-6 {
	width: 100%;
}
@media (min-width: 768px) {
	.form_tinhgia .field .col-md-6 {
		width: 47%;
	}
}
.field span {
    display: block;
    margin-bottom: 5px;
}
.form_tinhgia .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 1000px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.form_tinhgia fieldset {
	margin-top: 0;
	margin-bottom: 0;
	padding: 20px;
    border-radius: 15px;
}

.form_tinhgia .btn:hover {
    background-color: var(--primary_hover);
}
.togle-table {
	margin-top: 30px;
}
.tabs-table {
	position: relative;
    padding-top: 80px;
}
.tabs-table .title-tab-table {
	position: absolute;
    top: 0;
}
.tabs-table .tab-links {
	list-style: none;
    margin: 80px 0 0 0;
    display: flex;
    gap: 10px;
	overflow: visible;
	width: 100%;
    border: 3px solid var(--e-global-color-primary);
    border-radius: 1000px;
    background-color: #BDD4B6;
}
.tab-links li {
	float: left;
    margin: 0;
	flex: 1;
	position: relative;
}
.tab-links li:before {
	content: '';
    background-image: url(/wp-content/uploads/2025/10/Icon-Tab.png);
    display: block;
    width: 60px;
    height: 60px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
	opacity: 0;
}
.tab-links li.hd-tabs.active:before {
	opacity: 1;
}
.tab-links a {
	display: inline-block;
    padding: 10px 20px;
    background: transparent;
    text-decoration: none;
    border-radius: 1000px;
    transition: all 0.3s;
	text-transform: uppercase;
/*     white-space: nowrap; */
    width: 100%;
    color: var(--e-global-color-primary);
    border: 3px solid transparent;
    font-weight: bold;
    text-align: center;
}
.tab-links a:hover,
.tab-links .active a {
	background-color: var(--e-global-color-primary);
    color: white;
	border-color: white;
}
.tab-content .tab {
	display: none;
}
.tab-content .tab.active {
	display: block;
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 0 3px var(--e-global-color-primary);
}
.table,
.table th, 
.table td {
	padding: 16px;
}
.table th, .table td {
    text-align: center;
}
.table tr:hover {
	background-color: #e7e7e7;
}
.table tr td {
	border: 1px solid #e7e7e7;
}
.table tr:nth-child(even):not(:hover) {
	background-color: #fafafa;
}
.table th {
    background-color: var(--e-global-color-primary);
    color: white;
}
.form-estimate-items .form-detailed-estimate .field-btn {
	text-align: center;
	position: relative;
}
.form-estimate-items .form-detailed-estimate .field-text {
	margin-bottom: 30px;
	text-align: center;
}
.form-estimate-items .form-detailed-estimate .field-input input {
	background-color: #D9D9D9;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}
.form-estimate-items .form-detailed-estimate .field-text p {
	font-size: 16px;
    color: #890D25;
    text-shadow: 1px 4px 5px rgba(0, 0, 0, 0.3);
    font-style: italic;
}
.form-estimate-items .wpcf7-spinner {
	position: absolute;
	margin: 0;
}
.form-estimate-items .form-detailed-estimate .field-btn .wpcf7-submit {
	background-image: linear-gradient(180deg, rgb(41 110 63 / 80%), #13482d);
    background-color: unset;
    padding: 15px 40px;
	box-shadow: 0px -1px 2px 2px #E7F485;
}

/* faq */
.col-card-faq {
	height: 100%;
}
.post-type-archive-faq .col-full,
.search-results .col-full,
.single-faq .col-full {
	max-width: 100%;
	padding: 0;
}
.col-faq-menu-sidebar {
	position: relative;
    box-shadow: 4px 0 4px -2px rgba(0, 0, 0, 0.1);
    padding: 10px;
}
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item,
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item-anchor,
.col-faq-menu-sidebar .faq-menu-sidebar .menu-item a {
	padding: 10px 30px 10px 6px !important;
	border-radius: 8px;
	transition: all 0.3s;
	cursor: pointer;
}
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item-anchor.highlighted,
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item.highlighted,
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-sub-item.highlighted {
	background-color: transparent !important;
}
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item:hover,
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item-anchor:hover,
.col-faq-menu-sidebar .faq-menu-sidebar .menu-item a:hover {
	background-color: #f3f3f3 !important;
}
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item-anchor>i,
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-item>i,
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-sub-item>i {
	padding: 8px;
	border-radius: 1000px;
	margin: 0 10px 0 0;
	background-color: var(--e-global-color-border);
}
.col-faq-menu-sidebar .faq-menu-sidebar ul.sub-menu {
	padding-left: 20px;
}
.col-faq-menu-sidebar .faq-menu-sidebar ul.sub-menu .elementor-sub-item {
	border: none;
}
.col-faq-menu-sidebar .faq-menu-sidebar .elementor-nav-menu .sub-arrow {
	position: absolute;
	right: 8px;
}

/* contact */
.tab-map-items .e-n-tabs-heading .container-tabs-heading::-webkit-scrollbar-track {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.tab-map-items .e-n-tabs-heading .container-tabs-heading::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

.tab-map-items .e-n-tabs-heading .container-tabs-heading::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: var(--e-global-color-primary);
}
.tab-map-items .e-n-tabs-heading {
	max-height: 650px;
    overflow: hidden;
}
.tab-map-items .e-n-tabs-heading .container-tabs-heading {
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
	gap: 20px;
	padding-right: 5px;
}
.tab-map-items .e-n-tabs-heading .e-n-tab-title {
	background-color: transparent !important;
}
.tab-map-items .e-n-tabs-heading .e-n-tab-title-text,
.tab-map-items .e-n-tabs-heading .e-n-tab-title-text>.elementor {
	width: 100%;
}
.sec-tab-map {
	border: 1px solid #dbdbdb;
    background-color: white;
    border-radius: 12px;
}
.tab-map-items .e-n-tabs-heading .e-n-tab-title[aria-selected=true] .sec-tab-map,
.sec-tab-map:hover {
	background-color: #186E4C1A;
}
.img-tab-map {
	--w-img: 96px;
	aspect-ratio: 1 / 1;
    min-width: var(--w-img) !important;
    width: var(--w-img) !important;
    height: var(--w-img) !important;
}
.img-tab-map * {
	width: 100% !important;
	height: 100% !important;
}
.img-tab-map img {
	object-fit: cover;
}

@media (min-width: 768px) {
	.form-ct-items form .submit-btn .elementor-button-text {
		min-width: 90px;
		font-size: 18px;
	}
}

/* footer */
.btn-mouse .elementor-button-link {
	background-color: white !important;
}
.btn-mouse .elementor-button-link:before{
	content: '';
    background-image: url(/wp-content/uploads/2025/08/logo-bieu-tuong.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    z-index: 1;
}
.btn-mouse .elementor-button-content-wrapper {
	opacity: 0;
}

/* tablet */
@media (max-width: 1200px) {
	.img-orther-project {
		overflow: hidden;
		ascpect-ratio: 3 / 4;
		width: 100%;
		height: unset;
		padding-bottom: 0;
	}
}

/* mobile */
@media (max-width: 767px) {
	/* contact */
	.tab-map-items.elementor-widget-n-tabs .e-n-tab-title  {
		white-space: wrap;
	}
	.sec-tab-map {
		width: 100%;
		min-width: 100%;
	}
	
	/* bảng tính giá */
	.form_tinhgia .field .col-customer {
		flex-direction: column;
	}
	.tabs-table .tab-links {
		flex-direction: column;
    	border-radius: 20px;
		gap: 0;
	}
	.tab-links a {
		font-size: 16px;
	}
	.tabs-table {
		padding-top: 110px;
	}
	.tab-links li:before {
		display: none;
	}
	
	/* gallery */
	.glr-h-items .gallery.gallery-columns-4 .gallery-item {
		width: 33.33%;
	}
}
/* ----- end custom ----- */