// Sidenav
.sidenavbtn {
    width: 55px;
    height: 55px;
    border: 1px solid #000;
    font-size: 28px;
    &:hover {
        background: #000;
        color: #fff;
    }
}
/*^^^^^^^^^^^^^^^^^^^^^ sidebar Menu ^^^^^^^^^^^^^^^^^^^^^^^^*/
.offcanvas-backdrop{
    visibility: hidden;
}
.offcanvas-backdrop.show{
    visibility: visible;
}
.offcanvas.sidebar-nav {
    width: 450px;
    border: none;
    padding: 30px 30px 20px;
    max-height: 100%;
    overflow-y: auto;
    .btn-close {
        box-shadow: none;
    }
    .address-block {
        p {
            a {
                font-size: 1.2em;
                color: $color-one;
                text-decoration: underline;
            }
        }
    }
    .social-icon {
        a {
            font-size: 1.3em;
            margin: 10px 10px 0;
            @include transition (0.2s);
            &:hover {
                color: $color-one;
            }
        }
    }
}
.theme-main-menu {
    position: relative;
    z-index: 999;
    // box-shadow: 0 13px 35px -12px rgb(35 35 35 / 10%);
    @include transition(0.4s);
    .gap-one {
        padding: 33px 40px;
    }
    .gap-two {
        padding: 24px 40px;
    }
    &.menu-overlay {
        position: absolute;
        top:0;
        right: 0;
        left: 0;
        background: transparent;
    }
    &.menu-style-three{
        position: inherit;
    }
    // Fixed Menu
    &.fixed {
        position: fixed;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 13px 35px -12px rgb(35 35 35 / 10%);
        .alert-wrapper {
            display: none;
        }
        .gap-one {
            padding-top: 12px;
            padding-bottom: 12px;
        }
        .gap-two {
            padding-top: 12px;
            padding-bottom: 12px;
        }
    }
    .navbar-toggler {
        width: 52px;
        height: 50px;
        padding: 0;
        box-shadow: none;
        position: relative;
        z-index: 99;
        border: none;
        background: $color-one
    }
    .navbar-toggler:focus {box-shadow: none;}
    .navbar-toggler::before,
    .navbar-toggler::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 10px;
        width: 32px;
        height: 2px;
        pointer-events: none;
        -webkit-transition: -webkit-transform 0.25s;
        transition: transform 0.25s;
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        background: #fff;
    }
    .navbar-toggler span {
        position: absolute;
        left: 10px;
        overflow: hidden;
        width: 32px;
        height: 2px;
        margin-top: -1px;
        text-indent: 200%;
        -webkit-transition: opacity 0.25s;
        transition: opacity 0.25s;
        background: #fff;
    }
    .navbar-toggler::before {
        -webkit-transform: translate3d(0, -9px, 0) scale3d(1, 1, 1);
        transform: translate3d(0, -9px, 0) scale3d(1, 1, 1);
    }
    .navbar-toggler::after {
        -webkit-transform: translate3d(0, 8px, 0) scale3d(1, 1, 1);
         transform: translate3d(0, 8px, 0) scale3d(1, 1, 1); 
    }
    .navbar-toggler[aria-expanded="true"] span {opacity: 0;}
    .navbar-toggler[aria-expanded="true"]::before {
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
        transform: rotate3d(0, 0, 1, 45deg);
    }
    .navbar-toggler[aria-expanded="true"]::after {
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
        transform: rotate3d(0, 0, 1, -45deg);
    }

    // Main Menu
    .nav-item .nav-link {
        font-family: $main-font;
        font-weight: 500;
        font-size: 18px;
        line-height: initial;
        color: $text-dark;
        padding: 10px 0;
        margin: 0 18px;
        position: relative;
        @include transition(0.2s);
    }
    .nav-item:hover .nav-link {
        color: $color-one;
    }
    .nav-item .nav-link.active {
        color: $color-one;
    }
    &.white-vr {
        .nav-item .nav-link {color: #fff;}
        .nav-item:hover .nav-link {color: $color-one;}
        &.fixed {
            background: #000;
            border: none;
        }
    }
    .dropdown-toggle::after {
        content: '\F282';
        font-family: $bootstrapFont;
        border: none;
        vertical-align: -1px;
        margin-left: 7px;
        font-weight: 900;
        font-size: 12px;
    }
    .dashboard-menu .nav-link::after {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        background: url(../images/shape/shape_79.svg) no-repeat center;
        background-size: cover;
        margin-left: 5px;
        vertical-align: 2px;
        animation: rotated 2s infinite linear;
    }

    // Menu Two
    &.menu-style-two:not(.fixed) {
        border-bottom: 1px solid rgba($color: #000000, $alpha: 0.08);
    }
    // Menu Four
    &.menu-style-four {
        background: #fff;
        &:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 128px;
            height: 100%;
            border-right: 1px solid #000;
            border-bottom: 1px solid #000;
        }
        &.fixed:before {
            display: none;
        }
    }
}
// Dropdown
.navbar .dropdown-menu .dropdown-item {
    text-transform: capitalize;
    line-height: 35px; 
    font-size: 0.85em;
    background: transparent;
    position: relative;
    color: #000;
    @include transition(0.2s);
    span {
        position: relative;
        &:before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 1px;
            background: $color-two;
            transform: scale(0 , 1);
            transform-origin: 0 0;
            @include transition(0.2s);
        }
    }
    &:hover span:before,&.active span:before {
        transform: scale(1);
    }
    &:hover,&.active {
        color: $color-one;
    }
}


