/* NAVIGATION
================================================================================ */
.top-bar, .top-bar .title-area, .top-bar.expanded .title-area {
	height: 90px;
	background: none;
}	

.top-bar .toggle-topbar.menu-icon {
	padding-bottom: 0;
	background: none;
}
	.top-bar .toggle-topbar.menu-icon a {
		border: none;
		font-size: 1rem;
	}
		.top-bar .toggle-topbar.menu-icon a span {
			color: #888;
		}
			.top-bar .toggle-topbar.menu-icon a span:after {
				box-shadow: 0 3px 0 1px #888, 0 7px 0 1px #888, 0 11px 0 1px #888;
			}

			.top-bar.expanded .toggle-topbar.menu-icon a span:after {
				box-shadow: 0 0 0 1px #888, 0 7px 0 1px #888, 0 14px 0 1px #888;
			}
		.top-bar .toggle-topbar.menu-icon a:hover {
			}
			.top-bar .toggle-topbar.menu-icon a:hover span, .top-bar.expanded .toggle-topbar.menu-icon a span  {
				color: #96b4c2;
			}
				.top-bar .toggle-topbar.menu-icon a:hover span:after, .top-bar.expanded .toggle-topbar.menu-icon a span:after {
					box-shadow: 0 0 0 1px #96b4c2, 0 7px 0 1px #96b4c2, 0 14px 0 1px #96b4c2;
				}
				.top-bar.expanded .toggle-topbar.menu-icon a:hover span:after {
					box-shadow: 0 3px 0 1px #96b4c2, 0 7px 0 1px #96b4c2, 0 11px 0 1px #96b4c2;
				}

.top-bar-section ul {
	background: #a6a8ab;
	padding: 0; margin: 0;
}
	.top-bar-section ul li, .top-bar-section ul li ul li {
		text-align: center;
		padding: 0; margin: 0;
		background: none;
	}
		.top-bar-section ul li.menu-item-home:first-child {
			display: none;
		}
		.top-bar-section ul li.back, .top-bar-section ul li ul li.back {
			background-color: #f1f2f2;
		}
		.top-bar-section ul li a {
			text-align: left;
			font-weight: 600;
			font-size: 1rem;
			color: white;
			text-transform: uppercase;
			line-height: 1.66;
			background: transparent !important;
			/* border-bottom: 1px solid #ccc; */
			padding: 0.4375rem 0.9375rem;
		}
			.top-bar-section ul li:hover > a, .top-bar-section ul li a.active {
				background: #6e97ce!important;
			}

.top-bar.expanded.fixed {
	position: relative;
	top: auto; left: auto;
}
.top-bar.expanded .toggle-topbar a {
	color: #E6E8EA; 
	border: none;
}

.top-bar .name {
	height: 90px;
	padding: 0;
}
	.top-bar .name img {
		height: 60px;
		margin: 15px;
	}

/* Additional levels */
.top-bar-section .dropdown li a {
	padding: 0.4375rem 0.9375rem;
	text-transform: none;
}
.top-bar-section .dropdown li.title h5 {
	margin: 0 !important;

}
	.top-bar-section .dropdown li.title h5 a {
		color: #6e97ce;
	}
		.top-bar-section .dropdown li.title h5 a:hover {
			color: #6e97ce;
		}

	.top-bar-section .dropdown li.parent-link {
		border-bottom: 1px solid #f1f2f2;
	}
		.top-bar-section .dropdown li.parent-link a {
			text-transform: uppercase;
			font-weight: 600
		}

/* FIXED NAV */
.fixed_nav {
	position: fixed;
	top: 0;	
	left: 0;
	width: 100%;
	z-index: 999;
	height: 50px;
	background: #ffffff;
}
.f-topbar-fixed {padding-top: 0 !important;}
.fixed_nav_spacing {padding-top: 50px;}

/* SMALL (up to 640px)
==================================================================================================================================
=============================================================================================================================== */
@media only screen and (max-width: 20.062em) {
}

@media only screen and (max-width: 40.063em) {
	.search-popout-form {
		width: 100% !important;
	}
}

