/* ----------------------------------------------------------------------- */
.aiui-container {
	height: 100%;
	max-height: 100%;
	min-height: 100%;
}

.aiui-container > .row {
	height: 100%;
	max-height: 100%;
	min-height: 100%;
}

.aiui-container .bigScreenContent {
	--headerHeight: 4.5rem;
	--headerPaddingY: 1rem;
	--contentHeight: calc(100% - var(--headerHeight));
	height: 100%;
	max-height: 100%;
	min-height: 100%;
}

.aiui-container .bigScreenContent .bigScreenItem {
	height: 100%;
	max-height: 100%;
	min-height: 100%;
}

.aiui-container .bigScreenContent .bigScreenItem h1 {
	font-size: 1.25rem;
}

.aiui-container .bigScreenContent .bigScreenHtmls {
	max-height: var(--contentHeight);
	height: var(--contentHeight);
}

.aiui-container .bigScreenContent a.noLink {
	pointer-events: none !important;
	color: black !important;
}

.aiui-container .bigScreenContent .scoreBar {
	display: inline-block;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	color: gray;
}

.aiui-container .bigScreenContent .scoreBar span {
	display: inline-block;
	height: 1rem;
}

.aiui-container .bigScreenContent .scoreBar .scoreBar-positive {
	background-color: green;
	height: 0.5rem;
}

.aiui-container .bigScreenContent .scoreBar .scoreBar-negative {
	background-color: red;
	height: 0.5rem;
	margin-left: -0.25rem !important;
	margin-right: 0.5rem !important;
}

.aiui-container .bigScreenContent .bigScreenHtmls [data-fnlink]:not([data-fnlink=""]) {
	/* hide footnote links in design [1] because the can be missunderstood as AI source references */
	display: none;
}

.aiui-container .bigScreenContent .bigScreenHtmls a:not(.btn) {
	text-decoration: none;
	color: cornflowerblue;
}

.aiui-container .bigScreenContent .bigScreenHtmls .dokumentinhaltcontent a.aiDocumentLink {
	color: inherit;
}

.aiui-container .bigScreenContent .bigScreenHtmls a:visited {
	opacity: 0.8;
}

.aiui-container .bigScreenContent .dokumentinhaltcontent > * {
	margin-left: 0 !important;
}

.aiui-container .bigScreenContent .dokumentinhaltcontent .marginal-wrapper {
	display: none !important;
}

.aiui-container .bigScreenContent .nav-pills .nav-link.active, .aiui-container .nav-pills .show > .nav-link {
	background-color: #94C2ED;
	color: white;
}

.aiui-container .user, .bot {
	margin-right: 3px;
	font-size: 10px;
}

.aiui-container .bot {
	color: var(--botColor);
}

.aiui-container .user {
	color: var(--userColor);
}

.aiui-container .align-left {
	text-align: left;
}

.aiui-container .align-right {
	text-align: right;
}

.aiui-container .float-right {
	float: right;
}

.aiui-container .clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.errorTooltip {
	max-width: 60vw;
	width: 60vw;
}

.errorTooltip div {
	width: 100% !important;
	max-width: 100% !important;
}

/* ----------------------------------------------------------------------- */
/*  Chat   */
.aiui-chat *, *:before, .chat *:after {
	box-sizing: border-box;
}

.aiui-chat {
	--botColor: #EAEDEE;
	--userColor: #d9f1f5;
	--linkColor: #018294;
	--linkColorLight: #e5ffff;
	--avatarSize: 4rem;
	--backColorHistory: white;
	--borderColor: white;
	--borderSize: 4px;
	--backColor: #eef2f6;
	border: 2px solid var(--backColor);
	border-radius: 1rem;
	font-family: Abel, 'Arial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	display: flex;
	flex-flow: column;
	flex-direction: column;
	background: var(--backColor);
	color: var(--bs-body-color);
	max-height: 100%;
	height: 100%;
	/*.avatarBackground {
        position: absolute;
        text-align: center;
        float: left;
        margin: 10px;
        width: calc(var(--borderSize) * 2 + var(--avatarSize));
        height: calc(var(--borderSize) * 2 + var(--avatarSize));
        min-width: calc(var(--borderSize) * 2 + var(--avatarSize));
        min-height: calc(var(--borderSize) * 2 + var(--avatarSize));
        background-color: var(--backColor);
        border-color: var(--borderColor);
        border-width: var(--borderSize);
        border-style: solid;
        border-radius: 100%;
        z-index: 10;
    }*/
}

