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

/* ----------------------------------------------------------------------- fonts
*/

/* ----------------------------------------------------------------- base styles
*/

body {
	display: flex;
}

.main-content.container {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	height: 100%;
	justify-content: flex-start;
	width: 100%;
}

.withBGImage {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 0;
	background-image: url('../../images/theme/login.jpg');
}

.login {
	border-radius: 5px;
	border-style: solid;
	border-width: 1px;
	direction: ltr;
	font-size: 16px;
	min-width: 250px;
	margin: 20px auto;
	max-height: calc(100% - 40px);
	padding: 20px 50px;
	text-decoration: none;
	width: 100%;
	word-spacing: 0;

	max-width: 700px;
	background-color: #FFFFFFE6;
	border-color: #CCCCCC;
	box-shadow: 2px 2px 4px 0 #00000040;
}

.login ul {
	margin: 0;
	padding: 0;
}

.login li {
	list-style: none;
}

.login .breakWord {
	overflow-wrap: break-word;
	white-space: normal;
}

/* -------------------------------------------------------------- rows & columns
*/

.login .row,
.login .column {
	align-items: stretch;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	overflow: visible;
	padding: 15px 0 0;
	width: 100%;
}

.login .column {
	flex-direction: column;
}

.login .column.centered {
	align-items: center;
}

.login .column.right {
	align-items: flex-end;
}

.login .column.button,
.login .column.link {
	margin: 0 auto 10px;
}

.login .row {
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.login .row > * {
	margin: 5px;
}

.login .row.no-wrap {
	flex-wrap: nowrap;
}

.login .row.centered {
	justify-content: center;
}

.login .row.right {
	justify-content: flex-end;
}

.login .row:first-child,
.login .column:first-child {
	padding: 0;
}

.login .column > .row {
	padding-top: 0;
}

.login .row .column {
	padding: 0;
}

.login .row.centered .column,
.login .row.right .column {
	width: auto;
}

.login .row > *,
.login .column > * {
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
}

.login .row > input,
.login .column > input {
	flex-shrink: 0;
}

/* ----------------------------------------------------------------------- items
*/

/* ---------------------------------------------------------------------- errors
*/

.login .errors {
	font-weight: bold;
	color: #BC4949;
}

/* ------------------------------------------------------------------- headlines
*/

.login h1 {
	font-size: 24px;
	font-weight: 700;
	margin: 16px 0 5px 0;
	color: #3D8700;
}

.login h2 {
	font-size: 22px;
	font-weight: bold;
	margin: 14px 0 5px 0;
	color: #3D8700;
}

.login h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 12px 0 5px 0;
	color: #3D8700;
}

.login h4 {
	font-size: 18px;
	font-weight: 600;
	margin: 10px 0 5px 0;
	color: #3D8700;
}

.login h5 {
	font-size: 16px;
	font-weight: 600;
	margin: 8px 0 5px 0;
	color: #3D8700;
}

.login h6 {
	font-size: 14px;
	font-weight: 600;
	margin: 6px 0 5px 0;
	color: #3D8700;
}

/* -------------------------------------------------------------------- messages
*/

.login .content {
	font-size: 16px;
	font-weight: normal;
	margin: 0;
	color: #424242;
}

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

.login .viewEmbedding {
	margin: 0;
}

.login .viewEmbedding h1,
.login .viewEmbedding h2,
.login .viewEmbedding h3,
.login .viewEmbedding h4,
.login .viewEmbedding h5,
.login .viewEmbedding h6 {
	font-size: 18px;
	font-weight: 700;
	margin: 10px 0;
	color: #424242;
}

.login .viewEmbedding .content {
	font-size: 14px;
	font-weight: normal;
	color: #424242;
}

.login .viewEmbedding.error .content .errors {
	font-size: 14px;
	font-weight: normal;
	color: #424242;
}

.login .viewEmbedding.error h2 {
	margin: 0;
}

