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


/*-----------------------*\
    PAYMENT METHOD
\*-----------------------*/
.payment-methods {
	display: flex;
	justify-content: flex-start;
}

.payment-methods.right {
	justify-content: flex-end;
}

.payment-methods img {
	height: 24px;
}

.payment-methods .color {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity .5s;
}

.payment-methods .item {
	position: relative;
	margin-right: 24px;
	display: flex;
	align-items: center;
}

.payment-methods .item:hover .color {
	opacity: 1;
	transition: opacity .5s;
}

/* ===== Header Marquee (modern) ===== */
.header-marquee-wrapper {
	background: #1A202C;
	color: #d3d4d7;
	font-size: 12px;
	line-height: 16px;
	border-top: 1px solid rgba(0, 0, 0, .06);
	border-bottom: 1px solid rgba(0, 0, 0, .06);

}

.header-marquee-wrapper a {
	color: inherit;
	text-decoration: underline;
}

.header-marquee-wrapper.modern {
	overflow: hidden;
	white-space: nowrap;
}

.header-marquee-wrapper .marquee-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	max-width: 1120px;
}

.header-marquee-wrapper .marquee-viewport:before {
	content: "";
	width: 16px;
	height: 16px;
	-webkit-mask: url(./assets/images/icon-megaphone.svg) no-repeat center;
	-webkit-mask-size: 16px;
	display: flex;
	flex-shrink: 0;
	background-color: #90949c;
	position: absolute;
	left: 0;
	top: 5px;
}

.header-marquee-wrapper .marquee-track {
	display: inline-flex;
	align-items: center;
	gap: 48px;
	will-change: transform;
	animation: nwm-marquee-left 25s linear infinite;
}

.header-marquee-wrapper .marquee-track-wrap {
	overflow: hidden;
	margin-left: 20px;
}

/* Một block nội dung */
.header-marquee-wrapper .marquee-content {
	display: inline-block;
	padding: 6px 0;
}

@keyframes nwm-marquee-left {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

#header-marquee+* {
	margin-top: 0 !important;
}

/*-----------------------*\
    HEADER BTN
\*-----------------------*/
.header-button-1 a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	text-transform: uppercase;
	border-radius: 60px !important;
	cursor: pointer;
	transition: all .5s;
	box-sizing: border-box;
	white-space: nowrap;
	height: 40px;
	padding: 11px 20px;
	font-size: 12px;
	color: #222939 !important;
	border: 1px solid rgba(0, 0, 0, 0) !important;
	background: #caab72 !important;
}

.header-button-2 a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	text-transform: uppercase;
	border-radius: 60px;
	cursor: pointer;
	transition: all .5s;
	box-sizing: border-box;
	white-space: nowrap;
	height: 40px;
	padding: 11px 20px;
	font-size: 12px;
	color: #fff !important;
	border: 1px solid #fff !important;
	background: rgba(0, 0, 0, 0) !important;
}

.header-button-2 a:hover {
	background: #383E4D !important;
}


.f-gallery {
	grid-template-columns: repeat(7, minmax(0px, 1fr));
	justify-items: center;
	display: grid;
	gap: 20px;
}

.f-gallery .gallery-col {
	width: auto !important;
	flex-grow: initial !important;
	flex-basis: auto !important;
	max-width: 100% !important;
	padding: 0 !important;
}

.f-gallery .gallery-col .box-image {
	width: 100%;
}

.f-gallery .gallery-col .box-text {
	display: none;
}

.f-gallery .gallery-col img {
	height: 55px !important;
	width: auto !important;
	object-fit: contain !important;

	filter: grayscale(100%) brightness(155%) contrast(0.4);
	padding: 0px 10px 10px 0px;
	flex: auto !important;
	-webkit-transition: all .3s ease 0s;
	-moz-transition: all .3s ease 0s;
	-ms-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
}

.f-gallery .gallery-col img:hover {

	filter: grayscale(0%);
	-webkit-transition: all .3s ease 0s;
	-moz-transition: all .3s ease 0s;
	-ms-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
}


