/*
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.   ***************/

:root {
    --main-color: #045C02;
    --hover-color: #FFC859;
    --secondary: #A20613;
    --dark: #333333;
}

.h1, .h2, .h3, .h4, .h5, .h6, 
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
}

p {
	font-size: 14px;
	line-height: 1.5;
}

p:last-of-type {
	margin-bottom: 0;
}

ul {
	margin-bottom: 0;
}

.section-ads {
	padding-bottom: 0 !important;
}

.footer-wrapper .back-to-top {
	background-color: var(--main-color);
	border-color: var(--main-color);
	color: white;
}

@media (min-width: 850px) {

	.header-main {
		background: url('../../../wp-content/uploads/2025/10/bgheadertop.png') center no-repeat;
		background-size: cover;
	}
}

.header-main .logo {
	margin-right: 10px;
}

.headerLogoInfo h2 {
	font-size: 14px;
	text-transform: uppercase;
}

.headerLogoInfo h3 {
	font-size: 32px;
	line-height: 1.4;
	color: var(--main-color);
	text-transform: uppercase;
}

.headerLogoInfo p span,
.headerLogoInfo a span {
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
}

.headerLogoInfo a {
	font-weight: 700;
	color: var(--dark);
}

.text-nhapnhay {
    animation: my 700ms infinite;
}

@keyframes my {
    0% {
        color: var(--main-color);
    }

    50% {
        color: var(--hover-color);
    }

    100% {
        color: #EA0000;
    }
}

.vibration-icon {
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
}

@keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

.header-main .flex-right {
	max-width: 50%;
}

.row-socialRight___form {
    margin: 0 !important;
}

.row-socialRight___form .form-group {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
    padding: 0 3px;
    margin-bottom: 6px;
}

.row-socialRight___form input {
    font-size: 16px;
    width: 100%;
    height: 40px;
    padding-left: 15px;
    border-radius: 5px;
    border: 1px solid #f3ecec;
}

.custom-file {
    position: relative;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin: 0;
    overflow: hidden;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + .75rem + 2px);
    width: auto;
    padding: .375rem .75rem;
    overflow: hidden;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + .75rem);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0;
}

.row-socialRight___form .form-group .custom-file-label::after {
    content: url('/wp-content/uploads/2025/10/icfileupload.png');
    padding: 0;
}

.row-socialRight___form .form-group .custom-file-label {
    height: 40px;
    color: #8E8E93;
    font-size: 16px;
    padding-top: 6px;
    left: 3px;
    right: 3px;
}

.form-textarea {
	position: relative;
	display: flex;
	gap: 6px;
}

.form-textarea textarea {
    font-size: 16px;
    width: 100%;
    min-height: 45px;
    padding: 15px;
    border-radius: 5px;
    resize: none;
    border: 1px solid #f3ecec;
    margin: 0;
}

.form-textarea input[type="submit"] {
	background-color: var(--secondary);
    width: 170px;
    height: 45px;
}

.form-textarea .wpcf7-spinner {
	display: none;
}

.header-bottom .flex-left {
	width: 100%;
}

.header-bottom .header-bottom-nav {
	flex-flow: unset;
	justify-content: space-between;
}

.header-bottom .header-bottom-nav>li {
	width: 100%;
	margin: 0;
	text-align: center;
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
}

.header-bottom .header-bottom-nav>li>a {
	display: block;
	padding: 15px;
	white-space: nowrap;
}

.slide-info h5 {
	letter-spacing: 2px;
}

.slide-info h3 {
	font-size: 40px;
	line-height: normal;
	margin-bottom: 40px;
}

.slide-info h3 span {
	display: block;
}

.slide-info a.button {
	padding: 10px 20px;
	border: none;
	border-left: 1px solid white;
	border-bottom: 1px solid white;
}

.slideshow .slide-info a.button:hover {
	background-color: transparent !important;
	color: var(--main-color) !important;
}

