/* Design Tokens */
:root {
	--body-font-size: 16px;
	--body-line-height: 24px;
	--cta-font-size: 13px;
	--cta-line-height: 18px;
	--cta-font-weight: bold;
	--body-copy-color: #666;
	--main-background: #fff;
	--mt-blue: #004494;
	--primary-cta: #6AB023;
	--primary-cta-foreground: #fff;
	--secondary-cta: #fff;
	--secondary-cta-foreground: #004494;
	--muted: #f6f6f6;
	--muted-foreground: #333;
	--accent: #F0F0F0;
	--border: #CCC;
}

@font-face {
	font-family: 'Avant Garde for MT Bk';
	src: url('fonts/AvantGardeforMTBdW05-Rg.woff2') format("woff2"), url('fonts/AvantGardeforMTBkW05-Rg.woff') format("woff");
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Avant Garde for MT Bd';
	src: url('fonts/AvantGardeforMTBdW05-Rg.woff2') format("woff2"), url('fonts/AvantGardeforMTBdW05-Rg.woff') format("woff");
	font-weight: 700;
	font-display: swap;
}

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	min-height: 100%;
	position: relative;
}

body {
	font-family: Arial, Helvetica, Tahoma, Geneva, sans-serif;
	background-color: var(--main-background);
	color: var(--body-copy-color);
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	transition: background-color 0.3s, color 0.3s;
}

h1 {
	font-size: 50px;
	line-height: 60px;
	font-family: 'Avant Garde for MT Bd', Arial, sans-serif;
	font-weight: 700;
	margin: var(--header-margin);
	color: var(--mt-blue);
}

h2 {
	font-weight: normal;
	font-size: 25px;
	line-height: 31px;
	margin: var(--header-margin);
}

h3 {
	font-weight: bold;
	font-size: 16px;
	line-height: 24px;
	margin: var(--header-margin);
}

h4 {
	font-size: 14px;
	line-height: 21px;
	margin: var(--header-margin);
}

h5 {
	font-size: 12px;
	line-height: normal;
	margin: var(--header-margin);
}

h6 {
	font-size: 11px;
	line-height: normal;
	margin: var(--header-margin);
}

/* Layout */
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
}

@media (max-width: 768px) {
	.container {
		padding: 0 1rem;
	}
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--border);
	background-color: var(--main-background);
	backdrop-filter: blur(8px);
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	padding: 0 2rem;
}

.header-title {
	font-size: 1.5rem;
	margin: 0;
}

.header-subtitle {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin: 0;
}

.header-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.toggle-label {
	font-size: 0.875rem;
}

/* Main Content */
.main-content {
	padding: 2rem;
}

/* Tabs */
.tabs {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
}

.tabs-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	background-color: var(--muted);
	padding: 0.25rem;
}

@media (max-width: 768px) {
	.tabs-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.tab-trigger {
	padding: 0.5rem 1rem;
	border: none;
	background: transparent;
	color: var(--mt-blue);
	cursor: pointer;
	transition: background-color 0.2s;
	font-weight: var(--font-weight-medium);
}

	.tab-trigger:hover {
		background-color: var(--accent);
	}

	.tab-trigger.active {
		background-color: var(--main-background);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	}

.tab-content {
	display: none;
}

	.tab-content.active {
		display: block;
	}

/* Sections */
.section {
	margin-bottom: 2rem;
}

/* Card */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
}

.card {
	background-color: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.card--unwrap {
	border: 0;

	.card-content {
		padding: 0;
	}
}

.card-header {
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.card-title {
	margin: 0 0 0.25rem 0;
}

.card-description {
	color: var(--muted-foreground);
	font-size: 0.875rem;
	margin: 0;
}

.card-content {
	padding: 1.5rem;
}

	.card-content code {
		font-size: 0.75rem;
		background-color: var(--muted);
		padding: 0.25rem 0.5rem;
		border-radius: 0.25rem;
		display: inline-block;
		margin-top: 30px;
		font-family: 'Courier New', monospace;
	}

/* Colors */
.color-swatch {
	width: 100%;
	height: 6rem;
	border-radius: calc(var(--radius) - 0.25rem);
	border: 1px solid var(--border);
	margin-bottom: 0.75rem;
}

.text-muted {
	color: var(--muted-foreground);
	font-size: 0.875rem;
}

/* Typography Examples */
#typography .card-content {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		margin: 0;
	}
}

