
.clear{clear:both;}

/* SEARCH OVERLAY */
.openBtn {float: right; margin: 0 10px;}
a.openBtn {font-size: 24px; cursor:pointer;}
.closebtn { position: absolute;top: 30%;right: 10%;font-size: 60px;cursor: pointer;color: #c31f25; font-family: 'Industry'}
.closebtn:hover, .openBtn:hover {color:#fff;}
#search h3{font-size: 1.5em; color: #c31f25; text-transform: uppercase;}
.overlay {height: 100%;width: 100%;display: none; position: fixed; z-index: 9999999999;top: 0;left: 0; background-color: rgb(0,0,0);background-color: rgba(0,0,0, 0.9);}
.overlayForm {position: relative;top: 40%;width: 80%;text-align: center;margin-top: 30px;margin: auto;}
.overlayForm input[type="text"] {font-size: 1.25em;font-weight: 400;margin: 20px auto;padding: 10px 20px !important;width: calc(100% - 41px);color: #2a2a2a;outline: none;border: .5px solid #ffffff; background: #ddd;}
.overlayForm strong {font-size: 2em; color: #fff; font-weight: 400; line-height:2;}
a.openBtn i.fa-search {font-size: 25px; vertical-align: middle; color: #ddd;}
a.openBtn:hover i.fa-search {color: #2a2a2a;}
select#searchbox {width: calc(100% - 40px);margin: 10px auto;padding: 0 20px;font-size: 2em;color: #fff;background: #353534;border: 1px solid #fff;-webkit-border-radius: 0;border-radius: 0;}
/* SEARCH OVERLAY ENDS */


/***** START OF PRIMARY NAV ******/
#menu-button{display: none;}
nav.mobile { display:none;}

.nav-width {width: 90%; margin: 0 auto;}

nav.primary {
	padding:0;
	display:inline-block;
	margin:0 0 1em;
	position:relative;
	text-align: right;
	z-index: 99;
	}
	nav.primary ul {
		margin:0; 
		font-family: 'Industry', sans-serif;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color:#ddd;
				font-size:14px;
				letter-spacing: 1px;
				text-decoration:none;
				display:block;
				margin:0;
				text-align:center;
				text-transform:uppercase;
				padding: 15px 1vw;
				position: relative;
				transition: .2s ease-in;
				}	

			nav.primary ul li:last-child {vertical-align: middle;}

			nav.primary ul li a:hover {
				background: #dddddd;	
				color: #313233;
				font-weight: 600;
			}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-weight: 500;
				line-height:40px;
				letter-spacing: 1px;
				padding: 2px 10px;
				color:#f4f4f4;
				background: rgba(49,50,51, .95);
				text-align:left;
				border-right:none;
				border-left:none;
				border-bottom: .5px solid #c0c0c0;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #f4f4f4;
				background: #2a2a2a;
				font-weight: bold;
				border-left: 7px solid #ddd;
			}

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too much */
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: 230px;
    position: relative;
    margin:0;
	display: block;
}

@media screen and (max-width: 1750px)  {
}

@media screen and (max-width: 1650px)  {
}

@media screen and (max-width: 1450px)  {
	nav.primary ul li a {font-size: 13px;}
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {

}



/*=======================
	END OF MAIN NAVIGATION
=========================*/

a#mobile-search {
	display: none;
}

@media screen and (max-width: 1250px) {
	
a#mobile-search {
	display: inline-block;
}

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: block!important;
	font-size: 24px;
	position: relative;
	line-height:25px; 
	z-index: 2; /* needs to be lower than nav.mobile, adjust as needed */
	}
	a#menu-button {
		 color:#ddd;
		 text-decoration: none;
		 font-weight:bold;
		 font-family: 'Industry', sans-serif;
		 font-size: 32px;
		 letter-spacing: 1.5px;
		 display: block;
		 z-index: 1;
		 width: auto;
		 position: relative;
		 text-align: right;
		 vertical-align: middle;
		 margin: 20px;
		cursor:pointer;
	  }
		a:hover#menu-button {
			color: #fff;
			-webkit-transition:.2s ease-in;  
			-moz-transition:.2s ease-in;  
			-o-transition:.2s ease-in;  
			transition:.2s ease-in;	
		}
nav.mobile {
	display:inline-block!important;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #c31f25;
	z-index: 1200; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}
/* 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;
	margin:60px 0 10px 0;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: 'Industry', sans-serif;
	font-size:30px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	top:-45px;
	right:10px;
	cursor:pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hover */
	color: #000;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li, nav.mobile ul li li {
	border-top: .5px solid #ff6258;
	position:relative;
	font-family: 'Industry', sans-serif;
}
	nav.mobile ul li:last-child {
		border-bottom: .5px solid #ff6258;
	}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	padding: 18px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	font-family: 'Industry', sans-serif;
	font-weight: 700;
	letter-spacing: 2px;
	font-size: 14px;
	line-height: 22px;
	border-left: 5px solid transparent;
}
nav.mobile ul li a:hover {
	background: #2a2a2a;
	border-left: 5px solid #fff;
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li:nth-child(2) {border-bottom: .5px solid #ff6258;}
nav.mobile ul li li a {
	background: #a1000a;
	position: relative;
	display: block;
	padding: 15px 25px;
	color: #ddd;
	text-decoration: none;
	border-left: 4px solid transparent;
}
nav.mobile ul li li a:hover	{border-left: 4px solid #c0c0c0; background: #000;}

/* 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: 8px;
	color: #eeeeee;
	text-decoration: none;
	border-left:4px #c0c0c0 solid;
}
nav.mobile ul li li li a:hover {}

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:#ddd; position:relative; text-align:center; font-size:10.5px; line-height:20px; padding:30px; font-family: 'Industry', sans-serif; letter-spacing: 2px; text-transform: uppercase;}

/* 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;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}


nav.mobile ul li .fa-chevron-down {color:#999;}
}


@media screen and (max-width:767px){
	#formpage {padding: 25px!important;}
	.service-form #formpage {padding: 0!important;}
	.contact-form p {padding: 2rem;}
}

@media screen and (max-width: 585px) {
	a#menu-button {top: 0; font-size: 28px;}
}
