.nav-header {
    height: var(--dz-header-height);
    width: var(--dz-sidebar-width);
    display: inline-block;
    text-align: #{$ic-pos-left};
    position: absolute;
    top:0;
    background-color:var(--nav-headbg);
    transition: all .2s ease;
    z-index: 7;
	border-right: 1px solid var(--border);
	
    .logo-abbr {
        max-width: 2.9375rem;
		@include respond('laptop') {
			max-width: 2.8125rem;
		}
		@include respond('phone') {
			width:2.1875rem;
			height:2.1875rem;
		}
    }
    .logo-compact {
        display: none;
    }
	
    .brand-logo {
        display: flex;
        height: 100%;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        font-size: 1.125rem;
        color: $white;
        text-decoration: none;
        padding-#{$ic-pos-left}: 1.5rem;
        padding-#{$ic-pos-right}: 1.5rem;
        font-weight: 700;
        
		@include respond('laptop') {
			padding-#{$ic-pos-left}: 1.25rem;
			padding-#{$ic-pos-right}:1.25rem;
		}
        @include respond('phone-land') {
            padding-#{$ic-pos-left}: 0;
            padding-#{$ic-pos-right}: 0;
            justify-content: center;
        }
        
    }
    .brand-title {
		margin-#{$ic-pos-left}: 0.9375rem;
		max-width: 8.75rem;
        @include respond('phone-land'){
            display: none;
        }
        svg{
            path{
                fill:var(--text-dark);
            }
        }
    }
	.rect-primary-rect{
		fill:var(--primary);
	}
    @include respond('phone-land'){
        width: 5rem;
        background-color: transparent;
    }
}

.nav-control {
    cursor: pointer;
    position: absolute;
    #{$ic-pos-right}: -4rem;
    text-align: center;
    top: 55%;
    transform: translateY(-50%);
    z-index: 9999;
    font-size: 1.4rem;
    padding: 0.125rem 0.5rem 0;
    border-radius: 0.125rem;
    @include respond('phone-land') {
        #{$ic-pos-right}: -3rem;
    }
	@include respond('phone') {
        #{$ic-pos-right}: -3rem;
    }
}

////////////////////
// Humbuger Icon
////////////////////
.hamburger {
    display: inline-block;
    #{$ic-pos-left}: 0rem;
    position: relative;
    top: 0rem;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    width: 1.625rem;
    z-index: 999;
}

.hamburger .line {
    background: var(--text-gray);
    display: block;
    height: 2px;
    border-radius: 0.1875rem;
    margin-top: 0.375rem;
    margin-bottom: 0.375rem;
    margin-#{$ic-pos-right}: auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger .line:nth-child(1) {
    width: 1.625rem;
}

.hamburger .line:nth-child(2) {
    width: 1.625rem;
}

.hamburger .line:nth-child(3) {
    width: 0.9375rem;
}

.hamburger:hover {
    cursor: pointer;
}

.hamburger:hover .line {
    width: 1.625rem;
}


.hamburger.is-active .line:nth-child(1),
.hamburger.is-active .line:nth-child(3) {
    width: 0.625rem;
    height: 0.125rem;
}

.hamburger.is-active .line:nth-child(2) {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    width: 1.375rem;
    height: 0.125rem;
}

.hamburger.is-active .line:nth-child(1) {
    -webkit-transform: translateY(4px) translateX(12px) rotate(45deg);
    transform: translateY(4px) translateX(12px) rotate(45deg);
}

.hamburger.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-4px) translateX(12px) rotate(-45deg);
    transform: translateY(-4px) translateX(12px) rotate(-45deg);
}

[data-header-position="fixed"],
[data-sidebar-position="fixed"][data-layout="vertical"],
[data-sidebar-position="fixed"][data-header-position="fixed"]{
    .nav-header{
        position: fixed;
    }
}
[data-sidebar-style="compact"][data-layout="vertical"] {
    .nav-header {
        .brand-title {
            display: none;
        }
        .logo-compact {
            max-width: 4.6875rem;
        }
        .brand-logo{
            justify-content: center;
        }
    }
}
[data-sidebar-style="modern"][data-layout="vertical"] {
    .nav-header {
        .brand-title {
            display: none;
        }
        .brand-logo{
            justify-content: center;
        }
        .logo-compact {
            display: none;
        }
    }
}
