header nav {
    position: relative;
    display: block;
    z-index: 9000;
    margin: 0 auto 0 auto;
    padding: 0 0 0 0;
    text-align: center;
    width: 100%;
    color: black;
}

header nav ul,
header nav li {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

header nav ul li {
    display: block;
    position: relative;
    float: left;
    text-align: center;
    margin-left: 25px;
}

header nav ul li ul li.subnav {
    display: block;
    position: relative;
    float: left;
    text-align: center;
    margin-left: 0px;
}

header nav li ul {
    display: none;
}


header nav ul li a {
    /* appearance of the first-level links */
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: normal;
    font-size: 14px;
    line-height: 60px;
    transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -webkit-transition: color .2s ease-in-out;
    text-transform: uppercase;
    text-align: center;
    font-family: 'montserratlight';
}


header nav ul li a:hover {
    /* appearance of the first-level links on hover */
    color: #ffcc01;
}



header nav ul li li a {
    /* appearance of the sub-level links */
    width: 215px;
    padding: 8px 0 8px 15px;
    text-align: left;
    background: #000;
    border-bottom: 1px #1b1b1b solid;
    line-height: 25px;
    color: #fff;
    font-family: 'montserratlight';
    font-size: 14px;
}

header nav ul li li a:hover {
    /* appearance of the sub-level links on hover */
    color: #fff;
    background: #232323;
}






/* Unless needing to do something extra or experimental, DON'T edit these positioning styles below! */
header nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

header nav ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

header nav ul li:hover>ul {
    display: block;
    line-height: 18px;
    /* make sure your line-height always matches that of your main link styles!*/
    z-index: 100;
    background: #000;
    /* make sure your background color always matches your link styles!*/
}

header nav ul ul li {
    float: none;
    position: relative;
}

/******MAIN NAVIGATION END******/

@media screen and (max-width: 1200px) {
    header nav ul li {
        margin-left: 15px;
    }

    header nav ul li a {
        font-size: 13px;
    }

    header nav ul li li a {
        padding-left: 10px;
        font-size: 13px;
        line-height: 18px;
    }
}

@media screen and (max-width: 1000px) {
    header nav ul li {
        margin-left: 10px;
    }

    header nav ul li a {
        font-size: 12px;
    }
}