/** * #.# Styles * * CSS for both Frontend+Backend. */
.uagb-timeline__outer-wrap {
	position: relative;

	.uagb-timeline__field {
		position: relative;
		display: flex;
		align-items: flex-start;
		margin-bottom: inherit;
		color: inherit;
		font-size: inherit;

		&:not( :last-child ) {
			margin-bottom: 20px;
		}

		a {
			margin-bottom: inherit;
			text-decoration: none;

			&.uagb-timeline__image {
				position: relative;
				display: block;
				max-width: 100%;

				img {
					display: inline-block;
					box-sizing: content-box;
					height: auto;
					max-width: 100%;
				}
			}
		}

		.uagb-timeline__author-link {
			text-transform: capitalize;
		}

		a.uagb-timeline__link {
			display: inline-block;
		}

		&.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,
		&.uagb-timeline__left.hide-events .uagb-timeline__date-new {
			visibility: hidden;
		}

		&.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,
		&.uagb-timeline__right.hide-events .uagb-timeline__date-new {
			visibility: hidden;
		}

		/* For Backward */
		.uagb-timeline__image {
			a {
				position: relative;
				display: block;
				max-width: 100%;
			}

			img {
				display: inline-block;
				box-sizing: content-box;
			}
		}

		/* End Backward */
	}

	.uagb-timeline__line {
		position: absolute;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		width: 3px;
		background-color: #eee;

		.uagb-timeline__line__inner {
			width: 100%;
			background-color: #0693e3;
		}
	}

	svg {
		display: inline-block;
		vertical-align: middle;
		font-size: 16px;
		font-style: normal;
		line-height: 16px;
	}

	.uagb-timeline__field:hover .uagb-timeline__marker {
		transition: all 0.2s ease-in-out;
	}

	.uagb-timeline__marker {
		position: relative;
		display: flex;
		z-index: 1;
		justify-content: center;
		align-items: center;
		min-width: 3em;
		min-height: 3em;
		background-color: #eee;
		border-radius: 999px;
		line-height: 48px;
		transition: all 0.2s ease-in-out;
	}

	.uagb-timeline__year {
		position: relative;
		display: flex;

		span {
			display: inline-block;
			padding-bottom: 6px;
		}
	}

	&.uagb-timeline__arrow-center {
		.uagb-timeline__field {
			align-items: center;
		}

		.uagb-timeline__left .uagb-timeline__arrow,
		.uagb-timeline__right .uagb-timeline__arrow {
			top: 50%;
			transform: translateY(-50%);
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
		}
	}

	&.uagb-timeline__arrow-bottom {
		.uagb-timeline__field {
			align-items: flex-end;
		}

		.uagb-timeline__left .uagb-timeline__arrow,
		.uagb-timeline__right .uagb-timeline__arrow {
			top: 100%;
			transform: translateY(-100%);
		}

		.uagb-timeline__date-new .uagb-timeline__date-new {
			padding-top: 8px;
			padding-bottom: 8px;
		}
	}

	.uagb-timeline__date .uagb-timeline__inner-date-new {
		margin: 0;
		white-space: nowrap;
	}

	/* Icon transition animation */
	.in-view i.uagb-timeline__in-view-icon {
		-webkit-transition:
			background 0.25s ease-out 0.25s,
			width 0.25s ease-in-out,
			height 0.25s ease-in-out,
			color 0.25s ease-in-out,
			font-size 0.25s ease-in-out;
		-webkit-transition:
			background 0.25s ease-out 0.25s,
			width 0.25s ease-in-out,
			height 0.25s ease-in-out,
			color 0.25s ease-in-out,
			font-size 0.25s ease-out;
		transition:
			background 0.25s ease-out 0.25s,
			width 0.25s ease-in-out,
			height 0.25s ease-in-out,
			color 0.25s ease-in-out,
			font-size 0.25s ease-out;
	}

	&.uagb-timeline__left-block .uagb-timeline__date-new {
		display: none;
	}

	&.uagb-timeline__right-block .uagb-timeline__date-new {
		display: none;
	}

	p:empty {
		display: none;
	}

	&.uagb-timeline__right-block .uagb-timeline__line {
		position: absolute;
		transform: translateX(50%);
		-webkit-transform: translateX(50%);
		-ms-transform: translateX(50%);
	}

	span.dashicons-admin-users.dashicons {
		display: inline;
		vertical-align: baseline;
		margin-right: 4px;
	}
}

