:root{ --text_color: #333; --text_color2: #0097e6; } 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: 15px; font-weight: 600; text-transform: uppercase; padding: 10px 15px; position: relative; z-index: 1; transition: all .5s ease; } 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: #fff; background-color: var(--text_color2); } 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-color: var(--text_color2) !important; font-weight: 600; text-shadow: 0 0 3px var(--text_color); box-shadow: 0 0 5px #fff inset; transition: all 0.3s ease 0s; } nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after{ color: var(--text_color); margin: 0 0 0 7px; position: absolute; top: 10px; right: 10px; } nav.navbar.bootsnav ul.nav > li.dropdown.on > a.dropdown-toggle:after{ color: #fff; } nav.navbar.bootsnav ul.nav > li.dropdown > ul{ opacity: 0; visibility: hidden; transform-origin: 50% 0%; animation-name: swingdown; animation-duration: 1s; animation-timing-function: ease; transition: all 0.5s ease-in-out 0s; } nav.navbar.bootsnav ul.nav > li.dropdown.on > ul{ opacity: 1 !important; visibility: visible !important; } .dropdown-menu.multi-dropdown{ position: absolute; left: -100% !important; } nav.bootsnav .megamenu-content{ width: 80% !important; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu{ background-color: var(--text_color2); border: none; border-radius: 0; top: 105%; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li > a{ color: #fff; border: none; transition: all 0.3s ease 0s; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content{ background-color: var(--text_color2); top: 80%; right: 0; left: auto; } nav.navbar.bootsnav ul.nav li.megamenu-fw > a:hover{ background-color: var(--text_color2); } 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; transition: all 0.3s ease 0s; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .title{ color: #fff; font-size: 16px; font-weight: bold; } @keyframes swingdown{ 0%{ opacity: .99999; transform: rotateX(90deg); } 30%{ transform: rotateX(-30deg) rotateY(5deg); animation-timing-function: ease-in-out; } 65%{ transform: rotateX(30deg) rotateY(-3deg); animation-timing-function: ease-in-out; } 100%{ transform: rotateX(0); animation-timing-function: ease-in-out; } } @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{ 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{margin-right: 10px;} nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu{ background-color: var(--text_color2); } nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu>li>a{ color: #fff; padding-left: 10px; border: none; } nav.navbar.bootsnav .dropdown-menu{ z-index: 0; } nav.bootsnav .megamenu-content{ width: 100% !important; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .title{ color: #fff; font-size: 14px; font-weight: normal; border: none; } nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content .col-menu li a{ color: #fff; border: none; } }