﻿
.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}
nav.primary span {text-align: right; color: #fff;}

nav.primary {
	padding:0;
	margin:0;
	width:100%;
	display: inline-block;
	position:relative;
	vertical-align: top;text-align:right;
	
	}
	nav.primary ul {
		margin:0 auto; 
		padding:0;
		display:flex;
  justify-content: flex-end;
		}
		nav.primary ul li {
			margin:0; 
			padding:0; 
			list-style-type:none; 
			position: relative;
			}
			nav.primary ul li a {
				display:block;
				color:#fff;
				font-family: 'Montserrat', sans-serif;
				font-weight: 600;
				font-size:15px;
				text-decoration:none;
				padding:10px 18px;
				margin:0;
				text-align:center;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.4s ease-in;  
				-o-transition:.4s ease-in;  
				transition:.4s ease-in;	
				white-space: nowrap;
				box-sizing: border-box;
				}	
			nav.primary ul li a:hover {
				-webkit-column-rule: #fff;
				-moz-column-rule: #fff;
				-o-column-rule: #fff;
				column-rule: #fff;
    			background:#f3f3f3
				}
			nav.primary ul li:hover a {
				color:#000000;
    			background:#f3f3f3
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:14px;
				line-height:16px;
				display: block;float:left;
				padding:10px 20px;
				width: 250px;
				color:#fff!important;
				background: #E33828!important;
				text-align:left;
				border-right:none;
				border-left:none;
				
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				background:rgba(255,255,255,0.2)!important;
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
	background: #E33828!important;
	padding:15px 0;
	right:0;
}
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 100;
}
nav.primary ul ul li {
    float: none; 
	width: auto;
    position: relative;
    margin:0;display:block;
}
/******** End of primary Nav ***************/

@media screen and (max-width: 1250px) {
	nav.primary ul li a {
  		padding: 0px 14px;
	}
}


@media screen and (max-width: 1024px) {

}


@media screen and (max-width: 800px)  {

	header .wrapper {
		display: none;	
	}
	
/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	background: #fff;
	border-bottom: 1px solid #f3f3f3;
	padding:15px;
	box-sizing: border-box;
	gap:10px;
	}
	.mob-khead-logo-1 {
		display: block;
		width:100%;
		max-width: 124px;
		height: auto;
	}
	.mob-khead-logo-1 img {
		display: block;
		width:100%;
		max-width: 100%;
		height: auto;
	}
	#menu-button .menu-toggle {
		color:#E33828;
		font-size: 30px;
	}
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -350px;
	width: 350px;
	height: 100%;
	background: #E33828;
	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:flex;
	justify-content: flex-end;
	padding: 5px;
	width:100%;
	box-sizing: border-box;
	color: #999;
	font-size: 18px;
	font-weight: 400;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	padding: 3px 8px 3px;
	font-family: Arial, sans-serif;
	font-size:24px;
	font-weight: bold;
	line-height: 1;
	background: #222;
	color: #999;
	text-decoration: none;
	top:-4px;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #fff;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
	display: block;
}
nav.mobile ul li {
	position:relative;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	position: relative;
	display: flex;
	justify-content: space-between;
	font-size:15px;
	padding:10px;
	color: #fff;
	text-decoration: none;
	width:100%;
}
	
nav.mobile ul li .click { 
	height: 40px;
	width:40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
		z-index: 2;
	cursor: pointer;
	color:#fff;
	position: absolute;
	right:0;
	top:0;
}
	
nav.mobile ul li a:hover {
	background:rgba(45,45,45,0.5); 
	color: #fff; 
}

/* SECOND LEVEL */
	
nav.mobile ul ul {
	border-top:1px solid #fff;
	}

nav.mobile ul li li a {
	position: relative;
	display: block;
	padding: 10px 10px 10px 15px;
	color: #fff;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:rgba(65,65,65,0.5);}

nav.mobile ul li li li a {
	padding: 10px 10px 10px 20px;
}
	.mob-nav-bottom-1 {
		padding:20px 0 10px 0;
		display: flex;
		flex-direction: column;
		gap:20px;
		justify-content: center;
		align-items: center;
	}
	.head-button-1 a {
		background:#fff;
		color:#E33828!important;
		margin:0 auto;
		font-size: 16px;
	}
	.mob-head-phone-1 {
		color: #ffffff !important;
  		font-weight: 600 !important;
		font-size: 16px;
	}
	.mob-head-phone-1:hover {
		text-decoration: underline;
	}
	.mob-head-soc-1 {
		display: flex;
		justify-content: center;
		gap:10px;
	}
	.mob-head-soc-1 a {
		font-size: 16px;
		color:#fff;
	}
	.mob-head-soc-1 a:hover {
		color:#000;
	}
	
	

}