﻿
.clear{clear:both;}
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800&display=swap');
@import url("https://use.typekit.net/npt7wlo.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile, .mobile-menu {display:none;}

.nav-header {position: relative; z-index: 3;}
.nav-background {background: rgba(33, 33, 33, 0.02); position: absolute; top: 0; left: 0; right: 0;}
.my-site-header {padding: 0 15px; margin: 0 auto; max-width: 1830px;}

nav.primary {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	height: 86px;
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		float:right;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color:#fff;
				font-size:20px !important;
				line-height:20px;
				text-decoration:none;
				position:relative;
				display:block;
				margin:0px 2px;
				text-align:center;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.4s ease-in;  
				-o-transition:.4s ease-in;  
				transition:.4s ease-in;	
				font-weight:700;
				padding:20px;
				font-family: 'darkmode-off-cc', sans-serif;
				cursor: pointer;
				}	
			nav.primary ul li a:hover {
				background: var(--red);
				color:#fff;
				border-radius: 10px;
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:20px;
				letter-spacing: .2px;
				line-height:24px;
				padding:20px;
				color:#fff;
				background-color: var(--dark-grey);
				text-align:left;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #fff;
				background-color:var(--red);
			}
/* 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: 1000;
}
nav.primary ul ul li {
    float: none; 
	width: 220px;
    position: relative;
    margin:0;
	display: block;
}

/** header styles **/

/*Search Form (from plpequipment.com)*/
@keyframes dropIn {
  from {
    transform: translateY(-10px);
	  opacity: 0;
  }

  to {
    transform: translateY(0px);
	  opacity: 1;
  }
}
@keyframes dropOut {
  from {
    transform: translateY(0px);
	  opacity: 1;
  }

  to {
    transform: translateY(10px);
	  opacity: 0;
  }
}
.search-form{
	display: block;
	padding: 10px 60px 5px;
}
.search-form form{
	position: relative;
	margin: 0 !important;
}
.search-form input{
	display: block!important;
	background: #fff;
	width: 100%!important;
	padding: 20px !important;
	font-family: 'darkmode-off-cc', sans-serif!important;
	border: none !important;
	border-radius: 10px !important;
	line-height: 24px !important;
	font-size: 20px !important;
	box-sizing: border-box!important;
	height: auto !important;
}
.search-form button{
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 20px 24px !important;
	background: var(--red) !important;
	border-radius: 10px;
	border: none !important;
	outline: none !important;
	line-height: 24px !important;
	font-size: 25px !important;
	transition:.4s ease-in;
	cursor: pointer;
	color: #fff;
}
.search-form button:hover {background: #fff!important; color: var(--red)!important; box-shadow: inset 0 0 0 6px #E22837!important;}
.search-square {
	font-size: 20px;
	font-weight: 700;
	background: var(--red);
	color: #fff;
	padding: 30px 50px;
	margin-left: 20px;
	transition:.4s ease-in;	
	cursor: pointer;
	font-family: 'darkmode-off-cc', sans-serif!important;
}
.search-square i {margin-right: 15px;}

.search-square:hover {background: transparent; box-shadow: inset 0 0 0 6px #fff!important;}

.my-site-header > .wrapper {justify-content: center; gap: 100px; align-items: center; border-bottom: #fff solid 2px; padding-top: 30px; padding-bottom: 30px;}
.my-site-header > .wrapper a {color:#fff; font-size: 20px; transition: all .4s ease-out; font-family: 'darkmode-off-cc', sans-serif; font-weight: 700;}
.my-site-header > .wrapper a i {margin-right: 15px;}
.my-site-header > .wrapper a:hover {color: var(--red);}
.my-site-header .img-height img {max-width: 300px; width: 100%; height: auto;}

/******** End of primary Nav ***************/
@media screen and (max-width: 1220px) {
	nav.primary ul li a {padding: 20px 15px;}
}

@media screen and (max-width: 1150px)  {
	.mobile-menu {display: flex; justify-content: space-between; align-items: center; height: 86px;}

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	display: inline-block;
	font-size: 24px;
	position: relative;
	line-height:60px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	text-align: right;
	cursor: pointer;
	}
	#menu-button a{
		 color:#fff;
		 text-decoration: none;
		 font-weight:700;
		font-size: 40px;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: var(--dark-grey);
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: Arial, sans-serif;
	font-size:24px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	top: 38px;
	right:13px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	background: var(--red);
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	position:relative;
}
	
	.top-ul {margin-top: 100px!important;}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:20px;
	padding: 20px;
	color: #fff;
	text-decoration: none;
	text-align: left;
	font-family: 'darkmode-off-cc', sans-serif;
	cursor: pointer;
}
nav.mobile ul li a:hover {
	background: var(--red);  
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #434343;
	position: relative;
	display: block;
	padding: 15px 20px;;
	color: #fff;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:var(--red);}

/* FONT AWESOME ICONS */
nav.mobile ul li .fa-chevron-down{color:#fff!important; margin-left: 15px;}
	
}

@media screen and (max-width: 850px)  {
	.my-site-header > .wrapper {gap: 50px;}
}

@media screen and (max-width: 750px)  {
	.my-site-header > .wrapper {gap: 30px;}
}

@media screen and (max-width: 720px)  {
	.my-site-header > .wrapper > a {display: none;}
	.my-site-header > .wrapper {padding-top: 10px; padding-bottom: 10px;}
}

@media screen and (max-width: 600px)  {
	.mobile-menu {height: 66px;}
	.search-square {padding: 20px 50px;}
}

@media screen and (max-width: 450px)  {
	.search-form {padding: 10px 15px 5px;}
}
