/* Created by Content Blocks */
.timeline {

	position: relative;

	&::before {
		content: '';
    background: var(--tlog-color-primary);
		width: 5px;
		height: 100%;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}

.timelineItemWrap {
	width: 100%;
  margin-bottom: 70px!important;

	&:nth-child(even) {

		.timelineItem {
			float: right;
			padding: 0;

			.timelineHeader {
				text-align: left;
			}

			&::after {
				content: '';
				position: absolute;
				border-style: solid;
				width: 0;
				height: 0;
				top: 30px;
				left: -15px;
				border-width: 10px 15px 10px 0;
				border-color: transparent #fff transparent transparent;
			}
		}
	}

	&::after {
		content: '';
		display: block;
		clear: both;
	}
}
.timelineIcon {
	width: 30px;
	height: 30px;
  background: var(--tlog-color-primary);
	border-radius: 50%;
	position: absolute;
	left: 50%;
  margin-top: 25px!important;
	margin-left: -15px;
}

.timelineItem {
	position: relative;
	width: 45%;
	padding: 0;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);

	&::after {
		content: '';
		position: absolute;
		border-style: solid;
		width: 0;
		height: 0;
		top: 30px;
		right: -15px;
		border-width: 10px 0 10px 15px;
		border-color: transparent transparent transparent #fff;
	}
}
.timelineItem, .timelineImage {border-top-left-radius: 4px;border-top-right-radius: 4px}
.timelineImage {width:100%;}
.timelineContent {padding: 30px 30px;}
.timelineHeader {
	text-align: right;
}

/*
.timelineHeader {

	height: 200px;
	position: relative;
	margin-bottom: 20px;

	h2 {
		position: absolute;
		bottom: 5px;
		left: 20px;
	}
}
*/
@media screen and (max-width: 768px) {

	.timeline {

		&::before {
			left: 50px;
		}

		.timelineIcon {
			left: 50px;
		}
		.timelineHeader {
			text-align: left;
		}
		.timelineItem {
			max-width: 100%;
			width: auto;
			margin-left: 90px;
		}

		.timelineItemWrap {

			&:nth-child(odd) {

				.timelineItem {
					float: none;

				}
			}

			&:nth-child(odd) {

				.timelineItem {

					&::after {
						content: '';
						position: absolute;
						border-style: solid;
						width: 0;
						height: 0;
						top: 30px;
						left: -15px;
						border-width: 10px 15px 10px 0;
						border-color: transparent #fff transparent transparent;
					}
				}

			}
		}
	}

}
