:root{ --text_color: #333; --text_color2: #10ac84; } nav.navbar.bootsnav{ font-family: 'PT 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: var(--text_color); background-color: #fff; font-size: 18px; font-weight: 600; text-transform: uppercase; padding: 5px; border-radius: 10px; position: relative; z-index: 1; transition: all .5s ease; } nav.navbar.bootsnav ul.nav > li.dropdown > a{ padding: 5px 18px 5px 5px; } 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: var(--text_color2); background: transparent !important; border: none; } nav.navbar.bootsnav ul.nav > li > a>span:before{ content: ''; background: var(--text_color2); height: 0; width: 2px; transform: translateX(-50%); position: absolute; left: 50%; top: 0; z-index: -1; transition: all 0.2s ease; } nav.navbar.bootsnav ul.nav>li.active>a>span:before, nav.navbar.bootsnav ul.nav>li>a:hover>span:before, nav.navbar.bootsnav ul.nav>li.on>a>span:before{ height: 100%; } 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: var(--text_color2) !important; background-color: #fff !important; box-shadow: 0 0 5px var(--text_color) inset; transition: all 0.3s ease 0s; } nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after{ color: var(--text_color); position: absolute; top: 5px; right: 5px; margin: 0 0 0 7px; } nav.navbar.bootsnav ul.nav > li.dropdown > ul{ opacity: 0; visibility: hidden; transform: perspective(600px) scaleY(0); transform-origin: top center; transition: all 0.5s ease-in-out 0s; } nav.navbar.bootsnav ul.nav > li.dropdown.on > ul{ opacity: 1 !important; visibility: visible !important; transform: perspective(600px) scale(1); } .dropdown-menu.multi-dropdown{ position: absolute; left: -100% !important; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu{ background-color: transparent; border: none; border-radius: 0; top: 124%; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li > a{ color: #fff; background-color: var(--text_color2); transform-origin: center; transform: scale(0); transition: all 0.3s ease 0.1s; } nav.navbar.bootsnav li.dropdown.on ul.dropdown-menu > li > a{ transform: scale(1); } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content{ background-color: #fff; box-shadow: 0 0 5px var(--text_color); top: 100%; } 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{ color: #fff; background-color: var(--text_color2); padding-left: 10px; margin-bottom: 5px; transform-origin: center; transform: scale(0); transition: all 0.3s ease 0.1s; } nav.navbar.bootsnav li.dropdown.on ul.dropdown-menu.megamenu-content .menu-col li a{ transform: scale(1); } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .title{ color: var(--text_color2); 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: var(--text_color2); background: transparent !important; } nav.navbar.bootsnav ul.nav>li{ margin: 5px auto 15px; } nav.navbar.bootsnav.navbar-mobile ul.nav>li>a{ background-color: transparent; text-align: center; padding: 10px 15px; border: none; } nav.navbar.bootsnav ul.nav>li.dropdown>a{ padding: 10px 10px 10px 17px; } nav.navbar.bootsnav ul.nav>li.dropdown>a.dropdown-toggle:before{ color: var(--text_color); } nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu>li>a{ color: #fff; padding-left: 10px; border-bottom-color: none; } nav.navbar.bootsnav .dropdown-menu{ z-index: 0; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .title{ color: var(--text_color2); font-size: 14px; font-weight: normal; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .col-menu li a{ color: #fff; } }