/*<meta />*/

@import url('../../Brand.css');

/*main div of the header*/

.custom-header
{
	/*background: center top no-repeat url('../../images/header-bg.svg');
	background-size: cover;*/
	background-color: var(--cool-grey);
	color: #000000;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	padding: 10px;
	text-align: left;
	/*letter-spacing: 1.5px;*/
}

/*div that holds the logo*/

.company-logo
{
	margin-top: 15px;
	margin-left: 15px;
	float: left;
	width: 325px;
}

/*height settings for the rest of the page; if your header height changes, adjust this setting*/

div.main-section
{
	margin-top: 185px;
}

/*holds logo and custom links*/

.header-container
{
	display: flex;
}

/*holds site title and search*/

.header-container-2nd
{
	display: flex;
}

/*lays out custom links and hamburger icon*/

.header-items
{
	margin-top: 15px;
	margin-right: 20px;
	float: right;
	width: calc(100% - 200px);
	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: 106px;
	margin-top: 25px;
	font-size: 1.4em;
	font-weight: bold;
	z-index: -1;
}

.site-title > a
{
	color: var(--white);
}

.site-title > a:hover
{
	color: var(--white);
}

/*styles for the search bar component*/

.search,
.search-bar
{
	width: auto;
}

/*styles for the on-hover menu*/

nav.uppernav ul
{
	list-style: none;
	font-weight: bold;
	margin: 0;
	padding-left: 0;
	font-family: var(--font-html);
}

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;
	}

	.header-container-2nd
	{
		display: flex;
		flex-wrap: wrap;
	}

	div.site-title
	{
		position: relative !important;
	}
}

