@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

#chatbotContainer i,
#chatbotContainer .fa,
#chatbotContainer .fas,
#chatbotContainer .far,
#chatbotContainer .fal,
#chatbotContainer .fad,
#chatbotContainer .fab {
  /*all: revert !important;*/
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block;
  font-style: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

#chatbotContainer * {
  all: unset;
  display: revert;
  box-sizing: border-box;
}

#chatbotContainer {
  all: initial; /* reset inherited WP styles */
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 9999;
}

#chatbotContainer #chat_container {
  height: 95%;
  border-radius: 6px;
  width: 90%;
  background: #F3F4F6;
}

/* Style header section */
#chatbotContainer #chat_header {
  width: 100%;
  border-radius: 6px;
  background: #d82b27;
  color: white;
  font-size: 24px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  padding: 4px;
  text-align: left!important;
}

/* Style body */
#chatbotContainer #chat_body {
  width: 100%;
  height: 73%;
  background-color: #fafafa;
  overflow-y: auto;
}

/* Style container for user messages */
#chatbotContainer .userSection {
  width: 100%;
}

/* Seperates user message from bot reply */
#chatbotContainer .seperator {
  width: 100%;
  height: 50px;
}

/* General styling for all messages */
#chatbotContainer .messages {
  max-width: 80%;
  margin: 5px;
  font-size: 14px;
  padding: .5rem;
  border-radius: 7px;
}
#chatbotContainer .messages i {
	margin-right: 6px!important;
}
/* Targeted styling for just user messages */
#chatbotContainer .user-message {
  line-height: 20px!important;
  margin-top: 0.4rem;
  text-align: right;
  background: #d82b27;
  color: white;
  float: right;
}

/* Targeted styling for just bot messages */
#chatbotContainer .bot-reply {
  line-height: 20px!important;
  text-align: left;
  background: #E5E7EB;
  margin-top: 0.4rem;
  float: left;
  color: black;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
border:1px solid #CCC;
}
#chatbotContainer .bot-reply a {
    text-decoration: underline!important;
    color:blue;
}
/* Style the input area */
#chatbotContainer #inputArea5555 {
  height: 25px;
  display:inline-block;
  width:96%;
  align-items: inherit;
  justify-content: center;
  background: transparent;
  margin-bottom:5px;
}

#chatbotContainer #inputArea2 {
display:inline-block;
width:100%;
  justify-content: end;
  background: rgba(241, 53, 53, 0.2);
  background: #f1353500;
text-align:right;
}

/* Style the text input */
#chatbotContainer #userInput {
  width: 80%;
  background-color: white;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 14px;
line-height:24px;
  border: none;
  outline: none;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
float:left;
margin-left:2%;
}

/* Style send button */
#chatbotContainer #send112 {
  font-size: 20px;
  text-align: center;
  color: white;
  background: #d82b27;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  padding: 8px;
}
#chatbotContainer .send112Enter{
  /* margin-top: -4px!important; */
}
#chatbotContainer .send112Menu{
  margin-right: 60px;
    margin-top: 12px;
    margin-right: 60px!important;
}
#chatbotContainer .send112Ref{
  margin-bottom: 22px!important;
  margin-right: 12px!important;
  position: absolute;
    right: 18px;
    bottom: -4px;
}
#chatbotContainer .send_msg {
  float: right;
}
#chatbotContainer .botSection {
  margin-top: 5px;
  float: left;
}
#chatbotContainer .reply_icon {
  background: url(https://www.mahadiscom.in/ChatBot/logo.png);
  width: 40px;
  height: 40px;
  background-size: cover;
  float: left;
  border-radius: 20px;
  margin-left: 5px;
  border: 1px solid #CCC;
  margin-top:0.4rem;
}
#chatbotContainer .botSection.bot_btn_section {
  margin-left: 53px;
}
#chatbotContainer #buttons{
  color: black; 
  border: 2px solid #f44336;
  background-color: white; 
  /* border: none; */
  margin: 2px;
}


#chatbotContainer #buttons:hover {
  background-color: #f44336;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


