@font-face {
	font-family: SiemensGlobal;
	src: url('../fonts/siemens_global_roman.ttf');
}

@font-face {
	font-family: SiemensGlobal;
	src: url('../fonts/siemens_global_bold.ttf');
	font-weight: bold;
}

html, body {
	font-size: 12px;
}

.lhc_livechat_container {
	background: #F8FAFB;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.sie-logo-container {
	padding: 12px 48px;
    background: linear-gradient(316deg, #095A84 0%, #13B0A3 100%);
    background-image: url('../img/background-top.png');
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: cover;
}

.sie-logo-container img {
	width: 132px;
}

.sie-logo-container h3 {
	font-size: 20px;
	color: #FFFFFF;
	line-height: 48px;
	margin-left: 24px;
    display: inline;
    vertical-align: middle;
}

.sie-logo-container a {
	font-size: 16px; 
	color: #FBFBFB; 	
	position: absolute;
	right: 30px;
	background-color: #15879fa8;
	padding: 2px 10px 2px 10px;
	top: 24px;
}

.top-banner-text {
	font-weight: 400;
	color: #B8813B;
	vertical-align: middle;
	font-size: 12px;
	line-height: 32px;
}

a, .message-row a {
	color: #019999;
	font-size: 14px;
}

.semDynamicListMenu a {
	color: #2A2A2A;
}

.message-row a {
	text-align: left;
	word-break: break-all;
}

#lhc_livechat {
	margin: 0;
}

.top {
	display: none;
}

.top-banner {
	padding: 0 48px;
	line-height: 32px;
}

.top-banner.show {
	height: 32px;
	min-height: 32px;
}

.top-banner a {
	font-size: 12px;
}

.top-banner img {
	width: 14px;
	height: 14px;
	margin-right: 4px;
}

.top-banner-bg {
	background: #FBF4EB;
}

.robot-avatar {
	width: 32px;
	height: 32px;
}

.chat-wrapper {
	background: #EFF2F6;
}

.chat-quickreplies-container {
}

.chat-message-container {
	padding: 0 48px;
	background: url('../img/background-mid.png');
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: right;
}

.message-row.by-robot {
	min-height: unset;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	overflow: visible;
}

.message-row.by-robot .msg {
	background: #FFFFFF;
	border-radius: 0px 8px 8px 8px;
}

.message-row.by-robot .msg-content-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.message-row.by-robot .msg-content-container .msg-content {
	flex-grow: 1;
	flex-shrink: 1;
	width: 430px;
	line-height: 24px;
}

.message-row.by-robot .msg-content {
	margin: 0 0 0 8px;
}

.message-row.by-robot .msg-content.msg-text {
	/* max-width: 430px; */
	/* align-self: flex-end; */
}

.message-row.by-user.hidden-message {
	height: 0;
}

.message-row.by-user .msg {
	border-radius: 8px 0px 8px 8px;
}

.message-row {
	margin-bottom: 12px;
}

.msg-content p {
	margin: 0;
}

.swiper-control-button {
	display: none;
}

.buttons-message-container {
	margin: 0;
    overflow-x: auto;
}

.buttons-message-container .question-clickable, .buttons-message-container li {
	color: #2A2A2A;
}

.buttons-message-block .img-wrapper {
	border: none;
}

.buttons-message-container .options {
	margin: 0;
}

.buttons-message-container .options li, .buttons-message-container li {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	border: none;
	position: relative;
}

.buttons-message-container .options li:first-child:before {
	content: unset;
}

.buttons-message-container .options li:before {
	content: '';
	position: absolute;
	top: -1px;
	left: 4%;
	right: 0;
	height: 1px;
	background: #E4E4E4;
}

.buttons-message-block {
	width: 210px;
	min-width: 210px;
	display: grid;
    grid-template-columns: 210px;
    grid-template-rows: auto 1fr;
    grid-gap: 0;
    padding: 0;
}

.buttons-message-block ul {
	border: none;
	align-self: start;
	margin: 0;
}