.aiui-chat .chat-header {
	border-bottom: var(--borderSize) solid var(--borderColor);
	display: flex;
	flex: 0 1 auto;
	/* shorthand for: flex-grow: 0, flex-shrink: 1, flex-basis: auto */
	align-items: center;
	padding: 0;
	position: relative;
}

.aiui-chat .chat-header .avatar {
	position: absolute;
	margin: 0.375rem;
	z-index: 100;
	background-color: var(--backColor);
	border-color: var(--borderColor);
	border-width: var(--borderSize);
	border-style: solid;
	border-radius: 50%;
	display: inherit;
	align-items: center;
	height: var(--avatarSize);
	width: var(--avatarSize);
	padding: 0.5rem;
	top: 0;
}

.aiui-chat .chat-header .avatar img {
	background-color: var(--backColor);
	height: auto;
	width: 100%;
}

.aiui-chat .chat-header .chat-about {
	margin: 10px;
	padding-top: 3px;
	padding-right: 10px;
	margin-left: calc(20px + var(--avatarSize));
	height: calc(var(--avatarSize) / 2);
	max-height: calc(var(--avatarSize) / 2);
	min-height: calc(var(--avatarSize) / 2);
	display: flex;
	justify-content: center;
	align-items: center;
}

.aiui-chat .chat-header .chat-with {
	font-weight: bold;
	font-size: 16px;
	line-height: 1.2rem;
	max-height: 2.4rem;
	padding-right: 12px;
	overflow: hidden;
}

.aiui-chat .chat-header .new-topic {
	border: 0;
	padding: 0;
	color: var(--bs-gray-700);
	cursor: pointer;
	height: 2.5rem;
	width: 2.5rem;
}

.aiui-chat .chat-header .new-topic:hover, .aiui-chat .chat-header .new-topic:focus {
	color: var(--bs-gray-900);
	background-color: var(--bs-white);
}

.aiui-chat .chat-header i {
	vertical-align: middle;
}

.aiui-chat .chat-header .ask-the-content-box {
	background-color: var(--backColorHistory);
	padding: 0.75rem;
	padding-left: 4rem;
	padding-right: 1.5rem;
	margin: 1rem;
	border-radius: 0.5rem;
}

.aiui-chat .chat-header .ask-the-content-cover {
	margin-right: 1.0rem;
	min-width: 10%;
	max-width: 10%;
	align-content: center;
}

.aiui-chat .chat-header .ask-the-content-title {
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	margin-top: revert;
}

.aiui-chat .chat-header .ask-the-content-close {
	border: 0;
	padding: 0.25rem 0 0 0;
	color: var(--bs-gray-700);
	cursor: pointer;
	margin-left: auto;
	display: inline-flex;
	align-items: flex-start;
}

.aiui-chat .chat-header .ask-the-content-close i {
	vertical-align: top;
}

.aiui-chat .chat-history {
	max-height: 100%;
	padding: 1em;
	margin: 0;
	background-color: var(--backColorHistory);
	border-bottom: var(--borderSize) solid var(--borderColor);
	overflow-y: scroll;
	scrollbar-width: thin;
	z-index: 0;
	flex: 1 1 auto;
	position: relative;
}

.aiui-chat .chat-history::-webkit-scrollbar {
	width: 6px;
}

.aiui-chat .chat-history::-webkit-scrollbar-track {
	background: transparent;
}

.aiui-chat .chat-history::-webkit-scrollbar-thumb {
	background-color: rgba(210, 210, 210, 0.5);
	border-radius: 6px;
	border: transparent;
}

.aiui-chat .chat-history .written {
	display: none;
}

.aiui-chat .chat-history .message {
	border-radius: .5rem;
	-webkit-hyphens: auto;
	        hyphens: auto;
	line-height: 1.5;
	margin-bottom: 1.5rem;
	overflow-wrap: anywhere;
	padding: 0.75rem;
	position: relative;
	max-width: 90%;
}

@media screen and (min-width: 992px) {
	.aiui-chat .chat-history .message {
		max-width: 76%;
	}
}

