﻿body {
    margin: 0 auto;
}
#menu {
    display: none;
}

/* I chose to use thhis breakpoint because it matches the width of https://manitowoccranes.com/en.
    The min-width size could be modified to any value needed for the redesign. */
@media screen and (min-width: 1080px) {
    .slicknav_menu {
       display: none;
    }
    nav {
        background: transparent url('images/menu-bg-left.png') 0 0 no-repeat;
        padding: 0 0 0 10.5px;
        min-height: 35px;
    }
    #menu {
        display: inline-block;
        background-image: url('images/nav-ribbon-end.png'), linear-gradient(to right, #c91622, #9d0913);
        background-position: right bottom;
        background-repeat: no-repeat;
        margin: 8px 0 0 0;
        padding: 0 10px 0 0;
        list-style-type: none;
        position: relative;
        z-index:89000;
    }
    #menu li {
        display: block;
        float: left; 
        padding: 0 12px; 
        font-weight: 700;
        position: relative;    
    }
    #menu li,
    #menu a {
        line-height: 27px;
        font-family: Verdana, Arial, sans-serif;
        font-size: 12px;
        color: #fff;
        text-decoration: none;
        display: block;
    }
    #menu li:hover {
        cursor: pointer;
    }
    #menu ul {
        position: absolute;
        left: -9999px;
        list-style: none;
        background: #fff;
        -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.25);
        padding: 0; 
    }
    #menu ul li {
        float: none;
        color: #41525c;
        display: block;
        white-space: nowrap;
    }
    #menu ul li.haschild {
        background: transparent url('images/icon-chevron-right-41525c.png') right center no-repeat;
        padding-right: 18px;
    }
    #menu ul li.haschild:hover {
        background-image: url('images/icon-chevron-right-white.png');
        background-position: right center;
        background-repeat: no-repeat;
        color: #fff;
    }
    #menu ul li:hover {
        color: #fff;
        background-color: #f0161f;
    }
    #menu ul li a:hover{
        color: #fff;
    }
    #menu ul li.haschild:hover > a {
        color: #fff;
    }
    #menu ul a {
        white-space: nowrap;
        color: #41525c;
        display: block;        
    }
    #menu li:hover > ul {
        left: 0;
    }
    #menu ul li:hover > ul {
        left: 100%;
        top: 0;
    }
}