// Header left right padding

.header-area {
    // Header Top
    @media #{$md}{
        box-shadow: 0 10px 15px rgba(25, 25, 25, 0.1);
    }
    @media #{$sm}{
        box-shadow: 0 10px 15px rgba(25, 25, 25, 0.1);
    }
    @media #{$xs}{
        box-shadow: 0 10px 15px rgba(25, 25, 25, 0.1);
    }
    .header-top{
        padding: 9px 130px;
        border-bottom: 1px solid #f0f1f2;
        @media #{$laptop}{
            padding: 9px 30px;
        }
        @media #{$lg}{
            padding: 9px 15px;
        }
        // mobile menu show
        @media #{$md}{
            padding: 9px 50px;
         }
        @media #{$sm}{
            padding: 9px 20px;
         }
        @media #{$xs}{
            padding: 9px 0px;
         }

  
    }
    .header-bottom{
        // mobile menu show
        padding: 0px 130px;
        @media #{$laptop}{
            padding: 0px 30px;
        }
        @media #{$lg}{
            padding: 0px 15px;
        }
        // mobile menu show
        @media #{$md}{
            padding: 15px 50px;
         }
        @media #{$sm}{
            padding: 15px 20px;
         }
        @media #{$xs}{
            padding: 15px 20px;
         }
    }
}

// Header Bottom
.main-header{
    position: relative;
    z-index: 3;
    .main-menu{
        @media #{$laptop}{
           margin-right: 30px;
        }
        ul{
            li{
                display: inline-block;
                position: relative;
                z-index: 1;
                margin: 0 27px;
                @media #{$lg}{
                    margin: 0 14px;
                }
                a{
                    color: #fff;
                    font-weight: 600;
                    padding: 28px 2px;
                    display: block;
                    font-size: 16px;
                    @include transition(.3s);
                    text-transform: capitalize;
                    &::before{
                        content: "";
                        position: absolute;
                        width: 0;
                        background: #4778FF;
                        bottom: 30px;
                        -webkit-transition: .4s;
                        -o-transition: .4s;
                        transition: .4s;
                        right: 5px;
                        left: -5px;
                        height: 4px;
                        z-index: -1;
                    }
                }
                &:hover{
                    & > a{
                        color:#fff;
                        &::before{
                            left: 0;
                            right: auto;
                            width: 100%;
                            -webkit-transition: .4s;
                            -o-transition: .4s;
                            transition: .4s;
                        }
                    }
                }
            }
            ul.submenu{
                position: absolute;
                width: 170px;
                // background: rgba(255, 255, 255,.8);
                background: #fff;
                left: 0;
                top: 90%;
                visibility: hidden;
                opacity: 0;
                box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05);
                padding: 17px 0;
                // border-top: 5px solid #11E276;
                @include transition(.3s);
                & > li{
                    margin-left: 7px;
                    display: block;
                    & > a{
                        padding: 6px 10px !important;
                        font-size: 16px;
                        color: #367FFF;;
                        &::before{
                            position: unset;
                        }
                        &:hover{
                            color:$theme-color;
                            background: none;
                            padding-left: 13px !important;
                        }
                        i{
                            // @include transition(.4s);
                        }
                    }
                } 
            }
        }
    }
}
// Hover Show Sub-menu
.main-header ul > li:hover > ul.submenu {
	visibility: visible;
    opacity: 1;
    top: 100%;
}
 
.header-transparent {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 9;
}

//! header Sticky  & Responsive
.header-sticky{
    &.sticky-bar{
        background:$theme-color;
        &.sticky {
            .main-menu{
                ul {
                    li{
                        a {
                            padding: 20px 20px !important;
                        }
                    }
                }
            }
            // Small device sticky show padding
            @media #{$md}{
                padding: 15px 0px;
            }
            @media #{$sm}{
                padding: 15px 0px;
            }
            @media #{$xs}{
                padding: 15px 0px;
            } 
        }
    }
}

//! Mobile Menu
.mobile_menu {
    position: absolute;
    right: 0px;
    width: 100%;
    z-index: 99;
    .slicknav_menu {
        background: transparent;
        margin-top: 0px !important;
        .slicknav_btn {
            top: -30px;
            // mobile Menu button color
            .slicknav_icon-bar {
                background-color:#fff !important;
            }
        }
        .slicknav_nav{
            margin-top: 9px !important;
            // box-shadow: 0 0 10px 3px rgba(141, 140, 140, 0.5);
            a:hover {
                background: transparent;
                color: $theme-color;
            }
            a {
                font-size: 15px;
                padding: 7px 10px;
            }
            // Dropdown Menu button Padding None
        .slicknav_item a {
                padding: 0 !important;
            }
        }
    }
}