@media screen and (min-width: 1200px) {
	.aiui-chat .chat-history .message {
		max-width: 65%;
	}
}

.aiui-chat .chat-history .message::after {
	border: solid transparent;
	border-width: 0 0.75rem 0.75rem 0;
	content: " ";
	height: 0;
	width: 0;
	bottom: 100%;
	position: absolute;
	pointer-events: none;
}

.aiui-chat .chat-history .message.message-large {
	max-width: calc(100% - 2rem);
}

.aiui-chat .chat-history .message a {
	color: var(--linkColor);
	text-decoration: underline;
}

.aiui-chat .chat-history > li {
	clear: right;
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aiui-chat .chat-history ul {
	margin: 1rem;
	padding: 0;
}

.aiui-chat .chat-history .message-data {
	align-items: center;
	font-size: 14px;
	margin-bottom: 0.75rem;
}

.aiui-chat .chat-history .message-data .copy-message {
	border: 0;
	padding: 0;
	color: var(--bs-gray-700);
	cursor: pointer;
	height: 2.5rem;
	width: 2.5rem;
}

.aiui-chat .chat-history .message-data .copy-message-hide {
	display: none;
}

.aiui-chat .chat-history .message-data .copy-message-hide :hover {
	color: var(--bs-gray-900);
	background-color: var(--botColor);
}

.aiui-chat .chat-history .message-data-name {
	align-items: center;
}

.aiui-chat .chat-history .message-data-time {
	color: var(--bs-gray-600);
}

.aiui-chat .chat-history .bot-data {
	width: calc(100% - 1.5rem);
}

.aiui-chat .chat-history .bot-data::before {
	background-color: var(--bs-secondary);
	content: "";
	border-radius: 50%;
	display: inline-block;
	margin-right: 0.125rem;
	height: 0.5rem;
	width: 0.5rem;
}

.aiui-chat .chat-history .user-data::after {
	background-color: var(--bs-cyan);
	content: "";
	border-radius: 50%;
	display: inline-block;
	margin-left: 0.125rem;
	height: 0.5rem;
	width: 0.5rem;
}

.aiui-chat .chat-history .bot-message {
	background: var(--botColor);
}

.aiui-chat .chat-history .bot-message::after {
	border-bottom-color: var(--botColor);
	left: 1.25rem;
}

.aiui-chat .chat-history .bot-message button {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	margin-top: 1rem;
	white-space: normal;
}

.aiui-chat .chat-history .bot-message button:not([disabled]) {
	cursor: pointer;
	/*&:hover,
                    &:focus {
                        border: 1px solid transparent;
                        outline: .25rem solid white;
                    }*/
}

.aiui-chat .chat-history .bot-message button[disabled] {
	border-color: var(--bs-gray-500);
	cursor: initial;
	margin-top: 0.375rem;
	padding: 0.125rem 0.25rem;
	color: var(--bs-gray-600);
}

.aiui-chat .chat-history .bot-message button .postback {
	display: none;
}

.aiui-chat .chat-history .bot-message button.reaction {
	text-transform: none !important;
}

.aiui-chat .chat-history .bot-message button.reaction .additionalInformation {
	color: var(--bs-gray-400);
	font-size: 0.750rem;
}

.aiui-chat .chat-history .bot-message button.reaction[disabled] .additionalInformation {
	color: var(--bs-gray-600);
}

.aiui-chat .chat-history .bot-message .llmSentence {
	border: 2px solid transparent;
	border-radius: 0.5rem;
	border-left: 0.5rem solid transparent;
	cursor: url("../img/pin-alt.svg"), auto;
	padding: 0.5rem;
	padding-left: 1rem;
	transition: all .25s ease-in-out;
}

.aiui-chat .chat-history .bot-message .llmSentence.highlight {
	background-color: white;
	border-radius: 0.5rem;
	border-left-color: #01a2b980;
	color: var(--bs-gray-900);
}

.aiui-chat .chat-history .bot-message .llmSentence.pinned::before {
	content: url(../img/pin-solid.svg);
	background-color: #01a2b91a;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	float: right;
	margin-bottom: 0.625rem;
	margin-left: 0.625rem;
	padding-top: 0.25rem;
	top: 0.25rem;
	height: 2.25rem;
	width: 2.25rem;
}

.aiui-chat .chat-history .bot-message.bot-msg-replay:hover {
	cursor: pointer;
}

.aiui-chat .chat-history .bot-message.bot-msg-replay::before {
	content: "\e970";
	color: var(--bs-cyan);
	font-family: "iconfont";
	font-size: 1.25rem;
	background-color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	float: right;
	margin-bottom: 0.625rem;
	margin-left: 0.625rem;
	top: 0;
	height: 2.25rem;
	width: 2.25rem;
	pointer-events: none;
}

.aiui-chat .chat-history .user-message {
	background: var(--userColor);
	border: 0.0625rem solid var(--userColor);
	color: var(--bs-gray-900);
	float: right;
}

.aiui-chat .chat-history .user-message::after {
	border-bottom-color: var(--userColor);
	border-width: 0 0 0.75rem 0.75rem;
	left: calc(100% - 2rem);
}

.aiui-chat .online,
.offline,
.me {
	margin-right: 3px;
	font-size: 10px;
}

.aiui-chat .writing {
	text-align: center;
}

.aiui-chat .writing .spinner-grow {
	height: 0.7rem !important;
	width: 0.7rem !important;
}

.aiui-chat .chat-message {
	--message-Height: 5.5rem;
	--sendButton-Width: 3rem;
	flex: 0 1 auto;
	padding: 0;
}

.aiui-chat .chat-message textarea {
	max-height: var(--message-Height);
	overflow-y: auto;
	padding-bottom: 2rem;
	resize: none;
	scrollbar-width: thin;
	transition: height 0.15s;
}

.aiui-chat .chat-message textarea::-webkit-scrollbar {
	width: 6px;
}

.aiui-chat .chat-message textarea::-webkit-scrollbar-track {
	background: transparent;
}

.aiui-chat .chat-message textarea::-webkit-scrollbar-thumb {
	background-color: rgba(210, 210, 210, 0.5);
	border-radius: 6px;
	border: transparent;
}

.aiui-chat .chat-message textarea:disabled + .chat-message-btn {
	background-color: var(--bs-gray-200) !important;
}

.aiui-chat .chat-message-btn {
	background-color: white;
	border-bottom-left-radius: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	bottom: 1.0625rem;
	height: 2.25rem;
	margin-left: 0.0625rem;
	position: absolute;
	width: calc(100% - 46px);
}

.aiui-chat .chat-message-btn .send {
	border: 0;
	color: var(--bs-gray-700);
	cursor: pointer;
	height: 2.25rem;
	width: var(--sendButton-Width);
	max-width: var(--sendButton-Width);
}

.aiui-chat .chat-message-btn .send:hover, .aiui-chat .chat-message-btn .send:focus {
	color: var(--bs-gray-900);
}

.aiui-chat .chat-message-btn .send .icon-paper-plane {
	display: inline-block;
	transform: rotate(45deg);
}

.aiui-chat .chat-message-btn .chat-message-placeholder {
	border: 0;
	color: var(--bs-gray-700);
	height: 2.25rem;
	width: var(--sendButton-Width);
	max-width: var(--sendButton-Width);
}

.aiui-chat .chat-message-btn .ai-counter {
	font-size: 0.875rem;
	color: #999999;
	height: 100%;
	align-content: center;
}

.aiui-chat .chat-message-btn .ai-counter span:first-child {
	color: #2f4858;
}

.new-chat {
	top: -2.35rem;
	left: 1rem;
}

.new-chat [class*="icon-"] {
	font-size: 24px;
}

.new-chat .new-topic {
	border-radius: 50%;
	height: 3rem;
	width: 3rem;
}

.snippetFilters {
	box-shadow: 0 1rem 1rem -1rem rgba(0, 0, 0, 0.16);
}

.llmDocumentSnippets .snippet-highlight {
	display: flex;
}

.llmDocumentSnippets .snippet-highlight::before {
	content: "";
	background-color: var(--bs-info);
	border-radius: 0.25rem;
	margin-right: 1rem;
	opacity: 0.5;
	width: 0.5rem;
}

.llmDocumentSnippets .snippet-highlight > div {
	width: calc(100% - 1.5rem);
}

/* Feedback */
.ai-feedback {
	color: var(--bs-gray-700);
}

.ai-feedback .ai-rating {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}

.ai-feedback .ai-rating > input {
	display: none;
}

.ai-feedback .ai-rating > label {
	position: relative;
	width: 1.5rem;
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--bs-orange);
	cursor: pointer;
}

