#covid-chatbot-container *, #covid-chatbot-container ::after, #covid-chatbot-container ::before {
    box-sizing: border-box;
	line-height: 1.5;
}

#covid-chatbot-container ul{
	margin: 0px;
    padding: 0px;
}

#covid-chatbot-container{
	position: fixed;
	right: 20px;
    bottom: 90px;
	font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-style: normal;
}

#covid-chatbot-container p{
	margin: 0;
}

#covid-chatbot-container img.emoji{
	width: 20px;
	height: 20px;
}

#covid-chatbot-button{
    width: 45px;
    height: 45px;
	cursor: pointer;
}

div#covid-chatbot-button{
	font-size: 25px;
	line-height: 45px;
	text-align: center;
	color: #193460;
	border-radius: 50%;
	border: 4px solid $theme-color-2;
	background-color: #fff;
}

body:not(.chatbot-opened) img#covid-chatbot-button{
	animation: chatbot-pulse 5s ease-in-out infinite;
}

div#covid-chatbot-button i{
	color: #193460;
}

#covid-chatbot-tooltip{
	position: absolute;
	border-radius: 20px;
	background-color: #fff;
	bottom: 50px;
	right: 50px;
	padding: 20px;
	box-shadow: -5px -5px 10px -4px rgba(0, 0, 0, 0.1607843137254902);
}

#covid-chatbot-tooltip .tooltip-text{
	color: #193460;
	white-space: pre;
}

#covid-chatbot{
	display: flex;
	display: -webkit-flex;
    flex-direction: column;
    position: absolute;
    background-color: #fff;
    height: 500px;
    width: 500px;
    bottom: 50px;
    right: 50px;
    border-radius: 20px;
    padding: 0px 0px 20px 20px;
    box-shadow: -5px -5px 10px 0px rgba(0, 0, 0, 0.1607843137254902);
	z-index: 3;
}

#covid-chatbot::after, 
#covid-chatbot-tooltip::after{
	content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #ffffff;
    clear: both;
    z-index: -2;
    transform: rotate(70deg);
}

#covid-chatbot-tooltip .close-button{
	position: absolute;
    z-index: 2;
    width: 30px;
    height: 30px;
    color: #ffffff;
    background-color: #2176f8;
    border: 1px solid #2176f8;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    line-height: 28px;
    right: -10px;
    top: -10px;
    cursor: pointer;
}

/* old close button backup */
/* #covid-chatbot .close-button{ */
	/* position: absolute; */
    /* z-index: 2; */
    /* width: 40px; */
    /* height: 40px; */
    /* color: #ffffff; */
    /* background-color: #2176f8; */
	/* border: 1px solid #2176f8; */
    /* border-radius: 20px 0 20px 0; */
    /* text-align: center; */
    /* line-height: 37px; */
    /* left: 0; */
    /* top: 0; */
	/* cursor: pointer; */
	/* font-size: 1rem; */
/* } */

#covid-chatbot .close-button{
	position: absolute;
    z-index: 2;
    width: 35px;
    height: 35px;
    color: #ffffff;
    background-color: #2176f8;
    border: 1px solid #2176f8;
    border-radius: 20px;
    text-align: center;
    line-height: 33px;
    left: -15px;
    top: -15px;
    cursor: pointer;
	font-size: 1rem;
}

#covid-menu-button{
	color: #c1c1c1;
    height: 40px;
    line-height: 40px;
    font-size: 23px;
    text-align: center;
    top: 5px;
    left: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.covid-input-holder{
	position: relative;
    margin-right: 20px;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
    display: flex;
    display: -webkit-flex;
	flex-shrink: 0;
    align-items: center;
    padding: 0 10px 0 15px;
	z-index: 3;
	background-color: #fff;
}

#covid-chat-input{
	width: 100%;
    height: 50px;
    border: none;
    background: none;
    padding: 0 10px;
}

#covid-chat-input:focus{
	outline: none;
	font-size: 15px;
}

#covid-send-button{
	right: 15px;
    top: 10px;
    width: 30px;
    height: 30px;
    background-color: #2277F8;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
    flex-shrink: 0;
	font-size: 1rem;
}

#covid-chatbot-container .fix-scroll-wrapper{
	display: flex;
	display: -webkit-flex;
	flex-grow: 1;
	flex-direction: column;
	overflow-y: scroll;
	margin-bottom: 3px;
}

/* #covid-chatbot-container .fix-scroll-wrapper::after{ */
	/* content: ""; */
	/* position: absolute; */
	/* bottom: 0; */
	/* left: 0; */
	/* right: 0; */
	/* height: 10px; */
	/* color: red; */
/* } */

#messages-container{
	width: 100%;
    padding-top: 20px;
	padding-right: 20px;
    z-index: 1;
	display: flex;
	display: -webkit-flex;
	flex-direction: column-reverse;
	flex-shrink: 0;
}

#covid-chatbot-container .fix-scroll-wrapper::-webkit-scrollbar {		
  width: 10px !important;
}
 
