/* Navigation */
header nav {
  background: transparent;
  box-shadow: none;
  position:static;
}
nav a, nav a:visited, nav a:hover {
  line-height: 45px;
  color: #000;
  transition: all .15s ease-out;
  padding: 0 15px;
  font-weight: normal;
  font-size: 1.7rem;
  position:relative;
  /*border-bottom: 2px solid transparent;*/
  font-family: 'Cabin', sans-serif;
}
nav a:hover, nav li:hover > a {

}

header nav::after {
  /*display:none;*/
}

.mobile-top-nav-show, .mobile-top-nav-hide {
  padding: 4px 6px;
  /* position: absolute;
  top: -56px;
  right: 10px;*/
  color: #414141;
  text-align: center;
  transition: all .15s ease-out;
}

.member-nav .mobile-top-nav-hide, .member-nav .mobile-top-nav-show {
  position: relative;
  right: auto;
}

nav.member-nav  a, nav.member-nav  a:visited, nav.member-nav  a:hover {padding:0 12px;}

.sticky-header .mobile-top-nav-show, .sticky-header .mobile-top-nav-hide {
  transition: top .25s ease-out;
  color: #414141;
}

.flex-col-spacer{flex:1 1 50% !important;}

header nav a:hover,header nav li:hover > a{
  /* Nav link hover state */
  transition: all .2s ease;
  color:#014195;
}

nav.mobile-nav.member-nav ul {top:auto;}

.sticky-header nav a, .sticky-header nav a:visited, .sticky-header nav a:hover 
{
  color:#242424;
}

.sticky-header nav a:hover,.sticky-header nav li:hover > a {
  /* Nav link hover state */
  background: transparent;
  border: none;
}
.sticky-header nav ul ul li:hover > a{
  background:#ccc;
  border:none;
}

nav a:hover,nav li:hover > a{
  /* Nav link hover state */
  background:;
  border:none;
}

header nav a::before,
nav .selected_nav a::before {
  opacity:0;
  transition: all .3s;
  display:block;
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  border-bottom:2px solid #0270ff;
  height:1px;
}

nav .selected_nav > a {
  background:rgba(0,0,0,.05); 
}
nav .selected_nav a::before {
  border-color:#18519975;
}


header nav a:hover::before,
nav .selected_nav a::before,nav .selected_nav a:hover::before {
  opacity:1;
}

nav .selected_nav a,nav .selected_nav a:hover {
  /* Nav link of current (selected) page */
  color: #000;
}

/*Dropdown menu item styles*/
nav ul ul a
,nav ul ul a:visited {
  color:#000;
  background:#efefef;
  border: none;
}

nav ul ul a:hover {
  color:#000;
  background:#ccc;
  border: none;
}

/* Nav links in footer */
footer nav a
, footer nav a:visited
, footer nav a:hover
, footer nav .selected_nav a
, footer nav .selected_nav a:visited
, footer nav .selected_nav a:hover 
{
  color: #fff;
  text-align: center;
  line-height: 33px;
  font-weight: normal;
}

nav .at-toolbar2.at-minimal_toolbar.at-draggable {
  /* Adjust position of nav editing toolbar */
  top:10px;
}

.mobile-top-nav-show,.mobile-top-nav-hide {
  /* Toggle buttons/links for showing/hiding mobile navigation menu */
  padding:4px 6px;
  height: 100%;
}

nav.mobile-nav-open ul{}

nav.fontawesome .mobile-top-nav-hide::before, nav.fontawesome .mobile-top-nav-show::before {
  display:none;
  content:'';
}

main nav{background: #d2d2d2;}
main .mobile_top_nav_hide, main .mobile_top_nav_show {
  display: none;
}

nav li.has_submenu > a::after {}

@media (max-width: 960px){
  /* Mobile nav break point */
  footer nav ul {
    flex-direction: column;
  }
  nav {box-shadow: none;}
  .navbar {position:static;}
  nav.mobile-nav a, nav.mobile-nav a:visited, nav.mobile-nav a:hover {
    background: #fff;
    color: #414141;
    font-weight: normal;
    line-height: 45px;
    padding: 0 20px;
  }

  nav.mobile-nav ul ul li a, nav.mobile-nav ul ul li a:visited, nav.mobile-nav ul ul li a:hover {
    background:#dbdbdb; padding-left:25px;
  }

  nav.mobile-nav ul {top: 80px;left: 0px;width: 100%;}
  nav.mobile-nav a {
    border-bottom: none;
  }
  header nav.mobile-nav-open ul {
    padding: 0;
    box-shadow: 0 10px 10px -12px;
    z-index:100;
  }
  nav.mobile-nav-open.member-nav ul {
    padding: 0;
    z-index:1000;
    box-shadow: 0 10px 42px -35px;
  }
  .logo-flex-col{flex: 1 1 auto !important;}
  .flex-col-spacer{display:none;}
  .sticky-header nav a:hover, .sticky-header nav li:hover > a {background: #fff;}
  nav.mobile-nav a:hover, nav.mobile-nav li:hover > a {
    background: #fff;
    color: #000;
    border: none;
  }
  .mobile-top-nav-show, .mobile-top-nav-hide{position: absolute;top: 0;right: 20px;width: 50px;}
  nav.mobile-nav.member-nav a, nav.mobile-nav.member-nav li > a{background:#f2f2f2;}

  nav.mobile-nav .selected_nav>a,
  nav.mobile-nav .selected_nav>a:hover {
    background:#ccc;
    color:black;
  }

  footer nav a, footer nav a:visited, footer nav a:hover, footer nav .selected_nav a, footer nav .selected_nav a:visited, footer nav .selected_nav a:hover {
    line-height: 73px;
  }

}


