nav.navbar.bootsnav{ background: none; font-family: 'Work Sans', sans-serif; margin-bottom: 150px; border: none; } 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: 10px 15px; border-radius: 0; position: relative; transition: all .5s ease; z-index: 1; } nav.navbar.bootsnav ul.nav > li.dropdown > a{ padding: 10px 30px 10px 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: transparent !important; 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; background: linear-gradient(45deg, #555 49%, #111 50%); height: 100%; width: 100%; padding: 10px 15px; margin: 0; transform-origin: top; perspective: 1000px; position: absolute; left: 0; top: 0; transition: all .5s ease 0s; } nav.navbar.bootsnav ul.nav > li > a > span:after{ background: linear-gradient(45deg, #e7007b 49%, #bf1424 50%); transform-origin: bottom; transform: rotateX(90deg) translateY(0); z-index: 1; } nav.navbar.bootsnav ul.nav > li:hover > a > span:before, nav.navbar.bootsnav ul.nav > li.active > a > span:before{ transform: rotateX(90deg) translateY(-42px); } nav.navbar.bootsnav ul.nav > li:hover > a > span:after, nav.navbar.bootsnav ul.nav > li.active > a > span:after{ transform: rotateX(0) translateY(0); } 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{ background: linear-gradient(45deg, #e7007b, #bf1424) !important; color: #fff !important; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu{ background-color: #fff; } nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after{ position: absolute; top: 10px; 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; } 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: #bf1424; 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: #bf1424; background: transparent !important; } nav.navbar.bootsnav ul.nav>li{ margin: 5px auto 15px; } nav.navbar.bootsnav.navbar-mobile ul.nav>li>a{ color: #000; text-align: center; padding: 10px 15px; } nav.navbar.bootsnav ul.nav>li.dropdown>a{ padding: 10px 10px 10px 17px; } 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: #fff; } nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu>li>a{ color: #555; padding-left: 10px; 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: #bf1424; font-size: 14px; font-weight: normal; padding-left: 10px; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .col-menu li a{ color: #555; padding-left: 10px; } }