

/* 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: 5px;
  right: 5px;
  width: 280px;
}

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 1%;
    border-radius: 32px;
    z-index: 1111111;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  width:300px;
  padding:0px 0px 10px 0px;
  border-radius:11px;
  background-color: white;
}

/* Full-width textarea */
.form-container textarea {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
  resize: none;
  min-height: 200px;
}

/* 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: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
    width: 95%;
    margin: 6px auto;
    display: block;
}



/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}



.head {
    display: flex;
    align-items: center;
   background-color:#197bff;
    padding: 9px 5px;
    color: white;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.head .user {
	display: flex;
	align-items: center;
	flex-grow: 1;
}
.head .user .avatar {
	margin-right: 8px;
}
.head .user .avatar img {
	display: block;
	border-radius: 50%;
}
.head .bar_tool {
	display: flex;
}
.head .bar_tool i {
	padding: 5px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* body */
.body-popup {
	flex-grow: 1;
	background-color: #eee;
	padding: 20px 10px;
}
.body-popup .bubble {
	display: inline-block;
	padding: 10px;
	margin-bottom: 5px;
	border-radius: 15px;
}
.body-popup .bubble p {
	color: #f9fbff;
	font-size: 14px;
	text-align: left;
	line-height: 1.4;
}
.body-popup .incoming {
	text-align: left;
}
.body-popup .incoming .bubble {
	background-color: #fff;
}
.body-popup .incoming .bubble p{
	color: #000;
}
.body-popup .outgoing {
	text-align: right;
}
.body .outgoing .bubble {
	background-color: #79c7c5;
}

/* foot */
.foot {
	display: flex;
}
.foot .msg {
	flex-grow: 1;
}

@keyframes bounce {
	50% {
		transform: translate(0, 5px);
	}
	100% {
		transform: translate(0, 0);
	}
}
.ellipsis {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #b7b7b7;
}
.dot_1 {
	/* animation: name duration timing-function delay iteration-count */
	animation: bounce 0.8s linear 0.1s infinite;
}
.dot_2 {
	animation: bounce 0.8s linear 0.2s infinite;
}
.dot_3 {
	animation: bounce 0.8s linear 0.3s infinite;
}


.whatsapp-btn {
    width: 160px;
    font-size: 16px;
    font-weight: 600;
    color: #c2162c;
    margin: 20px;
    height: 40px;
    text-align: center;
    border: none;
    opacity: 1;
    border-radius: 50px;
    border: 1px solid #c2162c;
}


.whatsapp-btn:focus {
  outline: none;
}

.whatsapp-btn{
 background-color:white;
}


.footer .btn.btn-social {
	margin-right: 5px;
	width: 15px;
	height: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: normal;
	border: 1px solid #FFFFFF;
	border-radius: 35px;
	transition: .3s;
}

	.footer .btn.btn-social:hover {
		background-color: #c2162c !important;
	}
