﻿.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile {display:none;}

/******** End of primary Nav ***************/

@media screen and (min-width: 1151px)  {
	.menu-toggle.exit-click{
		display: none !important;
	}
}

@media screen and (max-width: 1150px)  {
	
	.mobile + .menu-toggle.exit-click{
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 499;
		pointer-events: none;
		background: rgba(36,32,33,0.33);
		opacity: 0;	
		transition: ease opacity 0.3s;
	}
	.mobile.open + .menu-toggle.exit-click{
		pointer-events: auto;
		opacity: 1;
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}
/*==============================
	Mobile Nav Styles			
================================*/	
	
	#menu-button { 
		display: flex; justify-content: center; align-items: stretch; 
		position: relative;
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	}
	#menu-button a {
		display: flex; justify-content: center; align-items: center; 
		padding: 16px; cursor: pointer; 
		color:#fff;
		font-size: 24px;
		text-decoration: none; transition: .25s ease all; 
	}
	#menu-button a span {
		text-transform: uppercase; font-family: 'kanit', sans-serif; font-size: 17px; text-align: left; margin-left: 12px; 
	}
	#menu-button a:hover { color: #f7c117; }
	nav.mobile {
		display: block;
		position: fixed;
		top: 0;
		left: -450px;
		width: min(100%, 450px);
		height: 100%;
		background: #000;
		z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		overflow:auto;
	}

	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display:block;
		padding: 0;
		margin:50px 0 10px 0;
		color: #999;
		font-size: 18px;
		font-weight: 400;
	}

	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle:not(.exit-click) {
		position: absolute;
		padding: 3px 8px 3px;
		font-family: Arial, sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #333;
		color: #ccc;
		text-decoration: none;
		top: -38px;
		right: 13px;
		cursor: pointer; transition: .15s ease all; 
	}
	nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hoveer */
		background: #202020;
		color: #fff;
	}

	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
	}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		font-size: 16px; 
		width: 100%; min-height: 50px; 
		padding: 6px 16px; 
		justify-content: flex-start; 
		text-align: left;
	}
	nav.mobile ul li a:hover {
		background: #151515; 
	}

	nav.mobile ul li .click i{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		position:absolute;
		display:block;
		cursor:pointer;
		z-index: 12399994;
		top:0;
		right:0;
		width:auto;
		height:auto;
		padding: 13px 20px;
		color:#fff;

	}
	nav.mobile ul li .click.open i:before{
		content: "\f068";
	}

	.nav-footer {
		position: relative; 
		padding: 24px 12px;
		font-family: 'kanit', sans-serif; 
		font-size: 14px; 
		line-height: 20px; 
		text-align: center; 
		color: #aaa; 
	}
}

@media only screen and (max-width: 450px) {
	#menu-button, #menu-button a { width: 100%; }
}
