/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

.otl-process-timeline {
	position: relative;
	overflow: hidden;
}

.timeline-bg-videos {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.bg-video.is-active {
	opacity: 1;
}

.otl-process-timeline__row {
	display: flex;
	position: relative;
	max-width: 2000px;
	margin: 0 auto;
	padding-left: 50px;
	padding-right: 50px;
	z-index: 2;
}

.otl-process-timeline__column {
	width: 20%;
}

.otl-process-timeline__column-inner {
	padding: 0 27px;
	color: #fff;
	text-align: center;
}

@media screen and (max-width: 1450px) {
	.otl-process-timeline__column-inner {
		padding: 0 20px;
	}
}

.otl-process-timeline__circle {
	border: 2px solid #0096d6;
	border-radius: 50%;
	position: relative;
	transform: scale(1);
	transition: transform 0.5s ease; /* ONLY transform animates */
	overflow: hidden;
	background: #000;
} 

/* gradient overlay layer */
.otl-process-timeline__circle::before {
	content: "";
	position: absolute;
	inset: -3px; /* cover border fully */
	border-radius: 50%;
	z-index: 2;
	
	background: linear-gradient(
		120deg,
		#1e88c9,
		#1aa0d8,
		#7b2bd6,
		#5a49c9,
		#1e88c9
	);
	pointer-events: none;
	background-size: 300% 300%;
	background-position: 0% 50%;
	opacity: 0;
	transition: .4s;
}

/* .otl-process-timeline__column-inner:hover .otl-process-timeline__circle {
	transform: scale(1.12);
	border: none; 
}

.otl-process-timeline__column-inner:hover .otl-process-timeline__circle::before {
	opacity: 1;
	animation: waterFlow 3s ease-in-out infinite;
} */

.otl-process-timeline__circle:hover {
	transform: scale(1.12);
	border: none;
}

.otl-process-timeline__circle:hover::before {
	opacity: 1;
	animation: waterFlow 3s ease-in-out infinite;
}

/* animation */
@keyframes waterFlow {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.otl-process-timeline__column-inner:hover {
		animation: none;
	}
}

.otl-process-timeline__circle-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 25px;
	z-index: 3;
}

.otl-process-timeline__circle-count {
	margin-bottom: 5px;
	color: #fff;
	font-size: 25px !important;
}

@media screen and (max-width: 1450px) {
	.otl-process-timeline__circle-count {
		font-size: 20px !important;
		margin-bottom: 0 !important;
	}	
}

.otl-process-timeline__circle-process-name {
	font-size: 22px;
	line-height: 1.2;
	min-height: 62px;
	height: 65px;
	display: flex;
	align-items: center;
	font-weight: bold;
}

.otl-process-timeline__placeholder {
	display: block;
	width: 100% !important;
	height: 100% !important;
	visibility: hidden;
	margin: 0 !important;
}

/* Elastic animation class */
.otl-animate-circle {
	transform: scale(1);
	opacity: 1;
}

/* Timeline line */
.otl-process-line {
	position: absolute;
	top: 50%;
	left: 0;
	height: 4px;
	width: 0;
	background: linear-gradient(90deg, #0096d6, #00b4ff);
	transform: translateY(-50%);
}

.otl-process-timeline__hover-contents-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	top: -18px;
}

.otl-process-timeline__hover-arrow{
	width: 52px;
	height: 52px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px;
	background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M6%209l6%206%206-6%27%20stroke%3D%27%23fff%27%20stroke-width%3D%272.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E);
	background-color: #101010;
	border: 1px solid #0096d6;
	border-radius: 50%;
	transition: .6s;
}

.otl-process-timeline__hover-dotted-line {
	width: 2px;
	height: 35px;
	border-right: 2px dotted #0096d6;
	margin-top: 14px;
	margin-bottom: 6px;
	opacity: 0;
	transition: .6s;
}

.otl-process-timeline__circle-label {
	color: #fff;
	font-size: 25px !important;
}

@media screen and (max-width: 1450px) {
	.otl-process-timeline__circle-label {
		font-size: 20px !important;
		margin-bottom: 0 !important;
	}	
}

.otl-process-timeline__hover-content {
	opacity: 0;
	transition: .6s;
	background: linear-gradient(
		120deg,
		#1e88c9,
		#1aa0d8,
		#7b2bd6,
		#5a49c9,
		#1e88c9
	);
	background-size: 300% 300%;
	animation: waterFlow 6s ease-in-out infinite;
	border-radius: 20px;
}

.otl-process-timeline__hover-content h3 {
	color: #fff;
}

.otl-process-timeline__column-inner.is-hovered .otl-process-timeline__hover-contents-wrap .otl-process-timeline__hover-arrow,
.otl-process-timeline__circle:hover + .otl-process-timeline__hover-contents-wrap .otl-process-timeline__hover-arrow {
	background-color: #0096d6;
}

.otl-process-timeline__column-inner.is-hovered .otl-process-timeline__hover-contents-wrap .otl-process-timeline__hover-dotted-line,
.otl-process-timeline__column-inner.is-hovered .otl-process-timeline__hover-contents-wrap .otl-process-timeline__hover-content,
.otl-process-timeline__circle:hover + .otl-process-timeline__hover-contents-wrap .otl-process-timeline__hover-dotted-line,
.otl-process-timeline__circle:hover + .otl-process-timeline__hover-contents-wrap .otl-process-timeline__hover-content {
	opacity: 1;
} 

/* Smooth movement */
.otl-process-timeline__circle {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.otl-process-timeline__circle-inner {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.otl-process-timeline__heading-wrap {
	position: relative;
}

.otl-process-timeline__circle-heading-text {
	color: rgb(0, 150, 214);
	text-transform: uppercase; 
	margin: 0 !important;
}

.otl-process-timeline__circle-heading {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media screen and (max-width: 1000px) {
	.otl-process-timeline__row {
		max-width: 400px;
		flex-direction: column;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.otl-process-timeline__column {
		width: 100%;
	}
	
	.otl-process-timeline__circle-heading-text {
		font-size: 32px !important;
	}
	
	.otl-process-timeline {
		padding-top: 60px;
	}
	
	.otl-process-timeline__column--the-process .otl-process-timeline__placeholder {
		height: 200px !important;
	}
}

.single-post .featured-media-under-header__featured-media .post-featured-img img {
	object-fit: contain !important;
}

.nectar-flickity .img-with-aniamtion-wrap .color-overlay {
	background: linear-gradient(120deg, #1e88c9, #1aa0d8, #7b2bd6, #5a49c9, #1e88c9);
}