/*
 * -----------------------------------------------------------------------------
 *  Lucom Interaction Platform
 *  (C) Lucom GmbH, Erkrath. All rights reserved.
 * -----------------------------------------------------------------------------
 */


/* -------------------------------------------------------------- viewEmbeddings
*/

.viewEmbeddings {
	position: relative;
	font-size: 11pt;
	line-height: 20px;
	cursor: default;
	font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;
	color: #1A181B;
}

.viewEmbedding .headlineWrapper {
	grid-row: 1;
	grid-column: 2;
	display: flex;
	align-items: end;
	min-height: 46px;
	margin-right: 30px;
}

.viewEmbedding .headlinePlaceholder {
	grid-row: 1;
	grid-column: 2;
	height: 10px;
}

#lip_formBean .form div.formControl.lip_error-notifications-label h3,
.viewEmbedding .headline {
	margin: 0;
	font-size: 18px;
	color: #1A181B;
	font-weight: bold;
}

#lip_formBean .form div.formControl.lip_error-notifications-label h3 {
	margin: 10px 0 0;
}

#lip_formBean .form div.formControl.lip_error-notifications-label {
	padding: 20px;
}

#lip_formBean .form div.formControl.lip_error-notifications-label.componentWrapper {
	padding: 0;
}

#lip_formBean .form .componentWrapper div.formControl.lip_error-notifications-label {
	border: 0;
	margin: 0;
	padding: 0;
}

#lip_formBean .form div.formControl.lip_error-notifications-label,
.viewEmbedding {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-row-gap: 10px;
	border-width: 1px;
	border-style: solid;
	border-radius: 3px;
	margin: 15px auto;
}

.viewEmbedding .buttons.displayNone,
.viewEmbedding .displayNone {
	display: none;
}

#lip_formBean .form div.formControl.lip_error-notifications-label .lip_error-notifications-label,
.viewEmbedding .body {
	grid-row: 2;
	grid-column: 2;
	width: 100%;
	padding: 0 20px 0 0;
	overflow:visible
}

.viewEmbedding .body .text {
	padding-right: 20px;
	display: inline-block;
}

.viewEmbedding .body input[type="text"] {
	padding: 5px;
}

.viewEmbedding .buttons button {
	cursor: pointer;
	padding: 10px 20px;
	margin-right: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
	border-radius: 3px;
	color: #1A181B;
	fill: #1A181B;
	background-color: #FFFFFF;
	border: #DCDCDC 1px solid;
	text-decoration: none;
}

.viewEmbedding .close button:focus,
.viewEmbedding .close button:hover,
.viewEmbedding .buttons button:hover,
.viewEmbedding .buttons button:focus {
	outline: none;
	filter: none;
	border: #CCCCCC 1px solid;
	box-shadow: 0 0 0 2px #1A181B;
	text-decoration: underline;
}

.viewEmbedding .close button:focus,
.viewEmbedding .close button:hover {
	border: none;
}

.viewEmbedding .close button:hover,
.viewEmbedding .buttons button:hover {
	background-color: #EEEEEE;
}

.viewEmbedding .buttons button.displayNone {
	display: none;
}

.viewEmbedding .buttons button svg,
.viewEmbedding .buttons button img {
	height: 100%;
	width: 25px;
}

/*Content of Buttons sometimes caught click event*/
.viewEmbedding .buttons button svg,
.viewEmbedding .buttons button img,
.viewEmbedding .buttons button span {
	pointer-events: none;
}

.viewEmbedding .buttonsPlaceholder {
	pointer-events: none;
	min-height: 10px;
	grid-column: 2;
	grid-row: 3;
}

.viewEmbedding .close {
	position: relative;

}

.viewEmbedding .close button {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 24px;
	height: 24px;
	cursor: pointer;
	border-radius: 3px;
	padding: 0;
	border: 0;
	background: transparent;
}

.viewEmbedding .close svg {
	width: 100%;
	height: 100%;
	fill: #1A181B;
}

#lip_formBean .form div.formControl.lip_error-notifications-label a,
.viewEmbedding a {
	color: #1A181B;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	padding: 2px;
}

