:root,
[data-bs-theme="light"] {
	--bs-navbar-bg: #348cd4;
	--bs-navbar-link: #98a6ad;
	--bs-navbar-link-focus: #fff;

	--navbar-background-color: #fafbfd;
	--navbar-border: #f1f3fa;

	--sidebar-bg: #fff;
	--sidebar-border: var(--lightest-grey);
	--sidebar-link-hover: var(--lightest-grey);

	--sidebar-closed-width: 75px;
	--sidebar-open-width: 200px;

	--sidebar-menu-item-font-size: 13px;
	--sidebar-menu-item-padding-x: 0.5rem;
	--sidebar-menu-item-padding-y: 0.5rem;

	/*--navbar-box-shadow: 0px 0px 35px 0px rgba(154, 161, 171, 0.15);*/
	--navbar-box-shadow: 0 1px 1px 1px rgba(26, 24, 45, .05);
}


[data-bs-theme="dark"] {
	--bs-navbar-link-focus: #fff;
	--sidebar-bg: #38414a;
}


.navbar-custom {
	background-color: var(--bs-navbar-bg);
	-webkit-box-shadow: var(--navbar-box-shadow);
	box-shadow: var(--navbar-box-shadow);
	min-height: var(--header-height);
	position: sticky;
	padding: 0 10px 0 0;
	top: 0;
	-webkit-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	border-bottom: 0 solid var(--bs-border-color);
	z-index: 1005;
	margin: 0 -2.65%;
}

.navbar-custom .topbar {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 0 auto;
}

.navbar-custom .topbar-menu {
	list-style-type: none;
	margin-bottom: 0;
}

.button-toggle-menu {
	border: none;
	color: var(--header-item-colour);
	height: var(--header-height);
	width: 60px;
	background-color: transparent;
	font-size: 24px;
	cursor: pointer;
	z-index: 1;
	position: relative;
}


.navbar-custom .topbar-menu .nav-link {
	padding: 0 .75rem;
	position: relative;
	color: var(--header-item-colour);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex
;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: var(--header-height);
	cursor: pointer;
}

/*.navbar-custom .topbar-left {
	zbackground-color: var(--bs-navbar-bg);
	height: var(--header-height);
	position: fixed;
	z-index: 1;
	width: 260px;
	ztext-align: center;
	top: 0;
	left: 1rem;
}*/

.navbar-custom .topbar-left .logo {
	line-height: var(--header-height);
}

.navbar-custom .topbar-left .logo i {
	display: none
}

.navbar-custom .navbar-brand {
	font-size: 22px;
	vertical-align: middle;
	line-height: var(--header-height);
}



.navbar-custom .topbar-menu li {
	float: left;
	max-height: var(--header-height);
}

.navbar-custom .topbar-menu li .show.nav-link {
	color: var(--bs-navbar-link-focus);
}

.navbar-custom .topbar-menu .nav-link:hover {
	color: var(--bs-navbar-link-focus);
}

/*.navbar-custom .topbar-menu .nav-link {
	padding: 0;
	color: var(--bs-navbar-link);
	min-width: 32px;
	display: block;
	text-align: center;
	margin: 0 10px;
	position: relative;
	height: var(--header-height);
}*/


.theme-toggle li i {
	margin-right: 0.5rem;
	min-width: 30px;
	text-align: center;
}

.arrow-none:after {
	display: none
}


.navbar-custom .app-search {
	position: static;
	overflow-y: hidden
}

.navbar-custom .app-search form {
	padding: calc(var(--header-height) * .15) 5px calc(var(--header-height) * .15) 0;
	overflow: hidden;
	max-width: 320px
}


.navbar-custom .form-control {
	background-color: #f5f8fa;
    border-color: #f5f8fa;
    color: #5e6278;
    transition: color .2s ease,background-color .2s ease;
}

.navbar-custom .form-control:focus {
	box-shadow: none!important;
	background-color: #eef3f7!important;
    border-color: #eef3f7!important;
    color: #5e6278!important;
}

/* .topbar-dropdown .nav-link {
	line-height: var(--header-height);
} */

.app-search {
	height: var(--header-height);
}

.app-search .form-control {
	/* border: none; */
	height: calc(1.5em + .9rem + 2px);
	padding-left: 40px;
	padding-right: 20px;
	/* background-color: var(--lightest-grey);
	-webkit-box-shadow: none;
	box-shadow: none */
}

.app-search span.search-icon {
	position: absolute;
	z-index: 4;
	font-size: 20px;
	line-height: 38px;
	left: 10px;
	top: 0
}

.app-search .input-group-text {
	margin-left: 0;
	z-index: 4
}

.notification-list {
	margin-left: 0
}

.notification-list a.nav-link i {
	font-size: 22px;
	vertical-align: middle;
	padding-right: 0.5rem;
	line-height: var(--header-height);
}

.notification-list .noti-title {
	background-color: transparent;
	padding: 15px 20px
}

