/*STANDARD NAVBAR*/

nav {padding: 0;width:auto; position:relative;}
nav .at-minimal_toolbar {margin-top: -24px;top: 0;}


nav a,nav a:visited,nav a:hover
{
  outline:none;
  text-decoration:none;
  font-size:15px;
  font-weight: bold;
  text-transform:none;
  line-height: 50px;
  padding: 0 20px;
  display:block;
  color:#fff;
  text-align:center;
  white-space:nowrap;
  text-transform:uppercase;
}

nav a:hover
,nav li:hover > a /*keep hovered item highlighted when hovering over menu below*/
{
  text-decoration:none;
  background:#654333;
}

/* SELECTED NAV */
nav .selected_nav > a,nav .selected_nav > a:hover 
{
  color:#A54024;
  background:#FFFFFF;
} 

/*Dropdown menu item styles*/
nav ul ul a,nav ul ul a:visited,nav ul ul a:hover
{text-align:left;background:#543729;display:block;
  color:#fff;
}

nav ul ul a:hover{background:#442C20;}

/*Navbar in footer*/
footer nav {margin:1rem 0;}
footer nav.nav_vertical .at-minimal_toolbar {right:0;}
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
{
  text-decoration:none;
  font-size: inherit;
  text-transform:none;
  line-height: normal;
  padding: 0;
  display:block;
  white-space:normal;
  background:none;
  border:none!important; 
  min-height:10px;
}

footer nav a:hover
,footer nav .selected_nav > a
,footer nav .selected_nav > a:visited
,footer nav .selected_nav > a:hover 
{background:transparent;}

/* MOBILE NAV */
.mobile_top_nav_hide,.mobile_top_nav_show
{
  font-size: 1.5em;
  line-height:1;
  padding: 5px 10px;
}

/** DROPDOWN NAV **/
/* style the second level background */
nav li.has_submenu > a:after {
  content:' \f078';font-family:"FontAwesome";
  padding-left:5px;opacity:.4;}

nav li.has_submenu a:hover {}


@media (max-width: 800px),(max-device-width: 800px){
  nav {color:#fff;}
  nav a,nav a:visited,nav a:hover  {font-size:1em;}
  
  nav.mobile_nav {position:relative;z-index:1000; /*ensure it's above close elements*/}
  
  /*MOBILE NAV*/

  nav.mobile_nav a,nav.mobile_nav a:visited, nav.mobile_nav a:hover
  {
    padding:6px 8px;
    display:block;
    background:#543729;
    color:#fff;
    font-size:1.2rem;
    line-height:1.6;
    text-align:left;
  }
  
  nav.mobile_nav .selected_nav a
  ,nav.mobile_nav .selected_nav a:hover
  {background:#fff;color:black;box-shadow:none;}

  
  nav li.has_submenu > a::after {position:absolute;right:5px;}
  
  nav.mobile_nav a {border-bottom: 1px solid #000;}
  nav.mobile_nav a:hover {background:#3F291E;}
  
  nav.mobile_nav ul ul li a, nav.mobile_nav ul ul li a:hover
  {
    background:#3F291E;
  }
  
}