/* MEDIUM (640px up)
==================================================================================================================================
=============================================================================================================================== */
@media only screen and (min-width: 1121px) {
.top-bar-section ul li .js-generated, .top-bar-section ul li .parent-link {
  display: none !important;
}

/* NAVIGATION
================================================================================ */
.top-bar {
	height: 40px;
}
	.top-bar .name {
		background: none;
	}
	.top-bar-section {
		width: 100%;
		margin: 0 auto;
		/* z-index: 999; */
		height: 40px;
		position: relative;
		text-align: justify;
	}
		.top-bar-section #nav-just {
			display: inline-block;
			position: relative;
			width: 100%;
			height: 0;	
		}
		.top-bar-section ul {
			margin: 0; padding: 0;
			display: inline;
			background: none;
		}
			.top-bar-section ul li {
				margin: 0; padding: 0;
				background: none;
				float: left;
				width: auto;
				position: relative;
			}
			.top-bar-section ul > li {
				display: inline-block;
				vertical-align: top;
				float: none;
			}
				.top-bar-section ul li > a {
					font-weight: normal;
				}
				.top-bar-section li:not(.has-form) a:not(.button) {
					background: transparent;
					display: block;
					border: none;
					margin-left: 0;
					padding: 0;
					font-size: 1.125rem;						
					text-transform: uppercase;
					font-weight: 700;
					line-height: 40px;
					color: #333;
				}	
					.top-bar-section li.active:not(.has-form) a:not(.button) {
						line-height: 40px;
					}
					.top-bar-section ul li:hover:not(.has-form) > a, .top-bar-section ul li a.active, .top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
						color: #5d7abc;
						background: transparent !important;
						padding:  0;
					}

/* ADDITIONAL LEVELS */
.top-bar-section .has-dropdown > a {
	padding-right: 0 !important;
}
.top-bar-section .has-dropdown > a:after {
	display: none;
}
.top-bar-section .has-dropdown .dropdown li.has-dropdown > a:after {
	display: block;
	top: 4px;
}
.top-bar-section .dropdown {
	background: rgba(255,255,255,0.95);
	padding: 0.9375rem 0.625rem;
	min-width: 230px;
	left: 50%; right: auto;
	transform: translateX(-50%);
}
	.top-bar-section .dropdown:after {
		content: "";
		position: absolute;
		width: 0; height: 0;
		border-style: solid;
		border-width: 15px 15px 0 15px;
		border-color: #6d96ce transparent transparent transparent;
		left: 50%; top: 0;
		transform: translateX(-50%);
	}
	.top-bar-section #menu-item-268 .dropdown {
		min-width: 300px;
		column-count: 2;
	}
	.top-bar-section .dropdown li {
		padding: 0 0.625rem;
		vertical-align: central;
	}
		.top-bar-section .dropdown li.active:not(.has-form) a:not(.button), .top-bar-section .dropdown li.active:hover:not(.has-form) a:not(.button) {
			color: #5d7abc;
		}

		.top-bar-section .dropdown li:not(.has-form) a:not(.button) {
			text-align: left;
			font-weight: 600;
			color: #333 !important;
			font-size: 0.9375rem;
			text-transform: none;
			line-height: 1.66;
			background: transparent !important;
			padding: 0.125rem 0;
			border-bottom: 1px dashed #c8c8c8;
			
		}
			.top-bar-section .dropdown li:hover:not(.has-form):not(.active) > a:not(.button) {
				color: #5d7abc !important;
				padding: 0.125rem 0;
			}
	
	/* Parent link */
	.top-bar-section .dropdown.has-parent-link, .top-bar-section .has-parent-link > .dropdown {
		padding-bottom: 4.0625rem;
	}
		.top-bar-section .dropdown.has-parent-link li.parent-link, .top-bar-section .has-parent-link > .dropdown li.parent-link {
			display: block !important;
			position: absolute;
			bottom: 0; left: 0; right: 0;
			padding: 0 1.25rem 0.9375rem 1.25rem;
			width: 100%;
		}
			.top-bar-section .dropdown.has-parent-link li.parent-link a:not(.button), .top-bar-section .has-parent-link > .dropdown li.parent-link a:not(.button) {
				display: block !important;
				background: #6d96ce !important;
				padding: 0.3125rem 0;
				color: #fff !important;
				border-radius: 5px;
				border: none;
				text-align: center;
			}
				.top-bar-section .dropdown.has-parent-link li.parent-link a:not(.button):before, .top-bar-section .has-parent-link > .dropdown li.parent-link a:not(.button):before {
					content: "View all ";
				}
				.top-bar-section .dropdown.has-parent-link li.parent-link:not(.active):hover > a:not(.button), .top-bar-section .dropdown.has-parent-link li.parent-link:not(.active):focus > a:not(.button), 
				.top-bar-section .has-parent-link > .dropdown li.parent-link:not(.active):hover > a:not(.button), .top-bar-section .has-parent-link > .dropdown li.parent-link:not(.active):focus > a:not(.button) {
					background: #5d7abc !important;
					color: #fff !important;
				}
		
	.top-bar-section .has-parent-link .dropdown {
		position: relative;
		padding-top: 70px;
	}
		.top-bar-section .has-parent-link > .dropdown li.banner {
			content: "";
			position: absolute;
			display: block;
			top: 1.25rem; left: 0; right: 0;
			padding: 0 1.25rem;
		}
			.top-bar-section .has-parent-link > .dropdown li.banner a:not(.button) {
				display: block;
				background: url('../images/style/encoders-dropdown-banner_strip.png') no-repeat 0 0 !important;
				background-size: contain !important;
				height: 40px;
				width: 100%;
				border: none;
				text-indent: -9999px;
			}
				
