//mainmenu style 


.header-menu{
    

.header-menu-vertical {
    position: relative;
    z-index: 2;
        .menu-title{
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        height: 54px;
        line-height: 54px;
        cursor: pointer;
        margin: 0;
        padding-right: 10px;
        &:before{
        content: '\e067';
        display: inline-block;
        font-size: 18px;
        font-family: 'simple-line-icons';
        font-weight: 400;
        width: 34px;
        height: 34px;
        line-height: 34px;
        background: #247cea;
        margin-right: 10px;
        text-align: center;
        border-radius: 5px;
        vertical-align: -3px;
            }
            &:after{
            content: '\f3d0';
            display: inline-block;
            font-size: 12px;
            font-family: "Ionicons";
            font-weight: 400;
            margin-left: 7px;
            float: right;
            }
        }
        .be-af-none{
            padding-left:20px;
            &:after{
            display:none;
            }
            &:before{
            display:none;
            }
        }
        .display-block{
        display:block;
        }
        .display-none{
        display:none;
        }
        .menu-content{
        width: 100%;
        background: #fff;
        border: 1px solid #eaeaea;
        position: absolute;
        top: 100%;
        left: 0;
        min-width:270px;
        &.display-block{
            min-width: inherit;
        }
        li.expand{
            a{
                padding-left: 45px;
                font-weight: 700;
                & i{
                    right:auto;
                    left:20px;
                }
            }
        }
          & li{
                display:block;
                position:relative;
               & a{
                position: relative;
                display: block;
                overflow: hidden;
                line-height: 24px;
                text-transform: capitalize;
                word-wrap: break-word;
                background: #fff;
                color: #47494a;
                padding: 8px 20px;
                font-size: 14px;
                font-weight: 400;
                -webkit-transition: all 0.3s linear;
                -moz-transition: all 0.3s linear;
                -ms-transition: all 0.3s linear;
                -o-transition: all 0.3s linear;
                transition: all 0.3s linear;
                }
                 & .sub-menu {
                position: absolute;
                z-index: 9;
                text-align: left;
                top: 0;
                left: 100%;
                background: #fff;
                padding: 15px 10px 15px 10px ;
                display: inline-block;
                width: 900px;
                display: -webkit-flex;
                display: -moz-flex;
                display: -ms-flex;
                display: -o-flex;
                display: flex;
                opacity: 0;
                visibility: hidden;
                -webkit-transition: all 0.3s linear;
                -moz-transition: all 0.3s linear;
                -ms-transition: all 0.3s linear;
                -o-transition: all 0.3s linear;
                transition: all 0.3s linear;
                border:1px solid #eaeaea;
                & li{
                    width:33.33%;
                    & a{
                    margin:5px 0px 5px 0px;
                        &:hover{
                            background:#fff;
                        }
                    }
                    & ul{
                        & li{
                            width:100%;
                            & a{
                                padding:2px 20px 2px 20px;
                               &:hover{
                                padding-left:30px;
                                background:#fff;
                               }
                            }
                        }
                    } 
                    & img{
                        width: 100%;
                        -webkit-transition: all 300ms linear;
                        -moz-transition: all 300ms linear;
                        -ms-transition: all 300ms linear;
                        -o-transition: all 300ms linear;
                        transition: all 300ms linear;
                        margin-top:10px;
                        &:hover{
                        -moz-transform: scale(1.05) rotate(0.05deg);
                        -ms-transform: scale(1.05) rotate(0.05deg);
                        -o-transform: scale(1.05) rotate(0.05deg);
                        -webkit-transform: scale(1.05) rotate(0.05deg);
                        transform: scale(1.05) rotate(0.05deg);
                        -webkit-transition: all 300ms linear;
                        -moz-transition: all 300ms linear;
                        -ms-transition: all 300ms linear;
                        -o-transition: all 300ms linear;
                        transition: all 300ms linear;
                        }
                    }
                }
            }
            & .sub-menu.sub-menu-2{
                padding: 0;
                width: 240px;
                border: 1px solid #eaeaea;
                background: #fff;
                & li{
                    width:100%;
                    padding:0;
                    line-height: 20px;
                    border-bottom: 1px solid #eaeaea;
                    position: relative;
                    display: block;
                    & a{
                        padding:3px 20px;
                    }
                    &:last-child{
                        border-bottom:0;
                    }
                }
            }
            &:hover {
                & .sub-menu {
                    opacity: 1;
                    visibility: visible;
                }
            }
            & a{
                -webkit-transition: all 300ms linear;
                -moz-transition: all 300ms linear;
                -ms-transition: all 300ms linear;
                -o-transition: all 300ms linear;
                transition: all 300ms linear;
                &:hover{
                    background:#f9f9f9;
                }
                & i{
                    position: absolute;
                    right: 20px;
                    top: 50%;
                    -moz-transform: translateY(-50%);
                    -webkit-transform: translateY(-50%);
                    -o-transform: translateY(-50%);
                    -ms-transform: translateY(-50%);
                    transform: translateY(-50%);
                }
            }
        }
    }
}

.header-menu-vertical {
    li{
        &:hover{
            &>a{
            color:$theme-color;
            }
        }
    }
}

.header-horizontal-menu{
    & li {
        float: left;
        margin-left: 38px;
        padding: 15px 0;
        position:relative;
            &:first-child{
                margin-left:0;
            }
        & a{
        display: block;
        padding: 0;
        font-weight: 700;
        font-size: 14px;
        color: #fff;
        background: transparent;
        text-transform: uppercase;
        line-height: 24px;
        height: 24px;
        border-bottom: 2px solid transparent;
        position: relative;
        }
    }
    & li.menu-dropdown{
        position:relative;
        & ul.main-sub-menu{
        position: absolute;
        z-index: 9;
        visibility: hidden;
        opacity: 0;
        text-align: left;
        opacity: 0;
        visibility: hidden;
        -o-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
        transform-style: preserve-3d;
        -o-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
        transform: rotateX(-75deg);
        -o-transform: rotateX(-75deg);
        -moz-transform: rotateX(-75deg);
        -webkit-transform: rotateX(-75deg);
        min-width: 205px;
        left: auto!important;
        background: #fff;
        box-shadow: 0 0 3.76px 0.24px rgba(0,0,0,.15);
        top:54px;
            & li{
                display: block;
                margin: 0;
                width: 100%;
                padding: 10px 20px;
                border-bottom:1px solid#eaeaea;
                &:last-child{
                border:0;
                }
                    & a{
                        color:#47494a;
                        font-weight:400;
                        text-transform: capitalize;
                        & i{
                            position: absolute;
                            right: 0px;
                            top: 50%;
                            -moz-transform: translateY(-50%);
                            -webkit-transform: translateY(-50%);
                            -o-transform: translateY(-50%);
                            -ms-transform: translateY(-50%);
                            transform: translateY(-50%);
                        }
                    }
                    &:hover{
                       &>a{
                        color:$theme-color;
                        padding-left:10px;
                       }
                    }
                }
                & li.position-static{
                    position:relative !important;
                    &:hover .main-sub-menu.main-sub-menu-2{
                        transform: translateY(-54px);
                        opacity: 1;
                        visibility: visible;
                    }
                }
        }
        & ul.main-sub-menu.main-sub-menu-2{
            left: 100%!important;
            transform: translateY(-30px);
            opacity: 0;
            visibility: hidden;
        }
        &:hover{
            & .main-sub-menu{
            opacity: 1;
            visibility: visible;
            transform: rotateX(0);
            -o-transform: rotateX(0);
            -moz-transform: rotateX(0);
            -webkit-transform: rotateX(0);
            -o-transition: -o-transform .3s,opacity .3s;
            -ms-transition: -ms-transform .3s,opacity .3s;
            -moz-transition: -moz-transform .3s,opacity .3s;
            -webkit-transition: -webkit-transform .3s,opacity .3s;
            padding: 0!important;
            }
        }

        ul.mega-menu-wrap{
        background-color: #fff;
        display: block;
        left: -100px;
        padding: 30px 30px 30px 30px;
        position: absolute;
        text-align: left;
        top: 100%;
        width: 1010px;
        z-index: 9999;
        -webkit-box-shadow: 0 0 3.76px 0.24px rgba(0,0,0,.15);
        box-shadow: 0 0 3.76px 0.24px rgba(0,0,0,.15);
        opacity: 0;
        visibility: hidden;
        -o-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
        transform-style: preserve-3d;
        -o-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
        transform: rotateX(-75deg);
        -o-transform: rotateX(-75deg);
        -moz-transform: rotateX(-75deg);
        -webkit-transform: rotateX(-75deg);
            & li{
                margin:0;
                width:25%;
                padding:0px 0px;
                & a{
                    color:#47494a;
                }
                & li.mega-menu-title{
                    padding:0px 0px;
                    margin:0 0 5px;
                    & a{
                        color:#47494a;
                        text-transform: uppercase;
                        font-weight: 700;
                        &:hover{
                            padding:0px 0px;
                            color:$theme-color;
                        }
                    }
                }
                & li{
                    width:100%;
                    padding:0px 0px;
                    overflow:hidden;
                    & a{
                        color:#47494a;
                        font-weight:400;
                        text-transform: capitalize;
                        margin:3px 0;
                        &:hover{
                            padding-left:10px;
                        }
                    }
                }
                &:hover{
                    &>a{
                    color:$theme-color;
                    }
                }
            }
            & li.w-100{
                width:100%;
                margin-top:20px;
                & a{
                    display:inline;
                    &:hover{
                        padding:0;
                    }
                    & img{
                        max-width:100%;
                        -webkit-transition: all 300ms linear;
                        -moz-transition: all 300ms linear;
                        -ms-transition: all 300ms linear;
                        -o-transition: all 300ms linear;
                        transition: all 300ms linear;
                        &:hover{
                        -moz-transform: scale(1.05) rotate(0.05deg);
                        -ms-transform: scale(1.05) rotate(0.05deg);
                        -o-transform: scale(1.05) rotate(0.05deg);
                        -webkit-transform: scale(1.05) rotate(0.05deg);
                        transform: scale(1.05) rotate(0.05deg);
                        -webkit-transition: all 300ms linear;
                        -moz-transition: all 300ms linear;
                        -ms-transition: all 300ms linear;
                        -o-transition: all 300ms linear;
                        transition: all 300ms linear;
                        }
                    }
                }
            }
            
            @media #{$laptop-device}{
                left:-200px;
                width: 920px;
            }
        }
        ul.mega-menu-wrap.left-0px{
             @media #{$laptop-device}{
                left:0px;
            }
        }
        &:hover{
            & .mega-menu-wrap{
                opacity: 1;
                visibility: visible;
                transform: rotateX(0);
                -o-transform: rotateX(0);
                -moz-transform: rotateX(0);
                -webkit-transform: rotateX(0);
                -o-transition: -o-transform .3s,opacity .3s;
                -ms-transition: -ms-transform .3s,opacity .3s;
                -moz-transition: -moz-transform .3s,opacity .3s;
                -webkit-transition: -webkit-transform .3s,opacity .3s;
            }
        }
    }


    

}

