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

/* ==========================================================================
   0. DESIGN TOKENS
   Xem docs/plan-style-css-demo-layout.md muc 3
   ========================================================================== */
:root{
	--ely-primary: #2964cd;      /* trung voi color_primary trong Customizer */
	--ely-navy: #14213d;         /* mau chu heading dam (SOCIAL, ABOUT, PROJECTS...) */
	--ely-bg-soft: #eaf2fb;      /* nen xanh nhat cac khoi wave/section */
	--ely-bg-soft-2: #dce8f8;    /* nen xanh nhat dam hon 1 chut (MY STORY) */
	--ely-dot-color: #cfe0f7;    /* mau cham bi trang tri */
	--ely-radius-pill: 999px;
}

/* ==========================================================================
   4.1 HEADER
   ========================================================================== */
.header-nav-main.nav > li > a{
	font-size: 13px;
	letter-spacing: .04em;
}

/* trang thai active (khi menu co current-menu-item, vd tren cac trang con) */
.header:not(.transparent) .header-nav-main.nav > li.current-menu-item > a,
.header:not(.transparent) .header-nav-main.nav > li.current_page_item > a{
	color: var(--ely-primary);
	position: relative;
}
.header-nav-main.nav > li.current-menu-item > a:after,
.header-nav-main.nav > li.current_page_item > a:after{
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 2px;
	background: var(--ely-primary);
}

/* nut CONTACT dang pill (muc cuoi cung cua menu ben phai) */
.header-nav-main.nav-right > li:last-child{
	margin-left: 14px;
}
.header-nav-main.nav-right > li:last-child > a{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ely-primary) !important;
	color: #fff !important;
	padding: 10px 22px;
	border-radius: var(--ely-radius-pill);
	transition: background-color .25s ease;
}
.header-nav-main.nav-right > li:last-child > a:before{
	content: "\e003";
	font-family: 'fl-icons';
	font-style: normal;
	font-size: 13px;
	line-height: 1;
}
.header-nav-main.nav-right > li:last-child > a:hover{
	background: var(--ely-navy) !important;
	color: #fff !important;
}

/* ==========================================================================
   4.2 HERO -- "FIND ME ON SOCIAL"
   ========================================================================== */

/* anh nen da co san hoa la + nha tho + wave (banner-hero.png), chi can bo lop
   overlay xam va giam do crop de lo het hoa van goc tren-trai */
.home-hero #banner-600701702 .overlay,
.home-hero .banner-bg .overlay{
	background-color: rgba(255,255,255,.05) !important;
}
.home-hero .banner-bg img.bg{
	object-position: 50% 30%;
}

.hero-text h3{
	text-transform: uppercase;
	color: var(--ely-primary);
	font-size: 14px;
	letter-spacing: .15em;
	font-weight: 700;
	margin-bottom: 2px;
}
.hero-text h2.uppercase{
	margin-top: 0;
}
.hero-text h2.uppercase strong{
	color: var(--ely-navy);
	font-size: clamp(40px, 6vw, 68px);
	font-weight: 800;
	line-height: 1.05;
}
.hero-text blockquote{
	border-left: 3px solid var(--ely-primary);
	color: var(--ely-navy);
	font-style: normal;
	font-size: 1.05em;
	opacity: .8;
	margin: 20px 0 26px;
}

