/*------------------------------------* $MEGAMENU *------------------------------------*/ /** * Megamenu */ .navigation .megamenu a .nav-arrow { display: none; } .navigation .megamenu > li > a.menu-link { font-size: 13px; font-weight: 600; } .navigation .megamenu li ul.sub-menu { border-top: 1px solid #f1f1f1; } .navigation .megamenu li a.menu-link { padding: 12px 20px; } .navigation .megamenu .sidebar-box { padding: 20px; margin-bottom: 0; line-height: 1.8; white-space: normal; } .navigation > ul > li > ul.megamenu.sub-menu > li { float: left; border-bottom: 0; border-left-width: 1px; border-style: solid; border-color: #f1f1f1; } .navigation > ul > li > ul.megamenu.sub-menu > li:first-child { border-left: none; } .navigation li.megamenu-li.hide-headings > .megamenu > li > a, .navigation li.megamenu-li > .megamenu > li.hide-heading > a { display: none; } .navigation .megamenu .sub-menu { display: block !important; opacity: 1 !important; min-width: 100%; position: static; background: transparent; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } /** * Megamenu columns */ .navigation li.megamenu-li .megamenu.col-1 > li { width: 100%; } .navigation li.megamenu-li .megamenu.col-2 > li { width: 50%; } .navigation li.megamenu-li .megamenu.col-3 > li { width: 33.33333333%; } .navigation li.megamenu-li .megamenu.col-4 > li { width: 25%; } .navigation li.megamenu-li .megamenu.col-5 > li { width: 20%; } .navigation li.megamenu-li .megamenu.col-6 > li { width: 16.66666667%; } /** * Megamenu auto width */ @media only screen and (min-width: 959px) { .navigation li.megamenu-li.auto-mega .megamenu.col-1 { width: 320px; } .navigation li.megamenu-li.auto-mega .megamenu.col-2 { width: 440px; } .navigation li.megamenu-li.auto-mega .megamenu.col-3 { width: 660px; } .navigation li.megamenu-li.auto-mega .megamenu.col-4 { width: 780px; } .navigation li.megamenu-li.auto-mega .megamenu.col-5 { width: 980px; } .navigation li.megamenu-li.auto-mega .megamenu.col-6 { width: 1080px; } } /** * Elementor Template */ .navigation > ul > li > ul.megamenu.sub-menu > li .elementor { white-space: normal; line-height: initial; } /** * Latest Posts Categories */ .navigation li.mega-cat .megamenu { padding: 30px 20px; } .navigation li.mega-cat .mega-cat-title { position: relative; font-size: 14px; line-height: 1; font-weight: 400; background-color: #f8f8f8; color: #222; letter-spacing: 2px; margin: 0 -20px 30px; padding: 15px 35px; text-transform: uppercase; } .navigation li.mega-cat > ul > li { padding: 0 15px; } .navigation li.mega-cat ul li a { padding: 0; } .navigation li.mega-cat ul li a.mega-post-link { display: block; position: relative; background-color: #000; } .navigation li.mega-cat ul li a.mega-post-link img { display: block; width: 100%; } .navigation li.mega-cat ul li a.mega-post-link .overlay { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; border-radius: 3px; background-color: rgba(0, 0, 0, 0.2); opacity: 0; text-align: center; transition: all .3s ease; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; } .navigation li.mega-cat ul li a.mega-post-link:hover .overlay { opacity: 1; } .navigation li.mega-cat ul li .mega-post-title { display: block; margin: 15px 0 8px; white-space: initial; } .navigation li.mega-cat ul li .mega-post-title a { color: #555; font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: 0.6px; text-transform: none; } .navigation li.mega-cat ul li .mega-post-title a:hover { background-color: transparent; color: #333; } .navigation li.mega-cat ul li .mega-post-date { display: block; font-size: 10px; color: #bbb; text-transform: uppercase; } .navigation li.mega-cat ul li .mega-post-date i { font-size: 9px; padding-right: 5px; } .navigation > ul > li.mega-cat > ul.megamenu.sub-menu > li.first { border-left: 0; } /*------------------------------------* Tablet & Small Desktop Widths *------------------------------------*/ @media only screen and (min-width: 768px) and (max-width: 1280px) { /* megamenu */ .navigation li.megamenu.auto-width.col-6 > .sub-menu { width: 980px; } }