/** --------------------------------------------------------------
 * styles.scss 2024-09-02 ts
 *
 * https://www.lenk.gmbh/
 * Copyright (c) 2024 Lenk GmbH
 *
 * @author Thomas Schneider <thomas.schneider@lenk.gmbh>
 * @link https://entwicklung.lenk.gmbh/software/ShopConnect
 * ---------------------------------------------------------------
 */

/* --------------------------------- Variablen */
:root
{
	--primary-color: #0277bd;
	--primary-color-light: #58a5f0;
	--primary-color-dark: #004c8c;
}


/* --------------------------------- Grundgerüst */

html
{
	height: 100%;
	min-height: 100%;
}

body
{
	background-color: #FAFAFA;
	margin: 0;
	padding: 0;
	font-size: 14pt;
	min-height: 100%;
	width: 100%;
	color: #151515;
	overflow-x: hidden;
	overflow-y: scroll;
	display: flex;
	align-content: stretch;
}

pre
{
	&.log-view
	{
		border: 1px solid #d8d8d8;
		padding: 10px 12px;
		font-size: 0.8em;

		&.scrollable
		{
			height: 400px;
			overflow: auto;
			display: flex;
			flex-direction: column-reverse;
		}
	}
}


/* --------------------------------- Verlinkungen */

[data-redirect-route],
[data-action="click->goto#goto"],
[data-action="click->connector#process"]
{
	cursor: pointer;
}


#wrapper
{
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	align-content: stretch;
}


/* --------------------------------- linke Seitenleiste */

#sidebar-left
{
	color: #F2F2F2;
	flex-basis: 320px;
	flex-shrink: 0;
	padding: 0;
	background-color: #263238;
	box-shadow: 0 0 1px 0 #16161D;
	position: relative;

	nav.user-actions
	{
		padding-right: 20px;
		font-size: 26px;

		ul
		{
			list-style-type: none;
			margin: 0;
			padding: 0;

			li
			{
				display: inline-block;
				padding: 0;
				margin: 0 7px;
			}
		}

		a
		{
			color: #F2F2F2;
		}
	}

	.sidebar-header
	{
		margin: 20px;

		& > *
		{
			display: block;
		}

		.version
		{
			font-size: 0.75em;
		}
	}

	.sidebar-footer
	{
		text-align: center;
		width: calc(100% - 40px);
		margin: 20px 20px 10px;
		position: absolute;
		bottom: 0;
	}
}


/* --------------------------------- Hauptnavigation */

#main-menu
{
	margin: 20px 0 80px;
}

#main-menu ul,
#main-menu li
{
	margin: 0;
	padding: 0;
	color: #F2F2F2;
	list-style-type: none;
}

#main-menu li
{
	padding: 11px 20px 10px;
	font-size: 14pt;
	cursor: pointer;
}

#main-menu i
{
	width: 30px;
	height: auto;
	text-align: center;
	margin-right: 10px;
}

#main-menu a
{
	display: inline-block;
	width: 100%;
}

#main-menu a,
#main-menu a i.fa
{
	color: inherit;
	text-decoration: none;
}

#main-menu > ul > li:hover,
#main-menu > ul > li.focus
{
	background-color: #37474F;
}

#main-menu > ul > li.active,
#main-menu > ul > li.trail
{
	background-color: #37474F;
}

#main-menu > ul > li > ul
{
	display: none;
}

#main-menu > ul > li:hover > ul
{
	display: block;
}

#main-menu > ul > li > ul > li
{
	font-size: 13pt;
	margin-left: 25px;
	margin-right: 5px;
}

#main-menu > ul > li > ul > li:hover
{
	margin-right: 5px;
}

#main-menu > ul > li > ul > li .desc
{
	display: block;
	font-size: 11pt;
	margin-top: 5px;
}


/* --------------------------------- Content-Bereich */

#content
{
	padding: 35px 20px 20px;
	width: 100%;
	height: max-content;
}

#content > .inside
{
	padding: 0 20px 0 20px;
}

#content .content-area
{
	background-color: white;
	border: solid #D8D8D8 1px;
	padding: 15px 20px;
	margin-bottom: 30px;
}

#content p
{
	margin: 12px 0 10px 0;
	line-height: 1.3em;
}


/* --------------------------------- Dropdown Area */

.dropdown-area
{
	display: none;
	position: relative;
}

.notification-message
{
	position: relative;
	background-color: white;
	border: solid #D8D8D8 1px;
	padding: 15px 20px;
	margin: 0 2rem 30px;
}

#content .content-area.dropdown-area.success,
.notification-message[data-status="success"]
{
	background: #DFF0D8;
	border-color: #D0E6BE;
	color: #468847;
	background-size: 20px 20px;
}

#content .content-area.dropdown-area.info,
.notification-message[data-status="info"]
{
	background: #D9EDF7;
	border-color: #BCE8F1;
	color: #3A87AD;
	background-size: 20px 20px;
}

#content .content-area.dropdown-area.error,
.notification-message[data-status="error"],
.error-message
{
	background: #F2DEDE;
	border-color: #EBCCD1;
	color: #B94A48;
	background-size: 20px 20px;
}

.dropdown-area-close,
.notification-message-close
{
	position: absolute;
	top: 15px;
	right: 17px;
	cursor: pointer;
}


/* --------------------------------- Toasts */

.toast-container
{
	z-index: 999999;
}


/* --------------------------------- Popups */

.popup
{
	cursor: pointer;
}

div.popup-content
{
	display: none;
}

div.overlay-background
{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.6;
}

div.overlay-box
{
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 95;
	overflow: hidden;
	background-color: white;
	font-size: 12pt;
	display: none;
}

span.overlay-close,
span.overlay-reload
{
	position: absolute;
	top: 8px;
	right: 11px;
	cursor: pointer;
	font-size: 18pt;
	color: #B40404;
}

.overlay-box table td
{
	border: none;
	padding-top: 5px;
	padding-bottom: 6px;
}

.overlay-box dl
{
	display: flex;
	flex-wrap: wrap;
}

.overlay-inhalt h1
{
	margin-top: 10px;
}

.overlay_inhalt p
{
	margin: 15px 0 7px 0;
}


/* --------------------------------- Spinner */

div.spinner-background
{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9990;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.6;
}

div.spinner-box
{
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px;
	width: 100px;
	height: 100px;
	z-index: 9999;
	overflow: hidden;
	background-color: transparent;
	font-size:12pt;
	display: none;
	padding-top: 2px;
}

div.spinner-inhalt i
{
	font-size: 60px;
	display: inline-block;
	color: whitesmoke;
}