.login .viewEmbedding.error .errors li {
	list-style-type: none;
	margin-left: 0;
}

.login .viewEmbedding.error .content li,
.login .viewEmbedding.error .content ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------------------------------------------------------------------- labels
*/

.login label {
	align-items: flex-start;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	font-weight: normal;
	justify-content: flex-start;
	min-width: 50px;
	overflow: hidden;
	text-align: left;
}

.login label.mandatory:after {
	content: '*';
	padding-left: 5px;
	color: #BC4949;
}

.login .password label {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.login .password label span.mandatory:after {
	content: '*';
	padding-left: .2rem;
	color: #BC4949;
}

.login .password .column label + * {
	margin: 8px 0 0;
}


.login .password .password-visibility-toggle{
	--padding: .5rem;
	padding-top: var(--padding);
	display: flex;
	justify-content: start;
	flex-direction:row-reverse;
	align-items:center;
}

.login .password .password-visibility-toggle:hover {
	cursor: pointer;
}

.login .password .password-visibility-toggle:hover span{
	text-decoration: underline;
	cursor: pointer;
}

.login .password .password-visibility-toggle span{
	line-height: 1.5;
	user-select: none;
}
.login .password .password-visibility-toggle input{
	--size: 1em;
	width: var(--size);
	height: var(--size);
	min-height: 1rem;
	margin-right: var(--padding);
	flex-shrink:0;
}

/* ------------------------------------------------------------------ data items
*/

.login input,
.login button,
.login select,
.login .lip-checkbox-container .before {
	border-width: 1px;
	border-style: solid;
	border-radius: 3px;
	box-shadow: none;
	cursor: auto;
	font-size: 1em;
	font-weight: normal;
	min-height: 40px;
	outline: 0;
	overflow: hidden;
	padding: 0 15px;
	text-align: left;
	width: 100%;

	background-color: #FFFFFF;
	border-color: #808080;
}

.login,
.login a,
.login input,
.login button,
.login select {
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	letter-spacing: 0;
	text-indent: 0;
	text-transform: none;
	word-spacing: 0;

	font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;
	color: #424242;
}

.login button.default-submit {
	overflow: visible !important;
	height: 0 !important;
	min-height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	display: block !important;
}

/* ---------------------------------------------------------------- input fields
*/

.login .text-field label{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.login .text-field .mandatory:after {
	content: '*';
	padding-left: .2rem;
	color: #BC4949;
}

.login .text-field input::placeholder {
	font-style: normal;

	color: #CCCCCC;
}

.text-field .login input:hover,
.text-field .login input:focus,
.text-field .login a:hover,
.text-field .login a:focus,
.text-field .login select:hover,
.text-field .login select:focus {
	box-shadow: none;
	outline-width: 2px;
	outline-style: solid;
	outline-offset: -2px;

	border-color: #424242;
}

.text-field .login input.error {
	box-shadow: none;
	border-color: #BC4949;
}


/* ------------------------------------------------------------------ checkboxes
*/

.login .lip-checkbox-container {
	position: relative;
	margin-left: 0;
}

.login .lip-checkbox-container label{
	display: flex;
	align-items: center;
	flex-direction: row;
}

.login .lip-checkbox__label{
	margin-left:2rem;
}

.login .slider .lip-checkbox__label{
	margin-left:3.5rem;
	padding-top: .1rem;
}

.login .lip-checkbox-container input {
	cursor: pointer;
	height: 25px;
	left: 0;
	margin: 0;
	min-height: auto;
	opacity: 0;
	padding: 0;
	position: absolute;
	width: 25px;
	top: 0;
	z-index: 3;
}

.login .lip-checkbox-container .before {
	background-color: #FFFFFF;
}

.login .lip-checkbox{
	display: block;
}

.login .lip-checkbox-container .before,
.login .lip-checkbox-container .after{
	display: block;
}
.login .lip-checkbox-container .before,
.login .lip-checkbox-container .after,
.login .lip-checkbox-container .after:before {
	border-radius: 4px;
	display: block;
	font-size: 25px;
	height: 25px;
	left: 0;
	line-height: 25px;
	min-height: auto;
	padding: 0;
	position: absolute;
	top: 0;
	transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
	width: 25px;
}

.login .lip-checkbox-container input.error ~ .lip-checkbox .before {
	border-width: 2px;
	box-shadow: none;
	outline: none;

	border-color: #BC4949;
}

.login .lip-checkbox-container input:hover ~ .lip-checkbox .before,
.login .lip-checkbox-container input:focus ~ .lip-checkbox .before {
	border-width: 2px;
	box-shadow: none;
	outline: none;

	border-color: #424242;
}

.login .lip-checkbox-container input:checked ~ .lip-checkbox .after:before {
	content: '\e800';
	font-family: 'lip_Checkbox';

	color: #424242;
}

.login .lip-checkbox-container + label {
	width: 100%;
}

/* --------------------------------------------------------------------- sliders
*/

.login .lip-checkbox-container.slider {
	// width: 50px;
}

.login .lip-checkbox-container.slider input {
	width: 50px;
}

.login .lip-checkbox-container.slider .before {
	border-width: 1px;
	border-style: solid;
	border-radius: 25px;
	width: 50px;

	background-color: #FFFFFF;
	border-color: #808080;
}

.login .lip-checkbox-container.slider .after {
	border-radius: 50%;
	left: -1px;
	opacity: 1;
	position: absolute;
	top: 0;
	transition: background 0.3s ease, left 0.3s ease;
	z-index: 2;

	background-color: #424242;
}

.login .lip-checkbox-container.slider input:checked ~ .lip-checkbox .after {
	left: 25px;
	background-color: #3D8700;
}

.login .lip-checkbox-container.slider input:hover ~ .lip-checkbox .before,
.login .lip-checkbox-container.slider input:focus ~ .lip-checkbox .before {
	border-width: 2px;
	border-style: solid;

	border-color: #424242;
}

.login .lip-checkbox-container.slider input:hover ~ .lip-checkbox .before {
	background-color: #EEEEEE;
}

.login .lip-checkbox-container.slider input:checked ~ .lip-checkbox .after:before {
	content: '';
}

/* --------------------------------------------------------------------- buttons
*/

.login .button {
	font-size: 18px;
	min-height: 45px;
	padding: 10px 30px;
	cursor: pointer;
	margin-top: 15px;
}

.login .button.link {
	border-style: hidden;
	background-color: transparent;
	padding: 10px;

	font-size: 16px;
	margin-top: 0px;
	min-height: 30px;
}

.login .button.with-sub-text {
	flex-direction: column;
}

.login .button.with-sub-text .sub-text {
	font-size: 14px;
	font-weight: normal;
}

/* --------------------------------------------------------------------- selects
*/

.login select {
	appearance: none;
	background-image: url(../../images/svg/chevron-down.svg);
	background-size: 24px;
	background-origin: border-box;
	background-position: calc(100% - 15px) center;
	background-repeat: no-repeat;
	cursor: pointer;
	outline: none;
	padding-right: 40px;
}

.login select:focus {
	background-image: url(../../images/svg/chevron-up.svg);
}

.login select.error {
	box-shadow: none;
	border-color: #BC4949;
}

/* --------------------------------------------------------------- multi selects
*/

.login select.multiple {
	background-image: none;
	height: 64px;
	overflow-y: auto;
	padding-right: 15px;
}

.login select.multiple:focus {
	background-image: none;
}

.login select.multiple option {
	padding: 5px 0;
}

/* ----------------------------------------------------------------------- links
*/

.login a {
	border-radius: 3px;
	padding: 10px 10px;
}

.login a:hover,
.login a:focus {
	outline-offset: 0;
}

.login a:visited {
	color: #424242;
}
