.brand-letters {
	list-style-type: none;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	scroll-behavior: smooth;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-padding-start: unset;
	-moz-padding-start: unset;
	padding-inline-start: unset;
	overflow-x: auto;
	padding: 1em 0
}

.brand-letters li {
	min-width: 1em
}

.brand-letters li+li {
	margin-left: 1em
}

.brand_row {
	display: flex;
	flex-direction: row;
	margin: 1rem 0;
	flex-wrap: wrap;
}

.name_b {
	position: relative;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	margin-bottom: 1em;
	flex: 0 0 25%;
	max-width: 25%;
}

.brand_row a {
	font-weight: lighter;
	font-size: 1.3em;
	text-underline-offset: 0.3rem;
	text-decoration: underline;
	margin-right: 15px;
}

.brand-letters {
	border-top: 1px solid var(--color-grey-100);
	border-bottom: 1px solid var(--color-grey-100);
}

li.brands_letter_li,
li.brands_letter_li * {
	margin: auto !important;
	font-weight: 300;
}

.brand_name {
	padding-left: 30px;
}

.brand_name h4 {
	margin: 5px 0 0;
	line-height: 1.1;
	background: #eee;
	border-radius: 25px;
	padding: 1rem 1.5rem;
}

span.brand-logo {
	max-width: 200px;
	padding: 20px;
	border: 1px solid var(--color-grey-100);
	margin-right: 10px;
	display: none;
}

.below-banner-checks img {
    max-width: 20px;
    margin-right: 4px;
}

/* New Page Style */
.choose-view {
	display: flex;
	justify-content: center;
	margin-top: 3em;
	margin-bottom: 3em;
}

.brand-view-option {
	margin: 0 15px;
	border: 1px solid #e2e2e2;
	padding: 9px 16px;
	font-size: 0.825rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 1px;
}

.brand-view-option.active {
	border-color: #000;
}

.brand-view-option img {
	margin-right: 15px;
	max-width: 18px;
}

.brand-view {
	display: none;
}

.brand-view.active {
	display: block;
}

.brand-view-2 .brand_name h4 {
	background-color: transparent;
	padding: 0;
	margin-bottom: 12px;
}

.brand-view-2 .brand_row a {
	text-decoration: none;
	margin-right: 25px;
}

.brand-view-2 .name_b {
	flex: 0 0 50%;
	max-width: 50%;
}

.brand-view-2 .brand-images {
	display: flex;
}

.brand-view-2 .brand-images .brand-logo {
	flex: 1;
	height: 362px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo img {
	height: 362px;
	width: 100%;
	object-fit: cover;
}

.brand-view-2 .brand_name h3 {
	height: 0;
	opacity: 0;
	margin: 0;
}

.brand-view-2 .brand_row {
	display: flex;
	flex-direction: row;
	margin: 0;
	flex-wrap: wrap;
}

.brand-view-2 p.brand-desc {
	margin-top: 15px;
	margin-bottom: 35px;
	font-size: 1.125rem;
	line-height: 1.2em;
	font-family: Marcellus, sans-serif;
}

.brand_glossary {
	margin-bottom: 3em;
}

small.brand-location {
	color: #00000080;
	font-size: 0.918rem;
	display: inline-block;
	margin-left: 4px;
}

.brand-view-2 .brand-images .brand-logo:first-child img {
	object-fit: contain;
	padding: 20px;
	max-width: 250px;
}

.brand-logo p.image-name {
    position: absolute;
    color: red;
    bottom: 80px;
    background-color: #ebebeb;
    padding: 3px 5px;
    font-size: 1rem;
}

@media (max-width: 991px) {
	.brand-view-2 .name_b {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 0 6px;
		margin-bottom: 30px;
	}

	.brand_name {
		padding-left: 0;
	}

	.brand-view-2 .brand_row a {
		margin-right: 0;
	}

	.brand-view-1 .name_b {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.brand-view-1 .brand_name h4 {
		line-height: 1.4em;
	}
}

/* /New Page Style */
@media (max-width: 767px) {

	.brand_name {
		padding-left: 0;
	}

	.brand_row {
		flex-direction: row;
		flex-wrap: wrap;
		margin: 0;
	}

	.name_b {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.brand_name h4 {
		font-size: 0.875rem;
		line-height: 1.4;
		font-family: 'Poppins', sans-serif;
		padding: 0.5rem 1rem;
	}

	.brand-view-2 .brand-images {
		flex-direction: revert;
	}

	.brand-view-2 .brand-images .brand-logo,
	.brand-view-2 .brand-images .brand-logo img {
		height: auto;
	}

	.brand-view-2 .brand_name h4 {
		font-size: 1.275rem;
	}

	.brand-view-2 p.brand-desc {
		font-size: 0.875rem;
		display: none;
	}

	.brand-view-2 .name_b {
		padding: 0;
	}

	.choose-view {
		margin-top: 2em;
	}

	.brand-letters li {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0 14px;
	}

	.brand-view-1 .name_b {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.brand-view-2 .brand-images .brand-logo:nth-child(2) img {
		height: 55vw;
	}

}

.brand-logo span {
	position: absolute;
	color: red;
	margin-top: 200px;
}

p.brand-header-cta>a{
    background: var(--color-bg);
    display: flex;
    width: fit-content;
    padding: 10px;
    font-size: 12px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;	
	text-transform: uppercase;
}

@media (min-width: 767px) {
	.section-below-brands-banner {
		margin-top: -70px;
	}
		
	.below-banner-checks {
		margin-left: 0 !important;
	}
}

@media (max-width: 767px) {
	.section-below-brands-banner {
		margin-top: -30px;
	}
	#text-2877484787 {
		font-size: 1.2rem !important;
	}

}


/* For the checks below the Brand Directory page banner 2*/
@media (max-width: 767px) {
	.below-banner-checks {
		margin: 0;
		padding:0;
	}
}


h2.brand-glossary-heading-h2 {
    text-align: center;
    justify-content: center;
    display: flex;
}