/***************************
*    Base Element Styles   *
*  Consumes theme variables
***************************/

.PrimaryTheme {
	background-color: var(--backgroundColor);
	color: var(--foregroundColor);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Anchors */

.PrimaryTheme a {
	color: var(--hrefColor);
}

.PrimaryTheme a:not(:hover) {
	text-decoration: none;
}

.PrimaryTheme a.unstyled-link {
	color: inherit;
	text-decoration: none;
}

/* Button */

.PrimaryTheme button {
	background-color: var(--foregroundColor);
	color: var(--backgroundColor);
	border: none;
	padding: 0.3rem 0.7rem;
	border-radius: 2px;
	cursor: pointer;
	font: inherit;
	font-size: 85%;
}

.PrimaryTheme button:hover {
	box-shadow: 0px 0px 1px 1px var(--middlegroundColor)
}

.PrimaryTheme button:active {
	box-shadow: 0px 0px 1px 1px var(--middlegroundColor), 0px 1px 1px 3px var(--middlegroundColor);
}

.PrimaryTheme button.href {
	border: 0;
	background: unset;
	color: var(--hrefColor);
	padding: 0;
	font-size: 100%;
	box-shadow: none;
}

.PrimaryTheme button.href:hover {
	text-decoration: underline;
}

/* Text */

.PrimaryTheme p,
.PrimaryTheme h1,
.PrimaryTheme h2,
.PrimaryTheme h3,
.PrimaryTheme h4,
.PrimaryTheme h5,
.PrimaryTheme h6 {
	margin-top: 0;
	margin-bottom: var(--uniformBottomMargin);
}

.PrimaryTheme p:last-child {
	margin-bottom: 0;
}

/* Lists */

.PrimaryTheme ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.PrimaryTheme ul ul {
	margin-left: 1rem;;
}

.PrimaryTheme li {
	font-size: 1rem;
}

.PrimaryTheme li a,
.PrimaryTheme li button.href {
	display: block;
	width: 100%;
	padding: 0.65rem 1.25rem;
	text-decoration: none;
	font-size: 1rem;
	color: inherit;
}

.PrimaryTheme li button.href {
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	text-align: left;
	box-sizing: border-box;
}

.PrimaryTheme li a:hover,
.PrimaryTheme li button.href:hover {
	background: var(--hoverHighlight);
}