﻿
.clear{clear:both;}

/***** START OF PRIMARY NAV ******/
#menu-button{display: none;}
nav.mobile { display:none;}

.nav-width {width: 85%; margin: 0 auto;}

nav.primary {
	padding:0;
	display:inline-block;
	margin:0;
	width:100%;
	position:relative;
	text-align: center;
	background: #8f1720;
	transform-origin: top left;
    -webkit-transform: skew(-135deg, 0deg);
    -ms-transform: skew(-135deg, 0deg);
    -o-transform: skew(-135deg, 0deg);
    transform: skew(-135deg, 0deg);
	overflow: hidden;
	}
	nav.primary ul {
		margin:0; 
		font-family: 'Montserrat', sans-serif;
		text-align: right!important;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			-webkit-transition: .4s ease-in;
			-moz-transition: .2s ease-in;
			-o-transition: .2s ease-in;
			transition: .2s ease-in;			
			}
			nav.primary ul li:hover {
				background: #021059;
			}
			nav.primary ul li a {
				color:#fff;
				font-size:10.5px;
				letter-spacing: 1px;
				text-decoration:none;
				display:block;
				margin:0;
				text-align:center;
				text-transform:uppercase;
				font-weight: 600;
				-webkit-transform: skew(135deg, 0deg);
				-ms-transform: skew(135deg, 0deg);
				-o-transform: skew(135deg, 0deg);
				transform: skew(135deg, 0deg);
				padding: 2em 1vw;
				}	
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:14px;
				font-weight: 600;
				line-height:40px;
				padding: 10px 20px;
				color:#f4f4f4;
				background: rgba(1,43,125, .9);
				text-align:left;
				border-right:none;
				border-left:none;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #fff;
				background: rgba(0,0,0, .9);
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
}
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: 270px;
    position: relative;
    margin:0;
	display: block;
}


@media screen and (max-width: 1300px) {
	nav.primary ul li a {font-size: 9.5px;}
}

/*=======================
	END OF MAIN NAVIGATION
=========================*/

@media screen and (max-width: 1200px) {

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: block;
	position: relative;
	z-index: 2; /* needs to be lower than nav.mobile, adjust as needed */
	background: #8f1720;
	}
	a#menu-button {
		 color:#fff;
		 text-decoration: none;
		 padding:.25em;
		 box-sizing: border-box;
		 font-family: 'Montserrat', sans-serif;
		 font-size: 30px;
		 text-align: center;
		 display: block;
		 position: relative;
	  }
	a#menu-button:before {
		content: "";
		position: absolute;
		left: -65px;
		bottom: 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 65px 63px 0;
		border-color: transparent #8f1720 transparent transparent;
		display: inline-block;
		vertical-align: middle;
	}
		a#menu-button:hover {
			color: #f6f6f6;
			-webkit-transition:.2s ease-in; 
			-moz-transition:.2s ease-in;  
			-o-transition:.2s ease-in;  
			transition:.2s ease-in;	
		}
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #000;
	z-index: 1200; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
}
/* MENU HEADER SOCIAL MEDIA */
	nav.mobile .social-media {
		position: relative;
		text-decoration: none;
		display: inline-block;
		font-size:16px;
		word-spacing:13px;
		padding:0 0 0 15px;
		color: #ccc !important;
	}
	
	nav.mobile .social-media a:link, nav.mobile .social-media a:visited {color:#ccc; text-decoration:none;}
	nav.mobile .social-media a:hover, nav.mobile .social-media a:active {color:#fff; text-decoration:underline;}

/* 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 {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: 'Montserrat', sans-serif;
	font-size:24px;
	font-weight: bold;
	line-height: 1;
	color: #999;
	text-decoration: none;
	top:-38px;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hover */
	color: #fff;
	background:#021059;
	transition:.2s ease-in;	
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	border-top: .5px solid #444;
	position:relative;
	font-family: 'Montserrat', sans-serif;
}
	nav.mobile ul li:last-child {
		border-bottom: .5px solid #444;
	}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	padding: 15px 20px;
	text-transform: uppercase;
	color: #ebebeb;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 12.5px;
	transition: all .2s ease-in;
}
nav.mobile ul li a:hover {
	background:rgba(143, 23, 32,.7);
	color: #eeeeee; 
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #012b7d;
	position: relative;
	display: block;
	padding: 15px;
	color: #eeeeee;
	text-decoration: none;
	border-left: none;
	transition: all .2s ease-in;
}
nav.mobile ul li li a:hover	{background:rgba(143, 23, 32,.7); border-radius: 13px;}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {border:none;}
nav.mobile ul li li li a {
	background: #555;
	position: relative;
	display: block;
	padding: 10px 10px 10px 25px;
	color: #eeeeee;
	text-decoration: none;
	border-left:4px #c0c0c0 solid;
}
nav.mobile ul li li li a:hover {background:rgba(0,32,93,.8);}

nav.mobile ul li .click{/* 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: 17px 20px;
	color:#fff;

}
.nav-footer {color:#999; position:relative; text-align:center; font-size:11px; padding:30px; font-family: 'Montserrat', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-weight: 500;}

/* FONT AWESOME ICONS */
nav.mobile ul li a .fa{
	width:25px;
	font-weight:100;
	padding:8px 3px;
	margin:0 6px 0 0;
	text-align:center;
	background:#292929;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

nav.mobile ul li .fa-chevron-down {color:#999;}
}


@media screen and (max-width:570px){
	a#menu-button {padding: .15em;}
	a#menu-button:before {border-width: 0 65px 57px 0;}
}

