:root {
	--x: 17px;
	--y: 25px;
	--ds: 0 1px 3px rgba(0,0,0,0.1);
	--fds: 0 -1px 3px rgba(0,0,0,0.1);
}

.lmg-brand-bar {
	background-color: #fff;
	box-shadow: var(--ds);
	color: #12404B;
	font-family: "Times New Roman", "serif";
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .1px;
	line-height: 1.1;
	padding: 6px 0 0;
	position: relative;
	z-index: 100000;
}

.lmg-brand-bar .wrap {
	display: grid;
	grid-template-areas: 'logo . links';
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto;
	margin-inline: auto;
	max-width: 90%;
	padding: 0;
	position: relative;
	width: 100%;
}

.lmg-brand-bar .logo {
	grid-area: logo;
	letter-spacing: 0;
	padding: 0;
	position: relative;
}

.lmg-brand-bar .logo::before {
	background-color: #fff;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

.lmg-brand-bar .logo a.brand {
	color: #12404B;
	padding: 0 var(--y);
	position: relative;
	text-decoration: none;
	top: 4px;
	transition: opacity .2s ease-in-out;
	z-index: 2;
}

.lmg-brand-bar .logo a.brand:focus,
.lmg-brand-bar .logo a.brand:hover {
	opacity: .6;
}

.lmg-brand-bar .lmgLogo {
	background-image: url("img/lmg-logo.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 89px 22px;
	border: none;
	display: inline-block;
	height: 22px;
	outline: none;
	transition: filter .2s ease-in-out;
	vertical-align: 0;
	width: 89px;
}

.lmg-brand-bar .logo .drop {
	filter: drop-shadow(var(--ds));
	position: absolute;
	top: 100%;
	width: 100%;
	z-index: 1;
}

.lmg-brand-bar .logo .drop::before {
	background-color: #fff;
	clip-path: polygon(var(--x) 100%,calc(100% - var(--x)) 100%,100% 0,0 0);
	content: '';
	display: block;
	height: 11px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.lmg-brand-bar .buttons {
	display: flex;
	flex-wrap: wrap;
	grid-area: links;
	grid-gap: 0 20px;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.lmg-brand-bar .buttons a {
	color: #12404B;
	flex: 0 0 auto;
	font-size: 16px;
	position: relative;
	text-decoration: none;
	transition: opacity .2s ease-in-out;
}

.lmg-brand-bar .buttons a::before {
	background: url("img/icons.png") no-repeat center;
	background-size: 31px 16px;
	content: '';
	display: inline-block;
	height: 16px;
	margin-right: 4px;
	position: relative;
	top: 1.5px;
}

.lmg-brand-bar .buttons a.pay::before {
	background-position: 100% center;
	width: 13px;
}

.lmg-brand-bar .buttons a.portal::before {
	background-position: 0 center;
	width: 18px;
}

.lmg-brand-bar .buttons a:focus,
.lmg-brand-bar .buttons a:hover {
	opacity: .6;
}

.lmg-brand-bar.footer {
	box-shadow: var(--fds);
	font-size: 21px;
}

.lmg-brand-bar.footer .logo {
	top: -6px;
}

.lmg-brand-bar.footer .logo a.brand {
	top: 0;
}

.lmg-brand-bar.footer .logo .drop {
	top: 0;
	transform: rotate(180deg);
}

.lmg-brand-bar.footer .buttons {
	top: 6px;
}

@media ( min-width: 651px ) {
	
	.lmg-brand-bar.footer .lmgLogo {
		background-size: 122px 30px;
		height: 30px;
		width: 122px;
	}
	
}

@media ( min-width: 1024px ) {
	
	.lmg-brand-bar .wrap {
		max-width: 960px;
	}
	
	.lmg-brand-bar.full-width .wrap {
		max-width: 90%;
	}
	
}

@media ( min-width: 1240px ) {
	
	.lmg-brand-bar .wrap {
		max-width: 1170px;
	}
	
	.lmg-brand-bar.full-width .wrap {
		max-width: 90%;
	}
	
}

@media ( max-width: 650px ) {
	
	.lmg-brand-bar.footer {
		padding-bottom: 15px;
		padding-top: 0;
	}
	
	.lmg-brand-bar .wrap {
		grid-template-areas: 'logo' 'links';
		grid-template-columns: auto;
		text-align: center;
	}
	
	.lmg-brand-bar:not(.footer) .logo {
		margin-bottom: 7px;
		position: unset;
	}
	
	.lmg-brand-bar.footer .logo {
		top: 0;
	}
	
	.lmg-brand-bar .logo a.brand {
		top: 0;
	}
	
	.lmg-brand-bar:not(.footer) .logo .drop {
		
	}
	
}

@media ( max-width: 450px ) {
	
	.lmg-brand-bar.footer {
		font-size: 16px;
	}
	
}