/*
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-weight: 400;
    font-size: 100%;
    background: #F1F1F1;
}

*, html {
    --primaryGradient: linear-gradient(93.12deg, #581B98 0.52%, #9C1DE7 100%);
    --secondaryGradient: linear-gradient(268.91deg, #581B98 -2.14%, #9C1DE7 99.69%);
    --primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    --secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
    --primary: #ee2524;
}
*/
/* CHATBOX
=============== */
.chatbox {
    position: fixed;
    bottom: 30px;
    right: 30px;
	z-index:9999;
}

/* CONTENT IS CLOSE */
.chatbox__support {
    display:none;
    flex-direction: column;
    background: #eee;
    width: 300px;
    height: 350px;
    z-index: -123456;
    opacity: 0;
    transition: all .5s ease-in-out;
}

/* CONTENT ISOPEN */
.chatbox--active {
    transform: translateY(-40px);
    z-index: 999999;
    opacity: 1;
    display:flex !important;

}

/* BUTTON */
.chatbox__button {
    text-align: right;
}

.send__button {
    padding: 6px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}
.send__button:hover, .send__button:focus{
	background-color:unset;
	border-color:unset;
}

/* HEADER */
.chatbox__header {
    position: sticky;
    top: 0;
    background: orange;
}

/* MESSAGES */

.chatbox__messages {
    display: block;
    overflow-y: scroll;
  /*  flex-direction: column-reverse; */ 
	background:#f4f4f4;
}

.messages__item {
    background: orange;
    max-width: 60.6%;
    width: fit-content;
}

.messages__item--operator {
    margin-left: auto;
}

.messages__item--visitor {
    margin-right: auto;
}

/* FOOTER */
.chatbox__footer {
    position: sticky;
    bottom: 0;
}

