@use "../abstracts/variables" as *; @use "../abstracts/mixin" as *; .menu_container { background-color: $primary; @media (min-width: 767px) { height: auto; } nav { display: flex; background-color: $gold; > div { height: auto; background: transparent; flex-grow: 1; border: none; } } .menu { @include reset-list; position: relative; z-index: 0; width: 1170px; margin: 0 auto; display: flex; flex-wrap: wrap; > li { float: none; margin: 0; &.has_submenu { position: relative; } ul { display: none; } a { display: block; font-family: var(--font-base); color: $primary; font-weight: 600; font-size: 20px; text-align: center; padding: 14px 20px; text-decoration: none; background: transparent; text-transform: uppercase; letter-spacing: .02em; border-bottom: 3px solid transparent; } } } } .top_menu_container, .menu_mobile_container { height: 50px; @include container; overflow: hidden; ul.right_menu { float: right; @include reset-list; li { float: left; padding: 3px 19px; margin: 8px; border-right: 1px solid rgba(255, 255, 255, 0.2); line-height: 2; height: 28px; &.collapsed { padding: 3px 9px 3px 6px; margin: 8px auto; } &.search { border: none; line-height: 1; width: 100%; height: 30px; } /*&:nth-child(2) { padding: 0 19px; }*/ a { float: left; font-family: var(--font-base); font-size: 14px; font-weight: bold; text-align: right; color: $primary; text-decoration: none; text-transform: uppercase; display: flex; span { overflow: hidden; display: block; height: 28px; } &.with_svg_icon { position: relative; margin-right: 30px; } svg { fill: $text-inverted-color; height: 20px; width: 20px; position: absolute; right: -25px; top: 2px; } i { font-size: 18px; position: relative; top: 2px; margin-left: 5px; } } .search_form { float: right; overflow: hidden; height: 34px; margin-right: 10px; .search_input { border: 1px solid #efefef; border-radius: 3px; background-color: $element-bg; height: 26px; font-family: var(--font-base); font-size: 16px; line-height: 1.25; color: $text-color; } .search_submit { float: right; margin: 4px; } } .search_button { margin-top: 6px; float: right; } } } } .menu_mobile_container { height: 46px; padding: 12px 0; background-color: var(--brand-primary); .mobile_menu_button a { display: block; width: 20px; height: 21px; padding: 4px 10px 4px 11px; margin-right: 12px; i { color: white; font-size: 19px; } } .logo_mobile { height: 100%; img { height: 100%; } } .right_menu_container { background-color: var(--brand-primary); margin-left: 12px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; flex-grow: 1; ul.right_menu { li { padding: 0 10px; margin: 0; a.with_svg_icon { margin-right: 10px; } a { svg { position: static; } } .search_form { height: 25px; .search_input { height: 18px; width: 80px; } .search_submit { margin: 0 6px; } } .search_button { margin: 0; } } } } } .menu-submenu, .mobile_menu_container { position: absolute; > a { display: block; height: 30px; } ul { @include reset-list; a { display: block; font-family: var(--font-base); font-size: 14px; font-weight: bold; color: $text-color; text-decoration: none; padding: 15px 0; border-bottom: 1px solid #f8f8f8; text-transform: uppercase; } li:last-child a { border-bottom: none; } } > ul { padding: 20px; border-radius: 3px; box-shadow: 0 0 15px 0 rgba(35, 31, 32, 0.1); background-color: $element-bg; margin-left: 20px; width: max-content; display: none; li { ul { display: none; li { padding-left: 10px; } } } li.has_submenu { position: relative; &:after { -webkit-font-smoothing: antialiased; display: var(--fa-display, inline-block); font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto; font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f0d7"; position: absolute; right: 0; top: 15px; -webkit-transform: rotate(270deg); transform: rotate(270deg); transition: 0.6s ease; } &.opened:after { -webkit-transform: rotate(0deg); transform: rotate(0deg); } } } } .mobile_menu_container { display: none; position: fixed; z-index: 15; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.8); nav { background: white; width: fit-content; height: 100vh; padding: 20px; min-width: 70vw; max-width: 100vw; overflow-x: hidden; overflow-y: auto; ul, li, li a { width: 100%; } ul > li > ul > li { padding-left: 20px; width: CALC(100% - 20px); } .submenu { display: none; } li.has_submenu { position: relative; &:after { -webkit-font-smoothing: antialiased; display: var(--fa-display, inline-block); font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto; font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f0d7"; position: absolute; right: 0; top: 15px; -webkit-transform: rotate(270deg); transform: rotate(270deg); } &.opened:after { -webkit-transform: rotate(0deg); transform: rotate(0deg); } } } } .logo_close_button { display: flex; height: 42px; margin-bottom: 37px; .logo { flex-grow: 1; height: 42px; a { height: 100%; padding: 0; border-bottom: none; img { height: 100%; } } } .mobile_close_menu_button { height: 30px; width: 22.5px; padding: 4px; a { font-size: 30px; color: var(--brand-primary); padding: 0; border-bottom: none; } } } .mobile_menu_container nav li.has_submenu { &:after { content: "\f054"; -webkit-transform: rotate(0); transform: rotate(0); transition: 0.6s ease; } &.opened:after { -webkit-transform: rotate(90deg); transform: rotate(90deg); } } .slogan { width: 190px; margin: 8px 0; } .top_menu_container { height: auto; overflow: visible; display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; .brand_logo { display: block; img { display: block; height: 66px; width: auto; } } ul.right_menu { float: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; li { float: none; height: auto; margin: 0; padding: 6px 16px; border: none; border-radius: 999px; background-color: $gold; line-height: 1.4; &.search { background: transparent; padding: 6px 4px; a { color: $text-inverted-color; } } &.collapsed { padding: 6px 12px; margin: 0; } a { color: $primary; font-size: 12px; font-weight: 600; letter-spacing: .02em; align-items: center; &.with_svg_icon { margin-right: 0; } svg { display: none; } span { height: auto; } i { top: 0; font-size: 14px; } } } } } .menu_mobile_container { height: 56px; padding: 0 12px; align-items: center; .logo_mobile { height: 34px; img { height: 100%; width: auto; } } ul.right_menu li a { color: $text-inverted-color; } } .mobile_menu_container nav { background: $surface; } .brand_logo_part2 { fill: $gold; color: $gold; } // Vaste tabbalk onderaan (alleen mobiel, zichtbaar < 768px via .d-md-none) .mobile_tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: flex; background-color: var(--brand-dark); padding-bottom: env(safe-area-inset-bottom, 0); box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25); a { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; color: rgba(255, 255, 255, 0.75); font-family: var(--font-base); font-size: 12px; font-weight: 600; text-decoration: none; i { font-size: 20px; line-height: 1; } &.active { color: $gold; font-weight: 800; &::before { content: ""; position: absolute; top: 0; left: 50%; width: 44px; height: 3px; transform: translateX(-50%); background-color: $gold; } } } } @media (max-width: 767.98px) { .site_container { padding-bottom: 64px; } } .menu_mobile_container { ul.right_menu li a { line-height: 20px; } .right_menu_container { margin-top: 10px; ul.right_menu li { padding: 0 5px; &.search { width: auto; } } } }