Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #mega-menu-wrap-main-navigation {
- &.mega_menu_is_open {
- .mobile_cta {
- @include breakpoint(lg) {
- display: flex;
- width: 100%;
- }
- }
- }
- }
- // Top Level Menu
- // #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
- // #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
- // #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
- // background: rgba(6, 188, 193, 0.08) !important;
- // border-radius: 3px !important;
- // }
- // Flyout Menus
- #mega-menu-wrap-main-navigation #mega-menu-main-navigation {
- & > li.mega-menu-flyout > ul.mega-sub-menu {
- background: #F9F9F9;
- border-radius: 3px!important;
- display: block;
- margin-top: 0;
- padding: 0;
- text-align: left;
- width: 130%!important;
- left: 50%;
- transform: translateX(-49%)!important;
- li.mega-menu-item {
- display: flex;
- align-items: center;
- float: none;
- padding: 0;
- margin: 0;
- position: relative;
- a.mega-menu-link {
- background: #ffffff;
- color: #4B5353 !important;
- font-weight: 500 !important;
- font-size: 14px;
- line-height: 14px;
- display: block;
- width: 100%;
- max-width: 100%;
- white-space: normal;
- word-wrap: break-word;
- padding: 14px 16px;
- margin: 2px;
- border-radius: 3px;
- &:hover {
- background: #0C263E;
- color: #ffffff !important;
- }
- }
- }
- li.mega-menu-item:last-child a.mega-menu-link{
- border-bottom: 0;
- }
- }
- & > li.mega-menu-megamenu > ul.mega-sub-menu {
- padding: 10px!important;
- }
- }
- #mega-menu-wrap-main-navigation,
- .mega-menu-wrap {
- @media screen and (min-width: 769px) {
- background: transparent !important;
- }
- ul, li {
- padding:0 !important;
- }
- #mega-menu-main-navigation {
- @include breakpoint(lg) {
- margin-top: 25px;
- height:100vh;
- overflow: auto;
- z-index: 888888 !important;
- &:after {
- background:$white;
- content:"" !important;
- display: block !important;
- position: absolute;
- left: 0;
- bottom:-100%;
- height:100%;
- width: 100%;
- z-index: -1;
- }
- }
- &.open_sub_menu {
- @include breakpoint(lg) {
- overflow: auto;
- }
- }
- }
- #mega-menu-main-navigation{
- .mega-menu-row {
- margin-bottom: 2px!important;
- // background: transparent !important;
- // padding: 10px 0!important;
- // &:not(:last-child) {
- // border-bottom: 1px solid rgba( $body_color, 0.3)!important;
- // }
- // @include breakpoint(lg) {
- // margin-top:0 !important;
- // }
- & > ul.mega-sub-menu {
- display: flex !important;
- position: relative;
- padding: 0px!important;
- grid-gap: 2px;
- // @media screen and (max-width: 1439px) and (min-width: 768px) {
- // padding: 12px 12px !important;
- // }
- @include breakpoint(lg) {
- flex-wrap: wrap;
- box-shadow: none !important;
- background: #F4F4F4;
- border-radius: 5px;
- width: 90%;
- margin: 0 auto;
- float: none;
- }
- ul.menu {
- display: block !important;
- transform: none !important;
- position: static;
- background: transparent;
- li {
- padding:0 !important;
- border:0 !important;
- &:before,
- &:after {
- display: none !important;
- }
- &:first-child {
- a {
- border-top: 1px solid #D9D9D9;
- }
- }
- a {
- width: 100%;
- font-weight: 700 !important;
- font-size: 14px;
- line-height: 28px;
- color: #3A676C !important;
- border-bottom: 1px solid #D9D9D9;
- border-top:0;
- padding: 6px 0;
- }
- }
- }
- & > li.mega-menu-column {
- // background: #FFFFFF;
- // border-radius: 6px;
- // padding:40px 53px !important;
- @media screen and (max-width: 1439px) and (min-width: 768px) {
- // padding:20px !important;
- }
- @include breakpoint(lg) {
- padding:10px 20px!important;
- border-bottom: 2px solid #DBDDE6;
- margin-bottom:0;
- &:last-child {
- border-bottom: 0;
- margin-bottom:0;
- }
- }
- }
- li.mega-menu-item {
- @include breakpoint(lg) {
- padding:0!important;
- }
- @include breakpoint(xs) {
- padding: 0 !important;
- }
- a.mega-menu-link {
- text-transform: none!important;
- font-size: 14px;
- font-weight: 500!important;
- line-height: 14px;
- color: $primary__color!important;
- &:hover {
- color: $primary__color!important;
- }
- }
- .textwidget {
- p {
- font-size: 12px!important;
- line-height: 1.25em!important;
- margin-bottom: 0!important;
- margin-top: 5px!important;
- }
- }
- }
- }
- }
- & > li.mega-menu-item {
- margin:0 8.5px;
- @include breakpoint(lg) {
- padding:0 !important;
- background: #fff;
- }
- & > a.mega-menu-link {
- background: transparent !important;
- font-family: $font__secondary;
- color: #4B5353!important;
- font-weight: 500 !important;
- font-size: 12px;
- line-height: 24px;
- text-transform: inherit;
- display: flex;
- justify-content: center;
- align-items: center;
- opacity: 1 !important;
- padding: 10px 10px!important;
- height: auto !important;
- display: inline-block;
- position: relative;
- @include breakpoint(lg) {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- width: 100%;
- padding: 0 20px;
- opacity: 1 !important;
- }
- @include breakpoint(xs) {
- padding: 25px 20px;
- }
- &:before {
- display: inline-block !important;
- content: '' !important;
- width: 0;
- height: 0;
- right: 4px;
- top: 17px;
- transition: all ease-in-out .15s;
- -webkit-transform: rotate(45deg);
- transform: rotate(45deg);
- border: solid #4B5353 !important;
- border-width: 0 1.5px 1.5px 0 !important;
- padding: 2.5px;
- position: absolute;
- }
- &:hover {
- background: rgba(141, 141, 141, 0.16)!important;
- border-radius: 4px !important;
- cursor: pointer!important;
- }
- & > span.mega-indicator {
- display: none !important;
- }
- }
- & > .mega-sub-menu {
- border-radius: 3px !important;
- margin-top:15px;
- @include breakpoint(lg) {
- padding: 0 !important;
- }
- }
- &.mega-toggle-on {
- & > a.mega-menu-link {
- // background: rgba(6, 188, 193, 0.08) !important;
- // border-radius: 3px !important;
- & > span.mega-indicator {
- display: none !important;
- // &:after {
- // display: inline-block !important;
- // content: '' !important;
- // width: 0;
- // height: 0;
- // right: -4px;
- // top: 9px;
- // transition: all ease-in-out 150ms;
- // padding: 2.3px;
- // transform: rotateZ(-135deg);
- // border: solid #A893D5 !important;
- // border-width: 0 2px 2px 0 !important;
- // }
- }
- }
- }
- }
- & > li.mega-menu-item-has-children {
- & > a.mega-menu-link {
- padding-right: 26px!important;
- position: relative;
- }
- }
- ul.mega-sub-menu {
- li.menu-item {
- list-style: none;
- padding: 8px 0 !important;
- margin:0;
- @include breakpoint(lg) {
- padding:0 !important
- }
- &:last-child {
- margin-bottom:0;
- }
- }
- li.mega-menu-column {
- padding: 24px 20px !important;
- width:100%;
- background-color: $white;
- border-radius: 3px;
- &:last-child {
- border-right:0;
- }
- &.border0 {
- border-right: 0;
- }
- @include breakpoint(lg) {
- padding:0 !important;
- border-right: 0;
- }
- h4.mega-block-title{
- font-size: 24px !important;
- line-height: 31px !important;
- color: #2B3A4F !important;
- font-family: $font__secondary !important;
- text-transform: capitalize !important;
- font-weight: 400 !important;
- margin-bottom: 15px !important;
- @media screen and (max-width: 1439px) and (min-width: 768px) {
- margin-bottom: 5px !important;
- font-size: 21px !important;
- line-height: 31px !important;
- }
- }
- .product_menus {
- .product_menu_item {
- margin-bottom: 25px !important;
- &:last-child {
- margin-bottom: 0 !important;
- }
- h4, h4 a {
- margin:0 !important;
- border-top:0 !important;
- font-weight: 500 !important;
- font-size: 18px !important;
- line-height: 23px !important;
- color: #2B3A4F !important;
- font-family: $font__main !important;
- position: relative;
- padding:10px 0 !important;
- text-transform: inherit !important;
- letter-spacing: 0 !important;
- @media screen and (max-width: 1439px) and (min-width: 768px) {
- padding:8px 0 !important;
- font-size: 16px !important;
- line-height: 19px !important;
- }
- }
- h4 {
- margin:0 0 20px !important;
- a {
- border-bottom: 1px solid #D9D9D9 !important;
- &:before {
- background: url('../../images/arrow-right-blue.svg')no-repeat center center;
- background-size: contain;
- content: "";
- position: absolute;
- display: block;
- right:0;
- top:50%;
- transform: translateY(-50%);
- width: 16px;
- height: 23px;
- }
- }
- }
- .item_details {
- display: flex;
- justify-content: space-between;
- align-items: center;
- img {
- max-width: 208px;
- @media screen and (max-width: 1439px) and (min-width: 768px) {
- max-width: 150px
- }
- }
- p {
- font-weight: 400;
- font-size: 14px !important;
- line-height: 22px !important;
- padding-right: 35px;
- }
- }
- }
- }
- .product_menus {
- &.primary_heading {
- .product_menu_list h4 a {
- color: $primary__color !important;
- }
- }
- .product_menu_list {
- margin-bottom: 10px !important;
- @media screen and (max-width: 1439px) and (min-width: 768px) {
- margin-bottom: 0 !important;
- }
- &:last-child {
- margin-bottom: 0 !important;
- }
- &.border0 {
- h4 a {
- border-bottom: 0 !important;
- }
- }
- &.normal_link {
- h4 {
- a {
- color: $blue2 !important;
- &:before {
- display: none !important;
- }
- }
- }
- }
- h4, h4 a {
- margin:0 !important;
- border-top:0 !important;
- font-weight: 500 !important;
- font-size: 18px !important;
- line-height: 23px !important;
- color: $blue2 !important;
- font-family: $font__main !important;
- position: relative;
- padding:10px 0 !important;
- text-transform: inherit !important;
- letter-spacing: 0 !important;
- @media screen and (max-width: 1439px) and (min-width: 768px) {
- padding:8px 0 !important;
- font-size: 16px !important;
- line-height: 19px !important;
- }
- }
- h4 {
- margin:0 0 10px !important;
- a {
- border-bottom: 1px solid #D9D9D9 !important;
- &:before {
- background: url('../../images/arrow-right-blue.svg')no-repeat center center;
- background-size: contain;
- content: "";
- position: absolute;
- display: block;
- right:0;
- top:50%;
- transform: translateY(-50%);
- width: 16px;
- height: 23px;
- }
- }
- }
- .item_desc {
- p,a {
- font-weight: 400;
- font-size: 14px !important;
- line-height: 22px !important;
- color: $secondary__color !important;
- margin-bottom: 0 !important;
- }
- }
- }
- }
- }
- }
- // Third Level
- ul ul ul.mega-sub-menu ul.mega-sub-menu {
- & > li.mega-menu-item {
- a.mega-menu-link {
- font-weight: 400!important;
- padding: 6px 0!important;
- // &:hover {
- // text-decoration: underline!important;
- // }
- & > span.mega-indicator {
- display: block !important;
- position: relative;
- width: 24px !important;
- height: 24px !important;
- &:before {
- font-size: 0;
- width: 1px !important;
- height: 10px !important;
- background-color: #444 !important;
- display: block;
- position: absolute;
- top: 6px;
- left: 12px;
- content: '';
- }
- &:after {
- font-size: 0;
- width: 11px !important;
- height: 1px !important;
- background-color: #444 !important;
- display: block;
- position: absolute;
- top: 10px;
- left: 7px;
- }
- }
- }
- &:not(:last-child) {
- & > a.mega-menu-link {
- border-bottom: 1px solid $color__border!important;
- }
- }
- // Fourth Level
- ul.mega-sub-menu {
- display: none;
- margin-left: 0!important;
- margin-top: 5px!important;
- & > li.mega-menu-item {
- a.mega-menu-link {
- font-weight: 400!important;
- padding: 0!important;
- color: $blue1!important;
- border: 0!important;
- &:hover {
- text-decoration: underline!important;
- }
- }
- }
- }
- &.mega-toggle-on {
- a.mega-menu-link span.mega-indicator:before {
- display: none!important;
- }
- ul.mega-sub-menu {
- display: block;
- }
- }
- }
- }
- }
- }
- .transparent_header .main-header:not(.sticky) {
- #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link, .mega-menu-wrap #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link {
- color: $white!important;
- }
- #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link:before, .mega-menu-wrap #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link:before {
- border: solid #ffffff !important;
- border-width: 0 1.5px 1.5px 0!important;
- }
- #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link:hover, .mega-menu-wrap #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link:hover {
- background: rgba($white, 0.1) !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement