///////////////////////////
// Nav Profile
///////////////////////////
.nav-label {
    margin: 0.625rem 1.875rem 0;
    padding: 1.5625rem 0 0.625rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05rem;
    border-top: 0.0625rem solid $l-border;
	color:$dusty-gray;
    &.first {
        border: 0rem;
        margin-top: 0rem;
    }
}

.nav-badge {
    position: absolute;
    #{$dz-pos-right}: 2.8125rem;
    top: 0.625rem;
}

.content-body {
    margin-#{$dz-pos-left}: var(--dz-sidebar-width);
    z-index: 0;
    transition: all .2s ease;
}

.header-profile2{
	.dropdown-menu.show{
		width:calc(var(--dz-sidebar-width) - 30px);
		min-width:calc(var(--dz-sidebar-width) - 30px);
		#{$dz-pos-left}: 15px!important;
	}
}

///////////////
// Sidebar
//////////////
.deznav {
    width: var(--dz-sidebar-width);
    padding-bottom: 0;
    height: calc(100% - var(--dz-header-height));
    position: var(--dz-sidebar-pos);
    top: var(--dz-header-height);
    padding-top: 0;
    z-index: 6;
    background-color: var(--sidebar-bg);
    transition: all .2s ease;
	box-shadow: 0rem 0.9375rem 1.875rem 0rem rgba(0, 0, 0, 0.02);
    .deznav-scroll {
        position: relative;
        height: 100%;
		overflow-y:scroll;
		scrollbar-width: none;
    }
    ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .metismenu {
        display: flex;
        flex-direction: var(--dz-side-menu-direction);
		padding-top: 0.9375rem;
			
		.menu-title{
			font-size: 0.813rem;
			font-weight: 500;
			padding-top: 25px;
			padding-bottom: 8px;
			margin: 0px 26px;
    		border-top: 1px dashed var(--border);
			color: #717579;
		}
        &.fixed {
            position: fixed;
            top: 0;
            width: 100%;
            #{$dz-pos-left}: 0;
        }
        &>li {
            display: flex;
            flex-direction: column;
			padding-right: 17px;
			
   			 margin: 5px 0px;

            a {
				
				
                &>i {
                    font-size: var(--dz-side-ico-size);
                    display: inline-block;
                    vertical-align: middle;
                    position: relative !important;
                    top: 0;
					height:var(--dz-side-ico-height);
					width:var(--dz-side-ico-width);
					text-align:center;
					margin-#{$dz-pos-right}: 0.4rem;
					border-radius: 0.125rem;
					line-height:1;
                }
            }
            &>a {
				font-weight: 500;
				display: inline-block;
				padding: var(--dz-side-nav-padding);
				font-size: var(--dz-side-nav-size);
				color:#4D5863;		
				i{
					color: #A3AAAE;
				}
				svg {
					max-width: 1.5rem;
					max-height: 1.5rem;
					height: 100%;
					margin-#{$dz-pos-right}:0.813rem;
					margin-top: -0.1875rem;
					color: var(--primary);
				}
				
            }
            &:hover,
			&:focus {
				
                &>a {
                    color: var(--primary);
					g [fill] {
						fill: var(--primary);
					}
                }
            }
            &.mm-active {
				&>a {
					color:var(--text-dark);
					background:var(--light);
					box-shadow:none;
					border-top-left-radius: 0;
					border-bottom-left-radius: 0;
					border-top-right-radius: 10px;
					border-bottom-right-radius: 10px;
					
					&:after{
						border-top: 0.3125rem solid #ADADAD;
						border-left: 0.3125rem solid #ADADAD;
						border-width: 1px;
						
					}
				
					&:before{
						position: absolute;
						content: "";
						background: var(--primary);
						width: 0;
						height: 100%;
						top: 0;
						left: 0rem;
						
						-webkit-transition: all 0.5s;
						-ms-transition: all 0.5s;
						transition: all 0.5s;			
					
					}
				}
            }
        }
        li {
            position: relative;
        }
		
        //one step dropdown
        ul {
            transition: all .2s ease-in-out;
			position:relative;
			z-index: 1;
			padding: 0.75rem 0;
			&:before{
				position: absolute;
				content: "";
				width: 1px;
				height: calc(100% - 30px);
				background: #EAE9ED;
				top: 0px;
				left: 35px;
				transition: all 0.5s;

				@include custommq($max: 1600px) {
					left:31px;
					height: calc(100% - 27px);
				}
			
			}
				
            a {
				font-size: var(--dz-side-sub_nav-size);
				padding: var(--dz-side-sub_nav-padding);

				@include transitionMedium;
			 		
                &:hover,
                &:focus,
                &.mm-active {
                    text-decoration: none;
                    color: var(--primary);
					
                }
            }
            
        }
        a {
            position: relative;
            display: block;
            outline-width: 0;
            color:var(--text-gray);
            text-decoration: none;
			font-weight: 500;
			
			
        }
		.dz-active{
			&.mm-active{
				background:rgba(90, 69, 170, 0.05);
				padding-left: 13px;
				margin-left: 53px;
				border-radius:$radius;
				padding: 9px 16px;
				@include custommq($max: 1600px) {
					margin-left: 46px;
				}
				&:before{
					left:-1.1rem!important;
				}
			}
			
		}
        .has-arrow {
            &:after {
				border-top: 0.3125rem solid #C8C8C8;
				border-left: 0.3125rem solid #C8C8C8;
				border-bottom: 0.3125rem solid transparent;
				border-right: 0.3125rem solid transparent;
				border-width: 1px;
                #{$dz-pos-right}: 1.875rem;
                top: 48%;
                -webkit-transform: rotate(-225deg) translateY(-50%);
                transform: rotate(-225deg) translateY(-50%);
				
            }
        }
        .has-arrow[aria-expanded=true]:after,
        .mm-active>.has-arrow:after {
            -webkit-transform: rotate(-135deg) translateY(-50%);
            transform: rotate(-135deg) translateY(-50%);
        }
    }
	
	.main-menu{
		padding:0.625rem 1.875rem;
	}
	.header-profile2{
		display: var(--dz-side-profile);
	}
	.copyright{
		display: var(--dz-side-copyright);
		margin-bottom: 2rem;
	}
	.plus-box{
		display: var(--dz-side-info);
	}
	.header-info2{
		padding: 0.35rem 1rem 0.35rem 0.35rem;
		background-color: var(--body-bg);
		border-radius: .5rem;
		margin: 10px 15px 0;

		img{
			height: 2.8rem;
			width: 2.8rem;
			border-radius: $radius;
			margin-#{$dz-pos-right}: .8rem;
		}
		.sidebar-info{
			flex:1;
		}
		span{
			font-size:.9375rem;
			font-weight:500;
			color:var(--text-dark);
		}
		i{
			margin-#{$dz-pos-left}:auto;
			font-size: .85rem;
		}
	}
	
}

.copyright{
	padding:0 1rem;
	color:#9fa4a6;
	margin-top: 1.2rem;
	p{
		font-size: 0.875rem;
		margin-bottom: 6px;
	}
	strong{
		display:block;
		font-size: 0.875rem;	
		color:var(--text-gray);
		font-weight: 500;
	}
}

[data-sidebar-position="fixed"] {
	--dz-sidebar-pos : fixed;
}
.nav-text-icon-toggle{
	&:after{
		content: none!important;
	}
}