.reasons-left h2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 32px;
	margin-bottom: 20px;
}

.reasons-left h2 span {
	color: var(--main-color);
}

.reasons-left p {
    color: #666666;
    text-align: justify;
}

.reasons-right-items:not(:last-child) {
	margin-bottom: 16px;
}

.reasons-right-items:hover img {
    animation: flip 0.6s linear forwards;
}

@keyframes flip {
    0% {
        transform: rotateY(0);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.reasons-right-items h5 {
	text-transform: uppercase;
	margin-bottom: 5px;
}

.reasons-right-items p {
	color: #666666;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.title-wrapper h2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 28px;
	line-height: normal;
	color: #2C2C2C;
	margin-bottom: 5px;
}

.line-title {
	margin: 0 auto;
}

.list-product-cate .box-category .box-text {
	padding: 15px;
}

.list-product-cate .product-category a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
}

.list-product-cate .product-category .box-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: -83%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
}

.list-product-cate .product-category a:hover .box-image::before {
	left: 120%;
    transition: all 1s;
}

.list-product-cate .product-category a:hover .box-text {
	background: var(--main-color);
}

.list-project .portfolio-box-category {
	display: none;
}

.section-project-home {
	padding-bottom: 0 !important;
}

.album {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
}

.album-left, 
.album-center, 
.album-right {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
    padding: 0 5px;
}

.album-left-inner-top,
.album-center-inner-top,
.album-right-inner-top {
	margin-bottom: 10px;
}

.album-photo img {
	width: 100%;
}

