@charset "UTF-8";
/* CSS Document */



@font-face {
  font-family: Montserrat-Medium;
  src: url("../../../fonts/Montserrat/Montserrat-Medium.ttf");
  /*src: url(data:font/ttf;base64,STRING) format('truetype');*/
}

@font-face {
  font-family: Montserrat-SemiBold;
  src: url("../../../fonts/Montserrat/Montserrat-SemiBold.ttf");
  /*src: url(data:font/ttf;base64,STRING) format('truetype');*/
}

:root {
	
	/* Default theme */
	--default_main-border-color: #444;
	
	--default_background-color: #ededed;
	--default_text-color: #000;
	--default_link-color: #222;
	
	--default_subtext-color:  rgba(0, 0, 0, 0.4);
	
	--default_bubble_text_task_background-color: rgba(255, 255, 255, 0.2);
	--default_bubble_image_task_background-color: rgba(255, 255, 255, 0.2);
	
	--default_bubble_1_background-color: rgba(255, 255, 255, 0.8);
	--default_bubble_1_text-color: #000;
	
	--default_bubble_2_background-color: rgba(0,0,0,0.8); 
	--default_bubble_2_text-color: #fff;
	
	--default_message_input_box: rgba(255, 255, 255, 0.8);
	--default_message_send_button: rgba(0,0,0,0.5);
	
	
	
	/* Light theme */
	--lt_background-color: #ededed; 
	--lt_text-color: #000;
	--lt_link-color: #222;
	
	--lt_subtext-color: rgba(0, 0, 0, 0.4);
	
	--lt_bubble_text_task_background-color: rgba(255, 255, 255, 0.2);
	--lt_bubble_image_task_background-color: rgba(255, 255, 255, 0.2);
	
	--lt_bubble_1_background-color: rgba(255, 255, 255, 0.8);
	--lt_bubble_1_text-color: #000;
	
	--lt_bubble_2_background-color: rgba(0,0,0,0.8);
	--lt_bubble_2_text-color: #fff;
	
	--lt_message_input_box: rgba(255, 255, 255, 0.8);
	--lt_message_send_button: rgba(0,0,0,0.5);
	
	
	
	/* Dark theme */
	--dt_background-color: #333333;
	--dt_text-color: #fff;
	--dt_link-color: #999;
	
	--dt_subtext-color: rgba(255, 255, 255, 0.3);
	
	--dt_bubble_text_task_background-color: rgba(0,0,0,0.2);
	--dt_bubble_image_task_background-color: rgba(0,0,0,0.2);
	
	--dt_bubble_1_background-color: rgba(0,0,0,0.8);
	--dt_bubble_1_text-color: #fff;
	
	--dt_bubble_2_background-color: rgba(255, 255, 255, 0.8);
	--dt_bubble_2_text-color: #000;
	
	--dt_message_input_box:  rgba(0,0,0,0.8);
	--dt_message_send_button: rgba(255, 255, 255, 0.3);
}



html{
	/*
	-webkit-user-select: none;
	user-select: none;
	*/
}

body {
	background-color: --default_background-color;
	color: --default_text-color;
	font-family: Montserrat-Medium;
}

a {
	color: --default_link-color;
}

.chatContainer{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: block;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	padding-bottom: 80px;
	z-index: 0;
}



.chatflowContainer{
	position: fixed;
	width: calc(100% - 30px);
	height: calc(100% - 92px);
	border: 0px solid;
	border-color: --default_main-border-color;
	left: 15px;
	top: 76px;
	display: block;
	box-sizing: border-box;
	border-radius: 24px;
	padding: 0px;
	padding-bottom: 55px;
	padding-top: 5px;
	transition: opacity 0.2s ease-in-out;
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
	scrollbar-width: none;
	max-width: 840px;
	left: 0; 
	right: 0; 
	margin-left: auto; 
	margin-right: auto; 
	z-index: 0;
	opacity: 0;
	border-top: 1px solid rgba(255,255,255,0.1);
	transition: height 0.2s ease-in-out;
	transition: top 0.2s ease-in-out;
}

.chatflowContainer::-webkit-scrollbar{
	display: none;
}

.chatflowContainer::scrollbar{
	display: none;
}



.bubble_bot{
	width: auto;
	height: auto;
	max-width: 85%;
	background-color: var(--default_bubble_1_background-color);
	padding: 14px;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
	color: var(--default_bubble_1_text-color);
	float: left;
	margin-top: 0;
	transition: all 0.2s ease-in-out;
	clear: both;
	font-family: Montserrat-Medium;
	line-height: 24px;
}

