@import "https://espanol.foodsafety.gov/_www_cdc_gov/healthyyouth/professional_development/training/modules/DASH_Opening_Energizing_Closing-6-1-21/compass/css3";

body {
	font-family: "Calibri";
	font-size: 18px;
	font-weight: normal;
	width: 600px;
}

section {
	max-width: 999px;
	margin: 5px auto;
	height: 150px;
 	overflow-y: scroll;
	behavior: 'smooth'
	border-style: solid;
        border-width: 2px;
	border-color: #6D9BB5;


div {
	max-width: 255px;
	word-wrap: break-word;
	margin-bottom: 20px;
    	line-height: 24px;
	
	}
}

.clear {clear: both}
.from-me {
	position:relative;
	padding:10px 20px;
	color:white;
        padding-left: 70px;
	background:#1C6CB4 url("https://www.cdc.gov/healthyyouth/professional_development/training/modules/DASH_Opening_Energizing_Closing-6-1-21/Back_normC.jpg") no-repeat left center;
	border-radius:25px;
	float: right;
	max-width: 400px;
	word-wrap: break-word;

		

	}
}
.from-them {
	position:relative;
	padding:10px 20px;
	background:#999999;
	border-radius:25px;
	color: black;
	max-width: 400px;
	word-wrap: break-word;
  float: left;
		
	&:before {
		content:"";
		position:absolute;
		z-index:2;
		bottom:-2px;
		left:-7px;
		height:20px;
		border-left:20px solid #E5E5EA;
		border-bottom-right-radius: 16px 14px;
		-webkit-transform:translate(0, -2px);
	}

	&:after {
		content:"";
		position:absolute;
		z-index:3;
		bottom:-2px;
		left:4px;
		width:26px;
		height:20px;
		background:white;
		border-bottom-right-radius: 10px;
		-webkit-transform:translate(-30px, -2px);
	}
}

#kryesore
{
   overflow:scroll;
}


}
.table {
    display:table;
    width:100%;
}
.row {
    display:table-row;
}
.cell.expand{ 
    width:100%;
}
.cell {
    display:table-cell;
    border:1px solid grey;
    width:100%;
}
.cell.from-you {
	position:relative;
	padding:10px 20px;
	color:white; 
	background:#0B93F6;
	border-radius:25px;
	
	max-width: 350px;
	word-wrap: break-word;
	
.scrollit {
    overflow:scroll;
    height:100px;
}

div.image:before {
   content:url(https://www.cdc.gov/images/Back_normC.jpg);
}
}
.messages-wrapper {
  padding-top: 10px;
  position: relative;
  border: 1px solid #ddd;
  border-top: 0 none;
}
.message {
    border-radius: 20px 20px 20px 20px;
    margin: 0 15px 10px;
    padding: 15px 20px;
    position: relative;
}
.message.to {
    background:#1C6CB4 url("https://www.cdc.gov/healthyyouth/professional_development/training/modules/DASH_Opening_Energizing_Closing-6-1-21/ConversationIcon.png") no-repeat left center;
    color: #fff;
    margin-left: 200px;
    padding-left: 70px;
}
.message.toGreen {
    background:#507D57 url("https://www.cdc.gov/healthyyouth/professional_development/training/modules/DASH_Opening_Energizing_Closing-6-1-21/PencilIcon.png") no-repeat left center;
    color: #fff;
    margin-left: 300px;
    padding-left: 70px;
}
.message.from {
    background-color: #ebd9a1;
    color: #363636;
    margin-right: 200px;
}
.message.to + .message.to,
.message.from + .message.from {
  margin-top: -7px;
}
.message:before {
    border-color: #1C6CB4;
    border-radius: 50% 50% 50% 50%;
    border-style: solid;
    border-width: 0 20px;
    bottom: 0;
    clip: rect(20px, 35px, 42px, 0px);
    content: " ";
    height: 40px;
    position: absolute;
    right: -50px;
    width: 30px;
    z-index: -1;
}
.message.from:before {
    border-color: #ebd9a1;
    left: -50px;
    transform: rotateY(180deg);
}
.message.toGreen:before {
    border-color: #507D57;
    border-radius: 50% 50% 50% 50%;
    border-style: solid;
    border-width: 0 20px;
    bottom: 0;
    clip: rect(20px, 35px, 42px, 0px);
    content: " ";
    height: 40px;
    position: absolute;
    right: -50px;
    width: 30px;
    z-index: -1;
}

#table-scroll {
  height:390px;
  overflow:auto;  
  margin-top:10px;
  border-style: solid;
  border-width: 2px
  border-color: #6D9BB5;
}