.detached-tabs,
.detached-tabs-content {
	--main-active-tab-color: #000;
	--main-active-tab-background: #fff;
	--main-inactive-tab-color: #444;
	--main-inactive-tab-background: #dedede;
}

.detached-tabs {
	z-index: 1;
}

html:not(.aem-AuthorLayer-Edit) .detached-tabs .columnControl {
	margin-bottom: 0px !important;
}

html:not(.aem-AuthorLayer-Edit) .detached-tabs .tab-content {
	display: none;
}

.detached-tabs .tabsnew {
	margin-bottom: 0px !important;
}

@media (width >= 1200px) {
	.detached-tabs .tabsnew {
		max-width: 750px;
	}
}

@media (width >= 1400px) {
	.detached-tabs .tabsnew {
		max-width: 884px;
	}
}

.detached-tabs .tabsnew ul.nav {
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 0px;
}

.detached-tabs .tabsnew ul.nav::before,
.detached-tabs .tabsnew ul.nav::after {
	display: none !important;
}

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

.detached-tabs .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;
}

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

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

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

	.detached-tabs .tabsnew ul.nav > li > a {
		min-width: 270px;
	}
}

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

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

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

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

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

.detached-tabs .tabsnew ul.nav > li:nth-child(3) > a .icon {
	background: #7d7d7d;
}

html:not(.aem-AuthorLayer-Edit) .detached-tabs-content .tabsnew .nav {
	display: none;
}

.detached-tabs-content .tabsnew .tab-content .tab-container > .cmp-container > .text:first-child {
	margin-top: 0px;
}