#lip_formBean .form div.formControl.lip_error-notifications-label a:hover,
.viewEmbedding a:hover {
	text-decoration: underline;
}

#lip_formBean .form div.formControl.lip_error-notifications-label a:focus,
#lip_formBean .form div.formControl.lip_error-notifications-label a:focus-within,
.viewEmbedding a:focus,
.viewEmbedding a:focus-within {
	outline: none;
	box-shadow: inset 0 0 0 1px #1A181B;
	text-decoration: underline;
}

.viewEmbedding .text .textIcon {
	padding: 3px;
	vertical-align: middle;
}

#lip_formBean .form div.formControl.lip_error-notifications-label .lip_icon,
.viewEmbedding .icon {
	width: 100px;
	padding: 0 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	grid-column: 1;
	grid-row: 1 /span 3;
	border-left: 30px solid;
}

#lip_formBean .form div.formControl.lip_error-notifications-label {
	border-left: 30px solid;
}

#lip_formBean .form div.formControl.lip_error-notifications-label .lip_icon {
	border-left: 0;
}

#lip_formBean .form div.formControl.lip_error-notifications-label .lip_icon svg,
.viewEmbedding .icon svg {
	width: 36px;
	height: 36px;
}

#lip_formBean .form div.formControl.lip_error-notifications-label .lip_icon span,
#lip_formBean .form div.formControl.lip_error-notifications-label .lip_icon span svg,
.viewEmbedding .icon img {
	width: 36px;
	height: 36px;
}

.viewEmbedding .buttons {
	width: 100%;
	grid-row: 3;
	grid-column: 2;
	display: flex;
	justify-content: start;
	min-height: 52px;
	flex-wrap: wrap;
}

.lip_modalWindow .viewEmbedding {
	margin: 20px 50px;
	max-width: 800px;
}

.viewEmbedding .body.closable {
	padding-right: 15px;
}

/* ---------------------------------------------------------- message embeddings
*/

.viewEmbedding.message {
	background-color: #FFFFFF;
	border-color: #3572B0;
}

.viewEmbedding.message .icon {
	fill: #3572B0;
	border-color: #3572B0;
}

.viewEmbedding.message .buttons button.primary {
	border-color: #3572B0;
}


/* --------------------------------------------------------- question embeddings
*/

.viewEmbedding.confirm,
.viewEmbedding.question {
	background-color: #FFFFFF;
	border-color: #F6C342;
}

.viewEmbedding.confirm .icon,
.viewEmbedding.question .icon {
	fill: #F6C342;
	border-color: #F6C342;
}

.viewEmbedding.confirm .body a,
.viewEmbedding.question .body a {
	color: #1A181B;
	text-decoration: underline;
	font-weight: normal;
}

.viewEmbedding.confirm .buttons button.primary ,
.viewEmbedding.question .buttons button.primary {
	border-color: #F6C342;
}


	/* ---------------------------------------------------- error message embeddings / segment error messages / outOfSync error messages
	*/
#lip_formBean .form div.formControl.lip_error-notifications-label,
.viewEmbedding.outOfSync,
.viewEmbedding.error {
	background-color: #FFFFFF;
	color: #1A181B;
	border-color: #BC4949;
	font-weight: normal;
}

#lip_formBean .form div.formControl.lip_error-notifications-label .lip_icon svg,
.viewEmbedding.outOfSync .icon,
.viewEmbedding.error .icon {
	fill: #BC4949;
	border-color: #BC4949;
}

#lip_formBean .form div.formControl.lip_error-notifications-label ul,
.viewEmbedding.error .body {
	box-sizing: border-box;
	overflow: auto;
	padding-left: 0;
	margin-bottom: 0;
}

.viewEmbedding.error .body.grow {
	max-height: none;
}

.viewEmbedding.error .simple {
	padding: 5px;
}

#lip_formBean .form div.formControl.lip_error-notifications-label li,
.viewEmbedding.error .body li {
	list-style: outside;
	margin-left: 1.5rem;
	margin-bottom: .5rem;
}