.notification-list .noti-icon {
	font-size: 22px;
	vertical-align: middle;
	line-height: var(--header-height);
}

.notification-list .noti-icon-badge {
	display: inline-block;
	position: absolute;
	top: 22px;
	right: 6px;
	border-radius: 50%;
	height: 7px;
	width: 7px;
	background-color: #fa5c7c
}

.notification-list .notify-item {
	padding: 10px 20px
}

.notification-list .notify-item.unread-noti {
	background-color: #f3f5fb
}

.notification-list .notify-item.read-noti {
	background-color: transparent;
	border: 1px solid #eef2f7
}

.notification-list .notify-item .card-body {
	padding: 14px
}

.notification-list .notify-item .card-body .noti-close-btn {
	position: absolute;
	top: 3px;
	right: 5px
}

.notification-list .notify-item .card-body .noti-item-title {
	margin: 0 0 2px
}

.notification-list .notify-item .card-body .noti-item-subtitle,
.notification-list .notify-item .card-body .noti-item-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap
}

.notification-list .notify-item .notify-icon {
	float: left;
	height: 36px;
	width: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 50%;
	zcolor: #fff
}

.notification-list .notify-item .notify-details {
	margin-bottom: 0;
	overflow: hidden;
	margin-left: 45px
}

.notification-list .notify-item .notify-details b {
	font-weight: 500
}

.notification-list .notify-item .notify-details .small,
.notification-list .notify-item .notify-details small {
	display: block
}

.notification-list .notify-item .user-msg {
	margin-left: 45px;
	white-space: normal;
	line-height: 16px
}

.notification-list .topbar-dropdown-menu .notify-item {
	padding: 7px 20px
}

.profile-dropdown {
	min-width: 170px
}

.profile-dropdown i,
.profile-dropdown span {
	vertical-align: middle
}


.dropdown-icon-item {
    display: block;
    border-radius: 3px;
    line-height: 34px;
    text-align: center;
    padding: 15px 0 9px;
    display: block;
    border: 1px solid transparent;
    color: var(--light-grey);
	text-decoration: none;
}

.dropdown-icon-item:hover {
	color: var(--bs-navbar-bg);
}

.dropdown-icon-item img {
    height: 24px;
}

.dropdown-icon-item i {
	font-size: 3rem;
}

.dropdown-icon-item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user {
	padding: 0 20px 0 20px!important;
	text-align: left!important;
	position: relative;
	background-color: var(--navbar-user-bg);
	border: 1px solid var(--navbar-user-border);
	border-width: 0 1px;
	max-height: var(--header-height);
}

.nav-user .account-user-avatar {
	position: absolute;
	top: calc(var(--header-height) * .25);
	left: 15px
}

.nav-user .account-user-avatar img {
	height: 32px;
	width: 32px
}

.nav-user .account-position {
	display: block;
	font-size: 12px;
	margin-top: -3px
}

.nav-user .account-user-name {
	display: block;
	font-weight: 600
}

.button-menu-mobile {
	border: none;
	color: #313a46;
	height: var(--header-height);
	line-height: var(--header-height);
	width: var(--sidebar-closed-width, 75px);
	background-color: transparent;
	font-size: 24px;
	cursor: pointer;
	float: left;
	z-index: 1;
	position: relative;
	/* margin-left: -24px */
}

.button-menu-mobile.disable-btn {
	display: none
}


.sidebar {
	bottom: 1.5rem;
	top: calc(var(--header-height) + 1.5rem);
	border-radius: .3rem;
	border: 0 solid var(--border-color);
	padding-bottom: 0;
	z-index: 1000;
	position: fixed;
	width: var(--sidebar-closed-width);
	min-width: var(--sidebar-closed-width);
	background: var(--sidebar-bg);
	-webkit-box-shadow: var(--box-shadow);/*0 1px 1px 1px rgba(26, 24, 45, .05);*/
	box-shadow: var(--box-shadow);/*0 1px 1px 1px rgba(26, 24, 45, .05);*/
	border-right: 0 solid var(--border-color);
	-webkit-transition: all var(--animation-duration) var(--animation-timing-curve);
	transition: all var(--animation-duration) var(--animation-timing-curve);

	flex-direction: column;
	display: flex;
	justify-content: stretch;
}

.sidebar span {
	opacity: 0;
	width: 0%;
	transition: opacity 0 var(--animation-timing-curve);
}

.sidebar.open span {
	width: 100%;
	opacity: 1;
	/*font-size: 12px;*/
}

.sidebar.open .h-100 { height: calc(100% - var(--header-height)) !important; }

.sidebar .top-sidebar {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 70px;
}

.top-sidebar i.site-logo {
	font-size: 2.5rem;
}

.top-sidebar a {
	color: var(--bs-navbar-bg);
}

.sidebar.open .top-sidebar i.site-logo {
	/* font-size: 5rem;
	margin: 10px 0; */
}

