/*Chat*/
.chat {
  position: fixed;
  /*top: 50%;*/
  /*left:50%;*/
  /*transform: translate(-50%, -50%);*/
  /*bottom:78px;*/
  /*right:78px;*/
  /*top:calc(100% - 578px);*/
  /*left:calc(100% - 468px);*/
  width: var(--block12);
  height: 80vh;
  max-height: 500px;
  z-index: 2;
  overflow: hidden;
  /*box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);*/
  /*background: rgba(0, 0, 0, 0.5);*/
  border-radius: 12px;
  /*border-top-left-radius: 12px;*/
  /*border-top-right-radius: 12px;*/
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  z-index:9998;
}
.chat-title {
  flex: 0 1 45px;
  position: relative;
  z-index: 2;
  /*background: rgba(0, 0, 0, 0.2);*/
  /*color: #fff;*/
  color:var(--primary-text);
  display:flex;
  align-items:center;
  justify-content:start;
	
  /*text-transform: uppercase;*/
  text-align: left;
  padding: 10px 10px 10px 10px;
  
  border-bottom:1px solid black;
}
.chat-title h1, 
.chat-title h2 {
  font-weight: 600;
  font-size: 12px;
  margin: 0;
  padding: 0;
}
.chat-title h2 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 1px;
}
.chat-title .avatar {
  position: relative;
  z-index: 1;
  /*top: 8px;*/
  /*left: 9px;*/
  border-radius: 30px;
  width: 30px;
  height: 30px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.24);
}
.chat-title .avatar img {
  width: 100%;
  height: auto;
}
.no-border{
	border:none !important;
}


/*Messages*/


.messages {
  flex: 1 1 auto;
  /*color: rgba(255, 255, 255, 0.5);*/
  color:var(--black);
  /*color:var(--primary-text);*/
  overflow: hidden;
  position: relative;
  width: 100%;
  padding:0px 0px 0px 0px;
}
.messages .messages-container {
  padding:13px 13px 0px 13px;
  /*position: absolute;*/
  /*top: 0;*/
  /*left: 0;*/
  height: 101%;
  width: 100%;
  overflow-y: scroll;
}
.messages-container::-webkit-scrollbar {
  display: none; /* WebKit (Safari, Chrome) */
}
.messages .message {
  width: 100%;
  clear: both;
  float: left;
  /*background: rgba(0, 0, 0, 0.3);*/
  margin: 8px 0;
  /*margin-left: 35px;*/
  position: relative;
  /*text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);*/
}
.message-content{
  position: relative;
  /*padding: 13px 13px 13px 13px;*/
  padding: 6px 13px 6px 13px;
  border-radius: 10px 10px 10px 0;
  font-size: 12px;
  line-height: 18px;
}
/*.messages .message */
.timestamp {
	width:100%;
	display:flex;
	justify-content:center;
  /*position: absolute;*/
  /*bottom: -15px;*/
  font-size: 10px;
  /*color: rgba(255, 255, 255, 0.3);*/
}
/*.messages .message::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  bottom: -6px;*/
/*  border-top: 6px solid rgba(0, 0, 0, 0.3);*/
/*  left: 0;*/
/*  border-right: 7px solid transparent;*/
/*}*/

.message-avatar{
	width:52px;
	height:52px;
	margin-right:8px;
}
/*.messages .message */
.avatar {
  /*position: absolute;*/
  /*z-index: 1;*/
  /*bottom: -15px;*/
  /*left: -35px;*/
  border-radius: 30px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.24);
}
.messages .message .avatar img {
}
.avatar img{
  width: 100%;
  height: auto;
}


/*.messages .message.message-personal,*/
.messages .instructor-white{
  float: right;
  width:fit-content;
  color:var(--primary-text);
  text-align: right;
  background: var(--white);
  border-width:1px;
  border-style:solid;
  border-color:black;
  border-radius: 10px 10px 0 10px;
}
/*.messages .message.instructor-white::before {*/
/*  left: auto;*/
/*  right: 0;*/
/*  border-right: none;*/
/*  border-left: 5px solid transparent;*/
/*  border-top: 4px solid black;*/
/*  background:white;*/
/*  bottom: -4px;*/
/*}*/
.messages .message:last-child {
	margin-bottom: 30px;
}

.messages .message.new {
  transform: scale(0);
  transform-origin: 0 0;
  -webkit-animation: bounce 500ms linear both;
          animation: bounce 500ms linear both;
}