/* Buttons */
.button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border: none;
	font-size: 1rem;
	font-weight: var(--font-weight-medium);
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none
}

.btn-primary {
	background-color: var(--primary-cta);
	color: var(--primary-cta-foreground) !important;
	font-size: var(--cta-font-size);
	line-height: var(--cta-line-height);
	font-weight: var(--cta-font-weight);
	padding: 10px 20px;

	&:hover,
	&:visited,
	&.btn-primary--hover {
		background-color: #60a540;
		color: var(--primary-cta-foreground) !important;
	}

	&:focus,
	&:active,
	&.btn-primary--active {
		background-color: #416f2b;
	}

	&:disabled,
	&.btn-primary--disabled {
		background-color: var(--primary-cta);
		opacity: .5;
	}
}

.btn-secondary-inverse {
	background-color: var(--secondary-cta-foreground);
	color: var(--secondary-cta);
	font-size: var(--cta-font-size);
	line-height: var(--cta-line-height);
	font-weight: var(--cta-font-weight);
	padding: 10px 20px;
	border: solid 1px var(--mt-blue);

	&:hover,
	&:visited,
	&.btn-secondary--hover {
		background-color: #eaebf4;
	}

	&:focus,
	&:active,
	&.btn-secondary--active {
		background-color: #c1c4df;
	}

	&:disabled,
	&.btn-secondary--disabled {
		opacity: .5;
	}
}

.btn-secondary {
	background-color: var(--secondary-cta);
	color: var(--secondary-cta-foreground);
	font-size: var(--cta-font-size);
	line-height: var(--cta-line-height);
	font-weight: var(--cta-font-weight);
	padding: 10px 20px;
	border: solid 1px var(--mt-blue);

	&:hover,
	&:visited,
	&.btn-secondary--hover {
		background-color: #eaebf4;
	}

	&:focus,
	&:active,
	&.btn-secondary--active {
		background-color: #c1c4df;
	}

	&:disabled,
	&.btn-secondary--disabled {
		opacity: .5;
	}
}

/* Header */
.MTMainNav__logo {
	display: flex;
	align-items: center;
	height: 20px;
	margin: 22px 0;
}

.MTMainNav__menu {
	font-size: 1rem;

	ul {
		display: flex;
		list-style: none;
		padding: 0;
		white-space: nowrap;
	}

	li {
		float: left;
		padding: 22px 0;
		margin: 0;
		border-top: 2px solid white;
		cursor: pointer;
		transition: 0.2s all;

		&:hover {
			border-top: 2px solid var(--mt-blue);

			a {
				color: var(--mt-blue);
			}
		}
	}

	a {
		font-family: 'Avant Garde for MT Bd', Arial, sans-serif;
		font-size: 15px;
		line-height: 18px;
		font-weight: bold;
		color: var(--body-copy-color);
		display: block;
		margin: 0;
		text-decoration: none;
		cursor: pointer;

		&:visited,
		&:hover,
		&:active {
			color: var(--mt-blue);
		}
	}
}

.MTMainNav__icons {
	display: flex;
	align-items: center;
	margin: 20px 0;

	.MTMainNav__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 100%;
		background-color: #fff;
		cursor: pointer;
		transition: background-color 0.25s ease;

		&:hover {
			background-color: rgba(0,68,148,0.1);
		}

		svg {
			display: block;
		}
	}
}

.MTFooter__columns {
	margin: 20px 0;
	display: flex;
	gap: 30px;
}

.MTFooter__column {
	width: 20%;
}

	.MTFooter__column ul {
		list-style: none;
		padding: 0;
	}

.MTFooter__column__title {
	font-weight: bold;
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	border-bottom: solid 1px #e6e6e6;
}

