div.chat {
   height: 320px;
    overflow-y: scroll;
	overflow-x: hidden;
	padding: 8px;
    clear: both;
    
}

.chat::-webkit-scrollbar {
  width: 1px;
}


.chat::-webkit-scrollbar-track {
  background: #fff; 
}
 

.chat::-webkit-scrollbar-thumb {
  background: #888; 
}


.chat::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.chatbot { background:none !important; padding: 0 !important; }
.chat-header {box-shadow: 0 2px 1px rgba(0, 0, 0, .1); width: 100%;padding: 3px 0;}
.chatbot h2 {font-size:16px; line-height: normal; margin-bottom: 0;  padding: 8px 4px 7px 4px; display: inline-block;}
.avatar { width:30px; height:30px; float:left; position: relative;margin: 3px 0 3px 8px;}
.avatar img {width:28px; height:28px;border-radius:50%; }
.avatar span {width:9px; height:9px;border-radius:50%; border:#fff solid 2px; position: absolute; right:0; bottom: 0;}
.avatar span.online { background-color: #42b72a;}
.avatar span.busy { background-color: orange;}
.avatar span.away { background-color: red;}

.call-buttons {float:right; margin-right: 22px;
    margin-top: 5px;}
.call-buttons a {color:rgb(190, 195, 201); font-size: 18px;
    padding: 5px 3px;
    margin: 0 3px;
}
.call-buttons a.active {color:#3578e5;} 

.chatbot p {font-size:14px; color:#555; line-height: normal; padding: 4px 10px; border-radius: 18px; background: #F3F4F4; display: inline-block;}

.chat a {background-color: #27b36a; color:#fff; padding: 2px 10px; border-radius: 10px;    margin: 2px 2px 2px 0;
    display: inline-block;}

p.user-input {background-color: #3578e5; color:#fff;float: right; text-align: left;display: inline-block;height: auto;}
p.user-input:after {content:""; width: 100%; height: 1px; clear: both;}
#close-form-button { position: absolute; top:-10px; right:-10px; background:#fff; font-size:14px; border-radius:50px; width: 27px; height: 27px;border: none; box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .3); display: block; text-align: center;}

/* Button used to open the chat form - fixed at the bottom of the page */
/*
.open-button {
background-color: #3578e5;
color: white;
padding: 12px 20px;
border: none;
cursor: pointer;
position: fixed;
bottom: 23px;
right: 28px;
width: 190px;
border-radius: 30px;
z-index: 98584;
}

.open-button:hover {background-color: #2B41BC;}
*/

/* The popup chat - hidden by default */
.chat-popup {
	background: #fff;
display: none;
position: fixed;
bottom: 15px;
right: 15px;
z-index: 9657575;
	border-radius: 8px;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .3);
}



/* Add styles to the form container */
.form-container {
max-width: 380px;
padding: 10px;
}

/* Full-width textarea */
.form-container textarea {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
border: none;
background: #f1f1f1;
resize: none;
min-height: 200px;
}
#myForm .form-container input[type="text"] { border:none; border-top: 1px solid #c9d0da; margin-bottom: 8px;    width: 100%;    color: #444; padding: 4px 30px 4px 8px;}
.form-container input:focus::-webkit-input-placeholder {
    color: #888;
}

.form-container input:focus {    outline: none;}

/* When the textarea gets focus, do something */
.form-container textarea:focus {
background-color: #ddd;
outline: none;
}

/* Set a style for the submit/send button */

/* Add a red background color to the cancel button */
.form-container .cancel {
background-color: red;
}

.send {color:rgb(190, 195, 201); border: none; position: absolute; bottom: 7px; right: 5px; background: none;}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
opacity: 1;
}
.img-resp{
    max-width:100%;
    height:auto;
}
.txt-resp{
    text-align: left;
    display: inline-block;
}


.chatbot-icon {width:70px; height:60px;  position: fixed; bottom: 45px; text-align: center;
    border-radius: 17%; top:inherit; right:45px; z-index: 954945; background: #fff;
	transition: all 0.5s ease-in-out;     transform: perspective(1px) translateZ(0);
box-shadow:
  0 2.8px 2.2px rgba(0, 0, 0, 0.034),
  0 6.7px 5.3px rgba(0, 0, 0, 0.048),
  0 12.5px 10px rgba(0, 0, 0, 0.06),
  0 22.3px 17.9px rgba(0, 0, 0, 0.072),
  0 41.8px 33.4px rgba(0, 0, 0, 0.086),
  0 100px 80px rgba(0, 0, 0, 0.12);}


.chatbot-icon:hover { -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);}

.chatbot-icon a {display:block; margin: -5px 0 0 -5px;}



.chatbot-icon:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: 8px;
    left:1px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    animation: glowing 20s linear infinite;
   
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}



.chatbot-icon:active:after {
    background: transparent;
}

.chatbot-icon:hover:before {
    opacity: 0;
}

.chatbot-icon:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
	background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
background: radial-gradient(ellipse at center,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );

    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}



