﻿/* Styles for screen > 320 */
nav {
    border-style: solid none solid none;
    height: 40px;
    width: 100%;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    color: #444444;
    font-weight: bold;
    position: relative;
    border-top-color: #c4d9ff;
    border-bottom-color: #C0C0C0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    background-color: #c4d9ff;
}

nav ul {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 40px;
}

nav li {
    display: inline;
    float: left;
}

nav a:link, nav a:visited {
    color: #444444;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
}

nav li a {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

nav li:last-child a {
    border-right: 0;
}

nav a:hover, nav a:active {
    background-color: #7ca9fa;


}

nav a#pull {
    display: none;
}


/* Styles for screen <= 320 */
@media only screen and (max-width : 500px) {

    nav {
        height: auto;
    }

    nav ul {
        width: 100%;
        display: none;
        height: auto;
    }

    nav li {
        width: 100%;
        float: none;
        position: relative;
    }

    nav li a {
    }

    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }


    nav a#pull {
        display: block;
        width: 100%;
        position: relative;
    }

    nav a#pull:after {
        content: "";
        background: url('../appimages/nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
    }
}