.MTFooter__column__item {
	margin: 0 0 10px 0;
}

	.MTFooter__column__item a {
		color: var(--mt-blue);
		text-decoration: none;

		&:visited,
		&:hover,
		&:active {
			color: var(--mt-blue);
		}
	}

.MTFooter__additional-information {
	font-size: 12px;
	line-height: normal;
	display: flex;
	justify-content: space-between;
	padding: 10px 0 0 0;
	border-top: solid 1px var(--accent);

	ul {
		list-style-type: none;
		display: flex;
		gap: 10px;
	}

	a:link,
	a:visited,
	a:hover,
	a:active {
		display: block;
		padding: 0 0 0 10px;
		color: var(--body-copy-color);
		text-decoration: none;
		line-height: normal;
		border-left: solid 1px var(--body-copy-color);
	}

	ul li:first-child a {
		border-left: none;
	}
}

.MTFooter__logo {
	text-align: center;
	padding: 60px 0 0 0;
}

/* Accordion Styles */
.accordion__title {
	border-bottom: solid 1px var(--border);

	h2.emphasisPrimary {
		color: var(--mt-blue);
		font-size: 30px;
		line-height: 39px;
	}

	h2.emphasisSecondary {
		color: var(--body-copy-color);
		font-size: 27px;
		line-height: 35.1px;
	}
}

.accordion-question__wrapper {
	border-bottom: solid 1px var(--border);
}

.accordion-question__header {
	cursor: pointer;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 20px;
}

.accordion-question__header__arrow {
	border: solid var(--mt-blue);
	border-width: 0 2px 2px 0;
	padding: 4px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	margin: 0 0 2px 2px;
	display: block;
}

