@import "../../abstracts/variable";
@import "../../abstracts/mixin";
[data-sidebar-style="full"][data-layout="vertical"] {
    .deznav{
		
		.metismenu{

			& > li{
				padding:0 30px;
				
				& > a{
					font-size: 16px;
					padding: 20px 20px;
					border-radius:$radius;
					@include transitionMedium;
					@include custommq($max:1350px){
						padding: 15px 17px;
					}
				}
				&.mm-active{

					& > a{
					
						i{
							color: $white;
							font-weight: 300;
						}
					}
				}
				.has-arrow:after{
					right: 1.5rem;
				}
				@include custommq($max:1350px){
					padding:0 20px;
				}
			}
			
		}
		
	}
	.menu-toggle {
        .nav-header {
            width: 5.5rem;
            z-index: 999;
            .brand-logo {
                padding-left: 0;
                padding-right: 0;
                justify-content: center;
            }
            .nav-control {
                .hamburger {
                    .line {
                        background-color: $primary;
                    }
                }
            }
        }
		.copyright,
		.book-box{
			display:none;
		}
        .header {
            padding-left: 5rem;
            width: 100%;
            @at-root [direction="rtl"]#{&} {
                padding: 0 0.9375rem;
                padding-right: 5rem;
            }
        }
        .deznav {
            width: 5.5rem;
            overflow: visible;
            position: absolute;
            .nav-text {
                display: none;
            }
            .slimScrollDiv,
            .deznav-scroll {
                overflow: visible !important;
            }
            .metismenu {
			
				
                li {
                    position: relative;
					
                    a {
                        padding: 1rem 1.17rem;
						margin: 2px 0;
						svg{
						    max-width: 24px;
							max-height: 24px;
							margin-right: 0;
						}
						&:before{
							content:none;
						}
                    }
                    &>ul {
                        position: absolute;
						left: 5rem;
						top: 0;
						width: 12rem;
						z-index: 1001;
						display: none;
						padding-left: 1px;
						height: auto !important;
						box-shadow: 0px 0px 40px 0px rgba(82, 63, 105, 0.1);
						border-radius: 6px;
						margin-left: 0;
						border:0;
						background:$white;

                        @at-root [direction="rtl"]#{&} {
                            left: auto;
                            right: 5rem;
                            // 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;
					padding: 0 13px;
					
                    &>a {
						
                        &.has-arrow {
                            &:after {
                                display: none;
                            }
                        }
                    }
                    &.mm-active > a{
						background:$primary;
						border-radius:$radius;
						i{
							color:$white;
							padding:0;
						}
					}
                    &:hover{
                        &:nth-last-child(-n + 1) {
                            &>ul {
                                bottom: 0;
                                top: auto;
                            }
                        }
                        &>a {
							border-radius: $radius;
							background:$primary;
							color:$white;
							@at-root [data-theme-version="dark"]#{&} {
								background:$dark-card;
							}
							i{
								color: $white;
							}
                        }
                        &>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: 5rem;
            @at-root [direction="rtl"]#{&} {
                margin-right: 5rem;
                margin-left: auto;
				border: 0;
            }
        }
        &+.footer {
            padding-left: 5rem;
            @at-root [direction="rtl"]#{&} {
                padding-left: 0;
                padding-right: 5rem;
            }
        }
    }
}
[data-sidebar-style="full"][data-layout="horizontal"] {
	.header .header-content{
		padding-left: 1.875rem;
	}
}