@media (min-width: 768px) and (max-width: 991px) {
	.f-gallery {
		grid-template-columns: repeat(6, minmax(0px, 1fr));
		padding: 20px;
		margin: 0 !important;
	}
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {}

/* Landscape phones and smaller */
@media (max-width: 576px) {}

/* Landscape phones and smaller */
@media (max-width: 480px) {}


/*==================================================
>>>       SLIDER     
==================================================*/
.banner-layers a.button {
	display: inline-flex;
	min-width: 150px;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	text-transform: uppercase;
	border-radius: 60px;
	cursor: pointer;
	transition: all .5s;
	box-sizing: border-box;
	white-space: nowrap;
	height: 40px;
	padding: 11px 20px;
	font-size: 12px;
	color: #222939;
	border: 1px solid rgba(0, 0, 0, 0);
	background: #caab72;
}

.banner-layers img.size-full.alignnone {
	margin-bottom: 0;
}


.footer-menu {
	flex-direction: row;
	gap: 20px;
}

.footer-menu a {
	text-decoration: underline;
}


/*==================================================
>>>  STEP     
==================================================*/

.nwm-steps .row>.col {
	padding-bottom: 0;
}

.nwm-step {
	color: #a7a9b0;
	display: flex;
	align-items: center;
	position: relative;
}

.nwm-step:before {
	content: '';
	position: absolute;
	mask: url(./assets/images/icon-arrow-right.svg) center center / contain no-repeat;
	right: 0;
	width: 32px;
	height: 32px;
	background-size: contain;
	background-color: #90949c;
}

.hide-arrow .nwm-step:before {
	display: none;
}

.nwm-step h4 {
	color: #caab72;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.nwm-step .box-text {
	padding: 0 1.5em;
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	.nwm-step .box-text p {
		display: none;
	}

	.nwm-step::before {
		width: 20px;
		height: 20px;
	}

	/*-----------------------*\
      FOOTER
  \*-----------------------*/
	.payment-method>.col {
		flex-basis: 100%;
		max-width: 100%;
	}

	.social-icons {
		text-align: center;
	}

	.footer-menu {
		justify-content: center;
	}

	#footer .sponser {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
}

@media (max-width: 767px) {

	.header-marquee-wrapper .marquee-viewport{
		max-width: 95%;
	}
	/*-----------------------*\
	    SLIDER
	\*-----------------------*/
	.home-slider .banner{
		padding-top: 300px !important;
	}
	.home-slider .banner .text-box-content p{
		font-size: 20px;
	}

	.nwm-steps .row>.col {
		padding-bottom: 0;
	}

	.nwm-step {
		color: #a7a9b0;
		display: flex;
		align-items: center;
		position: relative;
	}

	.nwm-step:before {
		content: '';
		position: absolute;
		mask: url(./assets/images/icon-arrow-right.svg) center center / contain no-repeat;
		right: 0;
		width: 32px;
		height: 32px;
		background-size: contain;
		background-color: #90949c;
	}

	.hide-arrow .nwm-step:before {
		display: none;
	}

	.nwm-steps{
		padding-top: 15px !important;
		padding-bottom: 15px !important;
	}

	.nwm-step h4 {
		color: #caab72;
		font-size: 13px;
		font-weight: 700;
		margin: 0;
	}

	.nwm-step .box-text {
		padding: 0 1.5em;
	}

	.nwm-step .box-text p {
		display: none;
	}

	.nwm-step::before {
		width: 20px;
		height: 20px;
	}

	/*-----------------------*\
      FOOTER
  \*-----------------------*/
	.payment-method>.col {
		flex-basis: 100%;
		max-width: 100%;
	}

	.payment-methods{
		flex-wrap: wrap;
		justify-content: center;
	}
	.payment-methods .item:first-child{
		flex: 0 0 100%;
		text-align: center;
		margin-bottom: 20px;
	}
	.payment-methods .item span{
		display: block;
		text-align: center;
		flex:100%;
	}
	.payment-methods .items {
		
	}

	.social-icons {
		text-align: center;
	}

	.footer-menu {
		justify-content: center;
	}

	#footer .sponser {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
	.f-gallery{
		margin: 0 !important;
	}
}



@media (max-width: 576px) {
	.nwm-steps .row > .col{
		flex-basis: 33.333%;
		max-width: 33.333%;
	}
	.nwm-steps .box-image{
		width: auto !important;
	}
	.nwm-steps .box-image img{
		max-width: 35px;
	}
	  .nwm-step::before {
	  	width: 15px;
	  	height: 15px;
	  }
	 .nwm-steps .box-text{
	 	padding: 0 .5em;
	 }

	/*-----------------------*\
      FOOTER
  \*-----------------------*/
	
	.payment-methods .item {
		margin-bottom: 10px;
	}

	.social-icons {
		text-align: center;
	}

	.footer-menu {
		justify-content: center;
	}

	#footer .sponser {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
		text-align: center;
		margin-top: 20px;
	}
	#footer .sponser .box-image img{
		max-width: 55px;
	}
	#footer .sponser .box-text p{
		text-align: center;
	}
	.f-gallery{
		grid-template-columns: repeat(4, minmax(0px, 1fr));
	}
}

@media (max-width: 480px) {
	
}