html[dir="ltr"] .ipsStream.ipsStream_withTimeline  {
	border-left: 3px solid {theme="timeline_color"};
	margin-left: 20px;
}
html[dir="rtl"] .ipsStream.ipsStream_withTimeline  {
	border-right: 3px solid {theme="timeline_color"};
	margin-right: 20px;
}

.ipsStreamItem {
	margin-top: 10px;
	margin-bottom: 10px;
	position: relative;
}

	.ipsStreamItem.ipsStreamItem_contentBlock {
		border: 1px solid rgba(0,0,0,0.1);
		padding: 10px;
	}

	.ipsStreamItem.ipsStreamItem_actionBlock {
		padding-top: 4px;
		padding-bottom: 4px;
		background: transparent;
	}

		html[dir="ltr"] .ipsStreamItem.ipsStreamItem_actionBlock time {
			margin-left: 15px;
		}
		html[dir="rtl"] .ipsStreamItem.ipsStreamItem_actionBlock time {
			margin-right: 15px;
		}
		
	html[dir="ltr"] .ipsStreamItem.ipsStreamItem_contentBlock.ipsStreamItem_active {
		border-right: 2px solid #333;
	}
	html[dir="rtl"] .ipsStreamItem.ipsStreamItem_contentBlock.ipsStreamItem_active {
		border-left: 2px solid #333;
	}
	
.ipsStreamItem_snippet {
	margin-top: 10px;
	margin-bottom: 10px;
}

.ipsStream .ipsStreamItem:first-child {
	margin-top: 0;
}

html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem {
	margin-left: 30px;
}
html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem {
	margin-right: 30px;
}

.ipsStreamItem_title {
	color: #000;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
}

	.ipsStreamItem_titleSmall {
		font-weight: 400;
		font-size: 15px;
	}

.ipsStreamItem_unread .ipsStreamItem_title,
.ipsStreamItem_unread .ipsStreamItem_titleSmall {
	font-weight: bold;
}

.ipsStreamItem_status {
	font-size: 13px;
}

html[dir="ltr"] .ipsStreamItem_snippet,
html[dir="ltr"] .ipsStreamItem_meta {
	margin-left: 55px;
}
html[dir="rtl"] .ipsStreamItem_snippet,
html[dir="rtl"] .ipsStreamItem_meta {
	margin-right: 55px;
}

html[dir="ltr"] .ipsStreamItem_loadMore {
	margin-left: 25px;
	margin-top: 15px;
}
html[dir="rtl"] .ipsStreamItem_loadMore {
	margin-right: 25px;
	margin-top: 15px;
}

html[dir="ltr"] .ipsStreamItem_bar hr.ipsHr {
	border-color: #3d5e78;
	margin-left: 25px;
}
html[dir="rtl"] .ipsStreamItem_bar hr.ipsHr {
	border-color: #3d5e78;
	margin-right: 25px;
}

/* The little pointer on the box */
.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before,
.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	position: absolute;
	pointer-events: none;
}

