 #topNav { float: right; position: relative; } .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu li { position: relative; } .sf-menu ul { position: absolute; display: none; top: 100%; left: 0; z-index: 100000; margin: 0 auto; } .sf-menu .flyOutLeft ul { right: 0 !important; left: auto; } .vendor-ie-7 .sf-menu .flyOutLeft ul { left: inherit !important; } .sf-menu > li { float: left; font-weight: bold; border-left: 1px solid #ffffff; } .sf-menu > li:first-child { border-left: none; } .sf-menu li > ul, .sf-menu li.sfHover > ul { width: 100%; } .sf-menu li:hover > ul, .sf-menu li.sfHover > ul { display: block; } .sf-menu ul ul { top: 0; left: 12.1em; border-top: none; } .sf-menu .flyOutLeft ul ul { top: 0; left: -12em; } .sf-menu { position: relative; z-index: 10000; } .sf-menu ul { min-width: 12em; } .sf-menu ul > li:last-child { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; } .vendor-ie-11 .sf-menu ul > li:first-child { margin-bottom: -1px; } .vendor-ie-11 .sf-menu ul > li:last-child { margin-top: -1px; } .sf-menu a { text-transform: uppercase; font-size: 0.875em; font-weight: 700; display: block; padding: 1em 1em; zoom: 1; } .sf-menu a:link, .sf-menu a:visited { color: #19130A; -webkit-transition: all 0.8s ease; -moz-transition: all 0.8s ease; -o-transition: all 0.8s ease; transition: all 0.8s ease; } .sf-menu a:hover, .sf-menu a:active { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; background-color: #8396AB; color: #ffffff; } .vendor-ie-7 .sf-menu a, .vendor-ie-7 .sf-menu ul a:hover { background: #000000; } .vendor-ie-7 .sf-menu ul a, .vendor-ie-7 .sf-menu a:hover { background: #000000; } .sf-menu li { background: #3a3a3a; border-radius: 0px; } .sf-menu > li { background: none; } .sf-menu ul li { border-radius: 0; background-color: #8396AB; } .sf-menu ul ul li { background-color: rgba(0, 0, 0, 0.7); } .sf-menu li:hover, .sf-menu li.sfHover {} .sf-arrows .sf-with-ul { padding-right: 2.5em; } .sf-arrows .flyOutLeft ul .sf-with-ul { padding-left: 2.5em; padding-right: 1em; } .vendor-ie-7 .sf-arrows a.sf-with-ul { padding-right: 1em; padding-left: 1em; } .sf-arrows .sf-with-ul:after { content: ''; position: absolute; top: 50%; right: 1em; margin-top: -3px; height: 0; width: 0; border: 5px solid transparent; border-top-color: #19130A; } .sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after { border-top-color: #19130A; } .sf-arrows ul .sf-with-ul:after { margin-top: -5px; margin-right: -3px; border-color: transparent; border-left-color: #FFFFFF; } .sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after { border-left-color: #FFF; } .sf-arrows .flyOutLeft ul .sf-with-ul:after { margin-left: -3px; left: 1em; border-color: transparent; border-right-color: #FFFFFF; } .sf-arrows .flyOutLeft ul li > .sf-with-ul:focus:after, .sf-arrows .flyOutLeft ul li:hover > .sf-with-ul:after, .sf-arrows .flyOutLeft ul .sfHover > .sf-with-ul:after { border-right-color: #FFF; border-left-color: transparent; } .goMobile-btn { display: none; font-weight: bold; cursor: pointer; padding: 0; background: #BEC8D4 url(http://www.legolim.hr/layout/mobileMenu-icon.png?v-636842853514741189) no-repeat left 9px; color: #FFFFFF; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; text-indent: -999em; width: 40px; height: 38px; float: right; } .goMobile-btn.active { background-position: left -41px; } .goMobile-btn:hover { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -ms-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; } .goMobile-subArrow { display: none; } .siteWrapper.show-nav header, .siteWrapper.show-nav .bxsliderWrapper, .siteWrapper.show-nav #contentWrapper { opacity: 0.5; } .siteWrapper { position: relative; overflow: hidden; overflow-y: auto; width: 100%; height: 100%; } .siteCanvas { width: 100%; position: relative; -moz-transform: translateX(0); -ms-transform: translateX(0); -o-transform: translateX(0); -webkit-transform: translateX(0); transform: translateX(0); -moz-transition: 300ms ease all; -ms-transition: 300ms ease all; -o-transition: 300ms ease all; -webkit-transition: 300ms ease all; transition: 300ms ease all; } .siteWrapper.show-nav .siteCanvas { -moz-transform: translateX(300px); -ms-transform: translateX(300px); -o-transform: translateX(300px); -webkit-transform: translateX(300px); transform: translateX(300px); } .ws-topNavWrapper {} .ws-topNav { position: relative; } .menuToggler { display: inline-block; float: left; } .menuToggler .desktop { font-size: 0.875em; font-weight: 700; display: block; background-color: #8396AB; color: #ffffff; padding: 1em 2em; cursor: pointer; } .menuToggler .mobile { display: none; background: #8396AB; color: #ffffff; width: 40px; height: 38px; cursor: pointer; text-align: center; } .menuToggler .mobile:after { content: '\f0c9'; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #ffffff; font-size: 1.7em; } .siteWrapper.show-nav .menuToggler .mobile { background-position: -120px -39px; } .menuWrapper { position: absolute; display: none; top: 100%; left: 0; z-index: 100000; width: 100%; background-color: #8396AB; } .ws-menu, .ws-menu * { margin: 0; padding: 0; list-style: none; } .ws-menu { width: 100%; font-size: 0.8755em; line-height: 1; } .ws-menu .megaMenu { display: none; float: right; width: 75%; height: 100%; background-color: #ffffff; } .menuWrapper.active, .ws-menu .megaMenu.active { display: block; } .ws-menu > li > a { width: 25%; border-bottom: solid 1px #BEC8D4; display: block; position: relative; padding: 0.8em 2em; text-decoration: none; text-align: left; font-weight: 400; float: left; clear: left; } .ws-menu > li > a .productCount { position: absolute; top: 0; right: 2em; bottom: 0; display: none; border-left: solid 1px #5ea2e1; text-align: right; min-width: 35px; visibility: hidden; padding-top: 0.8em; } .ws-menu > li > a.hasProductCount:hover .productCount, .ws-menu > li > a.hasProductCount .productCount.active { visibility: visible; } .ws-menu .megaMenu .menuDescription { width: 100%; padding: 1em; border-bottom: solid 1px #dddddd; line-height: 1.4; } .ws-menu .megaMenu .menuDescription.fullWidth .col { float: none; clear: both; } .ws-menu .megaMenu .menuDescription.fullWidth .span_1_of_2 { width: 100%; margin: 0 0 1em 0; } .ws-menu .megaMenu .menuDescription h2 { font-size: 2em; font-weight: 700; color: #19130A; padding: 0; margin: 0 auto 0.5em; position: relative; } .ws-menu .megaMenu .menuDescription h2 a:after { position: absolute; right: -0.5em; top: -2px; content: 'f0c1'; } .ws-menu .megaMenu .menuDescription p { font-weight: 300; font-size: 1em; line-height: 1.5; } .ws-menu .megaMenu .menuDescription .menuBanner { display: block; overflow: hidden; padding: 0.5em; } .ws-menu .megaMenu .menuDescription .menuBanner img { display: block; width: 100%; } .ws-menu .megaMenu .megaMenuCol { width: 33.3333%; padding: 0.5em; display: table-cell; height: 100%; } .ws-menu .megaMenu .section .megaMenuCol:last-child { border-right: none; } .ws-menu .megaMenu .megaMenuColTitle { position: relative; } .ws-menu .megaMenu .megaMenuColTitle a { display: block; margin: 0em 0em 0.1em; padding: 0.8em 1em; color: #ffffff !important; background-color: #123C8A; border-radius: 4px; text-align: center; } .ws-menu .megaMenu .megaMenuColTitle a:hover { color: #ffffff !important; background-color: #8396AB; } .ws-menu .megaMenu .megaMenuColTitle a .productCount { position: absolute; top: 0; right: 2em; border-left: solid 1px #cccccc; text-align: left; min-width: 35px; margin-top: 0.5em; padding-left: 3px; font-size: 0.9285em; font-weight: normal; display: none; } .ws-menu .megaMenu .section { border-bottom: solid 1px #dddddd; display: table; width: 100%; height: 100%; } .ws-menu .megaMenu .section:last-child { border-bottom: none; } .ws-menu a:link, .ws-menu a:visited { color: #ffffff; font-weight: 600; } .ws-menu a:hover { color: #EDD350; } .ws-menu a:active { color: #EDD350; } .ws-menu .megaMenu a:link, .ws-menu .megaMenu a:visited { color: #19130A; } .ws-menu .megaMenu a:hover { color: #123C8A; } .ws-menu .megaMenu a:active { color: #123C8A; } .ws-menu > li:hover > a, .ws-menu > li.sfHover > a, .ws-menu > li.selected > a { background-color: #BEC8D4; color: #2B2E35; } .ws-menu .megaMenuToggler { padding-right: 2em; } .ws-menu > li > a.hasProductCount, .ws-menu .megaMenuToggler.hasProductCount, .ws-menu .megaMenuColTitle a.hasProductCount { padding-right: 5em !important; } .megaMenuToggler:after { content: ''; position: absolute; top: 50%; right: 0.7em; margin-top: -4px; height: 0; width: 0; border: 5px solid transparent; border-left-color: #BEC8D4; -moz-transform: scale(.9999); } li.selected .megaMenuToggler:after { right: -16px; z-index: 2; border-width: 8px; margin-top: -8px; } .toggleNextMenu { display: none; background-color: #123C8A; height: 25px; line-height: 25px; width: 25px; position: absolute; top: 6px; right: 5px; cursor: pointer; border-radius: 4px; text-align: center; color: #ffffff; font-family: Arial, sans-serif; font-size: 14px; } .toggleNextMenu.active { background-position: -82px -17px; background-color: #19130A; } .toggleNextMenu:before { content: '\25bc'; } .toggleNextMenu.active:before { content: '\2716'; } .accordionNav { font-size: 0.9285em; } .accordionNav ul { display: none; } .accordionNav li { position: relative; } .accordionNav li a { padding: 0.5em; display: block; text-decoration: none; position: relative; } .accordionNav li a:hover { background-color: #eeeeee; border-radius: 4px; } .accordionNav ul li a { outline: 0; padding-left: 10px; } .accordionNav ul ul li a { padding-left: 18px; } .accordionNav ul ul ul li a { padding-left: 26px; } .accordionNav ul ul ul ul li a { padding-left: 34px; } .accordionNav .accordionToggler { padding-right: 2em; } .accordionNav .toggleNextUl { display: block; background-color: #cccccc; width: 18px; height: 18px; line-height: 18px; position: absolute; top: 0.3em; right: 4px; cursor: pointer; border-radius: 4px; text-align: center; color: #ffffff; display: block; font-family: Arial, sans-serif; font-size: 14px; } .accordionNav .toggleNextUl.active { background-position: -86px -21px; background-color: #666666; } .accordionNav .toggleNextUl:before { content: '\25bc'; } .accordionNav .toggleNextUl.active:before { content: '\2716'; } .accordionNav a .productCount { position: absolute; top: 0; right: 2em; display: none; border-left: solid 1px #cccccc; text-align: left; min-width: 35px; margin-top: 0.5em; padding-left: 3px; display: none; } .accordionNav a .productCount.active, .accordionNav a.alwaysVisible .productCount { display: none; } .accordionNav .hasProductCount { padding-right: 5em !important; } @media only screen and (max-width: 1024px) { .ws-topNavWrapper { position: fixed; background: none; top: 0; left: 0; bottom: 0; } .ws-topNav { width: 100%; height: 100%; } .menuWrapper { width: 300px; height: 100%; position: absolute; top: 0; left: -300px; display: block; overflow-y: auto; } .vendor-ie .show-nav .menuWrapper { left: 0; } .vendor-ie .show-nav .menuToggler { margin-left: 300px; } .menuToggler .desktop, .megaMenuToggler:after { display: none; } .menuToggler .mobile, .toggleNextMenu { display: block; } .ws-menu .megaMenu { float: none; width: 100%; } .ws-menu .megaMenu .menuDescription .col { float: none; clear: both; } .ws-menu .megaMenu .menuDescription .span_1_of_2 { width: 100%; margin: 0 0 1em 0; } .ws-menu .megaMenu .megaMenuCol { width: 100%; display: block; border-bottom: solid 1px #dddddd; border-right: none; } .ws-menu .megaMenu .section:last-child .megaMenuCol:last-child { border-bottom: none; } .ws-menu .megaMenu .section { border-bottom: none; display: block; } .ws-menu > li { position: relative; } .ws-menu > li > a { width: 100%; float: none; } .ws-menu > li > a.hasProductCount .productCount.active { visibility: visible; display: none; } .ws-menu > li > a .productCount { right: 3em; display: none; } .ws-menu > li > a.hasProductCount, .ws-menu .megaMenuToggler.hasProductCount { padding-right: 5.5em !important; } } @media only screen and (max-width: 360px) { .menuWrapper { width: 250px; left: -250px; } .vendor-ie .show-nav .menuToggler { margin-left: 250px; } .siteWrapper.show-nav .siteCanvas { -moz-transform: translateX(250px); -ms-transform: translateX(250px); -o-transform: translateX(250px); -webkit-transform: translateX(250px); transform: translateX(250px); } }