.sidebar.open .top-sidebar span {
	zcolor: var(--dark-grey);
	font-size: 0.85rem;
	font-weight: bold;
	height:70px;
	text-align: center;
	transition: opacity var(--animation-duration) var(--animation-timing-curve);
}

.middle-sidebar {
	flex-grow: 1;
	margin: 1.5rem 0;
	overflow-y: auto;
	overflow-x: hidden;
}

.bottom-sidebar {
	border-top: 1px solid var(--sidebar-border, var(--lightest-grey));
}

.middle-sidebar,
.bottom-sidebar {
	width: 100%;
}

ul.sidebar-list,
ul.sub-menu {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	zalign-items: center;
	list-style: none;
}


.section-header {
	background: transparent;
	color: var(--bs-body-color);
	font-size: .75rem;
	font-weight: 500;
	padding: .375rem 1.5rem;
	text-transform: none;
}

.section-header {
	letter-spacing: .05em;
	pointer-events: none;
	cursor: default;
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--bs-body-color);
	font-weight: 500;
	font-size: calc(var(--sidebar-menu-item-font-size) * .8);
	padding: var(--sidebar-menu-item-padding-y) calc(var(--sidebar-menu-item-padding-x) * 1.5);
}

.sidebar.open .sidebar-link {
	justify-content: flex-start;
	padding-left: 0.5rem;/*1rem;*/
}

.sidebar-icon {
	font-size: 1rem;
}

/*.sidebar.open .sidebar-icon {
	margin-right: 1.5rem;
	min-width: 30px;
	text-align: center;
	margin-left: 0.4rem;
}*/
.sidebar.open .sidebar-icon {
	margin-right: 0.5rem;
	min-width: 30px;
	text-align: center;
	margin-left: 0.5rem;
}

.sidebar-link {
	display: flex;
	width: 100%;
	justify-content: center;
	padding: 0.5rem 0;
	color: var(--light-grey);
	text-decoration: none;
	align-items: center;
}

.sidebar-list-item {
	position: relative;
	width:100%;
	justify-content: center;
}


.sidebar-list-item a {
	color: var(--light-grey);
	display: flex;
	width:100%;
	justify-content: center;
	height: 40px;
	font-size: var(--sidebar-menu-item-font-size);
}

.sidebar-list-item.active a {
	color: var(--bs-navbar-bg)!important;
}

.sidebar-list-item.active::before {
	content: "";
	background-color: var(--bs-navbar-bg);
	height: 100%;
	left: 0;
	position: absolute;
	width: 3px;
}

.sidebar-list-item.active,
.sidebar-list-item:hover {
	zbackground-color: var(--sidebar-link-hover);
	background-color: var(--card-bg);
}


.sidebar.open {
	width: var(--sidebar-open-width, 180px);
	min-width: var(--sidebar-open-width, 180px);
}





@media (max-width:767.98px) {
	.button-menu-mobile {
		margin: 0!important
	}
}

[data-keep-enlarged=true] .navbar-custom {
	padding-left: 0
}

[data-keep-enlarged=true] .button-menu-mobile {
	margin: 0
}

[data-keep-enlarged=true] .button-menu-mobile.disable-btn {
	display: inline-block
}

@media (max-width:576px) {
	.navbar-custom .topbar-menu {
		position: initial
	}
	.navbar-custom .dropdown {
		position: static
	}
	.navbar-custom .dropdown .dropdown-menu {
		top: 5px!important;
		left: 10px!important;
		right: 10px!important;
	}
}

@media (max-width:1200px) {
	.navbar-custom {
		right: 0
	}
	.navbar-custom .app-search {
		display: none
	}
}

@media (max-width:991.98px) {
	.nav-user {
		zpadding: 17px 5px 17px 57px!important
	}
	.nav-user .account-position,
	.nav-user .account-user-name .user-name {
		display: none
	}
}

@media (max-width:767.98px) {
	.navbar-custom {
		left: 0!important;
		padding: 0
	}
	.button-menu-mobile.disable-btn {
		display: inline-block
	}
}

@media (max-width:375px) {
	.navbar-custom .topbar-menu .nav-link {
		margin: 0 5px
	}
	.navbar-custom.topnav-navbar .container-fluid,
	.navbar-custom.topnav-navbar .container-lg,
	.navbar-custom.topnav-navbar .container-md,
	.navbar-custom.topnav-navbar .container-sm,
	.navbar-custom.topnav-navbar .container-xl,
	.navbar-custom.topnav-navbar .container-xxl {
		padding-right: 12px;
		padding-left: 12px
	}
	.navbar-custom.topnav-navbar .navbar-toggle {
		margin: 27px 3px
	}
	.navbar-custom.topnav-navbar .button-menu-mobile {
		width: auto
	}
}

@media (min-width: 576px) {
	.dropdown-lg {
		width: 320px;
	}
	.dropdown-xl {
		width: 640px;
	}
}
