@font-face {
	font-family: "Axiforma";
	src: url("../fonts/Axiforma-Light.otf") format("opentype");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Axiforma";
	src: url("../fonts/Axiforma-Regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Axiforma";
	src: url("../fonts/Axiforma-Medium.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Axiforma";
	src: url("../fonts/Axiforma-Bold.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Axiforma";
	src: url("../fonts/Axiforma-Italic.otf") format("opentype");
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: "Axiforma";
	src: url("../fonts/Axiforma-BoldItalic.otf") format("opentype");
	font-weight: 700;
	font-style: italic;
}

* {
	font-family: "Axiforma";
}

.bi {
	display: inline-block;
	width: 1rem;
	height: 1rem;
}

/*
* Sidebar
*/

@media (min-width: 768px) {
	.sidebar .offcanvas-lg {
		position: -webkit-sticky;
		position: sticky;
		top: 48px;
	}
	.navbar-search {
		display: block;
		width: 10%;
		margin-left: auto;
		max-width: 250px;
	}
}

.sidebar .nav-link {
	font-size: 0.875rem;
	font-weight: 500;
}

.sidebar .nav-link.active {
	color: #2470dc;
}

.sidebar-heading {
	font-size: 0.75rem;
}

.sidebar.collapsed {
	width: 60px;
	overflow-x: hidden;
}

.sidebar-header {
	background-color: var(--bg-body-tertiary);
	color: var(--bs-body-color);
}

.sidebar-header .btn {
	background-color: var(--bg-body-tertiary);
	color: var(--bs-body-color);
	border: none;
}

.sidebar.collapsed .sidebar-header {
	text-align: center;
	padding: 0.5rem;
}

.sidebar.collapsed .menu-text {
	display: none; /* hides the text in collapsed view */
}

.sidebar-toggle {
	position: absolute;
	top: 10px;
	right: -12px;
	z-index: 1000;
}
#mainContent.expanded {
	margin-left: 60px; /* if your sidebar collapses to 80px */
	transition: margin-left 0.3s ease;
}

.sidebar.collapsed .nav-link {
	justify-content: center;
	padding-left: 0;
	padding-right: 0;
}

.sidebar.collapsed .sub-menu {
	margin-left: 0 !important;
}

/*
* Navbar
*/

.navbar-search {
	width: 100%;
}

.navbar-brand {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	background-color: rgba(0, 0, 0, 0.25);
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
	font-size: 1.25rem;
}

.navbar .form-control {
	padding: 0.75rem 1rem;
}

.bd-placeholder-img {
	font-size: 1.125rem;
	text-anchor: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

@media (min-width: 768px) {
	.bd-placeholder-img-lg {
		font-size: 3.5rem;
	}
}

.b-example-divider {
	width: 100%;
	height: 3rem;
	background-color: rgba(0, 0, 0, 0.1);
	border: solid rgba(0, 0, 0, 0.15);
	border-width: 1px 0;
	box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
		inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
	flex-shrink: 0;
	width: 1.5rem;
	height: 100vh;
}

.bi {
	vertical-align: -0.125em;
	fill: currentColor;
}

.nav-scroller {
	position: relative;
	z-index: 2;
	height: 2.75rem;
	overflow-y: hidden;
}

.nav-scroller .nav {
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 1rem;
	margin-top: -1px;
	overflow-x: auto;
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.container-fluid {
	flex: 1;
}

footer {
	flex-shrink: 0;
	margin-top: auto;
}

main {
	min-height: 0;
	overflow-y: auto;
}

@media (min-width: 1200px) {
	.fs-4 {
		font-size: 1.25rem !important;
	}
}

.scrollable {
	max-width: 200px;
	overflow-x: auto;
	white-space: nowrap;
	display: block;
}

.highlight-link {
	position: relative;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
}

.highlight-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 4%;
	width: 80%;
	height: 5px;
	background-color: #6ec6fe;
	z-index: -1;
}

::selection {
	background: #b6e3ff;
}

/* for the user button in nav bar.. move to somewhere else */

.dropdown-item-text {
	color: #6c757d;
	font-size: 0.875rem;
}

img.rounded-circle {
	object-fit: cover;
}

/* Remove the caret next to user profile circle */
#userDropdown::after {
	display: none;
}

.nav-link.text-body-secondary:hover {
	color: #6ec6fe !important; /* Bootstrap primary color */
	transition: color 0.2s ease;
}

.custom-tooltip {
	--bs-tooltip-bg: #2470dc;
	--bs-tooltip-color: var(--bs-white);
}
