/* CSS file */



/* Tabviews. Should correspond to subnav styling */
.tabview_container {
	font-size: 1rem;
	font-family: var(--lt-ui);
}
/* for tabview that is within a dl dd item, so that it lines up with the dt */
dd > .tabview_container {
	margin-top: var(--lt-padding-quarter-neg);
}

.tabview_tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-right: calc(var(--lt-tabview-tab-border-radius));
	width: calc(100% - 4px);
	max-width: 780px;
	font-weight: 500;
}

.lt2 .tabview_tabs {
	font-size: 0.875em;
}

#LT_LB.LT_LB_superlight .tabview_content {
	background: var(--lt-background-color);
}

.tabview_tab {
	flex: 0 1;
	padding: 0.6em var(--lt-tabview-tab-padding);
	border: 1px solid #0002;
	border-top-right-radius: var(--lt-tabview-tab-border-radius);
	margin-right: calc(var(--lt-tabview-tab-border-radius) * -1);
	margin-bottom: -1px;
	cursor: pointer;
	background: var(--lt-subnav-background-color);
	color: var(--lt-brownlogo-color);
	z-index: 1;
	white-space: nowrap;
	text-align: center;
	-webkit-user-select: none;
	/* Chrome all / Safari all */
	-moz-user-select: none;
	/*	 Firefox all */
	-ms-user-select: none;
	/* IE 10+ */
	user-select: none;
	/* Likely future */
	font-size: 1.1em;
}

.lt2 .tabview_tab {
	font-size: 1em;
}

.tabview_tab:first-child {
	xborder-top-right-radius: var(--lt-tabview-tab-border-radius);
	border-top-left-radius: var(--lt-tabview-tab-border-radius);
	margin-left: 0;
}

.tabview_tab:not('.tab_divider'):hover {
	background: var(--lt-tan-selected);
}

.tabview_tab.selected {
	background: var(--lt-tabview-selectedtab-background-color);
	color: var(--lt-background-color);
	border-top-left-radius: var(--lt-tabview-tab-border-radius);
	font-weight: 700;
	z-index: 2;
}

/* Used to split tabs to the right side of the tabview */
.tabview_split:not(.hard_divider) {
	margin-left: auto;
}
.tabview_split.hard_divider {
	margin-left: var(--lt-padding-quarter);
}


.tabview_contentviews {
	border: 1px solid var(--lt-border-color);
	border-radius: var(--lt-border-radius);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	width: 100%;
	min-height: 10px;
}

.tabview_content {
	display: none;
	padding: var(--lt-padding);
}

.tabview_content.selected {
	display: block;
}

.tabview_content section {
	margin: 1.5em calc(var(--lt-padding) * -1) 0;
	border-top: 1px solid var(--lt-border-color);
	padding: 1.5em var(--lt-padding) 0;
	min-height: 70px;
}

.tabview_content section:first-of-type {
	border: none;
	margin-top: unset;
	padding-top: unset;
	background: none;
}

/* small tabs */
.tabview_container.small .tabview_tab {
	font-size: 0.9em;
	padding: 4px var(--lt-tabview-tab-padding-small);
}

/* lightweight tabviews */
.lightweight .tabview_tab {
	font-size: 1rem;
	background: transparent;
	border: none;
	border-right: 1px solid var(--lt-border-color);
	padding: 1px 1em;
	margin: 3px 0 4px;
	color: var(--lt-link-color);
	border-radius: 0;
}
.tabview_tab:has(+ .tabview_split) {
	border-right: none;
}
.tabview_tab:has(+ .tabview_split.hard_divider) {
	border-right: 1px solid var(--lt-border-color);
	position: relative;
}
.tabview_tab:has(+ .tabview_split.hard_divider):after {
	border-right: 1px solid var(--lt-border-color);
	content: "";
	position: absolute;
	display: block;
	height: 100%;
	right: -5px;
	top: 0;
}
.lightweight.tight .tabview_tab:first-child {
	padding: 1px 1em 1px 0;
}

.lightweight .tabview_tab:last-of-type {
	border: none;
}

.lightweight .tabview_tab:hover {
	color: var(--lt-link-hover-color);
}

.lightweight .tabview_tab.selected {
	color: #000;
}

.lightweight .tabview_contentviews {
	border: none;
	border-top: 1px solid var(--lt-border-color);
	margin-top: 0;
}

.lightweight .tabview_content {
	padding: 1em 0;
}

/* stretch tabviews for cases like taking up a full lightbox */
.tabview_container.stretch {
	margin-left: var(--lt-padding-neg);
	margin-right: var(--lt-padding-neg);
}

.tabview_container.stretch > .tabview_contentviews {
	border-right: none;
	border-left: none;
	border-bottom: none;
}

.tabview_container.stretch > .tabview_tabs {
	margin: 0 calc(var(--lt-tabview-tab-border-radius));
}

/* stretch_lb : minor visual mods for full-tabbed lightboxes */
.tabview_container.stretch_lb {
	margin-top: -5px;
	padding-top: var(--lt-tabview-tab-border-radius);
	background: #ddd7ca36;
}


.tabview_container.stretch_lb > .tabview_tabs {
	margin: 0 calc(var(--lt-tabview-tab-border-radius)) 0 0;
}

.tabview_container.stretch_lb > .tabview_tabs {
	font-size: 1.2rem;
}

.tabview_container.stretch_lb > .tabview_contentviews {
	background: var(--lt-background-color);
}

.tabview_container.stretch_lb > .tabview_tabs .tabview_tab.selected {
	background: var(--lt-background-color);
	color: var(--lt-link-hover-color);
	border-bottom: 1px solid #fff;
}

.tabview_container.stretch_lb > .tabview_tabs .tabview_tab:first-child {
	border-top-left-radius: 0 !important;
}