.album a {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.album-info {
	position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    align-content: center;
    text-align: center;
    transition: all 0.3s;
}

.album a:hover .album-info {
    opacity: 1;
}

.album-info h5 {
	color: white;
	text-transform: uppercase;
}

.blogs-list .box-blog-post {
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 0 7px #c7c7c7;
}

.blogs-list .box-blog-post .box-text {
	padding: 15px;
}

.blogs-list .box-blog-post h5,
.blogs-list .box-blog-post .post-meta {
	margin-bottom: 5px;
}

.blogs-list .box-blog-post h5 a {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.blogs-list .box-blog-post .post-meta::before {
    content: '\e01a';
    font-family: "fl-icons";
    margin-right: 5px;
}

.blogs-list .box-blog-post p.from_the_blog_excerpt {
	color: #777777;
}

.blogs-list .box-blog-post a.button {
	color: var(--main-color);
	font-size: 16px;
	line-height: normal;
	min-height: auto;
	text-transform: capitalize;
	border-bottom-color: var(--main-color) !important;
	padding-bottom: 5px;
	margin-top: 10px;
}

.blogs-list .box-blog-post .is-divider,
.blogs-list .flickity-button {
	display: none;
}

.footer-info h5 {
	width: auto;
	display: inline-block;
	position: relative;
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.footer-info h5::before {
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

.footer-info ul {
	list-style: none;
}

.footer-info ul li {
	margin-left: 0;
	font-size: 14px;
	line-height: 21px;
}

.nav-footer .widget_nav_menu {
	padding: 0;
}

.nav-footer ul.menu>li+li {
	border-color: transparent;
}

.nav-footer li:not(:last-child) {
	margin-bottom: 8px;
}

.nav-footer li a {
	font-size: 14px;
	line-height: 21px;
	padding: 0 !important;
}

.nav-footer ul.menu>li>a:hover {
	color: var(--hover-color);
}

.nav-footer li a::before {
	content: '\f105';
	font-family: 'fl-icons';
	margin-right: 15px;
}

.form-footer .form-group {
	position: relative;
}

.form-footer .form-group input {
	height: 42px;
}

.form-footer .confirmform .wpcf7-list-item {
	margin-right: 0;
	display: flex;
	align-items: flex-start;
}

.confirmform .wpcf7-list-item-label {
	display: block;
	font-style: italic;
	font-size: 13px;
}

.form-footer button {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
}

.absolute-footer,
.absolute-footer a {
	color: black;
}

.absolute-footer b {
	color: var(--main-color);
}

@media (max-width: 991px) {

	.fcpfw_cart_basket {
		margin-bottom: 70px !important;
	}

	.buttonizer-group {
		border-radius: 10px 10px 0 0;
		right: 0 !important;
		padding: 10px;
		visibility: visible !important;
		background-color: white;
		flex-direction: inherit !important;
		justify-content: space-between;
		bottom: 0 !important;
		width: 100%;
	}

	.buttonizer-group a {
		background-color: transparent !important;
		margin: 0 !important;
		width: 100% !important;
		height: 100% !important;
		box-shadow: none !important;
	}

	.buttonizer-group a i,
	.buttonizer-group a img {
		background: var(--main-color);
		width: 40px !important;
		height: 40px;
		padding: 10px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		position: unset !important;
		transform: inherit !important;
	}

	.buttonizer-group .buttonizer-label {
		text-align: center !important;
		position: unset !important;
		transform: inherit !important;
		visibility: visible !important;
		opacity: 1 !important;
		color: var(--main-color) !important;
		background: transparent !important;
	}
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

	.slide-info h5 {
		margin: 0 0 5px;
	}
	.slide-info h3 {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.slide-info a.button {
		padding: 5px 10px;
	}

	.album {
		gap: 10px;
	}

	.album-left, 
	.album-center, 
	.album-right {
		max-width: 100%;
		flex: 0 0 100%;
	}
}

/* ----------------------------------- Other Pages Styles ----------------------------------- */

/*--------------------------------------------------------------
# Breadcrum
--------------------------------------------------------------*/

.page-wrapper-bread {
	background: #eeeeee;
}

.page-wrapper-bread .page-title-inner {
	padding-top: 0;
	min-height: 45px;
}

.page-wrapper-bread .title-breadcrumbs {
	padding: 0;
}

.page-wrapper-bread nav.breadcrumbs {
	text-transform: inherit;
	font-weight: 400;
	font-size: 14px;
	line-height: 21px;
	color: #6c757d;
}

.page-wrapper-bread nav.breadcrumbs a {
	color: #212529;
}

@media (max-width: 767px) {

	.page-wrapper-bread .title-content {
		text-align: left !important;
	}
}

/*--------------------------------------------------------------
# About Page
--------------------------------------------------------------*/

.title-main {
	margin-bottom: 24px;
}

.title-main h2 {
	color: var(--main-color);
	font-size: 23px;
}

.alert-update {
	background: #fff3cd;
	color: #856404;
	padding: 12px 20px;
	border-radius: 4px;
}

/*--------------------------------------------------------------
# Product Page
--------------------------------------------------------------*/

.post-type-archive .shop-page-title .page-title-inner {
	padding-top: 0;
}

.post-type-archive .shop-page-title .breadcrumbs,
#shop-sidebar .is-divider {
	display: none;
}

#shop-sidebar .widget_nav_menu {
	padding: 10px 15px;
    background-color: #f7f8f9;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#shop-sidebar .widget_nav_menu .widget-title {
	display: block;
	font-size: 20px;
	margin-bottom: 7px;
}

#shop-sidebar .widget_nav_menu ul.menu>li>a {
	padding: 0;
	font-size: 15px;
	display: block;
}

#shop-sidebar .widget_nav_menu ul.menu>li>a:hover {
	color: var(--main-color);
}

#shop-sidebar .widget_nav_menu ul.menu>li+li {
	border: none;
}

#shop-sidebar .widget_nav_menu ul.menu>li:not(:last-child) {
	margin-bottom: 6px;
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/

.contact-info h3 {
	margin-bottom: 8px;
}

.contact-info p {
	font-size: 20px;
	line-height: 1.2;
}