/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.4
	Stable tag: 3.4.4
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* ----- custom ----- */
body {
	overflow-x: hidden;
}
body,
body.archive .main-header-sticky,
body.blog .main-header-sticky {
	background-color: var(--e-global-color-62a9c66);
}

/* font-title */
.sc-form-contact .tt-form-contact {
	font-family: var(--e-global-typography-primary-font-family) !important;
}
.elementor-widget-heading .elementor-heading-title {
	letter-spacing: -1px !important;
	word-spacing: -5px;
}

/* font-text */
.text-form-contact,
.widget a {
	font-family: var(--e-global-typography-text-font-family) !important;
}

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

/* sideways */
.sideways {
    writing-mode: sideways-lr;
}
.aspect-3-2 * ,
.aspect-3-4 * {
	width: 100% !important;
	height: 100% !important;
}
.aspect-3-2 img,
.aspect-3-4 img {
	object-fit: cover;
}
.aspect-3-2 {
	aspect-ratio: 2560 / 1706;
}
.aspect-3-4 {
	aspect-ratio: 1091 / 1500;
}

/* header */
.main-header-sticky,
.logo-header img,
.main-header-sticky.header-sticky>.elementor-element,
.main-header-sticky.header-sticky .menu-header-main.elementor-widget-nav-menu .elementor-nav-menu .elementor-item {
	transition: all 0.3s;
}
.full-menu-mobile.elementor-element .ue_hamburger {
	background-color: transparent !important;
}
.full-menu-mobile.elementor-element .ue_hamburger>div,
html.menu-opened body .main-header-sticky .full-menu-mobile.elementor-element .ue_hamburger>div {
	background-color: white !important;
}
.full-menu-mobile #menu-main-menu-header {
	width: 100%;
}
.full-menu-mobile #menu-main-menu-header>li:not(:last-child) {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #616161;
}
.main-header-sticky.header-sticky .full-menu-mobile.elementor-element .ue_hamburger>div,
body.archive .main-header-sticky .full-menu-mobile.elementor-element .ue_hamburger>div,
body.blog .main-header-sticky .full-menu-mobile.elementor-element .ue_hamburger>div {
	background-color: var(--e-global-color-primary) !important;
}
.logo-header img {
	filter: brightness(0) invert(1);
   	-webkit-filter: brightness(0) invert(1);
}
.main-header-sticky.header-sticky {
	background-color: white;
	box-shadow: 0 3px 13px 0 rgba(0, 0, 0, 0.15);
}
.main-header-sticky.header-sticky>.elementor-element {
	padding: 20px 0;
}
.main-header-sticky.header-sticky img,
body.archive .main-header-sticky img,
body.blog .main-header-sticky img {
	filter: unset;
   	-webkit-filter: unset;
}
.main-header-sticky .menu-header-main.elementor-widget-nav-menu .elementor-nav-menu .elementor-item {
	letter-spacing: -1px;
	--e-nav-menu-horizontal-menu-item-margin: calc(30px / 2);
	word-spacing: -3px;
}
.main-header-sticky.header-sticky .menu-header-main.elementor-widget-nav-menu .elementor-nav-menu .elementor-item,
body.archive .main-header-sticky .menu-header-main.elementor-widget-nav-menu .elementor-nav-menu .elementor-item,
body.blog .main-header-sticky .menu-header-main.elementor-widget-nav-menu .elementor-nav-menu .elementor-item,
.main-header-sticky.header-sticky .sc-gtranslate .glink {
	color: var(--e-global-color-primary);
}
.menu-header-main .elementor-nav-menu .elementor-sub-item  {
	border: none;
}
.sc-gtranslate .glink {
	color: white;
    font-size: 16px;
    font-family: var(--e-global-typography-primary-font-family);
}
.sc-gtranslate .glink:first-child {
	border-right: 1px solid #fff;
    padding-right: 5px;
}
.main-header-sticky.header-sticky .sc-gtranslate .glink:first-child {
	border-color: var(--e-global-color-primary);
}

/* banner */
.slide-banner .swiper {
	padding-bottom: 0 !important;
}
.banner-slider.elementor-element .swiper-pagination {
	bottom: 50px !important;
}

