/*
* Created by CeLa
* Copyright 2024 by CeLa 
* Addons styles
*/

/*
 * Timeline styles
 */
.timeline-outer {
	margin-top: 45px;
}
ul.timeline {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.timeline > li {
	display: flex;
	gap: 30px;
}
@media(max-width: 767px){
	ul.timeline > li .date > * {
		display: block;
	}
	ul.timeline > li .date time {
		margin-bottom: 5px;
	}
}
@media(min-width: 768px){
	ul.timeline > li .date {
		display: flex;
		gap: 15px;
		/*
		flex-direction: row-reverse;
		*/
	}
}
ul.timeline > li .date time {
	font-weight: 600;
}
ul.timeline > li .date span {
	font-style: italic;
	color: #bbb;
}
ul.timeline > li .body {
	position: relative;
	padding-left: 30px;
	padding-bottom: 30px;
	z-index: 98;
}
ul.timeline > li .body:before {
	content: '';
	position: absolute;
	top: 10px;
	left: 0;
	width: 10px;
	height: 10px;
	background-color: #343f52;
	transform: translateX(-50%);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
ul.timeline > li:not(:last-child) .body:after {
	content: '';	
	position: absolute;
	top: 26px;
	left: 0;
	bottom: 0;
	width: 1px;
	background-color: #eceef3;
}


/*
 * Services addon
 */
.services {
	padding-top: 75px;
	padding-bottom: 75px;
}
@media(max-width: 767px){
	.services-inner .service {
		margin: 0px 45px 0px 45px;
	}
	.services-inner .service:not(:first-child) {
		margin-top: 75px;
	}
}
@media(min-width: 768px){
	.services-inner {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 75px;
	}
}
.service.indicator-top {
	position: relative;
	z-index: 98;
}
.service.indicator-top:before {
	content: '';
	position: absolute;
	bottom: 100%;
	right: 0;
	width: 50%;
	height: 2.5rem;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	z-index: 101;
}
.indicator-15.indicator-top:before {width: 15%;}
.indicator-25.indicator-top:before {width: 25%;}
.indicator-50.indicator-top:before {width: 50%;}
.indicator-75.indicator-top:before {width: 75%;}

.service.indicator-top .service-head {
	padding: 20px 30px;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.service.indicator-top .service-body {
	padding: 20px 30px 0px 30px;
}
.indicator-count {
	counter-reset: line-number;
}
.indicator-count .service .service-head {
	counter-increment: line-number;
	position: relative;
}
.indicator-count .service .service-head:before {
	content: counter(line-number);
	position: absolute;
	left: 0;
	bottom: 0;
	height: 42px;
	width: 42px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: #9ba0a7;
	border: 1px solid #ddd;
	line-height: 39px;
	-webkit-border-radius: 21px;
	-moz-border-radius: 21px;
	border-radius: 21px;
	transform: translate(-100%, 50%);
	transition: all linear .25s;
}
.indicator-count .service:hover .service-head:before {
	color: #222;
	background-color: #f7f7f7;
}
.service.indicator-top .service-link {
	padding: 0 30px;
}