/* FIXED NAV */
.fixed_nav {
	height: 100px;
}	
.fixed_nav_spacing {padding-top: 100px;}

}

/* Large (1020px up)
==================================================================================================================================
=============================================================================================================================== */
@media only screen and (min-width: 64.063em) {
	.top-bar-section > ul > li:not(.has-form) > a:not(.button) {
		font-size: 1.375rem;						
	}
}

.search-popout {
	cursor:pointer;
	position:relative;
	top:-5px;
	display:inline;
}

.search-popout-form {
	position:fixed;
	right:-820px;
	top:0;
	bottom:0;
	width: 440px;
	height:100%;
	background-color: #fff;
	z-index: 10;
	transition: all ease-in-out .3s;
}

.search-popout-overlay {
	display: none;
	position: fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,.35);
	z-index: 5;
	backdrop-filter: blur(4px);
	transition: all ease-in-out .2s;
}

input[name="search_side_form"]:checked + .search-popout-overlay {
	display: block;
	transition: all ease-in-out .2s;
}

input[name="search_side_form"]:checked + .search-popout-overlay + .search-popout-form {
	right:0px;
	transition: all ease-in-out .3s;
}

.sp-container {
	padding:0px 42px;
}

.sp-container > h3, 
.sp-container > h4 
{
	font-family:"Franklin M54", Arial, Helvetica, sans-serif;
	font-weight: 400 !important;
	font-style: italic;
	color:#000;
	margin-bottom:10px;
}

.search-header {
	background-color: #6F95CC;
	margin-bottom:40px;
	text-align: right;
}

.search-header > .sp-container > label {
	cursor: pointer;
	padding:14px 0px;
	margin:0;
	display: inline-block;
	line-height: normal;
}

.search-header > .sp-container > label > i {
	font-size: 32px !important;
	font-weight: 300;
	color:#fff;
}

.search-form {
	margin-bottom:40px;
}

.search-form > .sp-container > form > input[type="text"] {
	background-color: #fff;
	border:1px solid #CCC;
	border-radius: 4px;
	font-size:14px;
	width: 100%;
	height: auto !important;
	padding:16px !important;
}

.search-form > .sp-container > form > input[type="text"]::placeholder {
	font-size:14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}

.search-form > .sp-container > form > button {
	background: #BCCF39 !important;
	width: 100%;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	color:#fff;
	border-radius: 4px;
	margin:0;
	text-transform: capitalize;
	padding:8px 0px;
}

.search-form > .sp-container > form > button:hover {
	background: #a1b426 !important;
}

.search-p-prods {
	margin-bottom:30px;
	max-height: 300px;
	overflow-y: auto;
}

.search-p-product {
	display: flex;
	flex-flow: row;
	gap:10px;
	justify-content: space-between;
	align-items: center;
	margin-bottom:20px;
}

.search-p-product--image {
	width:100%;
	height:90px;
	max-width: 90px;
	padding:10px;
	border:1px solid #CCC;
	border-radius:4px;
}

.search-p-product--image > img {
	height: 100%;
	object-fit: cover;
}

.search-p-product--details {
	width: 100%;
	max-width: 240px;
}

.search-p-product--details > h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size:.9rem;
	line-height: normal;
	margin-bottom:15px;
	color:#555;
}

.search-p-product--details > a {
	background-color: #EAEAEA;
	padding:6px 16px;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	font-weight: 800;
	font-size:.9rem;
	border-radius: 4px;
	color:#666;
	display: inline-block;
}

.search-footer--button {
	background: #000 !important;
	border:2px solid #000 !important;
	width:100%;
	font-weight: 600 !important;
	font-size: 1.1rem !important;
	color:#fff !important;
}

.search-footer--button:hover {
	background: #fff !important;
	border:2px solid #000 !important;
	color:#000 !important;
}