body::before { display: block; content: ''; height: 60px; } @media (min-width: 768px) { .news-input { width: 50%; } } @media all and (min-width: 992px) { .dropdown-menu li { position: relative; } .nav-item .submenu { display: none; position: absolute; left: 100%; top: -7px; } .nav-item .submenu-left { right: 100%; left: auto; } .dropdown-menu>li:hover { background-color: #f1f1f1 } .dropdown-menu>li:hover>.submenu { display: block; } } @media (max-width: 991px) { .dropdown-menu .dropdown-menu { margin-left: 0.7rem; margin-right: 0.7rem; margin-bottom: .5rem; } }