/* nut social dang pill trang, icon lay tu font fl-icons co san cua Flatsome */
.hero-text .hero-btn,
.hero-text .hero-btn02{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff !important;
	color: var(--ely-navy) !important;
	border: none;
	border-radius: var(--ely-radius-pill);
	padding: 12px 26px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	box-shadow: 0 8px 20px rgba(20,33,61,.14);
	margin: 6px 10px 6px 0;
	transition: background-color .25s ease, color .25s ease;
}
.hero-text .hero-btn:before,
.hero-text .hero-btn02:before{
	font-family: 'fl-icons';
	font-style: normal;
	font-size: 15px;
	line-height: 1;
}
.hero-text .hero-btn:before{ content: "\e002"; color: #1877f2; } /* Facebook */
.hero-text .hero-btn02.alert:before{ content: "\e018"; color: #ff0000; } /* nut ghi "Youtube" */
.hero-text .hero-btn02.secondary:before{ content: "\e90b"; color: #111; } /* nut ghi "Tiktok" */
.hero-text .hero-btn:hover,
.hero-text .hero-btn02:hover{
	background: var(--ely-navy) !important;
	color: #fff !important;
}
.hero-text .hero-btn:hover:before,
.hero-text .hero-btn02:hover:before{ color: #fff; }

/* ==========================================================================
   HEADING CHUNG CHO CAC SECTION (About / My Story / Project / Media)
   ========================================================================== */
.home-title .section-title{
	justify-content: flex-start;
	border-bottom: none;
}
.home-title .section-title b{
	display: none; /* an 2 duong ke mac dinh cua Flatsome hai ben tieu de */
}
.home-title .section-title-main{
	text-transform: uppercase;
	color: var(--ely-primary);
	font-weight: 800;
	letter-spacing: .04em;
	position: relative;
	padding-bottom: 14px;
	border-bottom: none !important;
	margin: 0;
}
.home-title .section-title-main:after{
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 44px; height: 3px;
	background: var(--ely-primary);
}
.home-about .home-title .section-title-main,
.home-story .home-title .section-title-main{
	color: var(--ely-primary);
}

/* hang chua heading + link "View all..." cho Project/Media (muc 5.2)
   .home-title co con la h3.section-title{width:100%} nen phai ep flex-basis
   ro rang (flex:1 auto + min-width:0), khong the chi dua vao justify-content */
.home-title-row{
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 12px;
}
.home-title-row .home-title{
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 0;
}
.home-title-row .view-all-link{
	flex: 0 0 auto;
}
.view-all-link{
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--ely-primary);
	text-decoration: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.view-all-link:hover{
	text-decoration: underline;
}

/* ==========================================================================
   4.3 ABOUT
   ========================================================================== */
.home-about .about-img,
.home-about .about-img .img-inner{
	border-radius: 50%;
	overflow: hidden;
}
.home-about .about-img img{
	border-radius: 50%;
	box-shadow: 0 20px 40px rgba(20,33,61,.18);
}
.home-about p{
	color: var(--ely-navy);
	font-weight: 600;
	line-height: 1.75;
}
.home-about .button{
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .05em;
	padding: 13px 26px;
}

/* ==========================================================================
   4.4 MY STORY
   ========================================================================== */
/* Noi dung da tu go dau nhay kep ("...") nen chi chinh mau/kich thuoc,
   khong chen them dau nhay to bang CSS de tranh bi lap 2 lop dau nhay */
.home-story .col-inner > p{
	font-style: normal;
	color: var(--ely-navy);
	font-size: 1.15em;
	line-height: 1.6;
}
.home-story .button{
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .05em;
	padding: 13px 26px;
}
.home-story .about-img,
.home-story .about-img .img-inner{
	border-radius: 50%;
	overflow: hidden;
}
.home-story .about-img img{
	border-radius: 50%;
	border: 8px solid #fff;
	box-shadow: 0 20px 40px rgba(20,33,61,.18);
}

/* ==========================================================================
   4.5 PROJECTS
   ========================================================================== */
.project-list .post-title{
	text-transform: uppercase;
	color: var(--ely-navy);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .02em;
	line-height: 1.4;
}
.project-list .post-title a{ color: inherit; }
.project-list .box-image{ margin-bottom: 16px; }
.project-list .is-divider{
	margin: 12px 0 0;
	max-width: 40px;
	border-top-color: rgba(20,33,61,.15);
}

/* ==========================================================================
   4.6 MEDIA
   ========================================================================== */
.media-list .post-title{
	color: var(--ely-navy);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.45;
}
.media-list .post-title a{ color: inherit; }
.media-list .box-image{ margin-bottom: 16px; }
.media-list .is-divider{
	margin: 12px 0 0;
	max-width: 40px;
	border-top-color: rgba(20,33,61,.15);
}
.box-blog-post .is-divider,
.project-list .is-divider,
.media-list .is-divider{
	display: none; /* an duong ke mac dinh cua Flatsome */
}
.contact-img{
	border-radius: 100%;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(20,33,61,.18);
	border: 8px solid #fff;
}
.box-image{
	border-radius: 15px;
	overflow: hidden;
}
.box-image .image-cover{
	padding-top: 75% !important;
}
.project-list .button.is-underline,
.media-list .button.is-underline{
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .04em;
	padding-left: 0;
}
.project-list .button.is-underline:after,
.media-list .button.is-underline:after{
	content: "\f105";
	font-family: 'fl-icons';
	font-style: normal;
	margin-left: 6px;
}

/* mui ten dieu huong cua 2 slider Project/Media dung mau primary */
.project-list.slider .flickity-prev-next-button svg,
.media-list.slider .flickity-prev-next-button svg{
	fill: var(--ely-primary);
}

/* pagination dots cua slider Media (bat qua slider_bullets="true") */
.media-list.slider .flickity-page-dots .dot,
.media-list.slider .flickity-page-dots .dot.is-selected{
	background-color: var(--ely-primary);
}
.media-list.slider .flickity-page-dots .dot{
	opacity: .3;
}
.media-list.slider .flickity-page-dots .dot.is-selected{
	opacity: 1 !important;
}

/* ==========================================================================
   4.7 FOOTER
   ========================================================================== */

/* hoa tiet nha tho co san (banner-01.png) -- chi thieu size/position nen chua hien */
.footer-2{
	background-color: #fbfcfe !important;
	background-repeat: no-repeat !important;
	background-position: right bottom !important;
	background-size: cover !important;
	min-height: 330px;
}

.footer-icon-item .icon-box-img{
	width: 40px !important;
	height: 40px;
	background: var(--ely-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.footer-icon-item .icon-inner svg{
	width: 16px;
	height: 16px;
}
.footer-icon-item .icon-inner svg,
.footer-icon-item .icon-inner svg path{
	fill: #fff; /* Flatsome dat .icon-box-img svg path{fill:currentColor} nen phai override den tan path */
}
.footer-icon-item .icon-box-text p{
	margin: 0;
	color: var(--ely-navy);
	font-size: 14px;
	line-height: 1.6;
}

/* ==========================================================================
   6. CONTACT PAGE
   Doi chieu voi https://dulichduongsatmoi.com/lien-he: heading lon + mo ta,
   input dang gach chan (khong khung hop), nut submit dam mau, ghi chu bao
   mat nam canh nut. Giu mau xanh --ely-primary cua site thay vi mau xanh la
   cua trang tham khao de dong bo voi phan con lai.
   ========================================================================== */
.section-contact .contact-title h2{
	color: var(--ely-primary);
	font-size: clamp(30px, 4vw, 40px);
	font-weight: 800;
	margin: 0 0 14px;
}
.section-contact .contact-title p{
	color: #667085;
	font-size: 15px;
	line-height: 1.7;
	max-width: 520px;
	margin: 0 0 10px;
}

.row-form-lien-he{
	margin-top: 10px;
}
.row-form-lien-he p{
	margin-bottom: 22px;
}
.row-form-lien-he input.wpcf7-form-control:not(.wpcf7-submit){
	background: transparent;
	border: none;
	border-bottom: 1px solid #d7dce3;
	border-radius: 0;
	box-shadow: none;
	padding: 0 2px 10px;
	height: auto;
	font-size: 15px;
	color: var(--ely-navy);
	transition: border-color .25s ease;
}
.row-form-lien-he input.wpcf7-form-control:not(.wpcf7-submit):focus{
	border-bottom-color: var(--ely-primary);
	outline: none;
}
.row-form-lien-he .wpcf7-submit{
	background: var(--ely-primary);
	color: #fff !important;
	border: none;
	border-radius: 6px;
	padding: 13px 32px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	height: auto;
	cursor: pointer;
	transition: background-color .25s ease;
}
.row-form-lien-he .wpcf7-submit:hover{
	background: var(--ely-navy);
}
.row-form-lien-he .large-8.text-right p{
	color: #98a2b3;
	font-size: 13px;
	margin: 0;
	padding-top: 14px;
}

.div-contact .img-inner,
.div-contact img{
	border-radius: 10px;
}

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

	.hero-text h2.uppercase strong{ font-size: 42px; }
	.hero-text .hero-btn,
	.hero-text .hero-btn02{
		display: flex;
		width: 100%;
		margin: 6px 0;
		justify-content: center;
	}

	.home-about .about-img,
	.home-story .about-img{
		max-width: 240px;
		margin: 0 auto 24px;
	}

	.home-title .section-title{ justify-content: center; text-align: center; }
	.home-title .section-title-main{
		padding-bottom: 12px; 
	}
	.home-title .section-title-main:after{ left: 50%; transform: translateX(-50%); }

	.home-title-row{
		flex-wrap: wrap;
		justify-content: center;
	}
	.home-title-row .home-title{
		flex: 1 1 100%;
	}

	.header-nav-main.nav-right > li:last-child{ margin-left: 0; margin-top: 8px; }

	.row-form-lien-he .large-6.col,
	.row-form-lien-he .large-4.col,
	.row-form-lien-he .large-8.col{
		flex-basis: 100%;
		max-width: 100%;
	}
	.row-form-lien-he .large-8.text-right p{
		text-align: left;
		padding-top: 0;
	}
}
