/* --------------------------------- SIDEBAR -------------------------------- */
#side.collapsed {
	width: 56px;
}

#side {
	position: fixed;
	top: 0;
	left: 0;

	background-color: var(--panel-color);
	border-right: solid 1px var(--border-color);

	overflow-x: hidden;
	overflow-y: auto;
	transition: 0.5s;

	padding: 0;
	margin: 0;
	height: 100%;
	width: 232px;
	z-index: 998;
}
/* -------------------------------------------------------------------------- */

/* ---------------------------- LINKS IN SIDEBAR ---------------------------- */
.sidenav {
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	transition: 0.5s;
	padding-top: 0px;
}

.sidenav .sidenav-logo,
.sidenav-mobile .sidenav-logo {
	width: 100%;
	height: 206px;
}

.sidenav img,
nav.sidenav-mobile img.header-image {
	background: none;
	padding: 15px;
	margin: 0;
	max-height: 150px;
	width: auto;
	max-width: 80%;
}

.sidenav.collapsed img {
	background: none;
	max-width: 100%;
}

.sidenav.collapsed span {
	display: none;
}

.sidenav a.nav {
	display: block;
	border-radius: 1px;
	cursor: pointer;

	color: var(--tc-primary);
	font-weight: 500 !important;
	font-size: 14px;
	letter-spacing: 0.3px;

	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;

	padding: 18px 0px 18px 17px;
	margin: 0px;
	transition: width 0.3s;
}

.sidenav a.nav:hover,
.offcanvas a:focus {
	background-color: var(--panel-hover-color);
}

.sidenav a.nav:active,
.sidenav a.nav.active {
	background-color: var(--panel-hover-color);
	border-left: solid 3px var(--accent);
	padding-left: 14px;
}

/* icon in sidebar links */
.sidenav a.nav i {
	font-size: 16px;
}

#side.collapsed a > span {
	display: none;
}
/* -------------------------------------------------------------------------- */

/* ---------------------------- ICONS IN SIDEBAR ---------------------------- */
.sidenav a.nav i {
	color: var(--tc-primary);
	font-size: 16px;
}

.sidenav a.nav:active i,
.sidenav a.nav.active i {
	color: var(--accent);
}
/* -------------------------------------------------------------------------- */

/* ------------------- CUSTOMER EXTERNAL DASHBOARD SIDEBAR ------------------ */
.customer-external-bottombar.slideout-menu {
	display: flex;

	position: fixed;
	top: unset;
	right: 0;
	bottom: 0;
	left: 0;

	background-color: var(--panel-color);
	border-top: solid 1px var(--border-color);

	padding: 0 12px 22px 18px;
	min-height: 86px;
	width: 100%;
	z-index: 2;
}

html:not(.style-scope)[dark] .customer-external-bottombar ~ div .header-image {
	background: url(/img/logo-full-dark.svg) no-repeat;

	padding: 11px;
	margin: 18px 0;
	width: 92px !important;
}
.customer-external-bottombar ~ div .header-image {
	background: url(/img/logo-full-light.svg) no-repeat;
	background-size: contain;

	padding: 11px;
	margin: 18px 0;
	width: 92px !important;
}

/* links/buttons in bottom bar */
.customer-external-bottombar-button,
.customer-external-bottombar-button:focus,
.customer-external-bottombar-button:hover {
	display: grid;
	place-items: center;

	color: var(--tc-primary);
	font-size: 18px;

	height: 64px;
	width: 64px;
}

/* links/buttons in bottom bar */
.customer-external-bottombar-button:active,
.customer-external-bottombar-button.active {
	position: relative;
	color: var(--accent);
}

.customer-external-bottombar-button:active::after,
.customer-external-bottombar-button.active::after {
	position: absolute;
	top: 46px;

	background-color: var(--accent);
	color: var(--tc-accent);
	border-radius: 2px;
	content: "";
	height: 3px;
	width: 10px;
}
/* -------------------------------------------------------------------------- */