.bubble_bot_shrink{
	transform: scale(0.1);
	opacity: 0;
	margin-left: -5px;
	margin-bottom: -40px;
}

.bubble_bot_alt_1{
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius: 26px;
	border-top-right-radius: 26px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 26px;
}

.bubble_bot_alt_2{
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius: 10px;
	border-top-right-radius: 26px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 26px;
}

.bubble_bot_alt_3{
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius: 10px;
	border-top-right-radius: 26px;
	border-bottom-left-radius: 26px;
	border-bottom-right-radius: 26px;
}

.bubble_text_task{
	width: 100%;
	height: auto;
	max-width: 100%;
	background-color: var(--default_bubble_text_task_background-color);
	padding: 14px;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
	color: var(--default_bubble_1_text-color);
	float: left;
	margin-top: 0;
	transition: all 0.2s ease-in-out;
	clear: both;
	font-family: Montserrat-Medium;
	line-height: 24px;
	
	background-color: rgba(0,0,0,0);
	border-left: 0px solid;
	border-color: var(--default_bubble_1_background-color);
	
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.bubble_image_task{
	
	width: auto;
	height: auto;
	background-color: var(--default_bubble_image_task_background-color);
	padding: 10px;
	box-sizing: border-box;
	text-align: left;
	
	color: var(--default_bubble_1_text-color);
	float: left;
	margin-top: 0;
	transition: all 0.2s ease-in-out;
	clear: both;
	font-family: Montserrat-Medium;
	
	background-color: rgba(0,0,0,0);
	border: 0px solid;
	border-color: var(--default_bubble_1_background-color);
	text-align: center;
	
	margin-top: 6px;
	margin-bottom: 6px;
	
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	line-height: 0;
}

.bubble_image_group{
	text-align: center;
	line-height: 0;
}

.bubble_image_task img{
	width: calc(100vw - 70px);
	min-width: 180px;
	max-width: 360px;
	height: auto;
	border-radius: 5px;
	overflow: hidden; 
	display: inline-block;
	margin: 10px;
	line-height: 0;
}

.bubble_user{
	width: auto;
	height: auto;
	max-width: 85%;
	background-color: var(--default_bubble_2_background-color);
	padding: 14px;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
	color: var(--default_bubble_2_text-color);
	float: right;
	transition: all 0.2s ease-in-out;
	clear: both;
	font-family: Montserrat-Medium;
	line-height: 24px;
}

.bubble_user_shrink{
	transform: scale(0.1);
	opacity: 0;
	margin-right: -5px;
	margin-bottom: -40px;
}

.bubble_user_alt_1{
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius: 26px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 26px;
	border-bottom-right-radius: 26px;
}

.bubble_user_alt_2{
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius: 26px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 26px;
	border-bottom-right-radius: 10px;
}

.bubble_user_alt_3{
	margin-top: 6px;
	margin-bottom: 6px;
	border-top-left-radius:26px;
	border-top-right-radius: 26px;
	border-bottom-left-radius: 26px;
	border-bottom-right-radius: 10px;
}



.chatflowFeedback{
	display: none;
	overflow: hidden;
	border-radius: 10px;
	text-align: right;
	width: 134px;
	height: 34px;
	display: block;
	margin-left: 0px;
	float: left;
	clear: both;
	transition: all 0.2s ease-in-out;
	opacity: 0;
	margin-top: -41px;
}

.chatflowFeedback a{
	margin-left: 3px;
	margin-right: 3px;
	display: inline-block;
	height: 32px;
	width: 32px;
	box-sizing: border-box;
	text-align: center;
	line-height: 32px;
	font-size: 14px;
	overflow: hidden;
	text-decoration: none; 
	color: #fff;
	border: 1px solid;
	border-color: var(--default_bubble_2_text-color);
	border-radius: 16px;
	background-color: var(--default_bubble_1_background-color);
}

.chatflowFeedback a:hover{
	text-decoration: none;
}



.chatflowThinking{
	width: 40px;
	height: 20px;
	display: block;
	margin-left: 20px;
	float: left;
	clear: both;
	opacity: 0;
	transition: all 0.4s ease-in-out;
}

.thinkingAnimation{
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
	left: 0;
	top: 0;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url("../images/botThinking_dt.svg?v=1");
}



.chatflow_date{
	height: 25px;
	text-align: center;
	display: block;
	clear: both;
	border-bottom: 0px solid rgba(119,119,119,0.2);
	color: var(--default_subtext-color);
}

.chatflow_date span{
	margin: auto;
	display: inline-block;
	font-size: 8px;
	padding: 2px 8px 2px 8px;
	border-radius: 10px;
	margin-top: 5px;
	opacity: 0.4;
	box-sizing: border-box;
}



textarea {
	font-family: Montserrat-Medium;
	border: none;
	overflow: auto;
	outline: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	resize: none; /*remove the resize handle on the bottom right*/
}

textarea::-webkit-scrollbar {
   display: none;
}

textarea::scrollbar {
   display: none;
}



.textInputContainer{
	position: fixed;
	
	/*
	min-width: 280px;
	width: calc(100vw - 100px);
	max-width: 600px;
	*/
	
	width: calc(100% - 30px);
	
	max-width: 840px;
	
	height: 46px;
	line-height: 46px;
	bottom: 16px;
	display: block;
	box-sizing: border-box;
	max-width: 840px;
	left: 0; 
	right: 0; 
	margin-left: auto; 
	margin-right: auto; 
	border-radius: 23px;
	box-shadow: 0px 0px 8px rgba(119,119,119,0.1);
	z-index: 1;
	
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px); 
}