#chatbotContainer .chat-btn {
  z-index:12555;
  position: fixed!important;
  bottom: 60px!important;
  right: 60px!important;
}

#chatbotContainer .chat-btn .close {
  display: none
}

#chatbotContainer .chat-btn i {
  transition: all 0.9s ease
}



#chatbotContainer .chat-btn i {
  font-size: 30px;
  color: #fff !important
}

#chatbotContainer .chat-btn {

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background-color: #d82b27;
  color: #fff;
  font-size: 22px;
  border: none;
  position: fixed;
  /* right: 14px; */
  margin: 0px;
  right: 0px;
  bottom: 0px;
  cursor: pointer

}
#chatbotContainer .chat-btn img{
width:110px;
margin-right: px;
margin-bottom: -50px!important;
} 

#chatbotContainer #close_chat{
  background-color: #d82b27;
  color: white;
  border: none;
  box-shadow: 3px 3px 15px rgb(0 0 0 / 55%);
  box-shadow: 2px 2 px 2 px rgba(0,0,0,0);
  border-radius: 10px;
  position: fixed;
  bottom:25px;
  right:40px;
  padding: 8px;
  padding-right:12px;
  font-size: 25px;
}


#chatbotContainer .chat_wrapper {
  z-index: 444444!important;
  margin: 50px 0;
  height: 570px;
  width: 350px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 15px rgb(0 0 0 / 20%);
  border-radius: 20px;
  right: 20px;
  bottom: 40px;
  opacity: 1;
  transition: all 0.4s;
  position: fixed;
}


#chatbotContainer .chat-form {
  padding: 15px
}

#chatbotContainer .chat-form input,
textarea,
#chatbotContainer button {
  margin-bottom: 10px
}

#chatbotContainer .chat-form textarea {
  resize: none
}

#chatbotContainer .form-control:focus,
#chatbotContainer .btn:focus {
  box-shadow: none
}

#chatbotContainer 
.card-text{ 
  font-size: 13px;
}

/* dot animation */
#chatbotContainer .loading{
  background-color: #E5E7EB;
  height: 20px;
  width: 57px;
  border-radius: 10px;
  margin-left: 80%;
  margin-top:20px;
}
#chatbotContainer #loading{
	max-width:100%!important;
}
#chatbotContainer .jumping-dots span {
position: relative;
margin-left: auto;
margin-right: auto;
animation: jump 1s infinite;
display: inline-block;
}

#chatbotContainer .jumping-dots .dot-1 {
background-color: grey;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 3px;
animation-delay: 200ms;
}

#chatbotContainer .jumping-dots .dot-2 {
background-color: grey;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 3px;
animation-delay: 400ms;
}

#chatbotContainer .jumping-dots .dot-3 {
background-color: grey;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 3px;
animation-delay: 600ms;
}

@keyframes jump {
  0% {
    bottom: 0px;
  }
  20% {
    bottom: 5px;
  }
  40% {
    bottom: 0px;
  }
}

/* card image */
#chatbotContainer .rw-carousel-card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background-color: #b5b5b5;
  cursor: pointer;
}

#chatbotContainer .card-chat_body{
  padding: 22px!important;
  padding-bottom:20px ;
}

#chatbotContainer #chat_header img{
  margin-top: 0px!important;
}

#chatbotContainer .chat-btn{
  width: 0px;
}

/*@media only screen and (max-width: 767px) {
#chatbotContainer .chat_wrapper{
	display: flex!important;
	width: 300px!important;
	height: 478px!important;
}
#chatbotContainer #userInput {
	position: absolute!important;
	left: 13px!important;
	bottom: 63px!important;
	width: 217px!important;
}
#chatbotContainer .sendBtn {
	position: absolute!important;
	bottom: 50px!important;
	right: 24px!important;
}	
#chatbotContainer .homeBtn{
	position: absolute!important;
	right: 3px!important;
	bottom: 9px!important;
}   
}*/
#chatbotContainer svg.svg-inline--fa.fa-2 {
	display: none !important;
}


@media(max-width: 480px) { #chatbotContainer .chat-btn img{
width:95px;
margin-right: px;
margin-bottom: -50px!important;
	} }