ul.chat-window {
  width: 100%;
  height: 100%;
  max-width: 460px;
  min-width: 460px;
  max-height: 300px;
  overflow-y: scroll;
  margin-top: 0;
  padding: 20px;
  list-style: none;
  margin: 0;
  box-sizing: border-box;
  background: #eff0ef;
    box-shadow: 0px 0px 9px 0px #0000003b;
}
.chatfejlec {
    background: #3650ae;
    color: white;
    text-align: center;
    padding: 5px 8px;
}
ul.chat-window>li .text {
  box-sizing: border-box;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px 15px;
  line-height: 20px;
}

ul.chat-window>li.bot .text {
    background-color: #d7d7d8;
    color: #000;
    float: left;
	border-bottom-left-radius: 0px;
}

ul.chat-window>li {
  clear: both;
  max-width: 80%;
  box-sizing: border-box;
  white-space: pre-wrap;
}

ul.chat-window>li.user {
  float: right;
}

ul.chat-window>li.bot {
  float: left;
}

ul.chat-window>li.user .text {
        display: inline-block;
    background: #3650ae;
    border-bottom-right-radius: 0px;
    color: white;
}

ul.chat-window>li.options {
  margin-top: 10px;
  list-style: none;
  max-width: 100%;
  width: 100%;
  float: left;
  text-align: right;
}

ul.chat-window>li.options>ul {
  margin-top: 0;
  padding: 0;
  list-style: none;
  margin-top: 10px;
}

ul.chat-window>li.options>ul>li {
  border-radius: 10px;
    padding: 5px 10px;
    display: inline-block;
    background: #3650ae;
    color: white;
    cursor: pointer;
    margin-left: 10px;
    margin-bottom: 10px;
	    border-bottom-right-radius: 0px;
}

.typing-indicator {
   background-color: #d7d7d8;
    color: #000;
  will-change: transform;
  width: auto;
  border-radius: 50px;
  padding: 10px;
  display: table;
  margin: 0;
  margin-left: 10px;
  position: relative;
  -webkit-animation: 2s bulge infinite ease-out;
          animation: 2s bulge infinite ease-out;
}
.typing-indicator::before, .typing-indicator::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #d7d7d8;
  color:black;
}
.typing-indicator::after {
  height: 10px;
  width: 10px;
  left: -10px;
  bottom: -10px;
  color:black;
}
.typing-indicator span {
  height: 8px;
  width: 8px;
  float: left;
  margin: 0 1px;
  background-color: black;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}
.typing-indicator span:nth-of-type(1) {
  -webkit-animation: 1s blink infinite 0.3333s;
          animation: 1s blink infinite 0.3333s;
}
.typing-indicator span:nth-of-type(2) {
  -webkit-animation: 1s blink infinite 0.6666s;
          animation: 1s blink infinite 0.6666s;
}
.typing-indicator span:nth-of-type(3) {
  -webkit-animation: 1s blink infinite 0.9999s;
          animation: 1s blink infinite 0.9999s;
}

@-webkit-keyframes blink {
  50% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes bulge {
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@keyframes bulge {
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
.box{
    float: left;
	background: #354da1;
	color: white;
	padding: 6px 12px 7px 13px;
	position: relative;
	border-top-right-radius: 30px;
	border-top-left-radius: 12px;
	border-bottom-left-radius: 12px;
	margin-top: -15px;
	box-shadow: 1px 5px 6px 1px #0000003d;
	margin-right: 4px;
	cursor: pointer;
    display:none;
}
	div#chatclose {
		position: absolute;
		margin-top: -5%;
		right: 0;
		background: #ececec;
		color: black;
		border-radius: 15%;
		padding: 0px 6px;
		z-index: 10006;
		cursor: pointer;
	}
    .box-inner{
        width: auto;
		padding: 10px;
		position: relative;
    }
div#chatclose2 {
    position: absolute;
    margin-top: -7%;
    right: 45px;
    background: #deae89;
    color: black;
    border-radius: 24%;
    padding: 1px 5px;
    z-index: 10006;
    cursor: pointer;
}
@media screen and (max-width: 990px) {
	ul.chat-window {
		width: 100%;
		height: 300px;
		max-width: 100%;
		min-width: 100%;
		max-height: 100%;
		overflow-y: scroll;
		margin-top: 0;
		padding: 20px;
		list-style: none;
		margin: 0;
		box-sizing: border-box;
		background: #eff0ef;
		box-shadow: 0px 0px 9px 0px #0000003b;
	}
}