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

/*************** ADD CUSTOM CSS HERE.   ***************/


.proIndexContArea.wallcoveringIdx {
	color: white;
}

.amlab_hoverall1:hover .amlab_notex a {
	color: #800039 !important;
}

html, body {
    width: 100%;
    height: 100%;
    min-width: 320px;
}
#main {
    height: 100%;
}
#loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8); /* Màu nền bán trong suốt */
	z-index: 9999; /* Đảm bảo hoạt ảnh nằm trên tất cả các phần tử khác */
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading-spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left: 4px solid #000;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.amlab_sub {
	display: none;
}
/* Ẩn danh mục con mặc định */
.subcategories {
    display: none;
}

/* Định dạng các danh mục cha có danh mục con */
.hasSub > .toggle-link {
    cursor: pointer;
    display: inline-block;
}

/* Tạo một mũi tên chỉ xuống khi danh mục con bị ẩn */
.hasSub > .toggle-link::after {
    content: " ▼"; /* Biểu tượng mũi tên */
    font-size: 12px;
    margin-left: 5px;
}

/* Tạo mũi tên chỉ lên khi danh mục con được mở */
.hasSub.open > .toggle-link::after {
    content: " ▲";
}

#location {
	z-index: 2;
}

.amlab_menucat .hasSub a::after {
	content: "";
    position: absolute;
    right: 12px;
    top: 22px;
    width: 11px;
    height: 6px;
    font-size: 6px;
    line-height: 6px;
    line-height: 20px;
    background: url('/wp-content/uploads/2024/09/down.gif') no-repeat center center;
}

/* .amlab_wrapper {
	padding-left: 5%;
	padding-right: 5%;
} */
.amlab_row {
	display: flex;
    flex-direction: row;
    justify-content: center;
}
.amlab_row .col {
	text-align: center;
}
.amlab_row p {
	margin-bottom: 0;
}
.amlab_row .col1 {
	background-color: #8a847a;
	padding-top: 2%;
}
.amlab_row .col2 {
	background-image: url('/wp-content/uploads/2024/09/granite_004.jpg');
}
.amlab_textbegin h2 {
	padding-right: 70px;
    padding-bottom: 5px;
    font-size: 80px;
    font-weight: 300;
    line-height: 80px;
    border-bottom: 4px solid #fff;
    color: #fff;
}
.amlab_textbegin {
	position: absolute;
    right: 0;
    top: 80px;
    bottom: auto;
    width: 800px;
	z-index: 5;
	text-align: right !important;
}
.amlab_row h4 {
	color: white;
}
.amlab_menucat li a {
	position: relative;
    display: block;
    padding: 15px 0 15px 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
}
.amlab_menucat li {
	background: #8a847a;
    border-top: 1px solid #c5c2bd;
	list-style: none;
}
.amlab_menucat {
	list-style: none;
	width: 282px;
    margin: 0 auto;
    padding-top: 20px;
	text-align: left;
}
.amlab_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px; 
}

.amlab_item {
    border: 1px solid #ddd; 
    padding: 16px;
    background-color: #fff; 
    text-align: center; 
}

.amlab_item a {
    text-decoration: none; 
    color: inherit; 
}

.amlab_item img {
    max-width: 100%;
    height: auto; 
}


#comments {
    display: none;
}

.amlab_proname strong {
    padding-right: 70px;
    padding-bottom: 5px;
    font-size: 80px;
    font-weight: 300;
    line-height: 80px;
    border-bottom: 4px solid #fff;
    color: #fff;
}
.nav-spacing-xlarge>li {
    padding-left: 30px;
    padding-right: 30px;
}

.amlab_tabs .nav-tabs+.tab-panels {
    border: none;
}
.amlab_tabs .nav-tabs>li>a {
    border-left: none;
    border-right: none;
    border-top: none; 
}

.amlab_tabs ul .active {
    border: 1px solid #2e2c2c;
    border-top: 2px solid #800039;
    border-bottom: none;
    padding-bottom: 0px;
}
.amlab_tabs ul li {
    border: 1px solid #c4c4c6;
    border-bottom: 1px solid #2e2c2c;
    border-left: 1px solid #c4c4c6;
}
.amlab_tabs ul li {
    max-width: 25%;
    flex-basis: 25%;
    margin: 0 !important;
}

.amlab_tabs ul li a {
    display: flex;
    justify-content: center;
}

#col-select {
    translate: 35px;
}

.archive-page-header .page-title {
    font-size: 34px;
    text-transform: capitalize;
    color: #2e2c2c;
}

