/* Glossary Tooltipper
------------------------------------------- 

Table of contents
	- Glossary Tooltipper
	- Media Queries

------------------------------------------- */

/* Glossary Tooltipper
-------------------------------------------- */

.tooltip {
	cursor: help;
	text-decoration: wavy underline;
	text-underline-offset: 5px;
}

/* Glossary Page
--------------------------------------------- */

.glossary-nav {
	margin-bottom: 80px;
}

.entry-content .glossary-nav ul {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 0;
	padding-left: 0;
}

.entry-content .glossary-nav ul > li {
	list-style-type: none;
	margin: 3px;
}

.entry-content .glossary-nav ul > li a {
	color: var(--dark-teal);
	display: block;
	font-size: 14px;
	padding: 4px;
	pointer-events: none;
}

.entry-content .glossary-nav ul > li.active a {
	background: var(--main-teal);
	color: var(--white);
	pointer-events: all;
}

.entry-content .glossary-nav ul > li.active a:focus,
.entry-content .glossary-nav ul > li.active a:hover {
	background: var(--dark-teal);
}

.glossary-alpha-wrap .letter-wrap h3.letter-heading {
	background-color: var(--light-blue);
	color: var(--main-teal);
	display: inline-block;
	font-size: 56px;
	font-weight: 900;
	padding: 8px 16px;
}

.glossary-definitions-wrap h2 {
	margin-bottom: 40px;
}

.glossary-alpha-wrap {
	border-bottom: 1px solid var(--main-teal);
	margin-bottom: 40px;
	padding-bottom: 40px;
}

.glossary-alpha-wrap:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.glossary-nav {
	background-color: var(--main-teal);
	border-radius: 0 64px;
	padding: 24px;
}

.glossary-nav .search-wrap .facetwp-facet {
	margin-bottom: 16px;
}

.glossary-nav .reset-wrap .facetwp-facet {
	margin-bottom: 0;
}

.glossary-nav button.facetwp-reset {
	margin-top: 16px;
	text-align: center;
	width: 100%;
}

/* Media Queries
------------------------------------------- */

@media only screen and (min-width: 961px) {

	.glossary-definitions-wrap h2 {
		margin-bottom: 80px;
	}
	
	.glossary-alpha-wrap {
		border-bottom: 1px solid var(--main-teal);
		margin-bottom: 80px;
		padding-bottom: 80px;
	}

	.glossary-container {
		align-items: flex-start;
		display: flex;
		gap: 4%;
	}
	
	.glossary-nav {
		position: sticky;
		top: 80px;
		transition: top 0.4s ease-in-out;
		width: 33%;
	}

	.scroll-up .glossary-nav {
		top: 248px;
	}
	
	.glossary-definitions-wrap {
		width: 63%;
	}

}