/* Giving a background-color to the nav container. */
nav {
    margin: 0px 0;
    background-color: #800000;
    background: -webkit-linear-gradient(top, #a00000 0%,#600000 100%);
    background: -moz-linear-gradient(top, #a00000 0%,#600000 100%);
    background: -o-linear-gradient(top, #a00000 0%,#600000 100%);
    background: -ms-linear-gradient(top, #a00000 0%,#600000 100%);
    background: linear-gradient(top, #a00000 0%,#600000 100%);

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
    padding:0px 0px;
    margin:5;
    list-style: none;
    position: relative;
    }

/* Positioning the navigation items inline */
nav ul li {
    margin: 0px -5px 0 0;
    display:inline-block;
    background-color: #800000;
    background: -webkit-linear-gradient(top, #a00000 0%,#600000 100%);
    background: -moz-linear-gradient(top, #a00000 0%,#600000 100%);
    background: -o-linear-gradient(top, #a00000 0%,#600000 100%);
    background: -ms-linear-gradient(top, #a00000 0%,#600000 100%);
    background: linear-gradient(top, #a00000 0%,#600000 100%);
    height: 30px
    }

/* Styling the links */
nav a {
    display:block;
    padding:0 5px;
    color:#FFF;
    font-size: 14px;
    line-height: 30px;
    text-decoration:none;

    border-left: 1px solid #ff7f00;
    border-right: 1px solid #a55200;

    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;

    color: #ffff00;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);

    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

/* Background color change on Hover */
nav a:hover {
    background-color: #330000;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
    display: none;
    position: absolute;
    top: 25px;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    display:inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
    min-width:170px;
    display:list-item;
    position: relative;
}

/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul {
    position: absolute;
    top: -5px;
    left:95%;
}

/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }

