
// mobile menue style hear
.side-bar{
    position: fixed;
    overflow: hidden;
    top: 0;
    right: -100%;
    width: 365px;
    padding: 40px 30px;
    padding-top: 50px;
    height: 100%;
    display: block;
    background-color: white;
    backdrop-filter: blur(7px);
    z-index: 1900;
    transition: all 600ms ease;
    box-shadow: -5px 0 20px -5px rgb(149 22 22 / 12%);    
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    @media #{$small-mobile} {
        width: 320px;
        box-shadow: none;
    }
    &.show{
        right: 0;
    }
}

.side-bar{
    button{        
        max-width: max-content;
        i{
            color: #fff;
            height: 50px;
            width: 50px;
            border-radius: 5px;
            background: var(--color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: -8px;
            margin-top: -3px;
        }
    }
}

.rts-sidebar-menu-desktop{
    .logo{
        margin-top: 50px;
    }
    p{
        &.disc{
            margin-top: 30px;
            font-size: 16px;
            line-height: 26px;
        }
    }
    .get-in-touch{
        .title{
            margin-bottom: 30px;
        }
        .wrapper{
            .single{
                i{
                    color: var(--color-primary);
                    margin-right: 10px;
                    margin-bottom: 15px;
                    &:last-child{
                        margin-bottom: 0;
                    }
                }
                a{
                    transition: .3s;
                }
            }
        }
    }
}

.social-wrapper-two{
    &.menu{
        margin-top: 50px;
        margin-left: 12px;
        padding-left: 0;
    }
    a{
        margin-right: 40px;
        z-index: 1;
        position: relative;
        i{
            color: #fff;
            transition: .3s;
            font-size: 16px;
        }
        &::after{
            position: absolute;
            height: 45px;
            width: 45px;
            border-radius: 50%;
            content: '';
            z-index: -1;
            background: var(--color-primary);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: .3s;
        }
        &:hover{
            i{
                color: var(--color-primary);
            }
            &::after{
                background: #ffecec;
                box-shadow: 0px 10px 30px rgb(33 5 5 / 5%);
            }
        }
    }
}

.logo-1{
    display: block;
}
.logo-2{
    display: none;
}
.logo-3{
    display: none;
}
.logo-4{
    display: none;
}

// dextop menu
.home-blue{
    .side-bar button i{
        background: var(--color-primary-2);
    }
    .logo-1{
        display: none;
    }
    .logo-2{
        display: block;
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single i{
        color: var(--color-primary-2);
    }
    .social-wrapper-two a::after{
        background: var(--color-primary-2);
        color: #fff;
    }
    .social-wrapper-two a{
        &:hover{
            color: var(--color-primary-2);
            i{
                color: var(--color-primary-2);
            }
            &::after{
                background: #8e8f9314;
                color: var(--color-primary-2);
            }
        }
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single a{
        &:hover{
            color: var(--color-primary-2);
        }
    }
}
.home-yellow{
    #menu-btn{
        &:hover{
            background: var(--color-primary-3) !important;
        }
    }
    .side-bar button i{
        background: var(--color-primary-3);
    }
    .logo-1{
        display: none;
    }
    .logo-2{
        display: none;
    }
    .logo-3{
        display: block;
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single i{
        color: var(--color-primary-3);
    }
    .social-wrapper-two a::after{
        background: var(--color-primary-3);
        color: #fff;
    }
    .social-wrapper-two a{
        &:hover{
            color: var(--color-primary-3);
            i{
                color: var(--color-primary-3);
            }
            &::after{
                background: #8e8f9314;
                color: var(--color-primary-3);
            }
        }
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single a{
        &:hover{
            color: var(--color-primary-3);
        }
    }
}
.home-violet{
    .side-bar button i{
        background: var(--color-primary-4);
    }
    .logo-1{
        display: none;
    }
    .logo-2{
        display: none;
    }
    .logo-3{
        display: none;
    }
    .logo-4{
        display: block;
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single i{
        color: var(--color-primary-4);
    }
    .social-wrapper-two a::after{
        background: var(--color-primary-4);
        color: #fff;
    }
    .social-wrapper-two a{
        &:hover{
            color: var(--color-primary-4);
            i{
                color: var(--color-primary-4);
            }
            &::after{
                background: #E4E7FF;
                color: var(--color-primary-4);
            }
        }
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single a{
        &:hover{
            color: var(--color-primary-4);
        }
    }
}
.index-six{
    .side-bar button i{
        background: var(--color-primary-6);
    }
    .logo-1{
        display: none;
    }
    .logo-2{
        display: none;
    }
    .logo-3{
        display: block;
    }
    .logo-4{
        display: none;
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single i{
        color: var(--color-primary-6);
    }
    .social-wrapper-two a::after{
        background: var(--color-primary-6);
        color: var(--color-primary-6) !important;
    }
    .social-wrapper-two a{
        &:hover{
            color: var(--color-primary-6);
            i{
                color: var(--color-primary-6);
            }
            &::after{
                background: #E4E7FF !important;
                color: var(--color-primary-6);
            }
        }
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single a{
        &:hover{
            color: var(--color-primary-6);
        }
    }
}
.index-seven{
    .side-bar button i{
        background: var(--color-primary-5);
    }
    .logo-1{
        display: block;
    }
    .logo-2{
        display: none;
    }
    .logo-3{
        display: none;
    }
    .logo-4{
        display: none;
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single i{
        color: var(--color-primary-5);
    }
    .social-wrapper-two a::after{
        background: var(--color-primary-5);
        color: #fff;
    }
    .social-wrapper-two a{
        &:hover{
            color: var(--color-primary-5);
            i{
                color: var(--color-primary-5);
            }
            &::after{
                background: #E4E7FF;
                color: var(--color-primary-5);
            }
        }
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single a{
        &:hover{
            color: var(--color-primary-5);
        }
    }
}

.rts-sidebar-menu-desktop{
    .body-mobile{
        .mainmenu-nav{
            .mainmenu{
                li{
                    a{
                        color: #000;
                        display: block;
                        &.open{
                            color: var(--color-primary);
                        }
                    }
                }
            }
        }
        .mainmenu li.has-droupdown > a::before{
            content: "\f078" !important;
            right: 10px;
        }
        .mainmenu li.has-droupdown > a.open::before{
            content: "\f077" !important;
        }
        .mainmenu li.has-droupdown .submenu::after{
            display: none;
        }
        .mainmenu{
            padding-left: 0;
            margin-top: 50px;
            &>li{
                padding: 10px;
                border-radius: 5px;
                box-shadow: 0px 11px 30px rgb(0 0 0 / 7%);
                width: 100%;
            }
            ul{
                padding: 0;
                margin: 0;
            }
        }
        .mainmenu li.has-droupdown .submenu{
            display: none !important;
            position: inherit;
            border-top: none;
            .tag{
                padding: 0 15px;
                margin: 20px 0 5px 0;
                font-size: 18px;
                font-weight: 500;
                color: #1C2539;
            }
            .mobile-menu-link{
                margin: 0;
                &:hover{
                    a{
                        color: var(--color-primary) !important;
                    }
                }
            }
            &.third-lvl.mobile-menu{
                li{
                    &:hover{
                        a{
                            color: var(--color-primary);
                        }
                    }
                }
            }
        }
        .mainmenu li.has-droupdown .submenu.active{
            display: block !important;
            visibility: visible;
            opacity: 1;
            .mobile-menu-link{
                a{
                    color: #000;
                }
            }
        }
        .menu-item{
            &:hover{
                .menu-link{
                    color: var(--color-primary) !important;
                }
            }
        }
    }
}
.home-violet{
    .rts-sidebar-menu-desktop{
        .body-mobile{
            .mainmenu-nav{
                .mainmenu{
                    li{
                        a{
                            color: #000;
                            display: block;
                            &.open{
                                color: var(--color-primary-4);
                            }
                        }
                    }
                }
            }
            .mainmenu li.has-droupdown > a::before{
                content: "\f078" !important;
                right: 10px;
            }
            .mainmenu li.has-droupdown > a.open::before{
                content: "\f077" !important;
            }
            .mainmenu li.has-droupdown .submenu::after{
                display: none;
            }
            .mainmenu{
                padding-left: 0;
                margin-top: 50px;
                &>li{
                    padding: 10px;
                    border-radius: 5px;
                    box-shadow: 0px 11px 30px rgb(0 0 0 / 7%);
                    width: 100%;
                }
            }
            .mainmenu li.has-droupdown .submenu{
                display: none !important;
                position: inherit;
                border-top: none;
                li{
                    margin: 0;
                }
            }
            .mainmenu li.has-droupdown .submenu.active{
                display: block !important;
                visibility: visible;
                opacity: 1;
                li{
                    a{
                        color: #000;
                    }
                }
            }
            .social-wrapper-two{
                &.menu{
                    margin-top: 50px;
                    margin-left: 12px;
                    padding-left: 0;
                }
                a{
                    margin-right: 40px;
                    z-index: 1;
                    position: relative;
                    i{
                        color: #fff;
                        transition: .3s;
                        font-size: 16px;
                    }
                    &::after{
                        position: absolute;
                        height: 45px;
                        width: 45px;
                        border-radius: 50%;
                        content: '';
                        z-index: -1;
                        background: var(--color-primary-4);
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        transition: .3s;
                    }
                    &:hover{
                        i{
                            color: var(--color-primary-4);
                        }
                        &::after{
                            background: #ffecec;
                            box-shadow: 0px 10px 30px rgb(33 5 5 / 5%);
                        }
                    }
                }
            }
        } 
}
    
}
.home-blue2{
    .side-bar button i{
        background: var(--color-primary-2);
    }
    .logo-1{
        display: none;
    }
    .logo-2{
        display: block;
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single i{
        color: var(--color-primary-2);
    }
    .social-wrapper-two a::after{
        background: var(--color-primary-2);
        color: #fff;
    }
    .social-wrapper-two a{
        &:hover{
            color: var(--color-primary-2);
            i{
                color: var(--color-primary-2);
            }
            &::after{
                background: #8e8f9314;
                color: var(--color-primary-2);
            }
        }
    }
    .rts-sidebar-menu-desktop .get-in-touch .wrapper .single a{
        &:hover{
            color: var(--color-primary-2);
        }
    }
}
.home-blue,
.home-blue2{
    .rts-sidebar-menu-desktop .body-mobile .menu-item:hover .menu-link{
        color: var(--color-primary-2) !important;
    }
}
.home-yellow .rts-sidebar-menu-desktop .body-mobile .menu-item:hover .menu-link{
    color: var(--color-primary-3) !important;
}
.home-violet .rts-sidebar-menu-desktop .body-mobile .menu-item:hover .menu-link{
    color: var(--color-primary-4) !important;
}
.index-six .rts-sidebar-menu-desktop .body-mobile .menu-item:hover .menu-link{
    color: var(--color-primary-6) !important;
}
.index-seven .rts-sidebar-menu-desktop .body-mobile .menu-item:hover .menu-link{
    color: var(--color-primary-5) !important;
}
.home-blue,
.home-blue2{
    .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.active .mobile-menu-link:hover a{
        color: var(--color-primary-2) !important;
    }
}
.home-yellow .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.active .mobile-menu-link:hover a{
    color: var(--color-primary-3) !important;
}
.home-violet .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.active .mobile-menu-link:hover a{
    color: var(--color-primary-4) !important;
}
.index-six .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.active .mobile-menu-link:hover a{
    color: var(--color-primary-6) !important;
}
.index-seven .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.active .mobile-menu-link:hover a{
    color: var(--color-primary-5) !important;
}
.home-blue,
.home-blue2{
    .rts-sidebar-menu-desktop .body-mobile .mainmenu-nav .mainmenu li a.open{
        color: var(--color-primary-2) !important;
    }
}
.home-yellow .rts-sidebar-menu-desktop .body-mobile .mainmenu-nav .mainmenu li a.open{
    color: var(--color-primary-3) !important;
}
.home-violet .rts-sidebar-menu-desktop .body-mobile .mainmenu-nav .mainmenu li a.open{
    color: var(--color-primary-4) !important;
}
.index-six .rts-sidebar-menu-desktop .body-mobile .mainmenu-nav .mainmenu li a.open{
    color: var(--color-primary-6) !important;
}
.index-seven .rts-sidebar-menu-desktop .body-mobile .mainmenu-nav .mainmenu li a.open{
    color: var(--color-primary-5) !important;
}

.home-blue,
.home-blue2{
    .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.third-lvl.mobile-menu li:hover a{
        color: var(--color-primary-2);
    }
}
.home-yellow .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.third-lvl.mobile-menu li:hover a{
    color: var(--color-primary-3);
}
.home-violet .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.third-lvl.mobile-menu li:hover a{
    color: var(--color-primary-4);
}
.index-six .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.third-lvl.mobile-menu li:hover a{
    color: var(--color-primary-6);
}
.index-seven .rts-sidebar-menu-desktop .body-mobile .mainmenu li.has-droupdown .submenu.third-lvl.mobile-menu li:hover a{
    color: var(--color-primary-5);
}
