/*<meta />*/

@import url('../../css-variables.css');

/*main div of the header*/

.custom-header
{
	background: rgb(0,0,0);
	/*	background: linear-gradient(180deg, rgba(0,0,0,1) 80%, rgba(255,255,255,0) 95%); */
	color: #fff;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	padding: 10px;
	text-align: left;
	letter-spacing: 1.5px;
	z-index: 10;
	min-height: 215px;
}

/*div that holds the logo*/

.company-logo
{
	margin-top: 15px;
	margin-left: 15px;
	float: left;
	width: 350px;
}

/*height settings for the rest of the page; if your header height changes, adjust this setting*/

div.main-section
{
	margin-top: calc(175px + 2.3em);
}

/*holds logo and custom links*/

.header-container
{
	display: flex;
}

/*holds site title and search*/

.header-container-2nd
{
	display: flex;
	height: 2.3em;
}

/*lays out custom links and hamburger icon*/

.header-items
{
	float: right;
	width: 58px;
	min-width: 58px;
	justify-content: flex-end;
	display: flex;
	z-index: 99;
}

/*hide hamburger on laptop/PC medium*/

button.menu-icon
{
	display: none;
}

/*styles for the site title*/

.site-title
{
	position: relative;
	margin-left: 15px;
	margin-top: 15px;
	font-size: 1.6em;
	font-weight: bold;
	/*	text-transform: uppercase; */
	z-index: -1;
	color: var(--white);
}

.site-title > a
{
	color: var(--white);
}

.site-title > a:hover
{
	color: var(--white);
}

/*styles for the search bar component*/

.search,
.search-bar
{
	width: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/*styles for the on-hover menu*/

nav.uppernav ul
{
	list-style: none;
	font-weight: bold;
	margin: 0;
	padding-left: 0;
}

nav.uppernav li
{
	color: var(--white);
	display: block;
	float: left;
	padding: 1rem;
	position: relative;
	text-decoration: none;
	transition-duration: 0.5s;
	border-radius: 5px;
}

nav.uppernav li a
{
	color: var(--white);
}

nav.uppernav li:hover,
nav.uppernav li:focus-within
{
	font-weight: bold;
	background: var(--menu-hover);
	cursor: pointer;
}

nav.uppernav li:focus-within a
{
	outline: none;
}

nav.uppernav ul li ul
{
	visibility: hidden;
	opacity: 0;
	min-width: 5rem;
	position: absolute;
	transition: all 0.5s ease;
	margin-top: 1rem;
	left: 0;
	display: none;
	background: var(--menu-dropdown);
	border-radius: 5px;
}

nav.uppernav ul li:hover > ul,
nav.uppernav ul li:focus-within > ul,
nav.uppernav ul li ul:hover,
nav.uppernav ul li ul:focus
{
	visibility: visible;
	opacity: 1;
	display: block;
}

nav.uppernav ul li ul li
{
	clear: both;
	width: 100%;
}

/*end of menu*/
/*layout adaptations for tablet and mobile*/

@media only screen and (max-width: 1279px)
{
	button.menu-icon
	{
		display: block;
		background: none;
		color: inherit;
		border: none;
		padding: 0;
		font: inherit;
		cursor: pointer;
		outline: inherit;
		padding: 5px;
		margin-bottom: 22px;
	}

	.custom-header
	{
		position: sticky;
		margin-bottom: 10px;
	}

	div.main-section
	{
		margin-top: 0;
	}

	div.main-section > .outer-row
	{
		padding-left: 0;
		padding-right: 0;
	}

	.body-container
	{
		padding-top: 0;
	}

	div.MCBreadcrumbsBox_p\00002Ebreadcrumb_0
	{
		padding-left: 15px;
		padding-right: 15px;
	}

	#mc-main-content
	{
		padding-left: 15px;
		padding-right: 15px;
	}

	div.site-title
	{
		position: relative !important;
	}
}

@media screen and (max-width: 950px) and (min-width: 770px)
{
	.search,
	.search-bar
	{
		max-width: 450px;
		margin-left: 5px;
	}
}

@media screen and (max-width: 775px)
{
	.header-container-2nd
	{
		display: grid;
		min-height: fit-content;
		height: auto;
		min-width: 90%;
	}

	.search,
	.search-bar
	{
		margin-left: 5px;
		min-width: 75%;
	}
}

/*print css for the custom header portals*/

@media print
{
	.custom-header,
	.custom-header-mobile
	{
		display: none;
	}
}