.buttons-message-block .img-wrapper {	
	height: 76px;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.buttons-message-block .img-wrapper img {	
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buttons-message-block .img-wrapper + .description {
	margin: 0;
}

.buttons-message-block .description {
	border: none;
	grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin: 0;
    background: rgba(0, 0, 0, .5);
}

.buttons-message-block .description, .buttons-message-block .description h4 {
	color: #E8E8E8;
	font-weight: bold;
}

/* semDynamicListMenu */

.semDynamicListMenu .buttons-message-block ul {
	border-radius: 0 0 8px 8px;
}

.semDynamicListMenu .buttons-message-block {
	width: 430px;
	min-width: 430px;
	display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-gap: 0;
}

.semDynamicListMenu .buttons-message-block .description {
	padding: 6px 8px;
	border-radius: 8px 8px 0 0;
	min-height: 30px;
	color: #019999;
	font-size: 16px;
	background: white !important;
	border-bottom: 1px solid #DAE7EC;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.semDynamicListMenu .buttons-message-block .description, .buttons-message-block .description h4 {
	color: #019999;
}

.semDynamicListMenu .buttons-message-container .options {
	position: relative;
	padding-bottom: 8px;
}

.semDynamicListMenu .buttons-message-container .options li:before, .semDynamicListMenu .buttons-message-block li:before {
	content: unset;
}

.semDynamicListMenu .buttons-message-container .options li:after, .semDynamicListMenu .buttons-message-block li:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 8px;
	right: 8px;
	height: 0;
	border-bottom: 1px dashed #DAE7EC;
	background: unset;
}

.semDynamicListMenu .buttons-message-block ul li {
	border: none;
	padding: 7px 8px;
}

.semDynamicListMenu .buttons-message-block ul {
	padding-bottom: 8px;
}

.semDynamicListMenu.largeAmountItems .buttons-message-block ul {
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 0;
}

.allowTwoItemsMenu .semDynamicListMenu.twoItems .buttons-message-block .description h4 {
	color: #2A2A2A;
}

.allowTwoItemsMenu .semDynamicListMenu.twoItems .buttons-message-block ul {
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 0;
    padding: 0;
}

.allowTwoItemsMenu .semDynamicListMenu.twoItems .buttons-message-block ul li {
	justify-content: center;
	color: #019999;
}

.allowTwoItemsMenu .semDynamicListMenu.twoItems .buttons-message-block ul li:first-child {
	border-right: 1px solid black;
}

.allowTwoItemsMenu .semDynamicListMenu.twoItems .buttons-message-block ul li:after {
	content: unset;
}

.allowTwoItemsMenu .semDynamicListMenu.twoItems .buttons-message-block ul li svg {
	display: none;
}

.semDynamicListMenu .img-wrapper + .description {
	opacity: .87;
}

/* end of semDynamicListMenu */

.ChatMessageFeedback {
	margin-left: 38px;
}

.chat-messages {
	width: 99%;
}

/* quick replies */
.form-control-round {
	background: #FFF;
	border: none;
	border-radius: 15px !important;
	color: #0098A6;
	margin-left: 8px;
	font-weight: 400;
}

.form-control-round:first-child {
	margin-left: 0;
}

.quickreplies-message-block ul {
	padding: 0;
}

.quickreplies-container {
	margin-left: 96px;
}

.quickreplies-container .form-control-round {
    white-space: nowrap;
    flex-grow: 0;
    flex-shrink: 0;
}
/* end of quick replies */

/* chat input */
.chat-input-container {
	padding: 0;
	border-radius: unset;
	height: unset;
	width: 100%;
	display: flex;
	flex-shrink: 0;
	position: relative;
}

.chat-input-form {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-shrink: 1;
	margin: 0px 3px;
	padding: 10px 8px;
}

.chat-input-form .txt_input {
	font-size: 1rem;
}

#CSChatMessage {
	flex-grow: 1;
	flex-shrink: 1;
	width: unset;
	height: unset;
	border: none;
	border-radius: unset;
	padding: 0;
	resize: none;
}