.uagb-content {
	word-break: break-word;
}

.uagb-timeline__heading {
	&h1,
	&h2,
	&h3,
	&h4,
	&h5,
	&h6 {
		margin-bottom: 0;
	}
}

.uagb-timeline__inner-date-new p,
.uagb-timeline__date-inner .uagb-timeline__inner-date-new p {
	margin-bottom: 0;
}

.uagb-timeline__center-block {
	/* CENTER CSS STARTS */
	text-align: center;

	.uagb-timeline__day-right .uagb-timeline__arrow::after {
		position: absolute;
		top: 50%;
		right: 0;
		display: inline;
		width: 0;
		height: 0;
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		border-left: 13px solid #eee;
		transform: translateY(-50%);
		content: "";
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__marker {
		flex-grow: 0;
		flex-shrink: 0;
		order: 1;
	}

	.uagb-timeline__date-hide {
		display: none;
	}

	.uagb-timeline__field.uagb-timeline__right {
		flex-direction: row-reverse;
	}

	.uagb-timeline__day-new,
	.uagb-timeline__date-new {
		display: block;
		position: relative;
		flex-grow: 1;
		flex-basis: 50%;
		max-width: 100%;
	}

	.uagb-timeline__right {
		.uagb-timeline__day-new {
			order: 2;
		}

		.uagb-timeline__date-new {
			display: flex;
			justify-content: flex-start;
		}

		.uagb-timeline__arrow {
			position: absolute;
			top: 0;
			right: -10px;
			width: 10px;
			height: 40px;

			&::after {
				top: 50%;
				transform: translateY(-50%);
				-webkit-transform: translateY(-50%);
				-ms-transform: translateY(-50%);
			}
		}
	}

	.uagb-timeline__left {
		.uagb-timeline__day-new {
			order: 2;
		}

		.uagb-timeline__date-new {
			display: flex;
			justify-content: flex-end;
		}

		.uagb-timeline__arrow {
			position: absolute;
			top: 0;
			left: -10px;
			width: 10px;
			height: 40px;

			&::after {
				top: 50%;
				transform: translateY(-50%);
				-webkit-transform: translateY(-50%);
				-ms-transform: translateY(-50%);
			}
		}
	}

	/* RESPONSIVE ALIGNMENT OF VERTICAL SEPARATOR. */
	.uagb-timeline__line {
		right: auto;
		left: 50%;
	}
}

.uagb-timeline__right-block {
	.uagb-timeline__field {
		flex-direction: row-reverse;
	}

	.uagb-timeline__date-new {
		display: flex;
		align-items: center;
		margin-left: 10px;
	}

	.uagb-timeline__day-left,
	.uagb-timeline__day-right {
		.uagb-timeline__events-inner-new {
			text-align: inherit;
		}
	}

	.uagb-timeline__right,
	.uagb-timeline__left {
		// If the orientation of the timeline is set to right, right-align the text.
		.uagb-timeline__events-inner-new {
			text-align: right;
		}

		.uagb-timeline__arrow::after {
			top: 50%;
			transform: translateY(-50%);
		}

		.uagb-timeline__arrow {
			position: absolute;
			top: 0;
			right: 0;
			width: 10px;
			height: 40px;
		}
	}

	.uagb-timeline__right .uagb-timeline__arrow {
		right: -12px;
	}

	.uagb-timeline__left .uagb-timeline__arrow {
		right: -10px;
	}

	.uagb-timeline__marker,
	.uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__day-new {
		flex-grow: 1;
		margin-right: 14px;
	}

	.uagb-timeline__marker {
		flex-grow: 0;
		flex-shrink: 0;
	}
}

.uagb-timeline__left-block {
	text-align: left;

	.uagb-timeline__marker,
	.uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__line {
		right: auto;
		left: 20px;
	}

	.uagb-timeline__day-new {
		flex-grow: 1;
		order: 1;
		margin-left: 14px;
	}

	.uagb-timeline__date-new {
		margin-right: 10px;
	}

	.uagb-timeline__marker {
		flex-grow: 0;
		flex-shrink: 0;
		order: 0;
	}

	.uagb-timeline__right,
	.uagb-timeline__left {
		.uagb-timeline__events-inner-new {
			text-align: left;
		}

		.uagb-timeline__arrow::after {
			top: 50%;
			transform: translateY(-50%);
		}

		.uagb-timeline__arrow {
			position: absolute;
			top: 0;
			width: 10px;
			height: 40px;
		}
	}

	.uagb-timeline__right .uagb-timeline__arrow {
		left: -10px;
	}

	.uagb-timeline__left .uagb-timeline__arrow {
		left: -12px;
	}

	/* LEFT CSS STARTS */
	.uagb-timeline__day-right .uagb-timeline__arrow::after {
		position: absolute;
		display: inline;
		width: 0;
		height: 0;
		border-top: 12px solid transparent;
		border-right: 13px solid #eee;
		border-bottom: 12px solid transparent;
		content: "";
	}
}

.uagb-timeline__day-right .uagb-timeline__events-inner {
	text-align: right;
}

.uagb-timeline__day-left .uagb-timeline__events-inner {
	text-align: left;
}

.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new {
	padding-top: 8px;
	padding-bottom: 8px;
}

.uagb-timeline__events-inner-new,
.uagb-timeline__arrow {
	transition: background 0.2s ease-in-out;
}

.uagb-timeline__arrow::after {
	transition: border-color 0.2s ease-in-out;
}

.uagb-timeline__date-new {
	transition: color 0.2s ease-in-out;
}

.uagb-timeline__day-left .uagb-timeline__arrow::after {
	position: absolute;
	left: 0;
	display: inline;
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	content: "";
}

.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow::after {
	right: 0;
}

.uagb-timeline__day-right .uagb-timeline__arrow::after {
	position: absolute;
	right: 0;
	display: inline;
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	content: "";
}

.uagb-timeline__icon {
	position: relative;
	z-index: 1;
	vertical-align: middle;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	text-align: center;
	line-height: 100px;
	-webkit-border-radius: 50%;
}

.uagb-timeline__left {
	text-align: left;
}

/* RIGHT CSS STARTS */
.uagb-timeline__right {
	text-align: right;
}

.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow::after {
	border-left: 13px solid #eee;
}

.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
	border-left: 13px solid #eee;
}

