﻿/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


nav {
    height: 40px;
    width: 600px;
    /*font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;*/
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size:12pt;
    text-align: center;
    float: right;
}

    nav ul {
        margin: 0;
        padding: 0;
        float: none;
        display: inline-block;
    }

    nav li {
        display: inline;
        float: left;
        position: relative;
    }

        nav li:hover {
            /*background: #19c589;*/

            text-decoration:none;
        }

    nav a {
        color: #fff;
        display: inline-block;
       padding-left:20px;
        text-align: center;
        text-decoration: none;
        line-height: 40px;
        /*text-shadow: 1px 1px 0px #283744;*/
    }

    nav li a {
        border-right: 0px solid #fff;
        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 {
        color: #ffffff;
        text-decoration: none;
        /*background-color: #8c99a4;*/
    }

     nav a:visited {
        color: #fff;
        text-decoration: none;
        /*background-color: #8c99a4;*/
    }

    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: 1px solid #576979;
                border-right: 1px solid #576979;
            }

        nav a {
            text-align: left;
            width: 100%;
            text-indent: 25px;
        }
}

/*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: #fff;
            width: 100%;
            position: relative;
            padding-left: 20px;
        }

            nav a#pull:after {
                content: "";
                background: url('../icons/nav-icon.png') no-repeat;
                width: 30px;
                height: 30px;
                display: inline-block;
                position: absolute;
                left: 15px;
                top: 10px;
            }
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
    nav li {
        display: block;
        float: none;
        width: 100%;
    }

        nav li a {
            border-bottom: 1px solid #576979;
        }
}



/*----------------*/

nav ul li ul {
    display: none;
    width: auto;
    background-color: #fff;
    float: none;
    position: absolute;
}

    nav ul li ul li {
        display: block;
        float: none;
        position: relative;
        border-right: 0;
        text-align: left;
    }

        nav ul li ul li a {
            padding: 6px;
            color: #fff;
            display: inline-block;
            min-width: 140px;
            text-align: left;
            text-decoration: none;
            line-height: 40px;
            border-right: 0px solid #fff;
            /*     background-color:#fff;
	text-shadow: 1px 1px 0px #283744;*/
        }

/*nav ul li ul {
padding:8px;
position:absolute;
display:none;
width:12em;
top:2.1em;
background-color:#ffffff;


 -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;

        	 -moz-box-shadow: 0 0 8px #888;
-webkit-box-shadow: 0 0 8px #888;
box-shadow: 0 0 8px #888;
}*/