.loading{
  	padding: 13px 13px 13px 13px;
	width:var(--block5);
	height:26px;
}
/** /
.messages .message-content.loading::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  // background: rgba(255, 255, 255, 0.5);
  background:var(--primary-text);
  z-index: 2;
  margin-top: 4px;
  -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
          animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
  border: none;
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
.messages .message-content.loading span {
  display: block;
  font-size: 0;
  width: 26px;
  height: 13px;
  position: relative;
}
.messages .message-content.loading span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  // background: rgba(255, 255, 255, 0.5);
  background:var(--primary-text);
  z-index: 2;
  margin-top: 4px;
  -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
          animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
  margin-left: -7px;
}
.messages .message-content.loading span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  // background: rgba(255, 255, 255, 0.5);
  background:var(--primary-text);
  z-index: 2;
  margin-top: 4px;
  -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
          animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
  margin-left: 7px;
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
/**/

/*Message Box*/

.message-box {
  /*flex: 0 1 40px;*/
  width: 100%;
  /*background: rgba(0, 0, 0, 0.3);*/
  padding: 13px;
  position: relative;
}
.message-box::-webkit-scrollbar {
  display: none; /* WebKit (Safari, Chrome) */
}
.message-box .message-input {
  background: none;
  border: none;
  outline: none !important;
  resize: none;
  /*color: rgba(255, 255, 255, 0.7);*/
  color:var(--primary-text);
  font-size: 12px;
  font-weight: 600;
  font-family:inherit;
  height: 26px;
  margin: 0;
  /*padding-right: 20px;*/
  width: 100%;
  max-width: var(--block10) !important;
  border-radius:13px;
  background:rgba(255,255,255,0.4);
  padding:0px 13px 0px 13px;
  /*min-height:26px;*/
  line-height:26px;
  display:flex;
  align-items:center;
}
.message-box textarea:focus:-webkit-placeholder {
  color: transparent;
}
.message-box textarea::-webkit-scrollbar {
  display: none; /* WebKit (Safari, Chrome) */
}
.message-box .message-submit {
  /*width: var(--block2) !important;*/
  /*position: absolute;*/
  /*z-index: 1;*/
  display:flex;
  align-items:center;
  justify-content:center;
  /*top: 9px;*/
  /*right: 10px;*/
  /*color: #fff;*/
  /*border: none;*/
  /*background: #248A52;*/
  /*font-size: 10px;*/
  /*text-transform: uppercase;*/
  /*line-height: 1;*/
  /*padding: 6px 10px;*/
  /*border-radius: 10px;*/
  /*outline: none !important;*/
  /*transition: background 0.2s ease;*/
}
.message-box .message-submit:hover {
  /*background: #1D7745;*/
}	


/*Bounce Anim*/

/*--------------------
Bounce
--------------------*/
@-webkit-keyframes bounce {
  0% {
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  4.7% {
    transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  9.41% {
    transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  14.11% {
    transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  18.72% {
    transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  24.32% {
    transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  29.93% {
    transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  35.54% {
    transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  41.04% {
    transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  52.15% {
    transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  63.26% {
    transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  85.49% {
    transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}
@keyframes bounce {
  0% {
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  4.7% {
    transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  9.41% {
    transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  14.11% {
    transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  18.72% {
    transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  24.32% {
    transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  29.93% {
    transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  35.54% {
    transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  41.04% {
    transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  52.15% {
    transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  63.26% {
    transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  85.49% {
    transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}
@-webkit-keyframes ball {
  from {
    transform: translateY(0) scaleY(0.8);
  }
  to {
    transform: translateY(-10px);
  }
}
@keyframes ball {
  from {
    transform: translateY(0) scaleY(0.8);
  }
  to {
    transform: translateY(-10px);
  }
}

/*chatBlock*/
.chatBlock{
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
}

/*chatBox*/
.chatBox{
	margin-right:13px;
	/*margin-bottom:13px;*/
}
.chatBubbleBlock{
    position: fixed;
    /*top: 104px;*/
    bottom:13px;
    /*right: 0px;*/
    right:25%;
    /*left:50%;*/
    /*transform:translate(-50%,0);*/
    /*height: 100vh;*/
    /*width:1px;*/
    z-index: 10001;
	display:flex;
	/*flex-direction:column;*/
	/*align-items:flex-start;*/
	/*justify-content:flex-end;*/
	/*padding-bottom:104px;*/
	/*padding-right:104px;*/
}