#btnSendCSChatMessage {
	background: unset;
	color: #0098A6;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	width: 40px;
	height: 40px;
}

.btn_send_icon {
	width: 24px;
	height: 24px;
	background-image: url('../img/sie-send.png');
	background-position: center;
	flex-grow: 0;
	flex-shrink: 0;
	margin-right: 4px;
}

.btn-loading {
	width: 12px;
    height: 16px;
    margin-left: 8px;
    display: none;	
}

.chat-input-buttons {
	margin: 0;
	display: none;
}

.voice-input-panel-btn {
	display: none;
}
/* end of chat input */

.description:empty {
	display: none;
}

.buttons-message-block .message-box {
	margin: 0;
	background: #FFFFFF;
}

dl, ol, ul {
	margin-bottom: 8px;
}

.templateTwoColumn-column {
	display: inline-block;
}

.message-datetime  {
	display: none;
	margin: 8px 0 0 8px;
}

.avatar-wrapper {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.avatar-wrapper span {
	color: #2A2A2A;
	font-size: 14px;
}

.by-robot .avatar-wrapper {
	visibility: hidden;
	height: 0;
}

/* global message row */
.message-row .msg {
	font-size: 14px;
}
/* end of global message row */

/* user message row */
.message-row.by-user {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;	
}

.user-avatar {
	width: 32px;
	height: 32px;
}

.by-user .msg-container {
	margin-right: 8px;
}

.by-user .message-datetime {
	display: block;
	margin-right: 0;
}
/* end of user message row */

.history_first_msg .avatar-wrapper {
	visibility: visible;
	display: flex;
	height: auto;
}

.history_last_msg .message-datetime {
	display: block;
}

.chat-quickreplies {
	display: flex;
	flex-direction: column;
}

.fixed-quickreplies-container {
	order: 4413;
}

.ChatMessageFeedback {
	margin: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;	
}

/* start of feedback buttons */

.icon-helpful-ns {
	background-color: white;
	background-image: url('../img/sie-feedback-positive.png');
	background-repeat: no-repeat;
	background-position: center;
}

.clicked-helpful .icon-helpful-ns {
	background-image: url('../img/sie-feedback-positive-clicked.png');
}

.clicked-helpless .icon-helpful-ns {
	display: none;
}

.feedback-clicked-container {
	margin-top: 8px;
}

.feedback-clicked-container .message-row {
	margin: 0;
}

.feedback-clicked-container .feedback-clicked-positive, .feedback-clicked-container .feedback-clicked-negative {
	display: none;
}

.clicked-helpful .feedback-clicked-container .feedback-clicked-positive {
	display: block;
}

.clicked-helpless .feedback-clicked-container .feedback-clicked-negative {
	display: block;
}

.icon-helpless-ns {
	background-color: white;
	background-image: url('../img/sie-feedback-negative.png');
	background-repeat: no-repeat;
	background-position: center;
}

.clicked-helpful .icon-helpless-ns {
	display: none;
}

.clicked-helpless .icon-helpless-ns {
	background-image: url('../img/sie-feedback-nagative-clicked.png');
}

.clicked-helpful .icon-helpful-ns, .clicked-helpless .icon-helpless-ns {
	color: #019999;
}

.helpful_font {
	width: 30px;
	height: 30px;
	margin: 4px 4px 0 4px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* end of feedback buttons */

/* quick menu */
.icon-block-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
}

.icon-block {
	margin: 0;
	width: unset;
	height: unset;
}

.sidebar {
	width: 360px;
}

.sidebar-wrapper {
	background: white;
}

.sidebar .tabs {
	border-bottom: none;
}

.sidebar .tab {
	font-size: 16px;
	font-weight: 400;
}

.sidebar .tab.active {
	color: #0098A6;
	font-weight: 600;
}

.sidebar .tab.active:after {
	background-color: #0098A6;
	bottom: 12px;
}
/* end of quick menu */

/* start of last msg margin */
.last_msg {
	margin-bottom: var(--last-msg-margin);
}
/* end of last msg margin */

/* start of font-size adjustment */
.question-clickable {
	font-size: 1rem;
}
/* end of font-size adjustment */

/* start of select once */
.selectOnce.selected .question-clickable {
	color: black;
	cursor: not-allowed;
	opacity: 0.5;
	text-decoration: none;
	pointer-events: none;
}

.selectOnce.selected .semDynamicListMenu.twoItems .buttons-message-block ul li {
	color: black;
}
/* end of select once */

/* start of changed product line */

.changedProductLine.message-row a,
.changedProductLine.message-row .question-clickable {
	color: black;
	cursor: not-allowed;
	opacity: 0.5;
	text-decoration: none;
	pointer-events: none;
}

/* end of changed product line */

/* start of oso icon */
.OSOIcon-container {
	display: inline-flex;
    background: #019999;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    justify-content: center;
    align-items: center;
    margin: 0 4px;
}

.OSOIcon-container img, .buttons-message-block .OSOIcon-container img {
	width: 18px;
}

.description h4 {
	display: flex;
	align-items: center;
}
/* end of oso icon */

/* starts of imagemap */
.buttons-message-block img {
	width: 430px;
}
/* end of imagemap */

/* TODO: add style for mobile */

@media (max-width: 800px) {
	/* start of hack for mobile scrollbar */
	.ProductSelector-products-container::-webkit-scrollbar {
	    width: 5px;
	    height: 2px;
	    background-color: #aaa;
	}
	
	.ProductSelector-products-container::-webkit-scrollbar-thumb {
		background: #000;
	}
	/* end of hack for mobile scrollbar */
	/* header */
	.sie-logo-container {
		margin: 0;
		padding: 8px 12px;
		background: white;
		position: relative;
	}
	
	.sie-logo-container:before {
		content: '';
		background-image: url('../img/sie-logo-green.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: left center;
		position: absolute;
		top: 8px;
		right: 0;
		bottom: 8px;
		left: 8px;		
	}
	
	.sie-logo-container img {
		visibility: hidden;
	}
	
	.sie-logo-container h3 {
		display: none;
	}
	
	.sie-logo-container a {
		font-size: 12px; 
		color: #049a9a; 
		position: absolute;
		line-height: 20px;
		right: 10px;
		top: 10px;
		background-color: white;
	}
	
	/* end of header */
	
	#lhc_livechat {
		margin: 0;
	}
	
	.chat-input-container {
		height: unset;
	}
	
	.chat-input-form {
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 0 0 0 8px;
		margin: 0;
	}
	
	#CSChatMessage {
		width: calc(100% - 70px);
	}
	
	.quickreplies-container {
		margin: -6px 10px;
		max-width: 100vw;
		overflow-x: auto;
	}
	
	.quickreplies-message-block ul {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	
	.chat-message-container {
		padding: 0 12px;
	}
	
	.buttons-message-container {
		padding-right: 0;
	}
	
	.semDynamicListMenu .buttons-message-block {
		width: calc(100vw - 99px);
		min-width: 180px;
	}
	
	/* chat input */
	.chat-input-buttons {
		display: block;
		order: 4413;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0 10px 0 0;
	}
	/* end of chat input */
	
	/* mobile menu button */
	.chat-input-buttons button {
		border: none;
		border-radius: none;
		width: 24px;
		height: 24px;
	}
	
	.mobile-menu-btn {
		background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%2329A8B3" class="bi bi-three-dots-vertical" viewBox="0 0 16 16"><path d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/></svg>');
		background-position: center center;
	} 
	/* end of mobile menu button */
	
	/* quick menu */
	.icon-block-container {
		grid-gap: 0;
	}
	/* end of quick menu */
	
	/* start of robot message row */
	.message-row.by-robot .msg-content-container .msg-content {
		flex-shrink: 1;
		width: calc(100vw - 99px);
	}
	/* end of robot message row */
	
	/* starts of imagemap */
	.buttons-message-block img {
		width: calc(100vw - 99px);
	}
	/* end of imagemap */		
}