#lip_formBean .form div.formControl.lip_error-notifications-label li a,
.viewEmbedding.error .errorLink {
	display: inline-block;
	vertical-align: top;
	color: #1A181B;
	text-decoration: none;
	font-weight: normal;
}

#lip_formBean .form div.formControl.lip_error-notifications-label li a,
.viewEmbedding.error .errorLink a {
	font-size: 11pt;
	overflow-wrap: anywhere;
	hyphens: auto;

	outline: none;

	background-color: #FFFFFF;
	font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
}

.viewEmbedding.error .errorLink .image,
.viewEmbedding.error .errorText .image {
	padding-left: 5px;
	margin: 1px;
	vertical-align: middle;
}


#lip_formBean .form div.formControl.lip_error-notifications-label li a:hover,
#lip_formBean .form div.formControl.lip_error-notifications-label li a:focus,
.viewEmbedding.error .errorLink:hover,
.viewEmbedding.error .errorLink:hover a,
.viewEmbedding.error .errorLink:focus,
.viewEmbedding.error .errorLink:focus a {
	cursor: pointer;
}


.viewEmbedding.error .errorLink:hover span,
.viewEmbedding.error .errorLink:focus span {
	text-decoration: none;
}

#lip_formBean .form div.formControl.lip_error-notifications-label li a:hover,
#lip_formBean .form div.formControl.lip_error-notifications-label li a:focus,
.viewEmbedding.error .errorLink:hover a,
.viewEmbedding.error .errorLink:focus a,
.viewEmbedding.error .errorLink a:focus,
.viewEmbedding.error .errorLink a:hover {
	text-decoration: underline;
}

.viewEmbedding.error .errorText {
	line-height: 22px;
	margin: 0;
	white-space: normal;
	display: inline-block;

	color: #1A181B;
	text-decoration: none;
	font-weight: normal;
}

.viewEmbedding.error .buttons button.primary {
	border-color: #BC4949;
}


/* ----------------------------------------------- viewEmbeddings default styles
*/

.viewEmbedding.ok {
	background-color: #FFFFFF;
	color: #1A181B;
	border-color: #3D8700;
	font-weight: normal;
}

.viewEmbedding.ok .icon {
	fill: #3D8700;
	border-color: #3D8700;
}

.viewEmbedding.ok .buttons button.primary {
	border-color: #3D8700;
}


/* ------------------------------------------------- attachment error embeddings
*/

.viewEmbedding.attachmentError {
	margin-top: 3px;
	margin-bottom: 3px;
	color: #1A181B;
	background-color: #FFFFFF;
	font-weight: normal;
}

.viewEmbedding.attachmentError .text {
	padding: 0;
}

.viewEmbedding.attachmentError ul {
	padding-bottom: 2px;
	padding-top: 2px;
	margin-bottom: 0;
	margin-top: 0;
}

.viewEmbedding.attachmentError .body {
	padding-left: 5px;
}

.viewEmbedding.attachmentError .fixedToolbar {
	max-height: calc(3 * 1.5rem + .5rem);
	overflow: auto;
}

.viewEmbedding .fixedToolbar {
	max-height: calc((3 * (24px + 0.5rem)) + .5rem);
	overflow: auto;
	position: relative;
}

.viewEmbedding .fixedToolbar::after {
	content: '';
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1.5rem;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	pointer-events: none;
	display: block;
}

.viewEmbedding.attachmentError .errorText {
	color: #1A181B;
	text-decoration: none;
	font-weight: normal;
}

.viewEmbedding.attachmentError .errorText img {
	vertical-align: top;
	padding-left: 0;
}

.viewEmbedding.attachmentError .errorText span {
	padding-left: 10px;
}

/* ------------------------------------------------- warn embeddings
*/

.viewEmbedding.warn {
	background-color: #FFFFFF;
	border-color: #F6C342;
}

.viewEmbedding.warn .icon {
	fill: #F6C342;
	border-color: #F6C342;
}

.viewEmbedding.warn .buttons button.primary {
	border-color: #F6C342;
}