// Mega Menu
.theme-main-menu .navbar {position: static;}
.navbar [class*="mega-dropdown"] .dropdown-menu {
    padding: 0 0 15px; 
    margin: 0; 
    right: 0;
}
.navbar .mega-dropdown-sm .dropdown-menu {
    min-width: 700px;
    left: -250px;
    padding: 10px;
}
.navbar [class*="mega-dropdown"] .menu-column {
    padding: 5px 0;
    .mega-menu-title {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 500;
        display: inline-block;
        position: relative;
        margin: 0 0 15px;
        padding-left: 15px;
        &:before {
            content: '';
            position: absolute;
            width: calc(100% - 15px);
            height: 1px;
            background: #000;
            left: 15px;
            bottom: -5px;
        }
    }
}
// Widget
.theme-main-menu {
    .alert-wrapper {
        background: #453A34;
        padding: 8px 12px;
        a,span {
            color: $color-one;
        }
    }
    .login-btn-one {
        color: #000;
        i {
            font-size: 1.05em;
            margin-right: 10px;
        }
        a {
            color: $text-dark;
            
            &:hover {
                color: $color-one;
            }
        }
    }
    .login-btn-two {
        width: 60px;
        height: 60px;
        background: #000;
        color: #fff;
        font-size: 1.3em;
        &:hover {
            background: $color-one;
        }
    }
    .search-btn-one {
        width: 60px;
        height: 60px;
        background: #000;
        color: #fff;
        font-size: 1.3em;
        position: relative;
        z-index: 1;
        overflow: hidden;
        margin-left: -10px;
        &:before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: #fff;
            top:0;
            left: -50px;
            @include transition(0.3s);
        }
        &:hover,&:hover:before {
            background: $color-one;
        }
    }
    .email-text {
        font-size: 17px;
        color: rgba($color: #000000, $alpha: 0.35);
        a {
            font-size: 18px;
            color: #000;
            text-decoration: underline;
            &:hover {
                color: $color-one;
            }
        }
    }
}
/*----- For Desktop -------*/
@media screen and (min-width: 992px) {
    .justify-content-between .navbar {
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50% , -50%);
    }
    .navbar .dropdown-menu {
        font-size: 1em;
        z-index: 5;
        background-color: #fff;
        border-radius: 10px;
        display: block;
        right: auto;
        left: 0;
        padding: 10px 5px;
        border: none;
        top: 100%;
        visibility: hidden;
        transform: translateY(5px);
        opacity: 0;
        min-width: 200px;
        box-shadow: 0px 50px 100px rgba(0, 0, 0, 0.12);
        margin: 0;
        transform-origin: 0 0;
        transition: all 0.2s ease-in;
        &:before {
            content: '';
            position: absolute;
            left: 30px;
            top:-17px;
        }
    }
    .navbar .dropdown-menu .dropdown-menu {
        left: calc(100% + 5px);
        top: 0;
        right: auto;
        min-width: 240px;
        box-shadow: 0 20px 30px -10px rgb(0, 0, 0, 0.15);
        transform: translateY(0);
    }
    .navbar .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar .show.dropdown-toggle::after {transform: rotate(180deg);}

}

/*----- For Mobile ----*/
@media screen and (max-width: 991px) {
    .navbar {padding: 0;}
    .navbar-collapse .logo {margin-bottom: 10vh; padding-left: 12px;}
    .white-vr .navbar-collapse {background-color: #000;}
    .navbar-collapse {
      position: fixed;
      top: 0;
      background-color: #fff;
      left: 0;
      height: 100vh;
      max-height: 100vh;
      overflow-y: auto;
      clear: both;
      width: 320px;
      max-width: calc(100vw - 60px);
      z-index: 9999;
      transform: translateX(-100%);
      display: block !important;
      padding: 16px 0 20px;
      transition: all 0.3s ease-in-out;
    }
    .navbar-collapse.show {transform: translateX(0); box-shadow: 15px 0 25px rgba(35,35,35,0.09);}
    .theme-main-menu .navbar .mega-dropdown {position: relative;}
    .navbar .navbar-nav .nav-link {margin: 0; padding: 15px 12px; border-top: 1px dashed rgba($color: #000, $alpha: 0.1);}
    .white-vr .navbar .navbar-nav .nav-link {border-top: 1px dashed rgba($color: #fff, $alpha: 0.15);}
    .navbar .dropdown-menu .dropdown-item {padding: 0 10px; line-height: 46px; font-size: 0.9em;}
    .navbar .dropdown-menu {
        border: none;
        padding: 0;
        border-radius: 0;
        margin: 0;
        background: #fff;
        border-top: 1px dashed rgba(0,0,0,.1);
    }
    .navbar [class*="mega-dropdown"] .dropdown-menu {padding: 0; min-width: 100%;}
    .navbar [class*="mega-dropdown"] .menu-column {padding: 0;}
    .navbar [class*=mega-dropdown] .menu-column .mega-menu-title {padding-left: 10px; margin-top: 15px;}
    .navbar [class*=mega-dropdown] .menu-column .mega-menu-title:before {left: 10px;}
    .navbar .dropdown-toggle::after {
        position: absolute;
        right: 15px;
        top:calc(50% - 2px);
    }
    .dashboard-menu .nav-link::before {right: auto; left: 0; top:-2px;}
  }
  /*(max-width: 991px)*/