﻿.eitabs {
	width: 100%;
	position: relative;
	font-family: inherit;
}

.eitabs .lutab {
	list-style: none;
	margin: 0 0 -1px 0;
	padding: 0 18px;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	overflow: visible;
	position: relative;
	z-index: 2;
}

/* Individual tab */
.eitabs .titletab {
	list-style: none;
	margin: 0;
	padding: 14px 22px 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	color: #333;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom-color: rgba(0, 0, 0, 0.06);
	border-radius: 16px 16px 0 0;
	box-shadow: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	position: relative;
	top: 0;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

/* Small underline */
.eitabs .titletab:after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8px;
	width: 24px;
	height: 3px;
	background: rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	transform: translateX(-50%);
	transition:
		background-color 180ms ease,
		width 180ms ease;
}

.eitabs .titletab:hover {
	color: #111;
	background: #fff;
	border-color: rgba(2, 71, 142, 0.35);
	box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.04);
	transform: translateY(-1px);
}

/* Active tab */
.eitabs li.active,
.eitabs li.titletab.active {
	color: #111;
	background: #f1f1f1;
	border-color: rgba(2, 71, 142, 0.45);
	border-bottom-color: transparent;
	box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.05);
	z-index: 3;
}

.eitabs li.titletab:before {
	background: none;
	width: 0;
	height: 0;
}

.eitabs li.active:after,
.eitabs li.titletab.active:after {
	width: 34px;
	background: linear-gradient(90deg, #02478e, #02478e);
}

/* Content card */
.eitabs .contenttab {
	position: relative;
	z-index: 1;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	background: #f1f1f1;
	padding: 28px 32px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);
	color: #222;
	line-height: 1.65;
}

/* Better spacing inside content */
.eitabs .contenttab > *:first-child {
	margin-top: 0;
}

.eitabs .contenttab > *:last-child {
	margin-bottom: 0;
}

.eitabs .contenttab p {
	margin: 0 0 1em;
}

.eitabs .contenttab .box {
	background: rgba(2, 71, 142, 0.055);
	border-left: 4px solid #02478e;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 0 0 22px;
}

/* ==========================================================
   Helper/editor builder styles
   ========================================================== */

.tabs-builder-item {
	border: 1px solid #ddd;
	padding: 15px;
	margin: 0 0 15px 0;
	background: #fff;
}

.tabs-builder-item label {
	display: block;
	margin: 10px 0 5px 0;
}

.tabs-builder-item input.tab-title {
	width: 100%;
	box-sizing: border-box;
}

.tabs-builder-item textarea.tab-content {
	width: 100%;
	box-sizing: border-box;
}

.drag-handle {
	cursor: move;
	background: #f3f3f3;
	padding: 8px 10px;
	margin: -15px -15px 15px -15px;
	border-bottom: 1px solid #ddd;
	color: #555;
}

.tabs-actions {
	margin-top: 10px;
}


@media (max-width: 1359px) and (min-width: 769px) {

	.eitabs {
		display: flex;
		align-items: stretch;
		background: #f1f1f1;
		border-radius: 0;
	}

	.eitabs ul.lutab {
		width: 150px;
		flex: 0 0 150px;
		display: flex;
		flex-direction: column;
		gap: 0;
		margin: 0;
		padding: 0;
		border: 0;
		background: #eee;
	}

	.eitabs .titletab {
		width: 100%;
		min-height: 82px;
		padding: 18px 14px 28px;
		border-radius: 0;
		border: 1px solid rgba(0,0,0,0.06);
		border-right: 0;
		background: #f7f7f7;
		font-size: 17px;
	}

	.eitabs .titletab:after {
		bottom: 18px;
	}

	.eitabs li.titletab.active {
		background: #f1f1f1;
		border-right-color: transparent;
	}

	.eitabs .contenttab {
		flex: 1;
		margin: 0;
		border-radius: 0;
		border: 0;
		padding: 30px;
		box-shadow: none;
	}

}

.eitabs-mobile-stack {
	display: none;
}

@media (max-width: 768px) {
	.eitabs-desktop {
		display: none !important;
	}

	.eitabs-mobile-stack {
		display: block;
	}

	.eitabs-mobile-section {
		margin: 0 0 32px;
	}

	.eitabs-mobile-section .mobile-tab-title {
		margin: 0 0 14px;
		font-size: 22px;
		font-weight: 700;
		line-height: 1.25;
		color: #222;
	}

	.eitabs-mobile-section .contenttab {
		display: block !important;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		padding: 0;
		box-shadow: none;
	}
}