/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.nav-container {
    width: 100%;
    margin: 0 auto;
    height: 45px;
}

.nav-toggle {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.nav-collapse,
.nav-collapse * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.nav-collapse {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    list-style: none;
    width: 100%;
    float: left;
}

.js .nav-collapse {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
    zoom: 1;
}

.nav-collapse.opened {
    max-height: 9999px;
}

.nav-collapse ul {
    width: 100%;
    float: left;
    display: block;
    list-style: none;
}

.nav-collapse li {
    width: 100%;
    display: block;
    float: left;
}

.nav-collapse > ul {
    border-top: 1px solid rgba(255,255,255, .15);
}

.nav-collapse a {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255, .15);
    float: left;
    padding: 0.75em 1em;
    text-decoration: none;
    color: #fff;
    background-color: #324e5c;
}
.nav-collapse a:hover {
    background-color: #163543;
}

.has-child ul a {
    padding-left: 1.5em;
    border-bottom: 1px solid rgba(255,255,255, .15) !important;
    background-color: #495f6c;
}

.has-child ul ul a {
    padding-left: 2em;
    border-bottom: 1px solid rgba(255,255,255, .15) !important;
    background-color: #5d717d;
}

.has-child ul ul {
    border: 0;
    padding: 0;
}

/* For devices LARGER than 720px */
@media (min-width: 720px) {

    .nav-toggle {
        display: none;
    }

    .js .nav-collapse {
        position: relative;
    }

    .js .nav-collapse.closed {
        max-height: none;
    }

    .nav-collapse {
        width: 100%;
    }
    .nav-collapse ul {
        border: 0;
    }
    .has-child ul a {
		background: #163543;
	}
	.has-child .sub-menu .sub-menu {
		display: none;
	}
    .nav-collapse li {
        width: auto;
        min-width: 9%;
    }
    .nav-collapse a {
        border: 0;
        padding: 1em 2em;
        float: left;
        text-align: center;
		color: #fff;
    }
    .nav-collapse li:hover > a {
        background-color: #163543;
    }
	.nav-collapse .has-child li:hover > a {
        background-color: #324e5c;
    }
}

/* ------------------------------------------
  MULTIPLE LEVELS
--------------------------------------------- */

/* For devices SMALLER than 720px */
@media (max-width: 720px) {
    .js .nav-collapse {
        visibility: hidden;
    }

    .js .nav-collapse.opened {
        visibility: visible;
    }

    /* Enable active class to let the navigation expand over the calculated max height. */
    .js .nav-collapse.multiple-level-nav.opened.dropdown-active {
        max-height: 9999px !important;
    }

    .js .nav-collapse.multiple-level-nav .sub-menu {
        clip: rect(0 0 0 0);
        max-height: 0;
        position: absolute;
        display: none; /* This way you don't have focus on sub menu items unless you open the sub menu. */
        overflow: hidden;
        zoom: 1;
    }

    .js .nav-collapse.multiple-level-nav .sub-menu.toggled {
        display: block;
        max-height: 9999px;
        position: relative;
    }

    .js .nav-collapse li {
        position: relative;
    }

    .js .nav-collapse .dropdown-toggle {
        content: "";
        height: 33px;
        width: 33px;
        padding: 0;
        position: absolute;
        margin: 0;
        text-transform: lowercase;
        top: 0.6em;
        right: 4%;
        border: 1px solid #fff;
        color: #fff;
    }

    .js .nav-collapse .dropdown-toggle:after {
        content: "+";
        font-size: 20px;
    }

    .js .nav-collapse .dropdown-toggle.toggled:after {
        content: "-";
    }
	
	.js .nav-collapse .dropdown-toggle:hover,
    .js .nav-collapse .dropdown-toggle:focus,
    .js .nav-collapse .dropdown-toggle:active  {
        background-color: #fff;
        color: #212428;  
    }
}

/* For devices LARGER than 720px */
@media (min-width: 720px) {
    .dropdown-toggle  {
        display: none;
    }

    .nav-collapse {
        position: relative;
    }

    .js .nav-collapse,
    .js .nav-collapse .dropdown ul {
        max-height: none;
        overflow: visible;
    }

    .sub-menu .has-child .sub-menu a:after {
        display: none;
    }

    .nav-collapse .has-child {
        position: relative;
    }

    .nav-collapse .has-child li {
        width: 100%;
    }

    .nav-collapse .has-child ul a {
        text-align: left;
        border: 0;
    }
 
    .nav-collapse li {
        border: 0;
        display: inline-block;
        height: 45px;
        line-height: 45px;
        position: relative;
    }

    .nav-collapse a {
        display: inline-block;
        padding: 0 1em;
    }

    .nav-collapse ul ul {
        float: left;
        margin: 0;
        position: absolute;
        top: 85px;
        left: -999em;
        z-index: 99999;
        text-align: center;
    }

    .nav-collapse li li {
        border: 0;
        display: block;
        height: auto;
        line-height: 1.0909090909;
    }

    .nav-collapse ul ul ul {
        left: -999em;
        top: 20px;
    }

    .nav-collapse ul ul a {
        padding: 15px 12px;
        white-space: normal;
        width: 300px;
    }

    .nav-collapse ul li:hover > ul,
    .nav-collapse ul li.focus > ul {
        top: 45px;
        left: 0;
    }

    .nav-collapse ul ul li:hover > ul,
    .nav-collapse ul ul li.focus > ul {
        top: 0;
        left: 0%;
        margin-left: 300px;
    }
}

/* For devices LARGER than 1150px */
@media (min-width: 1150px) {
	.nav-collapse .has-child ul a {
        float: right;
    }
}

/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
    font-family: "responsivenav";
    src:url("../icons/responsivenav.eot");
    src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
        url("../icons/responsivenav.ttf") format("truetype"),
        url("../icons/responsivenav.woff") format("woff"),
        url("../icons/responsivenav.svg#responsivenav") format("svg");
    font-weight: normal;
    font-style: normal;
}

.nav-toggle {
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    float: right;
    line-height: 35px;
    padding: 0 1em;
    margin: 0 4% 7px 0;
    border: 1px solid #fff;
	background-color: #324e5c;
    color: #fff;
}
.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active {
    background-color: #163543;
    color: #fff;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
}