@import "../../abstracts/variable";
@import "../../abstracts/mixin";
[data-sidebar-style="full"][data-layout="vertical"] {
    .menu-toggle {
        .nav-header {
            width: 3.75rem;
            z-index: 999;
            .brand-logo {
                padding-left: 0;
                padding-right: 0;
                justify-content: center;
            }
            .nav-control {
                .hamburger {
                    .line {
                        background-color: $primary!important;
                    }
                }
            }
        }
        .header {
            padding-left: 3.75rem;
            width: 100%;
            @at-root [direction="rtl"]#{&} {
                padding: 0 0.9375rem;
                padding-right: 3.75rem;
            }
        }
        .deznav {
            width: 3.75rem;
            overflow: visible;
            position: absolute;
            .nav-text {
                display: none;
            }
            .slimScrollDiv,
            .deznav-scroll {
                overflow: visible !important;
            }
            .metismenu {
				padding: 5px;
				
                li {
                    position: relative;
					padding:0;
					
                    a {
                        padding: 0.8125rem 0.9375rem;
						
						svg{
						    max-width: 20px;
							max-height: 20px;
							margin-right: 0;
						}
						&:before{
							content:none;
						}
                    }
                    &>ul {
                        position: absolute;
						left: 3rem;
						top: 2.9375rem;
						width: 12rem;
						z-index: 1001;
						display: none;
						padding-left: 1px;
						height: auto !important;
						box-shadow: 0px 9px 10px 0px rgba(82, 63, 105, 0.1);
						border-radius: 0 0 5px 5px;
						margin-left: 0;
						border:0;
						&:after{
							content:none;
						}
                        @at-root [direction="rtl"]#{&} {
                            left: auto;
                            right: 3.75rem;
                            // box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
                        }
                        li:hover {
                            ul {
                                // display: block;
                                left: 11.8125rem;
                                top: 0;
								&:after{
									content:none;
								}
                            }
                        }
                    }
                    &:hover>ul {
                        display: block;
                        height: auto;
                        overflow: visible;
                    }
                }
                &>li {
                    transition: all 0.4s ease-in-out;
                    &>a {
                        &.has-arrow {
                            &:after {
                                display: none;
                            }
                        }
                    }
                    &:hover {
                        &:nth-last-child(-n + 1) {
                            &>ul {
                                bottom: 2.9375rem;
                                top: auto;
                                box-shadow: 6px -6px 10px rgba(0, 0, 0, 0.15);
                                @at-root [direction="rtl"]#{&} {
                                    box-shadow: -6px -6px 10px rgba(0, 0, 0, 0.15);
                                }
                            }
                        }
                        &>a {
                            width: 15rem;
							border-radius: 5px 5px 0 5px;
							box-shadow:0px 0px 13px 0px rgba(82, 63, 105, 0.05);
							
							@at-root [data-theme-version="dark"]#{&} {
								background:$dark-card;
							}
							
                            .nav-text {
                                display: inline-block;
                                padding-left: 1.6875rem;
                                @at-root [direction="rtl"]#{&} {
                                    padding-left: auto;
                                    padding-right: 1.6875rem;
                                }
                            }
                        }
                        &>ul {
                            height: auto !important;
							padding: 10px 0;						
							
                            a {
                                padding: 6px 20px 6px 20px;
                                margin-left: -.1rem;
                            }
                            ul{
								padding: 10px 0;
								a {
									padding: 6px 20px 6px 20px;
									margin-left: -.1rem;
								}
                            }
                        }
                    }
                }
                .nav-label,
                .nav-badge {
                    display: none;
					
                }
            }
        }
        .content-body {
            margin-left: 3.75rem;
            @at-root [direction="rtl"]#{&} {
                margin-right: 3.75rem;
                margin-left: auto;
				border: 0;
            }
        }
        &+.footer {
            padding-left: 3.75rem;
            @at-root [direction="rtl"]#{&} {
                padding-left: 0;
                padding-right: 3.75rem;
            }
        }
    }
}
[data-sidebar-style="full"][data-layout="horizontal"] {
	.deznav .metismenu{
	    padding: 0 30px;
	}
	.header .header-content{
		padding-left: 1.875rem;
	}
}