.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before {
	border-width: 12px;
	top: 7px;
	z-index: 100;
}
	
	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before {
		border-color: transparent #e0e0e0 transparent transparent;
		left: -24px;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before {
		border-color: transparent transparent transparent #e0e0e0;
		right: -24px;
	}

	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock.ipsModerated:before {
		border-color: transparent #ede4e4 transparent transparent;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock.ipsModerated:before {
		border-color: transparent transparent transparent #ede4e4;
	}

.ipsStream_withTimeline .ipsStreamItem:after {
	border-width: 11px;
	top: 8px;
	z-index: 200;
}
	
	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem:after {
		left: -22px;
		border-color: transparent #fff transparent transparent;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem:after {
		right: -22px;
		border-color: transparent transparent transparent #fff;
	}

	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem.ipsModerated:after {
		border-color: transparent {theme="moderated"} transparent transparent;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem.ipsModerated:after {
		border-color: transparent transparent transparent {theme="moderated"};
	}

/* The circle on the timeline */
.ipsStream_withTimeline .ipsStreamItem_container:before {
	content: '';
	box-sizing: border-box;
	display: block;
	position: absolute;	
}

/* Comment items */
.ipsStream_comment {
	background: {theme="area_background_light"};
}
	
	html[dir="ltr"] .ipsStream_comment {
		margin-left: 30px;
	}
	html[dir="rtl"] .ipsStream_comment {
		margin-right: 30px;
	}

	.ipsStream_comment:before {
		content: '';
		display: block;
		width: 0;
		height: 0;
		position: absolute;
		top: 10px;
		border-width: 15px;
		border-style: solid;
	}

		html[dir="ltr"] .ipsStream_comment:before {
			left: 0px;
			border-color: transparent {theme="area_background_light"} transparent transparent;
		}
		html[dir="rtl"] .ipsStream_comment:before {
			right: 0px;
			border-color: transparent transparent transparent {theme="area_background_light"};
		}

/* ACTIONS */
/* e.g. follows, joins etc. */
.ipsStreamItem_actionBlock {
	font-size: 13px;
}

/* TIMES */
.ipsStreamItem_time {
	display: inline-block;
	border-radius: 20px;
	background: {theme="timeline_color"};
	color: #fff;
	line-height: 24px;
	font-size: 12px;
	padding: 0 20px;
}

	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem_time {
		margin-left: -20px;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem_time {
		margin-right: -20px;
	}

	.ipsStreamItem.ipsStreamItem_condensed ~ .ipsStreamItem_time {
		margin-top: 7px;
		margin-bottom: 7px;
	}

	.ipsStream .ipsStreamItem_time:first-child {
		margin-bottom: 7px;
	}

/* CONTENT TYPE */
.ipsStream .ipsStreamItem_contentType {
	position: absolute;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 30px;
	line-height: 25px;
	font-size: 15px;
	text-align: center;
	background: #fff;
	z-index: 500;
	border: 2px solid {theme="timeline_color"};
}

	.ipsStreamItem.ipsModerated .ipsStreamItem_contentType {
		background: #e8dfdf;
	}

	html[dir="ltr"] .ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
		left: -48px;
		top: 5px;
	}
	html[dir="ltr"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		right: 7px;
		top: 7px;
	}
	html[dir="rtl"] .ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
		right: -48px;
		top: 5px;
	}
	html[dir="rtl"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		left: 7px;
		top: 7px;
	}

/* SNIPPET STYLES */
.ipsStream_price {
	color: {theme="price"};
	font-weight: bold;
}

.ipsStream_snippetInfo {
	border-style: solid;
	border-color: rgba(0,0,0,0.1);
	padding-left: 15px;
}

	html[dir="ltr"] .ipsStream_snippetInfo {
		border-width: 0 0 0 1px;
	}
	html[dir="rtl"] .ipsStream_snippetInfo {
		border-width: 0 1px 0 0;
	}

/* EXPANDED VIEW */
html[dir="ltr"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_expanded {
	padding-left: 65px;
}
html[dir="rtl"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_expanded {
	padding-right: 65px;
}

/* CONDENSED VIEW */
.ipsStreamItem_condensed .ipsStreamItem_titleSmall {
	font-size: 14px;
}

.ipsStreamItem_condensed.ipsStreamItem {
	margin-top: 5px;
	margin-bottom: 5px;
}

.ipsStreamItem_condensed.ipsStreamItem.ipsStreamItem_contentBlock {
	padding: 10px;
}

html[dir="ltr"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_condensed {
	padding-left: 55px;
}
html[dir="rtl"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_condensed {
	padding-right: 55px;
}

.ipsStreamItem_condensed .ipsUserPhoto_tiny img {
	width: 30px;
	height: 30px;
}

html[dir="ltr"] .ipsStreamItem_condensed .ipsPhotoPanel_small > div {
	margin-left: 85px;
}
html[dir="rtl"] .ipsStreamItem_condensed .ipsPhotoPanel_small > div {
	margin-right: 85px;
}

html[dir="ltr"] .ipsStreamItem_condensed .ipsPhotoPanel_mini > div {
	margin-left: 45px;
	margin-right: 200px;
}
html[dir="rtl"] .ipsStreamItem_condensed .ipsPhotoPanel_mini > div {
	margin-right: 45px;
	margin-left: 200px;
}

.ipsStreamItem_condensed .ipsCalendarDate {
	width: 75px;
}

.ipsStreamItem_condensed .ipsStreamItem_status {
	font-size: 13px;
}

.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_contentBlock:before,
.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_contentBlock:after {
	top: 50%;
}

.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_contentBlock:before {
	margin-top: -12px; /* Needs to be equal to the border width of this pointer */
}

.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_contentBlock:after {
	margin-top: -11px; /* Needs to be equal to the border width of this pointer */
}

html[dir] .ipsStream.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_contentType {
	top: 50%;
	margin-top: -15px; /* Half of the badge height */
}

.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
	width: 200px;	
	line-height: 24px;	
	position: absolute;
	top: 15px;
}

	html[dir="ltr"] .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
		border-left: 1px solid rgba(0,0,0,0.2);
		padding-left: 15px;
		right: 0;
	}
	html[dir="rtl"] .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
		border-right: 1px solid rgba(0,0,0,0.2);
		padding-right: 15px;
		left: 0;
	}

.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats time,
.ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_actionBlock time {
	font-size: 0px;
	line-height: 1;
}

.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats time:after,
.ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_actionBlock time:after {
	content: attr(data-short);
	font-size: 13px;
	line-height: inherit;
}