.textInput{
	border:0px solid #222;
	background-color: #fff;
	position: absolute;
	width: 100%;
	width: calc(100% - 150px);
	width: 200px;
	height: 46px;
	display: block;
	box-sizing: border-box;
	border-radius: 23px;
	padding: 12px;
	padding-left: 20px;
	padding-right: 50px;
	line-height: 23px;
	font-size: 14px;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px); 
	transition: all 0.2s ease-in-out;
} 

.placeholder_dt::-webkit-input-placeholder {
    color: var(--dt_subtext-color);
 }

.placeholder_lt::-webkit-input-placeholder {
    color: var(--lt_subtext-color);
 }

.textInputSubmit{
	position: absolute;
	width: 36px;
	height: 36px;
	bottom: 5px;
	left: 145px;
	right: auto;
	display: block;
	box-sizing: border-box;
	background-color: var(--default_message_send_button);
	border-radius: 50%;
	opacity: 0.3;
	opacity: 0;
	transition: all 0.2s ease-in-out;
	z-index: 1;
	cursor: pointer;
}

.textInputSubmit img{
	width: calc(100% - 14px);
	height: calc(100% - 14px);
	display: block;
	position: absolute;
	top: 7px;
	left: 8px;
	filter: brightness(0) invert(1);
	z-index: 1;
	cursor: pointer;
}

.textInputSubmit a{
	z-index: 1;
	cursor: pointer;
}


.chatTypeSelector{
	width: 100px;
	height: 21px;
	line-height: 21px;
	display: block;
	display: none;
	position: fixed;
	top: 86px;
	border: 0px solid #777;
	
	border-radius: 15px;
	
	box-sizing: border-box;
	z-index: 5;
	
	box-shadow: 0px 0px 8px rgba(119,119,119,0.1);
	left: 0; 
	right: 0; 
	margin-left: auto; 
	margin-right: auto;
	transition: opacity 0.2s ease-in-out;
	transition: top 0.2s ease-in-out;
	opacity: 0;
}

.chatTypeSelector a{
	width: 100px;
	height: 21px;
	line-height: 21px;
	border-radius: 15px;
	overflow: hidden;
	display: block;
	position: absolute;
	box-sizing: border-box;
	z-index: 5;
	pointer-events: all;
	color: #fff;
	font-size: 8px;
	text-align: center;
	font-family: Montserrat-SemiBold;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	background-color: rgba(199, 199, 199, 0.2);
}

.elem_newChatButton{
	position: absolute;
	width: 46px;
	height: 46px;
	bottom: 0px;
	right: 3px;
	right: 0px;
	display: block;
	box-sizing: border-box;
	background-color: var(--default_message_send_button);
	border-radius: 50%;
	opacity: 0.3;
	transition: all 0.2s ease-in-out;
	z-index: 1;
	cursor: pointer;
}

.elem_newChatButton img{
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	display: block;
	position: absolute;
	top: 5px;
	left: 5px;
	filter: brightness(0) invert(1);
	z-index: 1;
	cursor: pointer;
	-webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.elem_newChatButton a{
	z-index: 1;
	cursor: pointer; 
}

a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}