nav {
    width: 100%;
    max-width: 70em;
    background: #333333;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 20px #000;
    font-family: 'Rambla', 'sans-serif';
}
nav ul {
    padding: 0;
    margin: 0 auto;
    max-width: 70em;
    height: 40px;
    display: table;
}

nav li {
    display: inline;
    float: left;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

nav a {
    color: #fff;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    padding: 5px 20px 5px 20px;
    border-bottom: 2px solid #333333;
    font-size: 1.5em;
}

nav li a {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
nav li:last-child a {
    border-right: 0;
}

nav a:hover, nav a:active {
}

nav a#pull {
    display: none;
}

@media screen and (max-width: 900px) {
    nav a {
        font-size: 1.3em;
        padding: 5px 15px 5px 15px;
    }
}

@media screen and (max-width: 750px) {
    nav a {
        font-size: 1.1em;
        padding: 5px 10px 5px 10px;
    }
}

@media screen and (max-width: 600px) {
    nav {
        height: auto;
    }
    nav ul {
        width: 100%;
        display: block;
        height: auto;
    }
    nav li {
        width: 50%;
        float: left;
        position: relative;
    }
    nav li a {
        border-bottom: 1px solid #DDDDDD;
        border-right: 1px solid #DDDDDD;
    }
    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
}

@media only screen and (max-width : 480px) {
    nav {
        border-bottom: 0;
    }
    nav ul {
        display: none;
        height: auto;
    }
    nav a#pull {
        display: block;
        width: 100%;
        position: relative;
        padding: 0;
    }
    nav a#pull:after {
        content:"";
        background: url('../images/navigation/menu.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 5px;
        top: 10px;
    }
}

@media only screen and (max-width : 320px) {
    nav li {
        display: block;
        float: none;
        width: 100%;
    }
    nav li a {
        border-bottom: 1px solid #576979;
    }
}