/* --- Sidebar Redesign CSS --- */
.dropdown-toggle::after {
	display: none !important;
}

#sidebar-wrapper {
	height: calc(100% - 65px);
}

/* --- Modern Sidebar Redesign --- */
.sidebar {
	background: #fff;
	border-radius: 18px;
	padding: 18px 0 18px 0;
	transition: width 0.2s;
}

.sidebar-nav li {
	position: relative;
	margin-bottom: 2px;
	line-height: 22px;
}

.sidebar-nav a {
	display: flex;
	align-items: center;
	padding: 9px 16px 9px 18px;
	color: #222;
	border-radius: 10px;
	transition: background 0.18s, color 0.18s, box-shadow 0.18s;
	font-size: 15px;
	font-weight: 400;
	gap: 10px;
	letter-spacing: 0.01em;
}

.sidebar-nav a .ri-arrow-down-s-line.dropdown-arrow {
	margin-left: auto;
	font-size: 16px;
	transition: transform 0.2s;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
	background: #f5f6fa;
	color: rgb(0, 0, 0);

}

.sidebar-nav a.active {
	border-left: 2px solid #000000;
	background: rgb(232 232 232 / 45%);
	font-weight: 500;
}

.sidebar-nav a.active i,
.sidebar-nav a:hover i {
	color: rgb(0, 0, 0);
}

.sidebar-nav i[class^="ri-"] {
	margin-right: 0px;
	color: #a9a9a9;
	min-width: 18px;
	font-size: 18px !important;
	text-align: center;
	transition: color 0.18s;
}

.sidebar-nav a.active i {
	color: rgb(0, 0, 0);
}

.sidebar-dropdown {
	background: #f7f7f7;
	border-radius: 0 0 10px 10px;
	margin-left: 28px;
	margin-top: 2px;
	padding: 4px 0 4px 8px;
	box-shadow: none;
	border-left: 2px solid #fb6107;
}

.sidebar-dropdown li {
	line-height: 17px;

}

.sidebar-dropdown li a {
	padding: 7px 14px;
	font-size: 12px;
	color: #444;
	border-radius: 7px;
	background: none;
	transition: background 0.18s, color 0.18s;
}

.sidebar-dropdown li a.active,
.sidebar-dropdown li a:hover {
	background: #fb6107;
	color: #fff;
}

.sidebar-nav .dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
	transform: rotate(180deg);
}

.sidebar-nav li a {
	display: flex;
}

#sidebar-wrapper {
	width: 300px !important;
}

.page_body {
	margin-left: 300px !important;
}

.sidebar-nav li .active {
	border-right: none !important;
}

.default-click ul li {
	padding: 2px 5px 3px 8px !important;
}

.sidebar-dropdown {
	border-left: none !important;
}

.sidebar-dropdown li a.active,
.sidebar-dropdown li a:hover {
	background: #fff;
}

.default-click ul li .active {
	padding: 10px 0 8px 10px !important;
}

.sidebar-nav li a span {
	margin-left: 3px;
}

@media (max-width: 767px) {
	.page_body {
		margin-left: 0 !important;
	}

	.header_img .logo_nav_head_img {
		padding-top: 5px !important;
	}

	#sidebar-wrapper {
		margin-left: -300px;
		margin-top: inherit !important;

	}

	.sidebar.fliph {
		padding: 10px 10px 10px 15px !important;
		height: calc(100vh - 25px) !important;

		margin-top: inherit !important;
		border-radius: 0 !important;
		overflow-x: hidden !important;
	}

	.sidebar.fliph .sidebar-nav {
		padding: 0 !important;
	}

	.sidebar.fliph .sidebar-nav li {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.default-click ul li a {
		padding: 7px 5px !important;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
	.page_body {
		margin-left: 0 !important;
	}

	#sidebar-wrapper {
		margin-left: -300px;
	}

	.sidebar.fliph {
		padding: 10px 10px 10px 15px !important;
		height: calc(100vh - 160px) !important;
		margin-top: inherit !important;
		border-radius: 0 !important;
		overflow-x: hidden !important;
	}

	.sidebar.fliph .sidebar-nav {
		padding: 0 !important;
	}

	.sidebar.fliph .sidebar-nav li {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.default-click ul li a {
		padding: 7px 5px !important;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {}

.logo_nav_head_img {
	padding-top: 6px;
	height: 60px;
	width: 150px;
	object-fit: contain;
}

a[data-toggle="collapse"] {
	position: relative;
}

.dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.default-click ul li a:hover {
	background-color: transparent !important;
	color: #000 !important;
	font-weight: 500;
}