.navbar-fixed-bottom, .navbar-fixed-top { position: relative; background: #ffffff; } .header-top { min-height: 70px; position: absolute; width: 100%; z-index: 111; } .header-top .logo { position: relative; font: 24px verdana; margin: 10px auto; } #menu-style-header, #menu-style-header ul, #menu-style-header ul li, #menu-style-header ul li a, #menu-style-header #menu-button { display: block; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; box-sizing: border-box; } #menu-style-header ul { z-index: 111; margin-bottom: 0; -webkit-padding-start: 0px; } #menu-style-header:after, #menu-style-header > ul:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } #menu-style-header { line-height: 1; margin: 15px 0; float: right; } #menu-style-header > ul > li { float: left; } #menu-style-header > ul > li > a { padding: 15px 15px 15px 15px; font-size: 14px; text-decoration: none; text-transform: uppercase; color: #000; -webkit-transition: color .2s ease; -moz-transition: color .2s ease; -ms-transition: color .2s ease; -o-transition: color .2s ease; transition: color .2s ease; font-weight: 400; outline: none; } #menu-style-header > ul > li:before{ position: absolute; top: 50%; /*you may want to adjust this*/ left: 50%; width: 100%; /*you may want to adjust this*/ height: 80%; /*you may want to adjust this*/ border: 2px solid #fff; /*you may want to adjust this*/ border-radius: 0%; content: ''; opacity: 0; -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; -moz-transition: -moz-transform 0.3s, opacity 0.3s; transition: transform 0.3s, opacity 0.3s; -webkit-transform: translateX(-50%) translateY(-50%) scale(0.2); -moz-transform: translateX(-50%) translateY(-50%) scale(0.2); transform: translateX(-50%) translateY(-50%) scale(0.2); } #menu-style-header > ul > li:hover:before{ opacity: 1; -webkit-transform: translateX(-50%) translateY(-50%) scale(1); -moz-transform: translateX(-50%) translateY(-50%) scale(1); transform: translateX(-50%) translateY(-50%) scale(1); } .sub-header-fixed #menu-style-header > ul > li > a { padding: 15px 15px 29px 15px; } #menu-style-header > ul > li > a.active { color:#EF4C23; } .blackMenu #menu-style-header > ul > li > a.active { color:#EF4C23; } #menu-style-header > ul > li.has-sub > a { padding-right: 25px; } #menu-style-header > ul > li.has-sub > a::after { position: absolute; top: 18px; right: 13px; width: 5px; height: 5px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; content: ""; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: border-color 0.2s ease; -moz-transition: border-color 0.2s ease; -ms-transition: border-color 0.2s ease; -o-transition: border-color 0.2s ease; transition: border-color 0.2s ease; } #menu-style-header ul ul { position: absolute; left: -9999px; /*padding-top: 13px;*/ } .sub-header-fixed #menu-style-header ul ul { padding-top: 3px; } .sub-header-fixed #menu-style-header ul ul ul { padding-top: 0; } .sub-header-fixed #menu-style-header { margin-top: 6px; } #menu-style-header ul ul li a { padding: 14px 20px; width: 160px; font-size: 12px; text-decoration: none; color: #fff; -webkit-transition: color .2s ease; -moz-transition: color .2s ease; -ms-transition: color .2s ease; -o-transition: color .2s ease; transition: color .2s ease; font-weight: 400; text-transform: uppercase; background-color: #000; } #menu-style-header ul ul li.has-sub > a::after { position: absolute; top: 18px; right: 10px; width: 4px; height: 4px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; content: ""; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transition: border-color 0.2s ease; -moz-transition: border-color 0.2s ease; -ms-transition: border-color 0.2s ease; -o-transition: border-color 0.2s ease; transition: border-color 0.2s ease; } #menu-style-header ul ul ul { /*margin-left: 100%;*/ top: 0; padding-top: 0; } .sub-menu.submenu-left{ margin-left: 100%; } .sub-menu.submenu-right{ margin-left: -100%; } #menu-style-header #menu-button { display: none; } #menu-line { position: absolute; top: 0; left: 0; height: 3px; background:#f20a0a; -webkit-transition: all 0.25s ease-out; -moz-transition: all 0.25s ease-out; -ms-transition: all 0.25s ease-out; -o-transition: all 0.25s ease-out; transition: all 0.25s ease-out; display: none; } #menu-style-header.align-center > ul { font-size: 0; text-align: center; } #menu-style-header.align-center > ul > li { display: inline-block; float: none; } #menu-style-header.align-center ul ul { text-align: left; } #menu-style-header.align-right > ul > li { float: right; } #menu-style-header.align-right ul ul { text-align: right; } #menu-style-header li:hover > ul { left: auto; } #menu-style-header.align-right li:hover > ul { right: 0; } #menu-style-header.align-right ul ul ul { margin-left: 0; margin-right: 100%; } #menu-style-header ul li:hover > ul > li { height: 40px; } #menu-style-header.align-right ul ul li.has-sub > a::after { right: auto; left: 10px; border-bottom: 0; border-right: 0; border-top: 1px solid #dddddd; border-left: 1px solid #dddddd; } .search-box{ margin: 4px 0; line-height: 1; padding: 0; width: 200px; } .search-icon{ padding: 0; -webkit-transition: all 0.3s ease-in-out 0s; } .search-icon:hover, .search-icon i:hover{ background: #f20a0a; color: #fff; } .search-icon i{ color: #fff; padding: 9px 12px; -webkit-transition: all 0.3s ease-in-out 0s; } .fixed-header .logo-dark { display: inline-block; } .fixed-header .custom-logo { display: none; } @media all and (min-width:768px) and (max-width: 784px){ #menu-style-header, #menu-style-header ul{ display: inline-block !important; } } @media all and (max-width: 1024px), only screen and (-webkit-min-device-pixel-ratio: 1) and (max-width: 1024px), only screen and (-min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) { #menu-style-header { width: 100%; margin-top: 3px; } .navbar-fixed-bottom, .navbar-fixed-top { position: relative; background: #ffffff; } #menu-style-header > ul > li:before{ display: none; } #menu-style-header > ul > li:hover:before{ display: none; } .sub-header-fixed #menu-style-header > ul > li > a { padding: 15px 15px 15px 15px; } #menu-style-header ul ul li a:hover { transition: all 0.6s; background: #fff; } #menu-style-header .mobilemenu { width: 100%; height: auto; visibility: visible !important; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); margin-top: 70px; background: #131541; } #menu-style-header ul { width: 100%; display: none; } #menu-style-header.align-center > ul, #menu-style-header.align-right ul ul { text-align: left; } #menu-style-header ul li, #menu-style-header ul ul li, #menu-style-header ul li:hover > ul > li { width: 100%; height: auto; border-top: 1px solid #ddd; } #menu-style-header ul li a:hover{ background:#EF4C23; } #menu-style-header ul li a, #menu-style-header ul ul li a { width: 100%; color: #fff; padding: 10px 25px; border-bottom: 0; } #menu-style-header > ul > li:hover > a { transition: all 0.5s; } #menu-style-header > ul > li, #menu-style-header.align-center > ul > li, #menu-style-header.align-right > ul > li { float: none; display: block; } #menu-style-header ul ul li a { padding: 10px 40px; font-size: 14px; color: #fff; background: none; } #menu-style-header ul ul li a:hover { background: #EF4C23; } #menu-style-header ul ul ul li a { padding-left: 40px; } #menu-style-header ul ul, #menu-style-header ul ul ul { position: relative; left: 0; right: auto; width: 100%; margin: 0; background:#131541; } #menu-style-header > ul > li.has-sub > a::after, #menu-style-header ul ul li.has-sub > a::after { display: none; } #menu-line { display: none; } #menu-style-header #menu-button { display: block; color: #000000; cursor: pointer; font-size: 12px; text-transform: uppercase; margin-top: 5px; margin-bottom: 10px; -webkit-transition: all 0.3s ease-in-out 0s; padding: 23px 29px; float: right; } #menu-style-header #menu-button::after { content: ''; position: absolute; top: 20px; right: 20px; display: block; width: 22px; height: 2px; background: #131541; -webkit-transition: all 0.3s ease-in-out 0s; } #menu-style-header #menu-button::before { content: ''; position: absolute; top: 25px; right: 20px; display: block; width: 22px; height: 7px; border-top: 2px solid #EF4C23; border-bottom: 2px solid #EF4C23; -webkit-transition: all 0.3s ease-in-out 0s; } #menu-style-header .menu-opened::after{ content: ''; position: absolute; top: 26px !important; right: 18px !important; display: block; width: 22px; height: 7px; border-top: 2px solid #EF4C23; transform: rotate(-45deg); -webkit-transition: all 0.3s ease-in-out 0s; } #menu-style-header .menu-opened::before { content: ''; position: absolute; top: 25px; right: 20px; display: block; width: 22px; height: 7px; border-bottom: 0 !important; transform: rotate(45deg); -webkit-transition: all 0.3s ease-in-out 0s; } .blackMenu { background: #fff; width: 100%; /*border-bottom: 1px solid #009cde;*/ } #menu-style-header .submenu-button { position: absolute; z-index: 10; right: 0; top: -10px; display: block; height: 52px; width: 52px; cursor: pointer; } #menu-style-header .submenu-button::after { content: ''; position: absolute; top: 21px; left: 26px; display: block; width: 1px; height: 11px; background: #fff; z-index: 99; } #menu-style-header .submenu-button::before { content: ''; position: absolute; left: 21px; top: 26px; display: block; width: 11px; height: 1px; background: #fff; z-index: 99; } #menu-style-header .submenu-button.submenu-opened:after { display: none; } .mob_nav { opacity: 0.9; padding: 0; position: relative; right: 0; margin-top: -70px; width: 100%; } }