/* ChatMessaging */
/* Button used to open the chat form - fixed at the bottom of the page */
/* body {font-family: Arial, Helvetica, sans-serif;} */
/* * {box-sizing: border-box;}

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
	background-color: #555;
	color: white;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	opacity: 0.8;
	position: fixed;
	bottom: 60px;
	right: 0;
	width: 140px;
	z-index: 99;
}

/* The popup chat - hidden by default */
.chat-popup {
	display: none;
	position: fixed;
	bottom: 60px;
	right: 0;
  /* border: 3px solid #f1f1f1; */
	height: auto;
	width: 310px;
	background-color: white;
	z-index: 99;
	top: 0;
}

/* Add styles to the form container */
.form-container {
	background-color: white;
	padding: 5px;
}

/* Full-width textarea */
.form-container textarea {
	width: 280px;
	height: 50px;
	padding: 16px 20px;
	margin: 5px;
	border: none;
	background: #f1f1f1;
	resize: none;
	align-content: center;
	box-sizing: border-box;
}

/* When the textarea gets focus, do something */
.form-container textarea:focus {
	background-color: #ddd;
	outline: none;
}

/* Set a style for the submit/send button */
.form-container .btn {
	background-color: #4CAF50;
	height: 60px;
	color: white;
	border: none;
	cursor: pointer;
	width: 280px;
	margin: 5px;
	opacity: 0.8;
	bottom: 0px;
}
.message-container{
	overflow-y: scroll;
}
.talktext{
	padding: 1em;
	text-align: left;
	line-height: 1.5em;
	word-break: break-all;
}
.headertext{
	padding: .25em 24px;
	text-align: center;
	line-height: 1.5em;
	font-size: 10px;
	display: grid;
	grid-template-columns: 1fr auto;
}
.headertext .participant-name {
  text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.talk-bubble {
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline-block;
	position: relative;
	width: 80%;
	height: auto;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
}
.other_talk{
	background-color: #EAEAEA;
	color: black;
}
.self_talk{
	background-color: #0078FE;
	color: white;
}
/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -40px;
	top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-right.right-top:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -15px;
	top: 0px;
	bottom: auto;
	border: 20px solid;
	border-color: #0078FE transparent transparent transparent;
}
.tri-right.border.left-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -40px;
	right: auto;
	top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-right.left-top:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -17px;
	right: auto;
	top: 0px;
	bottom: auto;
	border: 22px solid;
	border-color: #EAEAEA transparent transparent transparent;
}
.round{
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
}
.form-container .btn:hover, .open-button:hover {
	opacity: 1;
}
.notification {
	text-decoration: none;
	position: relative;
}
.notification .badge{
	position: absolute;
	top: 1px;
	right: -5px;
	padding: 5px 10px;
	border-radius: 50%;
	background: red;
	color: white;
}
.tablink {
	background-color: #DDD;
	position: absolute;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	font-size: 17px;
	width: 50%;
	height: 5%;
}
.participantTabLink{
	left:50%;
}
.ParticipantTable{
	width: 100%;
	border-spacing: 0;
}
.ParticipantTableRow{
	display: inherit;
	max-height: 80px;
	height:30px;
	width:100%;
	color:black;
	background-color: #dfdfdf;
}

.participantTableData{
	width: 100%;
	display: grid;
	align-items: center;
	grid-template-columns: 1fr auto auto;
/*	border-left: solid 2px black;
	border-right: solid 2px black;*/
	/*border-top: solid 2px black;*/
	border-bottom: solid 1px black;
	box-sizing: border-box;
	padding: 5px;
}
.participantTableData span {
	word-break: break-word;
}
.participanttablecontent{
	width: 30px;
        height: 30px;
        background-size: 20px auto;
        background-repeat: no-repeat;
        background-position: center;
}
/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
	grid-template-rows: 1fr min-content;
	position: absolute;
	color: white;
	top:5%;
	width: 100%;
	height: 95%;
	overflow-y: auto;
}

