:root {
	--primary: #003071;
	--secondary: #999999;
	--tertiary: #007AB8;
	--quaternary: #61A530;
	--quinary: #D63D1F;
}
.accordion-image {
	max-width: 100% !important;
}
details {
	max-width: 854px;
	margin: .5em auto;
}
details div {
	padding: .5em;
	border: 2px solid var(--secondary);
	border-top: none;
	margin: 0;
	overflow: hidden;
}
summary {
	font-weight: 700;
	background: var(--primary);
	color: white;
	cursor: pointer;
	border: 2px solid var(--secondary);
	padding: .5em;
}
summary:focus {
	outline-color: var(--secondary);
}
summary:hover, details[open] summary {
	background: var(--quaternary);
	color: #000
}
.user_content aside {
	width: 40%;
	padding-left: .5rem;
	margin-left: .5rem;
	float: right;
	font-style: italic;
	color: var(--primary);
}
.banner-img {
	clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
}
blockquote {
	padding: 15px;
	background: #eee;
}
code {
	background-color: #eee;
	font-family: courier, monospace;
	padding: 0 3px;
	font-size: 1rem;
}
.link-card {
	overflow: hidden;
	clear: both;
	margin-top: 1em;
}
.link-card img {
	float: left;
	margin: 5px;
	width: 30%;
	height: auto;
}
.link-text {
	display: table;
	padding: 5px;
}
#kup-hover-table {
	display: flex;
	justify-content: space-evenly;
}
.kup-hover-table-category {
	border: 4px solid var(--secondary);
	border-radius: 3vh;
	margin: 0 auto;
	padding-bottom: 10px;
}
.kup-hover-table-category:hover {
	box-shadow: 3px 3px 5px var(--primary);
	transform: translate(-2px, -2px);
}
.kup-hover-table-cat-title {
	text-align: center;
	background: var(--primary);
	color: #fff;
	border-bottom: 2px solid #000;
	border-top-left-radius: 2.5vh;
	border-top-right-radius: 2.5vh;
	padding: 10px;
	margin: 0;
}
.kup-hover-table-content {
	padding: 1em;
}
kbd {
	background-color: #eee;
	border: 1px solid #b4b4b4;
	color: #333;
	display: inline-block;
	font-size: .85em;
	line-height: 1;
	padding: 2px 4px;
	white-space: nowrap;
}
.journal, .opt-challenge {
	overflow: visible;
}
.journal h3, .opt-challenge h3 {
	background-color: var(--primary);
	padding: .5em;
	margin: 0;
	padding-left: 3.1em;
	color: white;
	border-radius: 0 1em 0 0;
}
.journal h3 {
	background: url(https://cdn.precollegeprograms.org/brand-level-images/reflection-journal.png) .2em 50%/auto 2.13em no-repeat, var(--primary);
}
.opt-challenge h3 {
	background: url(https://cdn.precollegeprograms.org/brand-level-images/opt-challenge.png) .2em 50%/auto 2.4em no-repeat, var(--primary);
}
.journal div, .opt-challenge div {
	padding: 8px;
	border: 2px solid var(--primary);
	border-top: none;
	border-radius: 0 0 1em 1em;
}
.sidebar {
	overflow: visible;
	float: right;
	width: 40%;
	margin-left: .5em;
	margin-bottom: 1em;
}
.sidebar div {
	background: white;
	padding: 8px;
	border: 2px solid var(--primary);
	border-top: none;
	border-radius: 0 0 1em 1em;
}
.sidebar div * {
	margin-top: 0;
}
.sidebar h3 {
	background: var(--primary);
	padding: .5em;
	margin: 0;
	color: #fff;
	border-radius: 1em 1em 0 0;
}
hr {
	border: 2px solid var(--primary);
	background: var(--primary);
}
.reveal-box-wrapper {
	max-width: 854px;
	margin: 0 auto;
}
.reveal-box-container {
	margin: auto 0;
	border: 3px solid #666;
	border-radius: 5px;
	min-height: max-content;
	padding: 1em 0;
	box-shadow: 0 4px 8px 0 var(--primary), 0 6px 20px 0 var(--primary);
}
.reveal-box-text {
	margin: auto 1em;
	font-size: 14pt;
}
.reveal-box-button-wrapper {
	text-align: center;
}
.reveal-box-button {
	min-width: 6.5em;
	text-align: center;
	margin: 0 auto;
}
.reveal-box-answer {
	display: none;
}
.reveal-box-image-wrapper {
	max-width: 400px;
	margin: 0 auto;
}
.reveal-box-image {
	height: 100%;
	width: auto;
	margin: 1em auto;
	max-width: 100% !important;
}
.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: .5s;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.venn-container,
.venn-container * {
	box-sizing: border-box;
}
.venn-container {
	display: flex;
	width: 95%;
	max-width: 854px;
	margin: 0 auto;
	font-size: large;
	margin-bottom: .5em;
	border: 2px solid #000;
	border-radius: 2em;
}
.midvenn {
	text-align: center;
	font-weight: 700;
	border: 2px solid #000;
	border-radius: 2em;
	width: 20%;
	padding: 1em 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary);
	color: #fff;
}
.lrvenn {
	padding: 1em;
	width: 40%;
}
.kup-home-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	align-items: stretch;
	padding: 0 2%;
}
.kup-home-nav a {
	width: calc(45% - 5px);
	min-width: 250px;
	max-width: 100%;
	flex-grow: 1;
	display: flex;
	align-items: center;
	text-align: left;
}
.kup-flash {
	font-size: 1.2rem;
	max-width: 854px;
	height: 405px;
	margin: 0 auto;
	position: relative;
	transform-style: preserve-3d;
	perspective: 5000px;
}
.kup-flash, .kup-flash * {
	box-sizing: border-box;
}
.kup-flash img {
	min-height: 0;
	align-self: center;
}
.kup-flash h3 {
	text-align: center;
}
.flash-front, .flash-back {
	backface-visibility: hidden;
	border: 1px solid black;
	border-radius: 16px;
	display: none;
	align-items: stretch;
	flex-flow: column;
	justify-content: flex-start;
	height: 100%;
	overflow: auto;
	padding: 1em;
	padding-bottom: 2em;
	position: absolute;
	left: 0;
	top: 0;
	transform-style: preserve-3d;
	transition: transform .5s;
	width: 100%;
}
.flash-front {
	--rotation: 180deg;
}
.flash-back {
	--rotation: -180deg;
}
.flash-back h3 {
	border-bottom: 1px solid black;
}
.kup-flash [aria-hidden="true"] {
	transform: rotateX(var(--rotation));
}
.flash-flip-btn {
	border: none;
	background: none;
	cursor: pointer;
	line-height: 1rem;
	padding: 0;
	position: absolute;
	bottom: .5em;
	right: .5em;
	width: 50px;
	transform-origin: bottom right;
	transition: transform .2s;
}
.flash-flip-btn:active path {
	stroke: black;
	stroke-width: 10px;
}
.flash-flip-btn:is(:hover, :focus-visible) {
	transform: scale(1.2);
}
.flash-flip-btn svg {
	width: 100%;
	height: auto;
}
[aria-hidden="true"] .flash-flip-btn {
	display: none;
}
.flash-current, .flash-current + .flash-back {
	display: flex;
}
.flash-control-bar {
	font-size: 1rem;
	font-weight: bold;
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	align-items: center;
	max-width: 854px;
	margin: 0 auto;
	margin-top: .5rem;
}
.flash-controls {
	display: flex;
	width: min-content;
	gap: .5em;
}
.flash-controls button {
	width: 3rem;
	height: 3rem;
	padding: .5rem;
	color: white;
	font-weight: normal;
	font-size: 40px;
	background: var(--primary);
	border-radius: 10em;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	border: 2px outset var(--primary);
	transition: transform .2s;
}
.flash-controls button:is(:focus-visible, :hover) {
	opacity: .8;
}
.flash-controls button:active {
	border-style: inset;
	transform: translate(1px, 1px);
}
a.btn.btn-primary {
	color: white;
}
/* Brand-specific styles: */
pre {
	font-size: 1rem;
}
/* Banner styling */
.kup-banner {
	height: auto;
	width: 100%;
	background: #0a304e;
	position: relative;
}
.kup-banner.rebrand {
	background: var(--primary);
}
.kup-banner-image {
	position: absolute;
	right: 0;
	height: 100%;
	max-height: 100%;
	width: auto;
}
.kup-banner-title {
	display: block;
	max-width: 425px;
	height: auto;
	width: 50%;
}