.chatbox__support {
    background: #fff;
    height: 550px;
    width: 350px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* HEADER */
.chatbox__header {
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index:100;
  /*  box-shadow: var(--primaryBoxShadow); */
}

.chatbox__image--header {
    height: 32px;
}

.chatbox__image--header img{
    width: 80px;
    display:none;
}

.chatbox__heading--header_one{
	position:fixed;
	right:30px;
	top:10px;
}
.chatbox__content--header{
  display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.chatbox__heading--header {
    font-size: 16px;
    color: #000;
	margin:0px;
	line-height:20px;
}
.chatbox_header_logo{
	padding-left:25px;
	display:none;
}
.chatbox_header_text{
	padding-left:15px;
	display:none;
}
.chatbox__heading--header_minimiser{
	position:fixed;
	right:30px;
	top:18px;
}
.chatbox__description--header {
    font-size: .9rem;
    color:#000;
    display: none;
}

/* Messages */
.chatbox__messages {
    padding: 0 20px;
	height: inherit;
	padding-bottom: 10px;
}
.chatbox_text_area{
    font-size: 22px;
    line-height: 44px;
  /*  position: fixed;
    top: 200px; */
	font-family: 'Inter';
	letter-spacing:1px;
	z-index:99;
	position: relative;
    top:75px;
}
.messages__item {
    margin-top: 10px;
    background: #f4f4f4;
    padding: 8px 12px;
    max-width: 100%;
    font-size: 16px;
    line-height: 20px;
    font-family: 'Inter';
    color: #000;
}
.messages__item p{
    line-height:20px;
}
.messages__item--visitor,
.messages__item--typing {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.messages__item--operator {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background: #1c2b39;
    color: white;
}
/* FOOTER */
.chatbox__footer {
/*    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--secondaryBoxShadow); */
	padding: 10px;
    background: #fff;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.user_input{
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	border: 1px solid #eee;
	border-radius: 5px;
}
.chatbox__footer input {
    width: 100%;
    border: none !important;
    padding: 12px !important;
    text-align: left;
}

.chatbox__send--footer {
    color: #000;
	margin-right:10px;
}
/*
.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
    padding: 12px;
    background: #ee2524;
    border: none;
    outline: none;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
*/
.chatbox__button button, .chatbox__button button:hover,
.chatbox__button button:focus,
.chatbox__button button:visited {
    padding: 8px 18px;
    background: #007298;
    border: none;
    outline: none;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color:#fff;
    font-size:18px;
	text-transform:capitalize;
	position:relative;
	right:50px;
	top:4px;
}
.chatbox__button img{
	width:24px;
}
/* another style */
.msger {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 867px;
    margin: 25px 10px;
    height: calc(100% - 50px);
    border: var(--border);
    border-radius: 5px;
    background: var(--msger-bg);
    box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
  }
  
  .msger-header {
    /* display: flex; */
    font-size: medium;
    justify-content: space-between;
    padding: 10px;
    text-align: center;
    border-bottom: var(--border);
    background: #eee;
    color: #666;
  }
  
  .msger-chat {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
  }
  .msger-chat::-webkit-scrollbar {
    width: 6px;
  }
  .msger-chat::-webkit-scrollbar-track {
    background: #ddd;
  }
  .msger-chat::-webkit-scrollbar-thumb {
    background: #bdbdbd;
  }
  .msg {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
  }
  
  .msg-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
  }
  .msg-bubble {
    max-width: 450px;
    padding: 15px;
    border-radius: 15px;
    background: var(--left-msg-bg);
  }
  .msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .msg-info-name {
    margin-right: 10px;
    font-weight: bold;
  }
  .msg-info-time {
    font-size: 0.85em;
  }
  
  .left-msg .msg-bubble {
    border-bottom-left-radius: 0;
  }
  
  .right-msg {
    flex-direction: row-reverse;
  }
  .right-msg .msg-bubble {
    background: var(--right-msg-bg);
    color: #fff;
    border-bottom-right-radius: 0;
  }
  .right-msg .msg-img {
    margin: 0 0 0 10px;
  }
  
  .msger-inputarea {
    display: flex;
    padding: 10px;
    border-top: var(--border);
    background: #eee;
  }
  .msger-inputarea * {
    padding: 10px;
    border: none;
    border-radius: 3px;
    font-size: 1em;
  }
  .msger-input {
    flex: 1;
    background: #ddd;
  }
  .msger-send-btn {
    margin-left: 10px;
    background: #579ffb;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
  }
  .msger-send-btn:hover {
    background: rgb(0, 180, 50);
  }
  
  .msger-chat {
    background-color: #fcfcfe;
     }
.response_options{
    color: #000 !important;
    text-decoration: none !important;
    display:block;
}
.response_para{
  background: lightgray;
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.messages__item--visitor a{
    color:#0000EE;
    text-decoration: underline;
}
.messages__item--visitor a:hover,.messages__item--visitor a:focus{
	color:#0000EE;
	text-decoration: underline;
}
b{
    font-weight:600;
}
.ul_list{
  padding: 0px;
  margin-top:10px;
	margin-left: auto;
}
.ul_list li::marker{
  color:#ee2524;
	font-weight:900;
}
.ul_list li{
  padding-bottom: 10px;
}
.ul_list {
    list-style-type: '- ';
	
}
/* system typing animation css */

.chat-bubble {
  background-color:#d3d3d3;
  padding:8px 12px;
  -webkit-border-radius: 20px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius: 20px;
  -moz-border-radius-bottomleft: 2px;
  border-radius: 10px;
  border-bottom-left-radius: 2px;
  display:inline-block;
  width: 70px;
}
.typing {
  align-items: center;
  justify-content: center;
  display: flex;
  height: 17px;
}
.typing .dot {
  animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
  background-color: #1b293a ; /*rgba(20,105,69,.7); */
  border-radius: 50%;
  height: 7px;
  margin-right: 4px;
  vertical-align: middle;
  width: 7px;
  display: inline-block;
}
.typing .dot:nth-child(1) {
  animation-delay: 200ms;
}
.typing .dot:nth-child(2) {
  animation-delay: 300ms;
}
.typing .dot:nth-child(3) {
  animation-delay: 400ms;
}
.typing .dot:last-child {
  margin-right: 0;
}

@keyframes mercuryTypingAnimation {
  0% {
    transform: translateY(0px);
    background-color:#1b293a; /* rgba(20,105,69,.7); */
  }
  28% {
    transform: translateY(-7px);
    background-color:#263342; /*rgba(20,105,69,.4); */
  }
  44% {
    transform: translateY(0px);
    background-color: #404a57; /*rgba(20,105,69,.2); */
  }
}
