/* csslint font-sizes: false, qualified-headings: false,
Charcoal Grey:
Mid Grey: #878787
Light Grey: #dadada
*/

header {
	padding: 0 10px;
	vertical-align: middle;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: 30px;
	width: 100%;
}

.auth-header {
	height: auto;
	position: relative;
	display: flex;
	justify-content: center;
}

.contented {
	display: flex;
	flex-direction: column;
	gap: var(--gap-small);
}

.contented_compactly {
	gap: var(--gap-small);
}

.contented.gapped_small {
	gap: var(--gap-small);
}

.contented.gapped_tiny {
	gap: 8px;
}

.contented_widely {
	gap: var(--gap);
}

.gapped {
	gap: var(--gap);
}

.gapped-small,
.small_gap {
	gap: 8px;
}

.gapped-compactly {
	gap: var(--gap-small);
}
.tiny_gap {
	gap: 4px;
}

.panel {
	padding: 40px 0;
}

.container {
	max-width: 920px;
}

.millco-tr {
	display: table-row;
}

.millco-td {
	display: table-cell;

}

.icon-col {
	width: 34px;
}

/*!
Nav.
 */

#wrapper {
	position: relative;
	padding-left: 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#sidebar-wrapper {
	z-index: 100;
	position: fixed;
	left: -225px;
	width: 225px;
	height: 100%;
	overflow-y: auto;
	background: var(--dark);
	box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
	left: 0;
}

#menu_toggle {
	width: 55px;
	height: 90px;
	padding: 15px;
	font-size: 25px;
	position: fixed;
	top: 60px;
	right: 0;
	z-index: 200;
	color: #000;
}


.page_content {
	display: flex;
	flex-direction: column;
	gap: var(--gap-small);
	padding: var(--gap);
}



/* Sidebar Styles */

.sidebar-nav {
	margin: 0;
	margin-top: var(--gap);
	padding: 0;
	list-style: none;
	padding-left: 16px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}


.sidebar-nav li a {
	display: grid;
	grid-template-columns: 24px 1fr;
	text-decoration: none;
	color: #fff;
	font-size: 20px;
	gap: 0.5rem;
	align-items: center;
}

.sidebar-nav li a:hover {
	color: var(--theme);
}

/* .sidebar-nav li.active > a:first-of-type{
	color: var(--theme);
} */

.sidebar-nav li.active > a:first-of-type,
.sidebar-nav li a:hover {
	text-decoration: underline;

}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
	text-decoration: none;
}

/* second level */

.sub-nav {
	background-color: transparent;
	opacity: 0.9;
	padding-top: 0.5rem;
}

.sidebar-nav li li {
	text-indent: 12px;
	line-height: 2rem;
	display: block;
}

.sidebar-nav li li a {
	font-size: 0.9rem;
	font-weight: 200;
}


.sidebar-nav li li a:active,
.sidebar-nav li a:focus {
	text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
	height: 65px;
	font-size: 18px;
	line-height: 60px;
}

.sidebar-nav>.sidebar-brand a {
	color: #ffff;
}

.sidebar-nav>.sidebar-brand a:hover {
	color: #eee;
	background: none;
}

footer {
	padding: 20px 10px;
	background-color: #333;
	color: white;
}

@media(min-width:768px) {

	#menu_toggle {
		top: -100px;
	}

	#wrapper {
		padding-left: 225px;
	}

	#wrapper.toggled {
		padding-left: 225px;
	}

	#sidebar-wrapper {
		left: 0;
	}

	#wrapper.toggled #sidebar-wrapper {
		width: 225px;
	}
}

/* Standalone page styles */
#wrapper.stand_alone_page {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	min-height: 100vh;
	min-height: 100dvh;
	justify-content: start;
}

.t_login #wrapper.stand_alone_page {
	justify-content: center;
}

.sap_header {
	display: flex;
	padding: 15px 40px 20px 20px;
	height: 100px;
	background-color: var(--grey-mid);
	background-image: url(/site/assets/images/logo-reverse.png);
	background-size: 165px auto;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.sap_title {
	text-align: center;
}

#wrapper.stand_alone_page .sap_container {
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
	position: relative;
}