.free-ship {
    color: #fff;
    line-height: 24px;
    font-size: 14px;
    padding: 15px 0;
    }
}
.header-menu{
    &.header-menu-2{
        .header-horizontal-menu{
             li{
                &:hover{
                background: #257dea;
                }
                &:first-child{
                    margin-left:0;
                    border:0;
                }
                margin:0px;
                padding:15px 40px;
                border-left:1px solid#257dea;
                ul{
                    li{
                    border-bottom:0px solid#ebebeb;
                    border-left:0px solid#257dea;
                        &:hover{
                        background: none;
                        }
                        & li{
                            border:0;
                        }
                    }
                }
                a{
                    i{
                        &.icon{
                         margin-right:5px;
                         font-size:16px;
                        }
                    }
                }
                &.menu-dropdown{
                    &:hover{
                        & .main-sub-menu{
                            left:0!important;
                        }
                        & .main-sub-menu-2{
                            left:100%!important;
                        }
                    }
                }
            }
        }
    }
}

.header-menu-style-2{
    padding: 21px 0;
    line-height: 12px;
    font-size: 13px;
    & li {
        padding: 0 15px;
        border-right: 1px solid #47494a;
        & button{
            color:1d1d1d;
            &:hover{
            color:$theme-color;
            }
        }
    }
    .pr-0 {
    padding-right: 0;
    border: 0;
}
    ul.dropdown-menu {
        margin: 0;
        top: 28px !important;
        left: auto!important;
        right: 0!important;
        min-width: 130px;
        overflow: hidden;
        border-radius: 0;
        border: 1px solid #ebebeb;
        background: #fff none repeat scroll 0 0;
        box-shadow: 0 1px 7px -2px rgba(0, 0, 0, 0.3);
        transform: rotateX(90deg);
        transform-origin: center top 0;
        & li {
            display: block;
            padding: 0px 18px;
            border: 0;
            & a {
                display: block;
                width: 100%;
                padding: 12px 10px;
                color: #47494a;
                font-size: 13px;
                clear: both;
                font-weight: 400;
                text-align: inherit;
                white-space: nowrap;
                background: none;
                border-bottom: 1px solid #ebebeb;
                &:hover{
                    color:$theme-color;
                }
            }
            &:last-child{
                & a{
                    border-bottom: 0px solid #ebebeb;
                }
            }
        }
    }
}

