.tabs-with-icons {
	--main-active-tab-color: #000;
	--main-active-tab-background: #fff;
	--main-inactive-tab-color: #444;
	--main-inactive-tab-background: #dedede;
	--tabs-height: 200px;

	position: relative;
}

.tabs-with-icons > .parsys::before {
	content: "";
	position: absolute;
	background: #efefef;
	top: 0px;
	right: 0px;
	left: 0px;
	height: var(--tabs-height);
	z-index: 0;
}

.page-primary-col--orange .tabs-with-icons { --primary-color: #d04a02; }
.page-primary-col--red .tabs-with-icons { --primary-color: #e0301e; }
.page-primary-col--burgundy .tabs-with-icons { --primary-color: #a32020; }
.page-primary-col--rose .tabs-with-icons { --primary-color: #d93954; }

.tabs-with-icons .parsys > .text {
	position: relative;
	z-index: 1;
}

.tabs-with-icons .tabsnew ul.nav {
	position: relative;
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	gap: 2px;
}

.tabs-with-icons .tabsnew ul.nav > li {
	display: block;
	margin: 0px;
	flex-grow: 1;
	z-index: 1;
}

.tabs-with-icons .tabsnew ul.nav > li > a {
	display: grid;
	grid-template-columns: 48px auto;
	align-items: center;
	gap: 14px;
	margin: 0px;
    padding: 0.928em 1.5em;
	width: 100%;
	height: 100%;
	color: var(--main-inactive-tab-color);
	background: var(--main-inactive-tab-background);
	border: none !important;
	border-radius: 0px;
}

.tabs-with-icons .tabsnew ul.nav > li > a:focus {
	box-shadow: 0px 0px 1px 2px #444;
}

@media (width >= 580px) {
	.tabs-with-icons .tabsnew ul.nav > li {
		max-width: 50%;
	}
}

@media (width >= 1400px) {
	.tabs-with-icons .tabsnew ul.nav > li {
		max-width: none;
	}

	.tabs-with-icons .tabsnew ul.nav > li > a {
		min-width: 250px;
	}
}

.tabs-with-icons .tabsnew ul.nav > li.active > a {
	font-weight: bold;
	color: var(--main-active-tab-color);
	background: var(--main-active-tab-background);
}

.tabs-with-icons .tabsnew ul.nav > li > a img {
	display: block;
	margin: 0px auto;
	max-width: 100%;
}

.tabs-with-icons .tabsnew ul.nav > li > a .icon {
	padding: 4px;
	background: #000;
}

.tabs-with-icons .tabsnew ul.nav > li:nth-child(1) > a .icon {
	background: #e0301e;
}

.tabs-with-icons .tabsnew ul.nav > li:nth-child(2) > a .icon {
	background: #eb8c00;
}

.tabs-with-icons .tabsnew ul.nav > li:nth-child(3) > a .icon {
	background: #ffb600;
}
.tabs-with-icons .tabsnew ul.nav > li:nth-child(4) > a .icon {
	background: #7d7d7d;
}
.tabs-with-icons .tabsnew ul.nav > li:nth-child(5) > a .icon {
	background: #2d2d2d;
}

/* Submenu items / anchor links */
.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child {
	position: sticky;
	top: 0px;
	margin: 0px;
	color: var(--main-active-tab-color);
	background: var(--main-active-tab-background);
	z-index: 1;
}

.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child > :empty {
	display: none;
}

.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child .text-component {
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	align-items: center;
}

.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child .text-component p,
.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child .text-component p a {
	margin: 0px;
	width: 100%;
}

.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child .text-component p {
	flex-grow: 1;
	width: max-content;
}

.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child .text-component p a {
	color: inherit;
	background: none;
	border: none;
	border-bottom: 4px solid var(--main-inactive-tab-background);
}

.tabs-with-icons .tabsnew .tab-content .tab-container > .cmp-container > .text.text-component-lead:first-child .text-component p a:is(:hover, :focus, .active) {
	border-color: var(--primary-color);
}