#covid-chatbot-container .fix-scroll-wrapper::-webkit-scrollbar-thumb {
   border-top: 20px solid rgba(0, 0, 0, 0);
   border-left: 3px solid rgba(0, 0, 0, 0);
   border-right: 3px solid rgba(0, 0, 0, 0);
   background-clip: padding-box;
   background-color: #2176f8;
   height: 70px;
 }

#messages-container .message-text{
	padding: 9px;
    border-radius: 15px;
	width: fit-content;
}

#messages-container .message-text p:not(:last-child){
	padding-bottom: 5px;
}

#messages-container .message-text strong{
	font-weight: 500;
}

#messages-container .message-text a{
	color: #fff;
	font-weight: 500;
	display: inline;
	line-break: anywhere;
}

.user-message, .bot-message{
	display: flex;
	display: -webkit-flex;
    align-items: start;
	margin-bottom: 5px;
}

.bot-message:last-child, .user-message:last-child{
	padding-top: 20px;
}

#covid-chatbot .message-text ul li{
	list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

.user-message{
	flex-direction: row-reverse;
}

.bot-message{
	flex-direction: row;
}

.bot-message .message-text::selection {
  background-color: rgb(255, 255, 255, 0.2);
}

.bot-message .message-text p::selection {
  background-color: rgb(255, 255, 255, 0.2);
}

.user-message .message-text{
	float: right;
	background-color: #f5f5f5;
	color: #193460;
}

.bot-message .message-text, .bot-message .message-text p{
	/* float: left; */
	background-color: #2277F8;
	color: #fff;
}

#messages-container .avatar{
	width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 22px;
	flex-shrink: 0;
}

.user-message .avatar{
	background-color: #f0f0f0;
	color: #193460;
	margin-left: 5px;
}

.bot-message .avatar{
	background-color: #2277F8;
	color: #fff;
	margin-right: 5px;
}

#messages-container .typing{
	background-color: #f5f5f5;
    border-radius: 10px;
    line-height: 31px;
    padding: 10px;
}

#messages-container .typing span {
    height: 5px;
    width: 5px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.buttons-holder{
	width: fit-content;
}

.intent-button, 
.question-button{
	background-color: #fff;
    border: 1px solid #2176f8;
    color: #193460;
    line-height: 20px;
    width: fit-content;
    display: inline-block;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 15px;
    padding: 9px;
	transition: all 0.3s ease;
}

.question-button{
	width: 100%;
}

.intent-button:hover, 
.question-button:hover{
	background-color: #2176f8;
	color: #fff;
}

#covid-chat-menu{
	position: absolute;
    bottom: calc(100% + 5px);
    left: 0;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

#covid-chat-menu .covid-menu-item{
    border-radius: 5px;
    padding: 7px 15px;
	color: #193460;
	cursor: pointer;
	transition: all 0.3s ease;
}

#covid-chat-menu .covid-menu-item:not(:last-child){
	margin-bottom: 5px;
}

#covid-chat-menu .covid-menu-item:hover{
	background-color: #2176f8;
	color: #fff;
}

#covid-chat-overlay{
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000;
    opacity: 0.3;
    z-index: 2;
    border-radius: 20px;
}

#covid-chat-overlay::after{
	content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #000000;
    clear: both;
    transform: rotate(70deg);
	transition: all 0.4s ease;
}

.mb-2{
    margin-bottom: .5rem!important;
}

/* Responsive */

@media (max-width: 1600px) {
	#covid-chatbot-container, #covid-chatbot-container p{
		font-size: 0.8rem;
	}
}

/* MD Device : iPad */
@media (min-width: 768px) and (max-width: 991px) {
	#covid-chatbot-container{
		bottom: 20px;
	}
}

/* Mobiles */
@media only screen and (min-width: 320px) and (max-width: 767px) {
	#covid-chatbot-container{
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		pointer-events: none;
	}
	#covid-chatbot{
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		border-radius: 0;
		z-index: 999;
		pointer-events: all;
	}
	#covid-chatbot-button{
		position: absolute;
		bottom: 20px;
		right: 20px;
		pointer-events: all;
	}
	div#covid-chatbot-button{
		box-shadow: 0 0 5px 0px black;
	}
	#covid-chatbot-tooltip{
		bottom: 65px;
		right: 65px;
		left: 25px;
		pointer-events: all;
	}
	#covid-chatbot-tooltip .tooltip-text{
		white-space: normal;
		text-align: right;
	}
	#covid-chatbot .close-button{
		position: absolute;
		z-index: 2;
		width: 40px;
		height: 40px;
		color: #ffffff;
		background-color: #2176f8;
		border: 1px solid #2176f8;
		border-radius: 0 0 20px 0;
		text-align: center;
		line-height: 37px;
		left: 0;
		top: 0;
		cursor: pointer;
	}
	#covid-chat-overlay{
		border-radius: 0;
	}
	body.chatbot-opened{
		overflow: hidden;
	}
	#covid-chatbot-container .fix-scroll-wrapper::-webkit-scrollbar-thumb{
		border-top: 3px solid rgba(0, 0, 0, 0);
	}
}

@keyframes chatbot-pulse {
  0% {
    transform: scale(1);
  }
  5%{
	  transform: scale(1.1);
  }
  10% {
    transform: scale(1);
  }
  100%{
	  transform: scale(1);
  }
}