nav.navbar.bootsnav{ background-color: #a9ce3b; margin-bottom: 150px; border: none; box-shadow: 0 0 5px #000 inset; border-radius: 10px; } nav.navbar.bootsnav ul.nav > li{ margin-right: 20px; } nav.navbar.bootsnav ul.nav > li > a{ color: transparent; background-color: transparent; font-size: 15px; font-weight: 600; text-transform: uppercase; padding: 16px 15px; border-radius: 0; overflow: hidden; position: relative; z-index: 1; transition: all .5s ease; } nav.navbar.bootsnav ul.nav > li.dropdown > a{ padding: 16px 30px 16px 15px; } nav.navbar.bootsnav ul.nav > li.active > a, nav.navbar.bootsnav ul.nav > li.active > a:hover, nav.navbar.bootsnav ul.nav > li > a:hover, nav.navbar.bootsnav ul.nav > li.on > a{ color: transparent; background-color: transparent; border-color: transparent; } nav.navbar.bootsnav ul.nav > li > a > span:before, nav.navbar.bootsnav ul.nav > li > a > span:after{ content: attr(data-hover); color: #fff; width: 100%; height: 100%; padding: 16px 15px; transform:translateX(-50%) translateY(-50%); position: absolute; left: 50%; top:50%; transition:all 0.3s ease 0s; } nav.navbar.bootsnav ul.nav > li > a > span:after{ color: #1a6b02; top: -50%; } nav.navbar.bootsnav ul.nav > li:hover > a > span:before, nav.navbar.bootsnav ul.nav > li.active > a > span:before{ top: 150%; } nav.navbar.bootsnav ul.nav > li:hover > a > span:after, nav.navbar.bootsnav ul.nav > li.active > a > span:after{ top: 50%; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content li a:hover, nav.navbar.bootsnav li.dropdown ul.dropdown-menu li a:hover, nav.navbar.bootsnav li.dropdown ul.dropdown-menu li a.dropdown-toggle:active, nav.navbar ul.nav li.dropdown.on ul.dropdown-menu li.dropdown.on > a{ color: #fff !important; background-color: #a9ce3b !important; } nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after{ color: #fff; position: absolute; top: 15px; right: 10px; margin: 0 0 0 7px; } nav.navbar.bootsnav ul.nav > li.dropdown > ul{ top: 100%; transition: all 0.8s ease 0s; } nav.navbar.bootsnav ul.nav > li.dropdown.on > ul{ top: 120%; } .dropdown-menu.multi-dropdown{ position: absolute; left: -100% !important; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu{ box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); border: none; border-radius: 10px; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content li{ font-size: 14px; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .menu-col li a{ padding-left: 10px; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .title{ color: #a9ce3b; font-size: 16px; font-weight: bold; } @media only screen and (max-width:990px){ .dropdown-menu.multi-dropdown{ left: 0 !important; } nav.navbar.bootsnav .navbar-toggle{ color: #fff; background: transparent !important; } nav.navbar.bootsnav ul.nav>li{ width: 75%; margin: 5px auto 15px; } nav.navbar.bootsnav.navbar-mobile ul.nav>li>a{ padding: 10px 15px; text-align: center; border: none; margin: 0; } nav.navbar.bootsnav ul.nav>li.dropdown>a{ padding: 16px 0 16px 17px; } nav.navbar.bootsnav.navbar-mobile .navbar-collapse{ background-color: #a9ce3b; } nav.navbar.bootsnav ul.nav>li.active>a, nav.navbar.bootsnav ul.nav>li>a:hover, nav.navbar.bootsnav ul.nav>li.on>a{ color: transparent; } nav.navbar.bootsnav ul.nav>li.dropdown>a.dropdown-toggle:before{ color: #fff; } nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu>li>a{ color: #fff; border-bottom-color: none; } nav.navbar.bootsnav ul.nav>li.dropdown>ul{ top: 100%; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .title{ color: #fff; font-size: 14px; font-weight: normal; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .col-menu li a{ color: #fff; } }