/* VIDEO BUTTON */

.video-widget-fixed {  background: #000; width:300px; height:168px; position: fixed; bottom: 15px; top:inherit; right:15px; z-index: 954945;
box-shadow:
  0 2.8px 2.2px rgba(0, 0, 0, 0.034),
  0 6.7px 5.3px rgba(0, 0, 0, 0.048),
  0 12.5px 10px rgba(0, 0, 0, 0.06),
  0 22.3px 17.9px rgba(0, 0, 0, 0.072),
  0 41.8px 33.4px rgba(0, 0, 0, 0.086),
  0 100px 80px rgba(0, 0, 0, 0.12);

}
	.video-widget-fixed video {opacity:0.8}
	
.video-widget-inner {width: 300px;
    position: absolute;
    height: 168px;
	padding: 10px;
    bottom: 0px;
    color: #fff;
    text-align: center;}
	
	.video-widget-inner h6 {color:#fff; font-size:16px; line-height: normal;  font-weight: normal; margin-top: 5px;
    margin-bottom: 5px;
 }

.video-widget-inner h6 span { text-transform: uppercase;   letter-spacing: 2px;}
	
.video-widget-fixed a {font-size: 12px;
    position: relative;
    border-radius: 25px !important;
    font-family: "Arial", Helvetica, sans-serif;
    border: 1px solid rgba(255,255,255,0.7);
    padding: 5px 10px 5px 29px;
    height: 32px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    width: 140px;
    margin: 0 auto 5px auto;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    background: rgba(0,0,0,0.3); cursor: pointer; }
.video-widget-fixed a:hover {color:#333 !important; background: #fff !important; cursor: pointer;}
	
	

.video-widget-fixed i {
    font-size: 20px;
	float:right;
/*
    vertical-align: bottom;
    line-height: 38px;
*/
    margin-right: 4px;
	position: relative;
}
	
	.closer {background:rgba(0,0,0,0.98); width: 30px; height:30px; border-radius: 50%; position: absolute; right:-15px; top:-15px; display: block; color:#fff; padding:3px; cursor: pointer; text-align: center;}



.chatbot-icon .closer {
    background: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: absolute;
    right: -15px;
    top: -15px;
    display: block;
    color: #555;
    font-size: 11px;
    cursor: pointer;
    text-align: center;
	box-shadow: 0 3px 2px #ccc;
}
	
	.video-widget-fixed small  {background: red;
    box-shadow: 0 0 0 0 rgba(255,0,0,0.5);
    width: 3px;
    height: 3px;
    display: block;
    -webkit-animation: pulse-btn 1.5s infinite;
    border-radius: 50%;
    position: absolute;
    right: 11px;
    top: 9px;}

.call-buttons small {background: red;
    box-shadow: 0 0 0 0 rgba(255,0,0,0.5);
    width: 3px;
    height: 3px;
    display: block;
    -webkit-animation: pulse-btn 1.5s infinite;
    border-radius: 50%;
    position: absolute;
    right: 13px;
    top: 14px;}
	
	@-webkit-keyframes pulse-btn {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  70% {
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    box-shadow: 0 0 0 30px rgba(255,0,0, 0);
  }
  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255,0,0, 0);
		}
	}