.header-menu-3{
    box-shadow:0 3px 2.55px 0.45px rgba(0,0,0,.06);
    .header-menu-vertical{
        .menu-title{
            color:#1d1d1d;
            &:before{
                background:#fff;
                width:auto;
            }
        }
    }
    .header-horizontal-menu{
        & li{
            & a{
                color:#1d1d1d;
            }
            &:hover{
                a{
                    color:$theme-color;
                }
            }
        }
    }
}

.header-menu{
    & .col-lg-3{
        &.custom-col-2{
            ms-flex: 0 0 16.7%;
            flex: 0 0 16.7%;
            max-width: 16.7%;
            @media only screen and (min-width: 1200px) and (max-width: 1342px){
                ms-flex: 0 0 20%;
                flex: 0 0 20%;
                max-width: 20%;
            }
        }
    }
    & .col-lg-9{
        &.custom-col-2{
            ms-flex: 0 0 83.3%;
            flex: 0 0 83.3%;
            max-width: 83.3%;
            @media only screen and (min-width: 1200px) and (max-width: 1342px){
                ms-flex: 0 0 80%;
                flex: 0 0 80%;
                max-width: 80%;
            }
        }
    }
}


.header-menu{
    & .col-lg-2{
        &.custom-col-3{
                ms-flex: 0 0 20.666667%;
                flex: 0 0 20.666667%;
                max-width: 20.666667%;
        }
    }
    & .col-lg-7{
        &.custom-col-3{
            ms-flex: 0 0 54.3%;
            flex: 0 0 54.3%;
            max-width: 54.3%;
        }
    }
}