.ai-feedback .ai-rating > label::before {
	content: "\2605";
	position: absolute;
	opacity: 0;
}

.ai-feedback .ai-rating > label:hover:before,
.ai-feedback .ai-rating > label:hover ~ label:before {
	opacity: 1 !important;
}

.ai-feedback .ai-rating > input:checked ~ label:before {
	opacity: 1;
}

.ai-feedback .ai-rating:hover > input:checked ~ label:before {
	opacity: 0.4;
}

.ai-feedback .form-label {
	font-size: 0.875rem;
	font-weight: 300;
}

.aiui-welcome {
	--borderColor: white;
	--borderSize: 0.25rem;
	--backColor: #eef2f6;
	border: 2px solid var(--backColor);
	border-radius: 1rem;
	font-family: Abel, 'Arial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	display: flex;
	flex-flow: column;
	flex-direction: column;
	background: var(--backColor);
	color: var(--bs-body-color);
	max-height: 100%;
	height: 100%;
}

.aiui-welcome .ad-desc {
	background-color: var(--bs-primary);
	color: white;
}

.aiui-welcome-container {
	overflow: auto;
	height: 100%;
}

.aiui-welcome-sample-button {
	min-height: 4rem;
	width: 100%;
	white-space: normal !important;
	margin-bottom: 1rem;
	text-transform: none !important;
}