.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
	border-right: 13px solid #eee;
}

.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
	border-right: 13px solid #eee;
}

.uagb-timeline__day-right .uagb-timeline__events-inner-new {
	border-radius: 4px 4px 4px 4px;
}

.uagb-timeline__day-left .uagb-timeline__events-inner-new {
	border-radius: 4px 4px 4px 4px;
}

.uagb-timeline__arrow {
	height: 3em;
}

.uagb-timeline__right-block .uagb-timeline__line {
	right: 1.5em;
}

.rtl {
	.uagb-timeline__center-block {
		.uagb-timeline__day-right .uagb-timeline__arrow::after {
			border-right: 13px solid #eee;
			border-left: none;
		}

		.uagb-timeline__day-left .uagb-timeline__arrow::after {
			border-right: none;
			border-left: 13px solid #eee;
		}
	}

	.uagb-timeline__left-block {
		.uagb-timeline__line {
			right: auto;
			left: 16px;
		}

		.uagb-timeline__field {
			flex-direction: row-reverse;
		}

		.uagb-timeline__day-left .uagb-timeline__arrow::after {
			border-right: 13px solid #eee;
			right: -3px;
		}

		.uagb-timeline__day-right .uagb-timeline__arrow::after {
			border-right: 13px solid #eee;
			right: -3px;
		}
	}

	.uagb-timeline__right-block {
		.uagb-timeline__line {
			right: auto;
			left: 1.5em;
		}

		.uagb-timeline__field {
			flex-direction: row;
		}

		.uagb-timeline__day-right .uagb-timeline__arrow::after {
			border-left: 13px solid #eee;
		}

		.uagb-timeline__day-left .uagb-timeline__arrow::after {
			border-left: 13px solid #eee;
			right: -17px;
		}
	}
}

