/*! responsive-nav.js 1.0.39 by @viljamis */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

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

.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-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;
}

@media screen and (min-width: 68em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}


/* ------------------------------------------
  RESET
--------------------------------------------- */

/*

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
hr,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

:focus {
  outline: thin dotted;
}

@-webkit-viewport {
  width: device-width;
}

@-moz-viewport {
  width: device-width;
}

@-ms-viewport {
  width: device-width;
}

@-o-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

*/


/* ------------------------------------------
  BASE DEMO STYLES
--------------------------------------------- */

/*
body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
  background: #fff;
  font: normal 120%/1.5 sans-serif;
}

section {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  float: left;
  width: 100%;
  height: 800px;
}

button {
  background-color: transparent;
  -webkit-appearance: button;
  cursor: pointer;
}

.site-content {
  padding: 5% 4%;
  margin-left: auto;
  margin-right: auto;
  max-width: 40em;
}

p {
  margin-bottom: 1.5em;
}
*/

/* ------------------------------------------
  HEADER
--------------------------------------------- */

/*

.header {
  background: #212428;
  height: 56px;
  width: 100%;
}

.logo {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-decoration: none;
  font-weight: bold;
  line-height: 55px;
  padding: 0 20px;
  color: #fff;
  float: left;
}

*/


/* ------------------------------------------
  NAVIGATION STYLES
  (+ responsive-nav.css file is loaded in the <head>)
--------------------------------------------- */


/* 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 {
  background-color: #f1f1f1;
  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. */
}

.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;
}

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

@media screen and (min-width: 68em) {
  .nav-collapse {
    width: auto;
   float: none;
   width: 860px;
   margin: 0 auto;
  }
}

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

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

@media screen and (min-width: 68em) {
  .nav-collapse li {
    width: auto;
  }
}

.nav-collapse a {
  background: #13294b;
  border-bottom: 1px solid #ffffff;
  color: #fff;
  float: left;
  padding: 0.9em 1.1em;
  text-decoration: none;
  width: 100%;
}

@media screen and (min-width: 68em) {
  .nav-collapse a {
    border-bottom: 0;
    border-right: 1px solid white;
    padding: 1em 1.5em;
    margin: 0;
    float: left;
    text-align: center;
  }
  .nav-collapse li:first-child a {
    border-left: 1px solid white;
  }
}


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

.nav-toggle {
  border: 1px solid #fff;
  color: #fff;
  font-size: 1em;
  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: 39px;
  padding: 0 2.5%;
  margin-top: 7px;
  margin-right: 0%; /* was 5 */
  background: #212428;
  width: 100%;
  z-index: 10;
}

.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active {
  background-color: #fff;
  color: #212428;
}


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

.nav-collapse a:hover,
.nav-collapse li.focus > a {
/* background-color: #3e4853; */
background-color: #4078b5;
color: #fff;
}

@media screen and (max-width: 67.999em) {
  .js .nav-collapse {
    visibility: hidden;
  }
  .js .nav-collapse.opened {
    visibility: visible;
    z-index: 10;
  }
  /* 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 {
   /* border: 1px solid #fff; */
    color: #fff;
    content: "";
    height: 46px;
    width: 46px;
    padding: 0;
    position: absolute;
    margin: 0;
    text-transform: lowercase;
    /* top: 0.6em; */
    right: 4%;
    background: #333;
  }
  .js .nav-collapse .dropdown-toggle:hover,
  .js .nav-collapse .dropdown-toggle:focus,
  .js .nav-collapse .dropdown-toggle:active {
    background-color: #fff;
    color: #212428;
  }
  .js .nav-collapse .dropdown-toggle:after {
    content: "+";
    font-size: 20px;
  }
  .js .nav-collapse .dropdown-toggle.toggled:after {
    content: "-";
  }
}

.dropdown ul a {
  background: #282e34;
  padding-left: 1.5em;
}

.dropdown ul ul a {
  background: #2d353e;
  padding-left: 2.5em;
}

@media screen and (min-width: 68em) {
  .dropdown-toggle {
    display: none;
  }
}

.dropdown ul ul {
  border: 0;
  padding: 0;
}

.dropdown .dropdown.opened .has-dropdown {
  background: #9c2c12;
}

@media screen and (min-width: 68em) {
  .nav-collapse {
    /* padding-right: 4%; */
    position: relative;
  }
  .js .nav-collapse,
  .js .nav-collapse .dropdown ul {
    max-height: none;
    overflow: visible;
    z-index: 5;
  }
  .has-dropdown:after {
    font-size: 1.5em;
    line-height: 0.8;
    float: right;
    content: "";
    width: 0;
    height: 0;
    margin: .8em 0 0 0.5em;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
  }
  .dropdown ul .has-dropdown:after {
    content: "";
    width: 0;
    height: 0;
    margin: 0.3em 0 0 0.5em;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 6px solid #fff;
  }
  .nav-collapse .dropdown {
    position: relative;
  }
  .nav-collapse .dropdown li {
    width: 100%;
  }
  .nav-collapse .dropdown ul a {
    text-align: left;
    border-left: 0;
    border-bottom: 1px solid #999999;
  }
  .nav-collapse li {
    border: 0;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    position: relative;
  }
  .nav-collapse a {
    display: inline-block;
    padding: 0 14px;
  }
  .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: 10px 12px;
    white-space: normal;
    width: 200px;
  }
  .nav-collapse ul li:hover > ul,
  .nav-collapse ul li.focus > ul {
    top: 40px;
    left: 50%;
    margin-left: -75px;
  }
  .nav-collapse ul ul li:hover > ul,
  .nav-collapse ul ul li.focus > ul {
    top: 0;
    left: 0%;
    margin-left: 150px;
  }
}