.aiui-welcome-image-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.aiui-welcome-image-container > img {
	width: 80%;
}

/* Feedback : END */
.custom-range .form-label {
	font-size: 0.625rem;
	margin-bottom: 0;
}

.docSnippetsToolbar {
	box-shadow: 0 1rem 1rem -1rem rgba(0, 0, 0, 0.16);
	position: sticky;
	top: 0;
	z-index: 100 !important;
}

.custom-range {
	margin-top: -0.625rem;
}

.form-range {
	margin-top: -0.625rem;
	position: relative;
}

.form-range::after {
	content: "";
	background-color: var(--bs-primary);
	border-radius: 0.25rem;
	height: 0.375rem;
	left: 0.0625rem;
	position: absolute;
	top: 0.5rem;
}

.form-range[value="0"]::after {
	width: 0;
}

.form-range[value="1"]::after {
	width: 25%;
}

.form-range[value="2"]::after {
	width: 50%;
}

.form-range[value="3"]::after {
	width: 75%;
}

.form-range[value="4"]::after {
	width: calc(100% - 0.125rem);
}

.form-range-scale {
	display: flex;
	justify-content: space-between;
	margin-top: -0.5rem;
}

.form-range-item {
	font-size: 0.625rem;
	/*margin-left: 0.5rem;

        &:nth-child(2) {
            margin-left: 0.25rem;
        }

        &:nth-child(3) {
            margin-left: -0.0625rem;
        }

        &:nth-child(4) {
            margin-left: -0.125rem;
        }*/
	position: relative;
	width: 20%;
}

.form-range-item:not(:last-child)::before {
	content: "";
	background-color: var(--bs-gray-600);
	display: inline-block;
	height: 83%;
	position: absolute;
	top: -0.625rem;
	width: 0.0625rem;
	z-index: -1;
}

.form-range-item:nth-child(1) {
	text-align: left;
}

.form-range-item:nth-child(1)::before {
	left: 7px;
}

.form-range-item:nth-child(2)::before {
	left: 17px;
}

.form-range-item:nth-child(3) {
	text-align: center;
}

.form-range-item:nth-child(3)::before {
	left: 50%;
	transform: translateX(-50%);
}

.form-range-item:nth-child(4) {
	text-align: right;
}

.form-range-item:nth-child(4)::before {
	right: 15px;
}

.form-range-item:last-child {
	text-align: right;
}

.form-range-item:last-child::after {
	content: "";
	background-color: var(--bs-gray-600);
	display: inline-block;
	height: 83%;
	position: relative;
	right: 7px;
	top: -0.625rem;
	width: 0.0625rem;
	z-index: -1;
}

/*# sourceMappingURL=AiUiDialogue.css.map */