@media screen and ( max-width: 1023px ) {
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line {
		position: absolute;
		right: 16px;
		left: auto;
		transform: translateX(50%);
		-webkit-transform: translateX(50%);
		-ms-transform: translateX(50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide {
		display: block;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-left
	.uagb-timeline__events-inner-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-right
	.uagb-timeline__events-inner-new {
		text-align: left;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line {
		right: auto;
		left: 20px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker {
		-webkit-box-ordinal-group: 1;
		-webkit-order: 0;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 0;
		flex-grow: 0;
		flex-shrink: 0;
		order: 0;
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		-webkit-box-flex: 0;
		-webkit-flex-grow: 0;
		-moz-box-flex: 0;
		-ms-flex-positive: 0;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new {
		flex-grow: 1;
		order: 1;
		margin-left: 16px;
		-webkit-box-flex: 1;
		-webkit-flex-grow: 1;
		-moz-box-flex: 1;
		-ms-flex-positive: 1;
		-webkit-box-ordinal-group: 2;
		-webkit-order: 1;
		-moz-box-ordinal-group: 2;
		-ms-flex-order: 1;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow {
		position: absolute;
		width: 10px;
		height: 40px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow {
		left: -10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow {
		left: -12px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow::after {
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet {
		text-align: left;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after {
		position: absolute;
		display: inline;
		width: 0;
		height: 0;
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		content: "";
	}

	/* Center align CSS start */
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__field.uagb-timeline__right {
		-webkit-box-orient: unset;
		-webkit-box-direction: unset;
		-webkit-flex-direction: unset;
		-moz-box-orient: unset;
		-moz-box-direction: unset;
		-ms-flex-direction: unset;
		flex-direction: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new {
		-webkit-box-flex: unset;
		-webkit-flex-grow: unset;
		-moz-box-flex: unset;
		-ms-flex-positive: unset;
		position: relative;
		flex-grow: unset;
		flex-basis: unset;
		width: 100%;
		max-width: 100%;
		-webkit-flex-basis: unset;
		-ms-flex-preferred-size: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new {
		display: none;
	}

	/* CSS for right alignment */
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__field {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-webkit-flex-direction: row-reverse;
		-moz-box-orient: horizontal;
		-moz-box-direction: reverse;
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__day-left
	.uagb-timeline__events-inner-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__day-right
	.uagb-timeline__events-inner-new {
		text-align: right;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow {
		position: absolute;
		right: 0;
		left: auto;
		width: 10px;
		height: 40px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow {
		right: -12px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow {
		right: -10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker {
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		flex-grow: 0;
		flex-shrink: 0;
		-webkit-box-flex: 0;
		-webkit-flex-grow: 0;
		-moz-box-flex: 0;
		-ms-flex-positive: 0;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new {
		flex-grow: 1;
		margin-right: 16px;
		-webkit-box-flex: 1;
		-webkit-flex-grow: 1;
		-moz-box-flex: 1;
		-ms-flex-positive: 1;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow::after {
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right {
		text-align: right;
	}

	/* Center align CSS start */
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new {
		-webkit-box-flex: unset;
		-webkit-flex-grow: unset;
		-moz-box-flex: unset;
		-ms-flex-positive: unset;
		position: relative;
		flex-grow: unset;
		flex-basis: unset;
		max-width: 100%;
		-webkit-flex-basis: unset;
		-ms-flex-preferred-size: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__date-new {
		display: none;
	}
}

@media screen and ( max-width: 767px ) {
	.uagb-timeline-responsive-none .uagb-timeline__events-inner-new {
		padding: 15px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide {
		display: block;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline__day-left
	.uagb-timeline__events-inner-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline__day-right
	.uagb-timeline__events-inner-new {
		text-align: left;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line {
		right: auto;
		left: 20px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker {
		-webkit-box-ordinal-group: 1;
		-webkit-order: 0;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 0;
		flex-grow: 0;
		flex-shrink: 0;
		order: 0;
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		-webkit-box-flex: 0;
		-webkit-flex-grow: 0;
		-moz-box-flex: 0;
		-ms-flex-positive: 0;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new {
		flex-grow: 1;
		order: 1;
		margin-left: 16px;
		-webkit-box-flex: 1;
		-webkit-flex-grow: 1;
		-moz-box-flex: 1;
		-ms-flex-positive: 1;
		-webkit-box-ordinal-group: 2;
		-webkit-order: 1;
		-moz-box-ordinal-group: 2;
		-ms-flex-order: 1;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow {
		position: absolute;
		width: 10px;
		height: 40px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow {
		left: -10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow {
		left: -12px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow::after {
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__day-left .uagb-timeline__events-inner-new {
		text-align: left;
	}

	.uagb-timeline__left-block .uagb-timeline__date-new {
		margin-right: 10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile {
		text-align: left;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after {
		position: absolute;
		display: inline;
		width: 0;
		height: 0;
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		content: "";
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__field.uagb-timeline__right {
		-webkit-box-orient: unset;
		-webkit-box-direction: unset;
		-webkit-flex-direction: unset;
		-moz-box-orient: unset;
		-moz-box-direction: unset;
		-ms-flex-direction: unset;
		flex-direction: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new {
		-webkit-box-flex: unset;
		-webkit-flex-grow: unset;
		-moz-box-flex: unset;
		-ms-flex-positive: unset;
		position: relative;
		flex-grow: unset;
		flex-basis: unset;
		max-width: 100%;
		-webkit-flex-basis: unset;
		-ms-flex-preferred-size: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new {
		display: none;
	}

	/* CSS for right alignment */
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__field {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-webkit-flex-direction: row-reverse;
		-moz-box-orient: horizontal;
		-moz-box-direction: reverse;
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__day-left
	.uagb-timeline__events-inner-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__day-right
	.uagb-timeline__events-inner-new {
		text-align: right;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow {
		position: absolute;
		right: 0;
		left: auto;
		width: 10px;
		height: 40px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow {
		right: -12px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow {
		right: -10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker {
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		flex-grow: 0;
		flex-shrink: 0;
		-webkit-box-flex: 0;
		-webkit-flex-grow: 0;
		-moz-box-flex: 0;
		-ms-flex-positive: 0;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new {
		flex-grow: 1;
		margin-right: 16px;
		-webkit-box-flex: 1;
		-webkit-flex-grow: 1;
		-moz-box-flex: 1;
		-ms-flex-positive: 1;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow::after {
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line {
		position: absolute;
		right: 16px;
		left: auto;
		transform: translateX(50%);
		-webkit-transform: translateX(50%);
		-ms-transform: translateX(50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right {
		text-align: right;
	}

	/* Center align CSS start */
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new {
		-webkit-box-flex: unset;
		-webkit-flex-grow: unset;
		-moz-box-flex: unset;
		-ms-flex-positive: unset;
		position: relative;
		flex-grow: unset;
		flex-basis: unset;
		max-width: 100%;
		-webkit-flex-basis: unset;
		-ms-flex-preferred-size: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__day-new {
		-webkit-box-ordinal-group: unset;
		-webkit-order: unset;
		-moz-box-ordinal-group: unset;
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow::after,
	.rtl
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after,
	.rtl
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__day-left
	.uagb-timeline__arrow::after {
		border-right: 13px solid #eee;
		border-left: none;
	}

	.rtl
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after,
	.rtl
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline__day-left
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-mobile
	.uagb-timeline-res-right
	.uagb-timeline__day-left
	.uagb-timeline__arrow::after {
		border-right: none;
		border-left: 13px solid #eee;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,
	.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line {
		right: auto;
		left: 17.5px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,
	.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line {
		right: 17.5px;
		left: auto;
	}

	.uagb-timeline__responsive-mobile {
		&.uagb-timeline__center-block {
			.uagb-timeline__author-link,
			.uagb-timeline__link_parent,
			.uagb-timeline__link,
			a.uagb-timeline__image,
			.uagb-timeline__image a,
			.uagb-timeline__heading,
			.uagb-timeline-desc-content,
			.uagb-timeline__date-inner,
			.uagb-timeline__inner-date-new {
				text-align: left;
			}

			.uagb-timeline__date-hide {
				&.uagb-timeline__date-inner {
					text-align: left;
				}
			}
		}
	}
}

@media ( max-width: 976px ) {
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line {
		position: absolute;
		right: 16px;
		left: auto;
		transform: translateX(50%);
		-webkit-transform: translateX(50%);
		-ms-transform: translateX(50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide {
		display: block;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-left
	.uagb-timeline__events-inner-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-right
	.uagb-timeline__events-inner-new {
		text-align: left;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line {
		right: auto;
		left: 17.5px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker {
		-ms-flex-order: 0;
		flex-grow: 0;
		flex-shrink: 0;
		order: 0;
		-ms-flex-negative: 0;
		-ms-flex-positive: 0;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new {
		flex-grow: 1;
		order: 1;
		margin-left: 16px;
		-ms-flex-positive: 1;
		-ms-flex-order: 1;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow {
		position: absolute;
		width: 10px;
		height: 40px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow {
		left: -10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow {
		left: -12px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow::after {
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right {
		text-align: left;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after {
		position: absolute;
		display: inline;
		width: 0;
		height: 0;
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		content: "";
	}

	/* Center align CSS start */
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__field.uagb-timeline__right {
		-ms-flex-direction: unset;
		flex-direction: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new {
		-ms-flex-positive: unset;
		position: relative;
		flex-grow: unset;
		flex-basis: unset;
		width: 100%;
		max-width: 100%;
		-ms-flex-preferred-size: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new {
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new {
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new {
		display: none;
	}

	/* CSS for right alignment */
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__field {
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__day-left
	.uagb-timeline__events-inner-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__day-right
	.uagb-timeline__events-inner-new {
		text-align: right;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow {
		position: absolute;
		right: 0;
		left: auto;
		width: 10px;
		height: 40px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow {
		right: -12px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow {
		right: -10px;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new {
		position: relative;
		max-width: 100%;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker {
		-ms-flex-negative: 0;
		flex-grow: 0;
		flex-shrink: 0;
		-ms-flex-positive: 0;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new {
		flex-grow: 1;
		margin-right: 16px;
		-ms-flex-positive: 1;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__arrow::after {
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right {
		text-align: right;
	}

	/* Center align CSS start */
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new {
		-ms-flex-positive: unset;
		position: relative;
		flex-grow: unset;
		flex-basis: unset;
		max-width: 100%;
		-ms-flex-preferred-size: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__day-new {
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__day-new {
		-ms-flex-order: unset;
		order: unset;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__left
	.uagb-timeline__date-new,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline-res-right
	.uagb-timeline__right
	.uagb-timeline__date-new {
		display: none;
	}

	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-right
	.uagb-timeline__arrow::after,
	.uagb-timeline__center-block.uagb-timeline__responsive-tablet
	.uagb-timeline__day-left
	.uagb-timeline__arrow::after {
		border-right: 13px solid #eee;
		border-left: none;
	}

	.uagb-timeline__responsive-tablet {
		&.uagb-timeline__center-block {
			.uagb-timeline__author-link,
			.uagb-timeline__link_parent,
			.uagb-timeline__link,
			a.uagb-timeline__image,
			.uagb-timeline__image a,
			.uagb-timeline__heading,
			.uagb-timeline-desc-content,
			.uagb-timeline__date-inner,
			.uagb-timeline__inner-date-new {
				text-align: left;
			}

			.uagb-timeline__date-hide {
				&.uagb-timeline__date-inner {
					text-align: left;
				}
			}
		}
	}
}

.wp-block-uagb-content-timeline {
	.wp-block-uagb-content-timeline-child {
		.uagb-timeline__events-inner--content {
			.uagb-timeline__heading {
				margin-top: unset; // remove extra spacing.
			}

			p.uagb-timeline-desc-content {
				margin-bottom: unset; // remove extra spacing.
			}
		}
	}

	.uagb-timeline__content-wrap {
		.uagb-timeline__field {
			display: unset;

			.uagb-timeline__widget {
				position: relative;
				display: flex;
				align-items: flex-start;
				font-size: inherit;
				color: inherit;
				margin-bottom: inherit;
			}
		}

		&.uagb-timeline__left-block .uagb-timeline__date-new {
			display: none;
		}

		&.uagb-timeline__right-block .uagb-timeline__date-new {
			display: none;
		}

		&.uagb-timeline__center-block {
			.uagb-timeline__widget.uagb-timeline__right {
				flex-direction: row-reverse;
			}

			.uagb-timeline__marker {
				order: 1;
				flex-shrink: 0;
				flex-grow: 0;
			}

			.uagb-timeline__right .uagb-timeline__day-new {
				order: 2;
				padding-left: 0;
				padding-right: 12px;
			}

			.uagb-timeline__left .uagb-timeline__day-new {
				order: 2;
				padding-right: 0;
				padding-left: 12px;
			}

			.uagb-timeline__right .uagb-timeline__arrow {
				right: 0;
				top: 0;
				width: 10px;
				height: 40px;
				position: absolute;
			}

			.uagb-timeline__left .uagb-timeline__arrow {
				left: 0;
				top: 0;
				width: 10px;
				height: 40px;
				position: absolute;
			}
		}

		&.uagb-timeline__right-block .uagb-timeline__widget {
			flex-direction: row-reverse;
		}

		&.uagb-timeline__arrow-center .uagb-timeline__widget {
			align-items: center;
		}

		&.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,
		&.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow {
			top: 50%;
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			transform: translateY(-50%);
		}
	}
}

.wp-block-uagb-post-timeline {
	.uagb-timeline__link_parent {
		.uagb-timeline__link.wp-block-button__link {
			width: auto;
		}
	}
}
