/* Feed structure */
.yammer-feed {
	width: 100%;
}

.yammer-feed--left {
	display: none;
}

.yammer-feed--right {
	border-radius: 0 0 16px 16px;
	background-color: white;
	padding: 0;
}

@media (min-width: 992px) {
	.yammer-feed {
		display: flex;
	}
	
	.yammer-feed--left {
		display: block;
		height: 100vh;
		width: 50%;
	}
	
	.yammer-feed--left img {
		width: 100%;
		height: 100vh;
		object-fit: cover;
		object-position: center;
	}
	
	.yammer-feed--right {
		width: 50%;
		border-radius: 0;
		padding: 40px 0 0 40px;
	}
}

/* Feed title */
.yammer-feed .yammer-feed--title {
	color: #3c4b53;
	margin-bottom: 0;
}

/* Feed loading */
@keyframes blink {
  from {
	  opacity: 1;
  }

  to {
	  opacity: .5;
  }
}

.yammer-feed .yammer-feed--loading {
	width: 100%;
	text-align: center;

	animation-duration: 0.75s;
	animation-name: blink;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

.yammer-feed .yammer-feed--loading img {
	width: 100%;
	max-width: 200px;
	margin: 0 auto 16px;
}

.yammer-feed .yammer-feed--loading p {
	color: #3c4b53;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--loading {
		margin-top: 64px;
	}
}

/* Feed tabs */
.yammer-feed .yammer-feed--tabs {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

.yammer-feed .yammer-feed--tab {
	width: fit-content;
	background-color: #fafafa;
	
	cursor: pointer;
	transition: .3s ease-in-out;
	
	margin: 0 0 0 10px;
}
.yammer-feed .yammer-feed--tab:hover {
	opacity: .7;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--tab {
		margin: 0 0 0 100px;
	}
}

.yammer-feed .yammer-feed--tab button {
	cursor: pointer;
	border: none;
	background-color: transparent;
	
	padding: 16px 24px;
	width: 100%;
	height: 100%;
	
	font-size: 1.25rem;
	line-height: 1.1;
	color: #3c4b53;
}

.yammer-feed .yammer-feed--tab.active {
	background-color: white;
	cursor: default;
}
.yammer-feed .yammer-feed--tab.active:hover {
	opacity: 1;
}

.yammer-feed .yammer-feed--tab.active button {
	cursor: default;
	color: #40b1e4;
}

/* Feed group */
.yammer-feed .yammer-feed--group {
	max-height: calc(100vh - 54px);
	overflow-y: auto;
	
	-ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}

.yammer-feed .yammer-feed--group::-webkit-scrollbar {
	display: none;
}

.yammer-feed .yammer-feed--group--name {
	color: #3c4b53;
}

/* Feed messages */
.yammer-feed .yammer-feed--group--messages, .yammer-feed .yammer-feed--message {
	width: 100%;
}

.yammer-feed .yammer-feed--message {
	padding: 16px;
	margin-bottom: 48px;
}

.yammer-feed .yammer-feed--message:only-child {
	margin-bottom: 0;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--message {
		padding: 32px;
	}
}

/* Message header */
.yammer-feed .yammer-feed--message--header .yammer-feed--message--header--date-time > p {
	font-size: 0.8rem;
	color: #212529;
	font-weight: 200;
	line-height: 1.2;

	margin: 0 20px;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--message--header .yammer-feed--message--header--date-time > p {
		margin: 0 100px;
	}
}

/* Message body contents */
.yammer-feed .yammer-feed--message--body {
	margin-top: 8px;
	overflow: hidden;
}

.yammer-feed .yammer-feed--message--body > h2 {
	font-size: 1.4rem;
	line-height: 1.7;
	letter-spacing: .3px;
	color: #212529;

	margin: 0 20px;
}

.yammer-feed .yammer-feed--message--body > p {
	font-size: 1rem;
	font-weight: 200;
	letter-spacing: .3px;
	color: #212529;
	line-height: 1.7;
	
	margin: 0 20px;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--message--body > h2 {
		margin: 0 100px;
	}

	.yammer-feed .yammer-feed--message--body > p {
		margin: 0 100px;
	}
}

.yammer-feed .yammer-feed--message--body a.linkified {
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Message footer */
.yammer-feed .yammer-feed--message--attachments {
	margin: 16px 20px 0;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--message--attachments {
		margin: 0 0 0 100px;
	}
}

.yammer-feed .yammer-feed--message--attachments img {
	width: 100%;
	max-width: 350px;
	height: auto;
	
	object-fit: contain;
	object-position: center;
	
    display: block;
	margin: 0 auto;
}

/* Message anchor attachments */
.yammer-feed .yammer-feed--message--attachments .yammer-feed--mesage--attachments--anchor {
	height: 225px;
	overflow: hidden;
	
	display: block;
	position: relative;
	margin: 16px 0 0;

	border-radius: 8px;
	border: 1px solid #a1a1a1;
}

.yammer-feed .yammer-feed--message--attachments .yammer-feed--mesage--attachments--anchor img {
	position: absolute;
	left: 0;
	top: 0;
	
	height: 225px;
	width: 30%;
	
	object-fit: cover;
	object-position: center;
}

.yammer-feed .yammer-feed--message--attachments .yammer-feed--mesage--attachments--anchor h3 {
	font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: .3px;
    color: #212529;
	
	margin: 16px 16px 0 calc(30% + 16px);

	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	text-overflow: ellipse;
	max-height: calc(1.25rem * 1.4 * 3);
}

.yammer-feed .yammer-feed--message--attachments .yammer-feed--mesage--attachments--anchor p {
	font-size: 1rem;
    line-height: 1.4;
	font-weight: 200;
    letter-spacing: .3px;
    color: #212529;
	
	margin: 16px 16px 0 calc(30% + 16px);

	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipse;
	max-height: calc(1.25rem * 1.4 * 2);
}

.yammer-feed .yammer-feed--message--attachments .yammer-feed--mesage--attachments--anchor h6 {
	font-size: 0.8rem;
    line-height: 1.7;
	font-weight: 200;
    letter-spacing: .3px;
    color: #212529;

	position: absolute;
	left: calc(30% + 16px);
	bottom: 16px;
	margin: 0;

	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	text-overflow: ellipse;
	max-height: calc(1.25rem * 1.7);
}

.yammer-feed .yammer-feed--message--author {
	display: flex;
	align-items: center;
	justify-content: flex-start;

	margin: 32px 20px 0 20px;
}

@media (min-width: 992px) {
	.yammer-feed .yammer-feed--message--author {
		margin: 32px 100px 0 100px;
	}
}

.yammer-feed .yammer-feed--message--author:not(:last-child) {
	margin-top: 16px;
	margin-bottom: 16px;
}

.yammer-feed .yammer-feed--message--author > img {
	width: 48px;
    height: 48px;
	object-fit: contain;
	object-position: center;
	border-radius: 50%;

	margin-right: 16px;
}

.yammer-feed--message--profile p {
	margin-bottom: 0;
	color: #212529;
	line-height: 1.2;
	font-size: 1rem;
	font-weight: 100;
}

.yammer-feed--message--profile p span {
	font-weight: 500;
}

.yammer-feed--message--profile p:last-child {
	margin-top: 8px;
}

/* Load more button */
.yammer-feed--groups button {
	margin-bottom: 16px;
}
