/**
 * Mobile Nav Styling
 * 
 * CSS & images originally developed by Astuteo
 *
 * http://astuteo.com/mobilemenu
 *
 * Genesis 2.0 compatible functions and JS developed by FAT MEDIA
 *
 * http://youneedfat.com/genesis-responsive-design-menu/
 *
 * Adapted for Genesis/WordPress by Tom Finley
 *
 * https://github.com/electricbrick/Genesis-Mobile-Menu
 * 
 *
 */
 
/* Mobile Nav - Desktop Attributes
------------------------------------------------------------ */

#mobile-nav-wrapper, .page-template-page_landing-php #mobile-nav-wrapper { display: none; } /* hide the navigation button by default */

@media only screen and (max-width: 680px) {
	
	/* Desktop Menu HIDE
	-------------------------------------------------------- */
	
	.menu-primary, .menu-secondary, #header .menu, .widget_nav_menu  { display: none; }
	
	  /* Navigation Button
	-------------------------------------------------------- */

	.menu-toggle {
		display: block;
		position: relative;
		/*top: 8px;
		left: 7px;*/
		width: 50px;
		height: 35px;		
		background:  transparent url('images/menu-icon-large.png'); /* Old browsers */
		background-position: center -3px;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
		cursor: pointer;
		border: 0 none;
		z-index: 999;
		text-indent: -9999px;
	}
	.menu-toggle:hover { 
		background-color: rgba(0,0,0,.1); 
	}
	.menu-toggle.open {		
		background:  transparent url('images/menu-icon-large.png'); /* Old browsers */
		background-position: center -40px;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
	}

	/* Navigation Bar
	-------------------------------------------------------- */
	.logged-in #mobile-nav-wrapper {
		position: relative;
	}
	#mobile-nav-wrapper {
		  background: #7a1c1c;
		  clear: both;
		  display: block;
		  height: auto;
		  margin: 0 0 2px;
		  top: 0px;
		  z-index: 9999;
		  width: 100%;
		  position: relative;
		}
		
	.mobile-label {
		color: #fff;
		font-family: "myriad-pro", Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 18px;
		font-weight: bold;
		left: 70px;
		line-height: 120%;
		position: relative;
		top: -21px;
		width: 60%;
		z-index: 1000;
	}
	input, label, select, textarea {
		font-size: 18px;
	}
	#mobile-nav {
		width: 100%;
		float: none;
        border-top: solid 1px #7a1c1c;
        border-bottom: solid 1px #7a1c1c;
		display: none;
		height: auto;
		margin: 0 0 2px 0;
		padding: 0;
		overflow: hidden;
		box-shadow: 0 1px 2px rgba(0,0,0,.6);
		top: -11px;
		left: 0px;
		z-index: 998;
		clear: both;
	}
	#mobile-nav li {
		width: 100%;
		/*font-family: "aviano-sans",sans-serif;*/
		background: #7a1c1c;
	}
	#mobile-nav li a {
		display: block;
		width: 100%;
		padding: 10px 5%;
		font-size: 18px;
		font-weight: bold;
		color: white;
		text-decoration: none;
		border-bottom: 1px solid rgba(0,0,0,.2);
		border-top: 1px solid rgba(255,255,255,.1); 
	}
	#mobile-nav > li > a {
		text-shadow: 1px 1px 2px #000;
	}
	#mobile-nav li a:hover {
		background: rgba(0,0,0,.5);
		border-top-color: transparent;
	}
	#mobile-nav > li:first-child {
		border-top: 1px solid rgba(0,0,0,.2);
	}

	/* Toggle the navigation bar open  */

	#mobile-nav.open { 
		height: auto; 
		padding-top: 50px;
	}
	#mobile-nav.open li { 
		display: inline-block; 
	}

	/* Submenus – optional .parent class indicates dropdowns */

	#mobile-nav > li:hover > a {
		background: rgba(0,0,0,.5);
		border-bottom-color: transparent;
	}
	#mobile-nav li.parent > a {
		background: #7a1c1c url('images/sub-menu-arrow-down.png') no-repeat 90% 50%;
		color: #fff;
		float: right;
	}
	#mobile-nav li.parent > a:hover {
		background: rgba(0,0,0,.75);
	}
	#mobile-nav li ul {
		display: none;
		background: rgba(0,0,0,.5);
		border-top: 0 none;
		padding: 0;
	}
	#mobile-nav li ul.sub-menu li {
		clear: both;
	}
	#mobile-nav li ul a {
		border: 0 none;
		color: #f3f3f3;
		font-size: 14px;
		font-weight: bold;
		padding: 10px 5%;
	}
	#mobile-nav li:hover ul {
		display: block;
		border-top: 0 none;
	}
	
	/* END MOBILE NAV EXTRAVAGANZA */


