﻿
.clear{clear:both;}

.header *{
	box-sizing: border-box;
}
.header{
    	font-family: 'Open Sans', sans-serif;	
}

.logo img {
    max-width: 300px;
	width: 100%;
    display: block;
}

.header-contact{
    width: 100%;
    background: #d50402;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    text-align: left;
}
.header-contact p {
    display: inline-block;
    width: 48%;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
    text-align: left;
    padding: 0 10px;
}
.header-contact a{
	color: #fff !important;
}
.header-contact p:nth-child(2) {
    text-align: right;
}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}

nav.primary {
	padding:0;
	display:inline-block;
	margin:0;
	width:100%;
	position:relative;
	background: #000;
    	border-bottom: 7px solid #D50402;
	}
	nav.primary ul {
		margin:0 auto; 
		padding:0;
		display: flex;
		justify-content: center;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			    position: relative;
			}
			nav.primary ul li a {
				color: #fff;
    				font-family: 'Open Sans', sans-serif;
				font-size:14px;
				text-decoration:none;
				display:block;
				margin:0;
				text-align:center;
				text-transform:uppercase;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.2s ease-in;  
				-o-transition:.2s ease-in;  
				transition:.2s ease-in;	
				font-weight:400;
				padding:10px 50px;
				}	
			nav.primary ul li a:hover, nav.primary > ul > li:hover > a, nav.primary > ul > li:focus > a, nav.primary ul li.active a {
				background: #D50402;
				color:#fff;
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
    				font-size: 14px;
    				padding: 15px 20px;
				color:#fff;
				background: #000;
				text-align:left;
				border-right:none;
				border-left:none;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
			}
/* 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: 360px;
    position: relative;
    margin:0;
	display: block;
}

li.has-sub > a:before {
    position: absolute;
    top: 7px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #eee;
    content: '';
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease;
}
nav.primary > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}
li.has-sub > a:after {
	position: absolute;
    top: 10px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #eee;
    content: '';
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1220px)  {

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: inline-block;
   	position: absolute;
	font-size: 24px;
	line-height:38px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	background: #000;
	text-align: left;
	border-bottom: 3px solid #D50402;
	}
#menu-button > a{ 
	height: 38px;
	}
	#menu-button a{
		 color:#fff;
		 text-decoration: none;
		 padding:0 0 0 .8em; 
		 font-weight:normal;
		width: 100%;
    		display: block;
		position: relative;
	  }
	#menu-button > .click:before {
    position: absolute;
    display: block;
    height: 2px;
    width: 20px;
    top: 0px;
    bottom: 0px;
    left: 24px;
    margin: auto;
    background: #fff;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    content: '';
	}
	#menu-button > .click:after {
    position: absolute;
    display: block;
    height: 10px;
    width: 20px;
    top: 0px;
    bottom: 0px;
    left: 24px;
    margin: auto;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
	}
	#menu-button > .click.open:before {
     top: 0;
    background: #fff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
	}
	#menu-button > .click.open:after {
    top: 0;
    border: 0;
    height: 2px;
    width: 15px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
	}

	#menu-button li{position: relative;}
	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;
    left: -30px;
    bottom: 0;
    width: auto;
    height: 100%;
    padding: 17px 27px;
    color: #000;
    background: #eaeaea;

	}
	ul li .click.open{
    		background: #f1f1f1;
	}
	ul li .click:before{
		position: absolute;
		background: #363636;
    		margin: auto;
    		top: 0;
    		bottom: 0;
    		right: 23px;
    		display: block;
    		width: 2px;
    		height: 8px;
    		content: '';
	}
	ul li .click.open:before{
    		content: none;
	}
	ul li .click:after{
		position: absolute;
    		margin: auto;
    		top: 0;
    		bottom: 0;
    		right: 20px;
    		width: 8px;
    		height: 2px;	
		display: block;
    		background: #363636;
    		content: '';
	}
	#menu-button > ul > li{
		margin-left: 30px;
	}
	#menu-button li{
		padding: 10px 10px 10px 27px !important;
    		font-size: 14px !important;
		text-transform: uppercase;
	}
	#menu-button li a:hover, #menu-button ul > li:hover > a, #menu-button ul > li:focus > a, #menu-button ul li.active a{
    		color: #fff;
    		background: #D50402;
    		transition: ease-out .3s;
	}

}

@media screen and (max-width: 750px)  {
	.header-contact p {
    		width: 100%;
    		text-align: center !important;
	}

	.logo img {
    		margin: 0 auto;
	}
}
