/*
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.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
	--primary-color: #13803f;
	--dark-primary-color: #083e1e;
	--secondary-color: #ffde59;
	--linear-red: linear-gradient(to right, #d80000, #f50200, #bb0100)000;
}

body {
	font-family: "Inter", sans-serif;
}

.autocomplete-suggestion .search-price,
.wpcf7-spinner {
	display: none;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
}

.col-inner:last-child {
	padding-bottom: 0;
}

a {
	transition: all .25s ease;
}

p:last-child {
	margin-bottom: 0;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
	max-width: 350px;
	width: 100%;
}

.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
	font-size: 14px;
	color: #000;
}

.mfp-bg.mfp-ready {
	background-color: rgba(0, 0, 0, 0.4) !important;
	opacity: 1 !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
}

.mfp-wrap.mfp-ready {
	backdrop-filter: none !important;
}

.nav:not(.nav-slide) .active>.children {
	padding-bottom: 0;
}

.icon-box-img img,
.icon-box-img svg {
	padding-top: 0;
}

.autocomplete-suggestion img+.search-name {
	font-size: 16px;
}

.header-nav .sub-menu .menu-item-has-children:after {
	content: '\f105';
	font-family: "FontAwesome";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 11px;
}

.header-nav .sub-menu .menu-item-has-children {
	position: relative;
	width: 100%;
}

.header-nav .sub-menu .menu-item-has-children .sub-menu {
	display: none;
	opacity: 0;
	transition: all 0.25s ease;
	position: absolute;
	left: 100%;
	background: #fff;
	border-radius: 5px;
	top: 0;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu {
	display: block;
	opacity: 1;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu .sub-menu {
	display: none;
	opacity: 0;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu .menu-item-has-children:hover .sub-menu {
	display: block;
	opacity: 1;
}

.header-nav .sub-menu.nav-dropdown-default {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.sub-menu li a {
	min-width: 150px;
	font-weight: 400 !important;
	text-transform: math-auto !important;
	color: initial !important;
	font-size: 14px !important;
}


.nav-uppercase li a,
.nav-uppercase li>a,
ul.nav-uppercase>li>a {
	letter-spacing: normal !important;
}

.flickity-button {
	opacity: 1;
}

.flickity-button svg {
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	padding: 10px;
	border-radius: 4px;
	min-width: 30px;
	max-width: 30px;
	height: 30px;
}

.row-slider .flickity-prev-next-button svg {
	padding: 10px !important;
}

.slider-nav-light .flickity-prev-next-button .arrow,
.slider-nav-light .flickity-prev-next-button svg {
	fill: #333;
}

.flickity-page-dots {
	background: #ffffff30;
	width: max-content;
	margin: auto;
	border-radius: 16px;
	padding: 0px 4px;
	padding-bottom: 2px;

}

.flickity-page-dots .dot {
	width: 8px;
	height: 8px;
	background-color: #fff;
}

.wpcf7 div.wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
	background: #fddddd;
	border: 1px solid red;
	color: red;
	box-shadow: none;
	font-size: 14px;
	padding: 15px;
	border-radius: 6px;
	margin: 0;
	margin-top: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #ebfee3;
	color: #398f14;
	border-color: #398f142e;
}

ul:last-child,
li:last-child {
	margin-bottom: 0;
}

.ss-pd {
	padding-top: 60px !important;
	padding-bottom: 30px !important;
}

.ss-footer {
	.bg-loaded {
		opacity: .3;
	}

	h2 {
		color: var(--dark-primary-color);
		font-size: 20px;
	}

	.icon-box {
		margin-bottom: 20px;
		align-items: center;

		&:last-child {
			margin-bottom: 0;
		}

		.icon {
			background-color: var(--primary-color);
			border-radius: 4px;
			width: 30px;
			height: 30px;
			padding: 8px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}
	}
}

.frame-title {

	h1,
	h2 {
		position: relative;
		padding-bottom: 15px;
		margin-bottom: 15px;

		&:after {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100%;
			height: 2px;
			background-color: var(--primary-color);
		}
	}
}

.ss-about {
	.box-text-bottom {
		border-radius: 12px;
		overflow: hidden;

		h4 {
			color: var(--primary-color);
			font-size: 14px;
		}

		h3 {
			font-size: 16px;
		}

		a {
			color: #333;
		}
	}

	.box-text {
		.button {
			background: var(--linear-red);
			color: #fff;
		}
	}
}

.frame-title-center {

	h1,
	h2,
	h3 {
		margin-bottom: 0;
	}
}

.ss-service {
	.icon-box {
		margin-bottom: 20px;
		align-items: center;

		&:last-child {
			margin-bottom: 0;
		}

		.icon {
			background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 100%);
			border-radius: 50%;
			padding: 15px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}
	}
}

.ss-feedback {
	.video {
		border-radius: 12px;
		overflow: hidden;
	}
}

.ss-partner {
	.box-text {
		padding: 0;
		padding-top: 15px;
	}

	.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
		margin-top: -6%;
	}
}

.ss-aboutus {
	.box-text {
		display: none;
	}
}

.ss-vision {
	.icon-box {
		border: 2px dashed #87868636;
		border-radius: 12px;
		padding: 15px;
		height: 100%;

		p {
			font-size: 14px;
			color: #717b9d;
		}
	}

	.icon-box.vision {
		background-color: #13803f1c;
	}

	.icon-box.mission {
		background-color: #ffde591c;

		.icon {
			background-color: var(--secondary-color);
		}
	}

	.icon-box.business {
		background-color: #ffde591c;

		.icon {
			background-color: var(--secondary-color);
		}
	}

	.icon-box.value {
		background-color: #13803f1c;
	}

	.icon {
		background-color: var(--primary-color);
		border-radius: 12px;
		padding: 15px;
	}
}

.post-item {
	.col-inner {
		height: 100%;
	}

	.box {
		height: 100%;
		border: 1px solid #ddd;
		border-radius: 12px;
		overflow: hidden;
		background-color: #fafafa;

		.box-text {
			padding: 10px;

			.post-title a {
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
				font-size: 16px;
			}

			.from_the_blog_excerpt {
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
			}
		}
	}
}


.widget {
	border: 1px solid var(--primary-color);
	border-radius: 12px;
	overflow: hidden;

	&:last-child {
		margin-bottom: 0;
	}

	.widget-title {
		display: block;
		padding: 15px;
		background: linear-gradient(228.35deg, #54b046 31.38%, var(--primary-color) 100%);
		color: #fff;
		text-transform: math-auto;
		letter-spacing: 0;
		font-size: 18px;
		text-align: center;
	}

	.is-divider,
	span.post_comments {
		display: none;
	}

	ul {
		padding: 15px;
	}

	.recent-blog-posts a {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		margin: 0;
		line-height: 1.4em;
	}

	.tagcloud {
		padding: 15px;
		display: flex;
		flex-wrap: wrap;
		gap: 5px;

		a {
			margin: 0;
			padding: 5px 10px;
		}
	}
}

.widget_recent_entries li a {
	font-size: 14px;
}


form {
	margin-bottom: 0;

	.two-col p {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 15px;
		align-items: center;
	}

	label {
		font-size: 16px;
		font-weight: 500;
	}

	input,
	select,
	textarea {
		height: 45px;
		border: 1px solid #ddd;
		padding: 0px 16px;
		border-radius: 6px !important;
		font-weight: 400;
		box-shadow: none !important;
		padding: 5px;

		&:focus {
			border-color: var(--primary-color);
		}
	}

	textarea {
		resize: vertical;
		min-height: 100px;
		padding: 10px;
	}

	input[type=radio] {
		margin: 0 !important;
		line-height: 1;
		min-height: unset;
		height: unset;
	}

	.term-adviser {
		font-size: 14px;
		margin-bottom: 15px;
	}

	.wpcf7-submit {
		display: block;
		width: 100%;
		margin: 0;
		text-transform: math-auto;
		font-weight: bold;
	}
}

.wpcf7-not-valid-tip {
	display: none;
}

.ss-contact {
	iframe {
		border-radius: 12px;
		overflow: hidden;
	}
}

.ss-workflow {
	.icon {
		border: 2px solid #dddddd3d;
		padding: 5px;
		border-radius: 50%;

		& .icon-inner {
			background-color: #fff;
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 10px;
		}
	}
}

.category-banner-hero {
	width: 100%;
	overflow: hidden;
	margin-bottom: 30px;
	margin-top: -30px;
}

.category-banner-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.row-cta {
	.frame-title {
		span {
			color: var(--secondary-color);
		}
	}

	.icon-box {
		align-items: center;
		background-color: #00000030;
		padding: 20px;
		border-radius: 15px;
		border: 1px solid var(--secondary-color);
		transition: all .3s ease;


		.icon {
			background-color: #fff;
			border-radius: 50%;
			padding: 15px;
		}

		.icon-box-text {

			h3,
			p {
				margin-bottom: 0;
				transition: all .3s ease;

			}
		}

		&:hover {
			background-color: var(--secondary-color);
			transform: scale(.95);

			.icon-box-text {

				h3,
				p {
					color: var(--primary-color);
				}
			}
		}
	}
}

.flickity-slider>.row:not(.is-selected) {
	opacity: 1;
}

li.html.custom.html_topbar_left {
	color: #fff;
}

.round-12px {
	border-radius: 12px;
	overflow: hidden;
}

.ss-form-course {
	h2 {
		font-size: 22px;
		margin-bottom: 30px;
	}

	.wpcf7-submit {
		background: var(--linear-red);
	}
}

.btn-register-course {
	background: var(--linear-red);
	color: #fff !important;
	padding: 8px 10px !important;
	border-radius: 4px;
}

#register-course-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .65);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility .25s;
	transform: translateZ(0)
}

#register-course-overlay.open {
	opacity: 1;
	visibility: visible
}

#register-course-overlay .vdc-popup-modal {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 36px 32px 28px;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
	margin: 0px 20px;
}

#register-course-overlay .vdc-popup-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #666;
	transition: color .2s;
	padding: 0;
	margin: 0;
	min-height: unset;
	line-height: 1
}

#register-course-overlay .vdc-popup-close:hover {
	color: #333
}

#register-course-overlay #register-course-title {
	font-size: 18px;
	font-weight: 700;
	color: #13803f;
	margin: 0 0 20px;
	text-align: center
}





@media(max-width: 1000px) {
	#register-course-overlay .vdc-popup-modal {
		padding: 20px;
	}

	.header-main li.html.custom {
		display: block;
	}

	li.html.custom.html_topbar_left {
		text-align: center;
	}

	.ss-pd {
		padding-top: 30px !important;
		padding-bottom: 0px !important;
	}
}

@media(max-width: 600px) {
	form {
		.two-col p {
			grid-template-columns: 1fr;
			gap: 0;
		}
	}
}