/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
nav {
	height: 40px;
	width: 100%;
	background-color: #ffffff;
	color: #666;
	font-size: 14px;
	font-family: 'Lato', Arial, sans-serif;
	font-weight: bold;
	position: relative;
	margin-top: 15px;
	border-bottom: 1px solid #999;
	border-top: 1px solid #999;
	/*left: -8px;
	top: 146px;*/
}
nav ul {
    padding: 0px;
    margin: 0 auto;
    width: 630px;
    height: 40px;
}
nav li {
    display: inline;
    float: left;
}
nav a {
    /*color: #ff9933; */
	color: #666;
    display: inline-block;
    width: 100px;
	margin-left: 0px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    text-shadow: 0px 0px 0px #283744;
}
nav li a {
    border-right: 0px solid #576979;
    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 {
   /* background-color: #8c99a4; */
    /*background-color: #C2C2C2;  */
	background-color: #fff;
	/*color: #666; */
	color:#ff9933;
}
nav a#pull {
    display: none;
}

/*Styles for screen 600px and lower*/
@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: 0px solid #576979;
       /* border-right: 1px solid #576979; */
	   border-top: 0px solid #576979;
	   background-color: #fff;
    }
    nav a {
        text-align: left;
        width: 100%;
        /*text-indent: 25px; */
		text-indent: 20px;
    }
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
    nav {
        border-bottom: 0;
    }
    nav ul {
        display: none;
        height: auto;
    }
    nav a#pull {
        display: block;
        /* background-color: #283744; */
		background-color: #ff9933; 
		color: #fff;		
        width: 100%;
        position: relative;
    }
    nav a#pull:after {
        content:"";
        background: url(../imag/nav-icon.png) no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 9px;
    }
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
    nav li {
        display: block;
        float: none;
        width: 100%;
    }
    nav li a {
        /*border-bottom: 1px solid #576979; */
		border-bottom: 1px solid #999;
    }
}