/* dự án */
.img-project-home a {
	width: 100%;
}
.img-card-project a:after {
	display: block;
    content: "";
    position: absolute;
    right: 0px;
    top: 0px;
    left: 0px;
    bottom: 0;
    color: white;
    text-align: center;
    opacity: 0;
    background: rgba(245, 241, 229, 0.2);
	transition: 0.3s ease-in-out !important;
}
.img-card-project:hover a:after {
	opacity: 1;
}
.tt-card-project,
.project-excerpt {
	display: -webkit-box;   
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.home .project-excerpt {
	display: none;
}
.tt-card-project {
	-webkit-line-clamp: 1;
}
.project-excerpt {
	-webkit-line-clamp: 3;
}
body.single .project-excerpt {
	display: none;
}

/* about us - page */
.p-abs-bg {
	height: 100%;
	z-index: -1;
}
.img-about-core {
	top: calc(100% - 100px)
}
.img-about-core img {
	width: calc(100% - 100px) !important;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* contact - page */
.col-img-form-ct {
	bottom: 50% !important;
    left: 50% !important;
    transform: translate(-50%, 50%) !important;
}
.img-left-contact,
.img-left-contact a,
.img-left-contact img {
	height: 100%;
	width: 100%;
}
.sc-form-contact {
	--wc-red: #e70000;
	--spacing-form: 40px;
    left: auto !important;
    width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    padding: var(--spacing-form);
    box-shadow: 0 3px 13px 0 rgba(0, 0, 0, 0.15);
    background-color: rgb(255 255 255 / 80%);
    overflow: hidden;
}
.sc-form-contact .wpcf7-not-valid-tip {
    font-size: 10px;
    line-height: 20px;
    font-weight: bold;
    background: var(--wc-red);
    color: white;
    margin-top: 8px;
    position: absolute;
    bottom: -20px;
	right: 0;
    padding: 2px 8px;
    border-radius: 3px;
    width: fit-content;
    max-width: unset;
	z-index: 1;
}
.sc-form-contact .wpcf7-not-valid-tip:before {
	content: "";
    position: absolute;
    bottom: 100%;
    right: 10%;
    transform: translate(-50%);
    border-style: solid;
    border-width: 0 8px 8px;
    border-color: transparent transparent var(--wc-red);
}
.wpcf7 form.invalid .wpcf7-response-output {
	display: none;
}
.sc-form-contact .tt-form-contact {
	text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 20px;
	letter-spacing: 2px;
}
.sc-form-contact .row-input-field input {
	border-width: 0 0 1px;
	border-radius: 0;
	outline: none;
	padding-left: 0;
	background-color: transparent;
}
.wpcf7-form-control-wrap {
	display: block;
}
.sc-form-contact .row-input-field input::placeholder {
	text-transform: uppercase;
}
.sc-form-contact .text-form-contact {
	margin-bottom: 50px;
    font-size: 16px;
}
.sc-form-contact .row-button {
	width: calc(100% + var(--spacing-form));
    text-align: right;
	position: relative;
}
.sc-form-contact .row-button .wpcf7-submit {
	border: none;
    background-color: var(--e-global-color-primary);
    color: white;
    text-transform: uppercase;
    padding: 12px var(--spacing-form) 12px 25px;
    border-radius: 8px 0 0 8px;
}
.sc-form-contact .row-button .wpcf7-spinner {
	position: absolute;
	margin: 0;
	bottom: 0;
	right: 0;
}

/* blog */
body.single .post-excerpt {
	display: none;
}
@media (min-width: 768px) {
	.card-list-50 .aspect-3-4 {
		--width-img: calc(1500/2 - 20);
		aspect-ratio: 1091 / var(--width-img);
	}
}
.share-btn-post .elementor-share-btn__icon {
	--e-share-buttons-icon-size: 20px !important;
	width: 20px;
}
.sidebar-blog-items,
.sidebar-blog-items ul {
	list-style: none;
}
.sidebar-blog-items .widget:not(:first-child) {
	margin-top: 15px;
}
.widget ul.sub-menu {
	position: relative;
}
.sidebar-blog-items ul li.cat-item:before,
.sidebar-blog-items .widget .tagcloud a:before,
.widget .menu a:before {
	content: '>';
	font-family: var(--e-global-typography-text-font-family) !important;
    position: absolute;
    left: 20px;
}
.sidebar-blog-items ul li a,
.sidebar-blog-items .widget .tagcloud a {
	color: var(--e-global-color-primary);
    font-weight: 300;
    font-size: 16px !important;
    letter-spacing: 1px;
}
.sidebar-blog-items .widget .tagcloud {
	display: flex;
    flex-direction: column;
    padding-left: 40px;
}
.sidebar-blog-items .widget .widgettitle {
	font-size: 22px;
    font-family: "SUNE Mono", Sans-serif;
    word-spacing: -6px;
}

/* footer */
.fl-us-footer .elementor-heading-title:before {
	content: '';
    left: -40px;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: white;
    bottom: calc(50% - 2px);
    transform: translateY(50%);
}
.form-footer-items .row-form-footer input {
	outline: none;
}
.form-footer-items .row-form-footer input::placeholder,
.form-footer-items .row-form-footer .wpcf7-submit {
	text-transform: uppercase;
}
.form-footer-items .row-form-footer .wpcf7-form-control-wrap {
	display: block;
}
.form-footer-items .row-form-footer .wpcf7-submit {
	width: 100%;
	background-color: var(--e-global-color-primary);
    color: white;
    border-color: var(--e-global-color-primary);
}

/* tablet */
@media (max-width: 1024px) {
	.p-rl-tablet {
		position: relative !important;
	}
	
	/* about ust */
	.grid-container-core {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 550px;
	}
	.grid-container-core>div {
		--max-width-col: 75%;
		width: var(--max-width-col);
		min-width: var(--max-width-col);
	}
}

/* mobile */
@media (max-width: 767px) {
	.d-block-mb {
		display: block !important;
	}
	/* header */
	.main-header-sticky.header-sticky>.elementor-element {
		padding: 10px 20px;
	}
	.main-header-sticky .full-menu-mobile.elementor-element .ue_hamburger {
		width: 25px;
		height: 25px;
	}
	
	/* dự án */
	.loop-project .elementor-loop-container>.e-loop-item {
		display: flex !important;
	}
	
	/* about us */
	.grid-container-core {
		padding-bottom: 280px;
	}
	.grid-container-core>div {
		--max-width-col: 85%;
	}
	.img-about-core img {
		width: calc(100% - 40px) !important;
	}
	
	/* blog */
	.d-block-mb {
		display: block !important;
	}
	
	/* contact - page */
	.sc-form-contact {
		--spacing-form: 20px;
        position: relative !important;
        right: 0;
        top: 0 !important;
        border-radius: 0;
        padding: var(--spacing-form) !important;
	}
	/* contact - page */
	.col-img-form-ct {
		position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: unset !important;
	}
}
/* ----- end custom ----- */
body::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

body::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: var(--e-global-color-primary);
}