.accordion-question__header--open .accordion-question__header__arrow {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

.accordion:has(.emphasisPrimary) .accordion-question__header__text {
	color: var(--mt-blue);
	font-size: 30px;
	line-height: 39px;
	font-weight: normal;
}

.accordion:has(.emphasisSecondary) .accordion-question__header__text {
	color: var(--body-copy-color);
	font-size: 17px;
	line-height: 25.1px;
	font-weight: normal;
}

.accordion-question__answer {
	display: none;
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	padding: 0 0 20px 0;
}

/*End of MT Style sheet*/

div.table-wrap {
	overflow-x: auto;
}

.btn-block {
	display: block !important
}

table.sortable th {
	position: relative;
}

	table.sortable th.no-sort {
		padding-top: 0.35em;
	}

	table.sortable th:nth-child(5) {
		width: 10em;
	}

	table.sortable th button {
		padding: 4px;
		margin: 1px;
		font-size: 100%;
		font-weight: bold;
		background: transparent;
		border: none;
		display: inline;
		right: 0;
		left: 0;
		top: 0;
		bottom: 0;
		width: 100%;
		text-align: left;
		outline: none;
		cursor: pointer;
	}

		table.sortable th button span {
			position: absolute;
			right: 4px;
		}

	table.sortable th[aria-sort="descending"] span::after {
		content: "\2193";
		color: currentcolor;
		font-size: 100%;
		top: 0;
	}

	table.sortable th[aria-sort="ascending"] span::after {
		content: "\2191";
		color: currentcolor;
		font-size: 100%;
		top: 0;
	}

table.show-unsorted-icon th:not([aria-sort]) button span::after {
	content: "f";
	color: currentcolor;
	font-size: 100%;
	position: relative;
	top: -3px;
	left: -4px;
}

table.sortable td.num {
	text-align: right;
}

/* Focus and hover styling */
table.sortable th button:focus span,
table.sortable th button:hover span {
	right: 2px;
}

table.sortable th:not([aria-sort]) button:focus span::after,
table.sortable th:not([aria-sort]) button:hover span::after {
	content: "\21C5";
	color: currentcolor;
	font-size: 100%;
	top: 0;
}


.PortalLogo {
	margin-top: 20px;
	margin-left: 20px;
	height: 40px;
	vertical-align: baseline;
}


.APTitle {
	margin-right: 1rem;
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: text-bottom;
}


.text-toggle[aria-expanded=false] .text-expanded {
	display: none;
}

.text-toggle[aria-expanded=true] .text-collapsed {
	display: none;
}

.threeColumns {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
}

.btn-wide {
	width: 200px;
}

.badge-primary {
	background: #258cfb;
}

.badge-warning {
	background-color: #FFC107;
	color: black
}

.badge {
	margin-left: 5px;
}

.modal-header {
	background-color: #004494;
	color: #fff;
}

.modal-footer {
	padding: 0;
	background-color: #e9f2fc;
	border: none;
}

	.modal-footer > .btn {
		margin: 0;
		border-radius: 0;
		height: 50px;
		width: 80px;
	}

.doc-list {
	list-style: none;
	padding: 0;
	max-width: 600px;
	margin: auto;
	margin-bottom: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

	.doc-list li {
		padding: 15px 20px;
		border-bottom: 1px solid #ddd;
		display: flex;
		align-items: center;
		transition: background-color 0.3s;
	}

		.doc-list li:last-child {
			border-bottom: none;
		}

		.doc-list li:hover {
			background-color: #eef6ff;
			cursor: pointer;
		}

		.doc-list li:first-child:hover {
			background-color: transparent; /* disables hover background for first item */
			cursor: default; /* disables pointer cursor */
		}

.doc-icon {
	width: 30px;
	height: 30px;
	margin-right: 15px;
	fill: #007acc;
}

.video-icon {
	width: 30px;
	height: 30px;
	margin-right: 15px;
	fill: #e74c3c; /* Red-ish color for videos */
}

.error {
	color: #e74c3c;
}

.warning {
	color: #FFC107;
}

.info {
	color: #007acc;
}

.doc-name {
	font-size: 16px;
	color: #333;
}

.btn-danger {
	font-size: var(--cta-font-size);
	padding: 10px 20px;
}

.btn-square {
	border-radius: 0;
}

.kbTable {
	border: 1px;
	padding: 5px;
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
}

	.kbTable thead tr {
		background-color: #e6e6e6;
		border-bottom: 3px solid #000000;
	}

		.kbTable thead tr th {
			padding: 8px;
			border: 1px solid #000000;
			text-align: center;
		}

	.kbTable tbody tr td {
		padding: 6px;
		border: 1px solid #000000;
		text-align: center;
	}

	.kbTable tbody tr.nonTable td{
		padding: 6px;
		border: 0;
		text-align: revert;
	}

		.kbTable tbody tr.nonTable td:first-child {
			border-left: 0;
		}

		.kbTable tbody tr.nonTable td:last-child {
			border-right: 0;
		}

		.kbTable tbody tr.nonTable h2 {
			margin-top:12px;
			text-align: left;
		}

	.kbTable ul {
		list-style-type: none;
		text-align:left;
	}

.BulletNumber {
	background: #b30000;
	border-radius: 100%;
	padding: 5px;
	color: white;
	font: 600;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.helpImage {
	position: relative;
	display: inline-block;
}

	.helpImage img {
		display: block;
		border: 1px solid var(--mt-blue);
	}

	.helpImage div {
		background: #b30000;
		border-radius: 100%;
		padding: 5px;
		color: white;
		font: 600;
		width: 30px;
		height: 30px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

help-nav-link {
	display: block;
	padding: 0 0 0 10px;
	color: var(--body-copy-color);
	text-decoration: none;
	line-height: normal;
	border-left: solid 1px var(--body-copy-color);
}

.help-nav-link:link,
.help-nav-link:visited,
.help-nav-link:hover,
.help-nav-link:active {
	display: block;
	color: var(--body-copy-color);
	text-decoration: none;
	line-height: normal;
	padding-top: 10px;
}

#helpCenter img {
	max-width:800px;
}

#helpCenter h3 {
	color: var(--mt-blue);
}

.banner {
	background-color: #b30000;
	color: var(--primary-cta-foreground);
	font-size: 24px;
	font-weight: var(--cta-font-weight);
	padding-top: 10px;
	padding-bottom:10px;
}