/*
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=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
	--primary-color: #002D72;
	--secondary-color: #5DACE1;
}

.absolute-footer,
.wpcf7-spinner {
	display: none !important;
}

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

* {
	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;
}

.header-button {
	.button {
		box-shadow: none !important;
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: 600;
		font-size: 13px;
		min-width: 200px;
		min-height: 37px;
		border: 0;
	}
}

.header-button-1 .header-button {
	.button {
		background-color: #fff;
		color: var(--primary-color);
	}

	.button:hover {
		background-color: var(--primary-color);
		color: #fff;
	}
}

.header-button-2 .header-button {
	.button {
		background-color: var(--primary-color);
		color: #fff;
	}

	.button:hover {
		background-color: #fff;
		color: var(--primary-color);
	}
}

.header-main .nav>li>a {
	font-weight: bold;
}

.row-divided>.col+.col:not(.large-12) {
	border-color: var(--secondary-color);
}

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

	a.button {
		margin-bottom: 0;
	}
}

.frame-title {

	h1,
	h2 {
		font-weight: 400;
		font-size: 40px;
		color: var(--primary-color);
	}
}

.ss-services {
	.text-box.banner-layer {
		h3 {
			font-size: 20px;
			color: var(--primary-color);
		}

		p {
			font-size: 14px;
		}

		a.button {
			position: absolute;
			bottom: -20px;
			left: 50%;
			transform: translateX(-50%);
		}
	}

	.text-box-content {
		transition: all .3s ease;
	}

	.banner:hover {
		.text-box-content {
			background-color: #fff !important;
		}
	}
}

.ss-workflow {
	overflow: hidden;

	.col-inner {
		text-align: center;

		.item {
			h3 {
				background-image: linear-gradient(to right, #ff9a3e, #ff5266);
				color: #fff;
				font-size: 30px;
				padding: 15px;
				width: 80px;
				height: 80px;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				border-radius: 15px;
				font-weight: bold;
			}

			h4 {
				font-weight: 500;
				color: var(--primary-color);
			}

			p {
				font-size: 14px;
			}
		}
	}

	.row .col:nth-child(2) .item h3 {
		background-image: linear-gradient(to right, var(--secondary-color), var(--primary-color));
	}

	.row .col:nth-child(3) .item h3 {
		background-image: linear-gradient(to right, #85C335, #DCF188);
	}

	.row .col:nth-child(4) .item h3 {
		background-image: linear-gradient(to right, #FF00CC, #8400FF);
	}
}

.ss-outstanding {
	.banner {
		background-color: transparent !important;
		border-radius: 12px;
		overflow: hidden;
	}

	.text-box-circle .text,
	.text-box-square .text {
		padding: 65% 0 0 !important;
		width: 65%;
		margin: auto;

		h3 {
			font-size: 16px;
		}
	}
}

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

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

.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;
}

.ss-all-service {
	.row.row-collapse {
		background-color: rgba(93, 172, 225, 0.1);
	}

	.frame-title {
		h2 {
			color: var(--primary-color);
		}
	}

	a.button {
		margin-bottom: 0px;
	}
}

.ss-contact {
	overflow: hidden;

	.item {
		border: 1px solid #f1f1f1;
		border-radius: 16px;
		background: #fdfdfd;
		padding: 30px 15px;
		text-align: center;
		height: 100%;

		i {
			color: var(--secondary-color);
			font-size: 40px;
		}
	}

	.gg-map {
		iframe {
			border-radius: 16px;
		}
	}

	form {
		margin-bottom: 0;

		.row-two-col {
			display: flex;
			align-items: center;
			gap: 15px;

			p {
				width: 100%;
			}
		}
	}

	form input {
		min-height: 46px;
	}

	form input,
	form textarea {
		border: 1px solid #f1f1f1;
		width: 100%;
		margin-bottom: 15px;
		outline: none;
		font-size: 14px;
		border-radius: 8px;
		background: #fdfdfd;
		box-shadow: none !important;
		padding: 10px 20px;
		font-size: 16px;
	}

	.wpcf7-submit {
		margin-bottom: 0;
	}
}

.ss-contact:before {
	content: '';
	width: 270px;
	height: 270px;
	border-radius: 100%;
	position: absolute;
	top: -22%;
	left: -5%;
	background-color: #25f4ee;
	filter: blur(150px);
}

.ss-contact:after {
	content: '';
	width: 320px;
	height: 320px;
	border-radius: 100%;
	position: absolute;
	bottom: -11%;
	right: -8%;
	background-color: #ee3f63;
	filter: blur(150px);
}

.wpcf7 div.wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
	background: #ff00000a;
	border: 1px solid #ff00001a;
	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;
}

.back-to-top {
	height: 74px;
	width: 74px;
	background-color: rgba(255, 167, 0, 0.3) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	position: relative;
	border: 0 !important;
	transition: all .25s ease;
}

.back-to-top:after {
	content: "";
	position: absolute;
	border-radius: 100%;
	background-color: #FFA700;
	opacity: .4;
	width: 55px;
	height: 55px;
	transition: all .25s ease;
}

.back-to-top:before {
	content: "";
	position: absolute;
	border-radius: 100%;
	background-color: #FFA700;
	opacity: .7;
	width: 40px;
	height: 40px;
	transition: all .25s ease;
}

.back-to-top:hover {
	background-color: #0001 !important;
}

.back-to-top:hover:after {
	background-color: #0006 !important;
}

.back-to-top:hover:before {
	background-color: #000 !important;
}

.nav-dropdown-has-shadow .nav-dropdown {
	padding: 10px;
}

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





@media(max-width: 998px) {
	.frame-title {

		h1,
		h2 {
			font-size: 28px;
		}
	}

	.ss-footer {
		.row-divided {
			.col:nth-child(1) {
				border-bottom: 1px solid var(--secondary-color);
			}

			.col:nth-child(2) {
				border-right: 1px solid var(--secondary-color);
			}
		}
	}

	.ss-services {
		& .text-box.banner-layer {
			a.button {
				bottom: -24px;
				font-size: 14px;
			}
		}
	}
}

@media(max-width: 580px) {

	.back-to-top {
		height: 50px;
		width: 50px;
	}

	.back-to-top:before {
		width: 40px;
		height: 40px;
	}

	.back-to-top:after {
		width: 70px;
		height: 70px;
	}

	.ss-contact {
		& form {
			.row-two-col {
				display: block;
			}
		}
	}

	.ss-footer {
		& .row-divided {
			.col:nth-child(2) {
				border-bottom: 1px solid var(--secondary-color);
			}
		}
	}
}