/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 31.05.2022, 14:21:19
    Author     : mballuff
*/

.tx-mejuleicachatbot-chatbot {
	font-family: Arial, sans-serif;
	font-size: 16px;
	background: transparent;
}



.tx-mejuleicachatbot-chatbot h2,
.tx-mejuleicachatbot-chatbot h3 {
	margin: 0;
	padding: 0;
}


.tx-mejuleicachatbot-chatbot h2 {
	font-size: 1rem;
	font-weight: 400;
}

.tx-mejuleicachatbot-chatbot hr {
	margin: 15px 0;
}

.tx-mejuleicachatbot-chatbot .bg-dark {
	background-color: #636363!important;
	
}

.tx-mejuleicachatbot-chatbot .bg-light {
	background: hsla(231, 10%, 90%, 0.8);
}

.tx-mejuleicachatbot-chatbot .text-light, 
.tx-mejuleicachatbot-chatbot .text-light h2{
	color: #fff !important;
}

.tx-mejuleicachatbot-chatbot .text-light h2 {
	margin-bottom:0;
}

.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}



.tx-mejuleicachatbot-chatbot a,
.tx-mejuleicachatbot-chatbot button,
.tx-mejuleicachatbot-chatbot .link {
	cursor: pointer;
}

.tx-mejuleicachatbot-chatbot .btn-transparent {
	border: 0;
	background: 0;
}

.tx-mejuleicachatbot-chatbot .btn-icon {
	font-size: 1.5rem;
	width: 100%;
}

/**************************/

/*** Display fake phone ***/

/**************************/

.tx-mejuleicachatbot-chatbot #phone-wrapper {		
	position: relative;
	overflow: hidden;
	border-radius:1rem 1rem 0 0;
	background-color: transparent;	
}

.tx-mejuleicachatbot-chatbot #app {
	background-color: #fff;	
	position: relative;		
	height: 608px;	
	display: grid;
	grid-template-rows: 50px 1fr auto;
}

/********************/

/*** Main chat UI ***/

/********************/

.tx-mejuleicachatbot-chatbot #header {
	display: grid;
	grid-template-columns: auto 50px;
	align-items: center;
	background-color: transparent;		
}


.tx-mejuleicachatbot-chatbot #form {
	display: grid;
	grid-template-columns: 50px auto 50px;
	align-items: center;
}

.tx-mejuleicachatbot-chatbot #header {
	padding: 6px;
}

/* Conversation */

.tx-mejuleicachatbot-chatbot #message-board {
	display: grid;
	align-self: end;
	grid-auto-rows: minmax(min-content, max-content);
	padding: 5px 0;
	box-sizing: border-box;
	max-height: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
}

.tx-mejuleicachatbot-chatbot .post {
	position: relative;
	margin: 4px 10px;
	padding: 10px;
	border-radius: 10px;
	font-size: .9rem;
	word-break: break-word;
}

.tx-mejuleicachatbot-chatbot .post-user {
	justify-self: left;
	margin-right: 50px;
	background-color: #ffea8e;
	/*border-top-left-radius: 0;*/
}

.tx-mejuleicachatbot-chatbot .post-bot {
	justify-self: right;
	margin-left: 50px;
	background-color: #eee;
	/*border-top-right-radius: 0;*/
}

.tx-mejuleicachatbot-chatbot .post:after {
	content: '';
	position: absolute;
	right: -10px;
	top: 10px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top: 0;
}

.tx-mejuleicachatbot-chatbot .post-user:after {
	left: -10px;
	border-right-color: #ffea8e;
	border-left: 0;
}

.tx-mejuleicachatbot-chatbot .post-bot:after {
	right: -10px;
	border-left-color: #eee;
	border-right: 0;
}

.tx-mejuleicachatbot-chatbot .timestamp {
	font-size: .6em;
	opacity: .4;
	margin: 5px 0 -5px;
	display: block;
}

/* Chat Form */

.tx-mejuleicachatbot-chatbot #form {
	padding: 6px;
	/*min-height: 40px;*/
	grid-template-rows: auto 1fr;
}

.tx-mejuleicachatbot-chatbot #emoijis {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	padding: 5px;
	grid-gap: 5px;
	margin-bottom: 5px;
}

.tx-mejuleicachatbot-chatbot #message {
	padding: 5px;
	font-size: 1rem;
	min-height: 25px;
	max-height: 25vh;
	overflow: auto;
	background: rgba(0, 0, 0, 0.05);
	color: #333;
	font-style: italic;
	outline: none;
	resize: none;
}

.tx-mejuleicachatbot-chatbot #form.focus {
	background: rgba(255, 152, 0, 0.1);
}

.tx-mejuleicachatbot-chatbot #message.focus {
	background: rgba(255, 255, 255, 0.5);
}

/* Custom Scrollbar */

.tx-mejuleicachatbot-chatbot ::-webkit-scrollbar {
	width: 5px;
}

.tx-mejuleicachatbot-chatbot ::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

.tx-mejuleicachatbot-chatbot ::-webkit-scrollbar-thumb {
	background: hsl(231, 50%, 50%, 10%);
	border-radius: 10px;
}

.tx-mejuleicachatbot-chatbot ::-webkit-scrollbar-thumb:hover {
	background: #b30000;
}

/***************/

/*** Credits ***/

/***************/

.tx-mejuleicachatbot-chatbot .credits {
	text-align: center;
	font-size: small;
	color: #b2b2b2;
}

.tx-mejuleicachatbot-chatbot .credits a {
	color: inherit;
}
