﻿
.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/zry0wkx.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}
.nav-background {background: rgba(255,255,255,.8); z-index: 2; position: absolute;left: 0;right: 0;}

nav.primary {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	}
	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:var(--dark-blue);
				font-size:18px;
				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: 'ddt', sans-serif;
				border-radius: 10px;
				cursor: pointer;
				}
nav.primary ul .yellow-btn a {background: var(--yellow)!important; color: var(--dark-blue)!important;box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); margin-left: 15px;}
nav.primary ul .yellow-btn a:hover {background: var(--dark-blue)!important; color: #fff!important;}

			nav.primary ul li a:hover {
				background: var(--yellow);
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:18px!important;
				line-height:24px;
				padding:15px;
				color:#fff;
				background-color: var(--dark-blue);
				text-align:left;
				border-radius: 0!important;
				margin: 0;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: var(--dark-blue);
				background-color:var(--yellow);
			}
/* 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 **/

.my-site-header {padding-top: 30px; padding-bottom: 30px; background: var(--dark-blue);}
.my-site-header .wrapper {justify-content: flex-end; gap: 40px;}
.my-site-header .wrapper .flex {gap: 25px;}
.my-site-header .wrapper > div:first-child a, .my-site-header .wrapper > div:nth-child(2) a, .my-site-header .wrapper > div:nth-child(3) a {color: #fff; font-family: 'ddt', sans-serif; transition:.4s ease-in;}
.my-site-header .wrapper > div:nth-child(3) a i {transition:.4s ease-in;}
.my-site-header .wrapper > div:first-child a:hover, .my-site-header .wrapper > div:nth-child(2) a:hover, .my-site-header .wrapper > div:nth-child(3) a:hover i {
	color: var(--yellow);
}
.my-site-header .wrapper > div:first-child a i, .my-site-header .wrapper > div:nth-child(2) a i {margin-right: 10px;}


/*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: 40px 60px 10px;
	background: var(--dark-blue);
}
.search-form form{
	position: relative;
	margin: 0 !important;
	width: 100%;
}
.search-form input{
	display: block!important;
	background: #fff;
	width: 100%!important;
	padding: 20px !important;
	font-family: 'golos-text', sans-serif!important;
	border: none !important;
	border-radius: 0 15px 15px 0 !important;
	line-height: 24px !important;
	font-size: 18px !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(--yellow) !important;
	border-radius: 15px;
	border: none !important;
	outline: none !important;
	line-height: 24px !important;
	font-size: 25px !important;
	transition:.4s ease-in;
	cursor: pointer;
}
.search-form button:hover {background: #5C5958!important; color: #fff!important;}
.search-square {
	font-size: 25px;
	font-weight: 700;
	background: var(--yellow);
	color: var(--dark-blue);
	padding: 15px 20px;
	border-radius: 15px;
	transition:.4s ease-in;	
	cursor: pointer;
}

.search-square:hover {background: #fff;}

#search {
    display: flex;
}

#search select {
    width: 200px;
    background: #fff;
    font-family: 'golos-text', sans-serif!important;
	font-size: 18px!important;
    padding: 15px;
    border: 1px #ccc solid;
    color: var(--dark-blue);
    cursor: pointer;
	border-radius: 15px 0 0 15px;
	height: 64px;
}

.logo-mobile {display: none;}
.logo-desktop img, .logo-mobile img {max-width: 240px; width: 100%;}
.logo-desktop, .logo-mobile{
	padding-top: 20px;
	padding-bottom: 20px;
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1363px)  {
	.logo-desktop {display: none;}
	.logo-mobile {display: inline-block;}
	.mobile-menu {justify-content: space-between; align-items: center; gap: 15px;}
/*==============================
	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;
	}
	#menu-button a{
		 color:var(--dark-blue);
		 text-decoration: none;
		 font-weight:700;
		font-size: 40px;
		cursor: pointer;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: var(--dark-blue);
	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;
	background: var(--dark-blue);
	color: #fff;
	text-decoration: none;
	top: 38px;
	right:13px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: var(--yellow);
}

/* 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:18px;
	padding: 20px;
	color: #fff;
	text-decoration: none;
	font-family: 'ddt', sans-serif;
	text-align: left;
	cursor: pointer;
}
nav.mobile ul li a:hover {
	background:var(--yellow); 
	color: var(--dark-blue); 
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #354452;
	position: relative;
	display: block;
	padding: 20px;
	color: #fff;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:var(--yellow); color: var(--dark-blue);}

	nav.mobile ul li .fa-chevron-down{color:#fff!important; margin-left: 10px;}
	nav.mobile ul li a:hover .fa-chevron-down {color: var(--dark-blue)!important;}
}

@media screen and (max-width:730px){
	.search-form {padding: 40px 15px 10px;}
	.my-site-header .wrapper .flex {display: none;}
}

@media screen and (max-width:550px){
	.my-site-header .wrapper div .display-mobile, .search-square i {display: inline-block!important;}
	.my-site-header .wrapper div .display-mobile {font-size: 30px;}
	.my-site-header .wrapper div span, .my-site-header .wrapper div i {display: none;}
	.my-site-header .wrapper {justify-content: space-between; gap: 10px;}
	
	#search {flex-direction: column;}
	#search select {width: 100%; border-radius: 15px;}
	.search-form input {border-radius: 15px!important;}
}

@media screen and (max-width:350px){
	.my-site-header .wrapper div .display-mobile {font-size: 25px;}
}