.companyArea h2 {padding:50px 0 45px; font-size:32px; font-weight:700; text-align:center; color: black;}
	.historyCont {margin:0 auto; *zoom:1;}
	.historyCont:after {content:''; clear:both; display:block;} 
	.historyCont h3 {width:189px; height:233px; margin:0 auto; padding-top:60px; font-size:34px; color:#800039; text-align:center; background:url('/wp-content/uploads/2024/08/hst_h3.png') 0 0 no-repeat;}
	.historyCont h3 span {display:block; font-size:13px; color:#2e2c2c; padding-bottom:10px;}
	.historyCont h4 {height:150px; margin-bottom:10px; text-align:center; padding-top:30px; font-size:16px; color:#fff; background:center 0 no-repeat;}
	.historyCont .cont {position:relative; *zoom:1;}
	.historyCont .cont:after {content:''; clear:both; display:block;} 
	.historyCont .cont .contImg {margin-bottom:25px;}
	.historyCont .cont .contImg span {display:inline-block; float:none; vertical-align:bottom; color:#979797;}
	.historyCont .cont p {margin-bottom:8px; *zoom:1;}
	.historyCont .cont p:after {content:''; clear:both; display:block;} 
	.historyCont .cont p>b {display:block; float:left; font-size:14px; font-weight:500; color:#800039;}
	.historyCont .cont p>span {display:block; float:left; font-weight:400; color:#707070;}
	.historyCont .cont p .bk {color:#1a1915;}
	.historyCont .sr {}
	.historyCont .sl {text-align:right;}
	.historyCont .sr h4 {background-image:url('/wp-content/uploads/2024/08/hst_r.png');}
	.historyCont .sl h4 {background-image:url('/wp-content/uploads/2024/08/hst_l.png');}
	.historyCont .sr .contImg span {padding-left:10px; width:40%;}
	.historyCont .sl .contImg>img {float:right;}
	.historyCont .sl .contImg span {padding-right:10px; padding-top:50px;}
	.historyCont .sl .contImg span.pd {padding-top:35px;}
	.historyCont .sr p>b {margin-right:5px;}
	.historyCont .sl p>b {margin-left:5px; float:right;}
	.historyCont .sl p>span {float:right;}
	.historyCont .sr .year {position:absolute; top:0; right:0%; width:50%; padding-left:120px;}
	.historyCont .sl .year {position:absolute; top:0; left:0%; width:50%; padding-right:120px;}
	.historyCont .since {width:105px; margin:0 auto; padding:20px 0 9px; font-size:20px; color:#800039; border-bottom:2px solid #800039;}


.amlab_destm {
    font-size: 22px;
    color: #800039;
    margin-bottom: 8px;
    border-bottom: 2px solid #800039;
}
.amlab_destm2 {
    font-size: 22px;
    color: #800039;
    margin-bottom: 8px;
}
.amlab_des p {
    font-size: 18px;
    line-height: 22px;
    color: #1b1b1b;
}
.amlab_head {
    font-size: 32px;
    font-weight: 400;
}
.blog-archive .is-divider {
    display: none;
}

textarea {resize: none;}
.amlab_submit .wpcf7-submit {
    margin-right: 0;
    background-color: #337ab7;
    border-color: #2e6da4;
    border: 1px solid transparent;
    border-radius: 5px;
    text-transform: capitalize;
}


.amlab_submit {
    text-align: end;
    margin-right: 0;
}
.wpcf7-spinner {
    display: none;
}

#row-form {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: flex-end;
    height: 50px;
    border-bottom: 1px dotted;
}

.searchform {
    display: flex;
    flex-direction: column;
}

#search-input, #search-category, #search-submit {
    margin-bottom: 10px;
}

#search-input {
    width: 100%;
    padding: 8px;
}

#search-category {
    width: 100%;
    padding: 8px;
}

#search-submit {
    height: 38px;
    background-color: #800039;
}
#col-btn {
    padding: 0;
    flex-basis: 15%;
}
#col-btn .col-inner {
    text-align: left;
    display: flex;
    justify-content: flex-end;
}

.amlab_hoverall1:hover .is-border {
    border-color: white !important;
}
.amlab_hovert:hover a{
    color: white !important;
}
.amlab_hovert a {
    color: rgb(126, 126, 126);
}
.amlab_hoverall1:hover {
    background-color: #800039;
}
.amlab_hoverall1:hover .amlab_textall p {
    color: #7e7e7e;
}
.amlab_hoverall1:hover .amlab_texttitle a {
    color: white !important;
}

.amlab_hoversingle:hover {
    background-color: #800039;
}
.amlab_hoversingle:hover a {
    color: white !important;
}

.amlab_rflex {
    display: flex;
    flex-direction: column;
}

.amlab_rflex .col {
    flex-basis: 100% !important;
    max-width: 100% !important;
}
.amlab_fb100 .col {
    flex-basis: 100% !important;
    max-width: 100% !important;
}

.amlab_bdb {
    border-bottom: 1px solid #5a5a5a;
}
.amlab_bdb p {
    margin-bottom: 0.7em;
    padding-left: 20%;
}
.amlab_bdb2 p {
    margin-bottom: 0;
    padding-left: 20%;
}


.amlab_rline::before {
    content: url('/wp-content/uploads/2024/08/line_subDepth1.gif');
    position: absolute;
    right: 0;
    scale: 0.9;
    top: 2px;
}

.amlab_bd {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.amlab_c20 .col {
    flex-basis: 20%;
    max-width: 20%;
}

.amlab_line:before {
    position: absolute;
    content: "|";
    padding: 0 15px;
    color: #cfcfcf;
    translate: 0px -3px;
}

.amlab_w50 {
    width: 100px;
}
.amlab_w50 .col-inner {
    width: 50px !important;
}
.amlab_fs12 {
    font-size: 14px;
}
.mg-0 {
    margin-bottom: 0 !important;
}
.copyright {
    color: #777;
    font-size: 10px;
}

.absolute-footer {
    display: none;
}
.logo-left .logo {
    margin-left: 30px !important;
}


.amlab_sub {
    margin-left: 0px;
}
.amlab_sub li {
    border-top: 1px solid #a7a39b;
    background: #c5c2bd;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}