body {
	display: flex;
	flex-direction: column;
}

body > header {
	height: 5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25em;
	margin-bottom: 0.375em;
	background: white;
}

body > header form {
	display: flex;
	grid-gap: 1em;
}

body > header form div {
	display: inline-flex;
	flex-direction: column;
	width:100%;
}

body > header form select {
	background: #f1f1f1;
	border: none;
	transform: translateX(-0.25em);
	padding: 0.25em 0.5em 0.25em 0;
	cursor: pointer;
}

body > header form label {
	font-weight: bold;
}

#idtfooter {
	border-top: 6px solid #f1f1f1;
	display: flex;
	width: 100%;
}

#idtfooter::before {
	content: "\0000A9  2023 Center for Curriculum Redesign, Inc. All Rights Reserved.";
	margin: auto;
	margin-top: 2em;
	margin-bottom: 1em;
}

#competency-explorer {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	background: white;
	padding: 0;
	overflow-y: auto;
	user-select: none;	
}

#outline-nav {
	width: 20%;
	min-width: 18em;
	max-width: 30em;
	position: sticky;
	top: 0;
}

#outline-nav h2 {
	padding: 0 1.25em;	
}

#outline-nav ol {
	list-style-type: none;
}

#outline-nav a:link,
#outline-nav a:visited,
#outline-nav a:active,
#outline-nav a:hover {
	color: black;
	text-decoration: none;
}

#outline-nav a:hover {
	text-decoration: underline;
}

#intro-page > *, #competency-focus > * {
	max-width: 816px;
	margin: 0 auto 0 20%;
	text-align: justify;
}

#intro-page form, #intro-page label {
	display: inline-flex;
    flex-direction: column;
    grid-gap: 0.5em;
    align-items: flex-start;
}

#intro-page select {
	padding: 0.25em 0.75em;
}

#competency-explorer .heading-cont {
	display: flex;
	align-items: baseline;
	grid-gap: 1em;	
}

#competency-explorer h2 {
	font-size: revert;
}

#competency-explorer main {
	flex-basis: 816px;
	flex-grow: 1;
    border-left: 6px solid #f1f1f1;
    padding: 0 2em 15em 2em;
    overflow-y: hidden;
}

#competency-explorer main > p {
	padding: 0 2em;
}

#competency-explorer h3 {
	font-size: 1.25em;
	display: inline-block;
	padding: 0.125em 2em 0.125em 0.5em;
}

.for-skills h3, #competency-explorer:not(.for-character,.for-meta-learning) h3 {
	background: linear-gradient(47.5deg,#51c2c6,transparent 60%);
}

.for-character h3 {
	background: linear-gradient(47.5deg,#f6c34d,transparent 60%);
}

.for-meta-learning h3 {
	background: linear-gradient(47.5deg,#afaeb1,transparent 60%);
}

#disciplines-cache {
	display: none;	
}
#disciplines-overlay {
	width: 58em;
	padding: 2em 3em;	
}
.discipline-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-gap: 2em;
	padding: 2em 3em;
	list-style-type: none;	
}

#disciplines-overlay > .discipline-group:first-of-type {
	grid-gap: 0 2em;	
}

.discipline-group li {
	display: flex;
	margin: 0;
}

.discipline-group > span {
	width: 100%;
	height: 2em;
}

button.faux-link {
	appearance: none;
	border: none;
	background: none;
	font-family: unset;
	font-size: unset;
	cursor: pointer;
}
.discipline-group button ,
.heading-cont button.discipline {
	appearance: none;
	border: none;
	background: #6f6f6f;
	color: white;
	font-family: unset;
	font-size: unset;
	cursor: pointer;
	transition: box-shadow 0.1s;
	font-weight: bold;
}
.discipline-group button {
	padding: 1em 1.25em;
	border-radius: 8px;
	min-width: 11em;
}
.heading-cont button.discipline {
	padding: 0.125em 1em;
	padding-left: 0.5em;
	border-radius: 16px;
	font-size: 0.875em;
	display: flex;
	align-items: center;
	grid-gap: 0.5em;
}
.heading-cont button.discipline::before {
	content: "\002A2F";
}
#disciplines-overlay details {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 10em;
	position: relative;	
}
#disciplines-overlay details::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0.625em;
	z-index: -1;
	height: 3px;
	background: #e0e0e0;	
}

#disciplines-overlay details summary::before {
	content: "All disciplines";
	background: white;
	padding: 0 0.5em;	
}
#disciplines-overlay details[open] summary::before,
#disciplines-overlay details[open]::before {
	content: unset;	
}

#disciplines-overlay summary {
	display: inline;
	margin: auto;
	width: fit-content;	
}
#disciplines-overlay summary::after {
	display: none;
	background: white;
}
details .discipline-group {
	opacity: 0;	
	margin-top: -3em;
} 
details[open] .discipline-group {
	animation: dfadein 0.5s ease-in forwards;	
}
#comps-choices {
	display: flex;
	grid-gap: 1em;
	padding: 0;
	width: 100%;	
}
#comps-choices section {
	display: flex;
	flex-direction: column;
	flex-grow: 0.03;
	grid-gap: 0.25em;
	min-width: 16em;	
}
#comps-choices section:nth-child(2) {
	flex-grow: 0.075;	
}
#comps-choices header, 
#comps-choices a.comp {
	display: flex;
	align-items: center;
	grid-gap: 1em;
	padding: 0.75em 1em;
	font-weight: bold;
}
#comps-choices header {
	color: white;
	font-size: 1.125em;
	margin: 0;
	margin-bottom: 0.25em;
	flex-direction: column;
	grid-gap: 0;
	min-height: 5.5em;
}

#comps-choices header * {
	margin: 0;
	text-align: center;
}

#comps-choices header a:link, 
#comps-choices header a:visited, 
#comps-choices header a:active, 
#comps-choices header a:hover { 
	color: white;
	font-size: 16px;
	font-weight: normal;
}

#comps-choices ol {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: flex;
	flex-direction: column;
	grid-gap: 0.25em;
}
.comp {
	border: 2px solid #e0e0e0;
	cursor: pointer;
	transition: box-shadow 0.1s;
	display: flex;
	align-items: center;
	grid-gap: 1em;
	position: relative;
	transition: opacity 0.3s;
}

.comp:hover ,
.discipline-group button:hover {
	box-shadow: 2px 3px 6px -3px;
}

.comp::before, #comps-breadcrumbs li:nth-of-type(2)::before {
	content: "";
	height: 12px;
	width: 12px;
	border-radius: 50%;
	border: 2px solid #e0e0e0;
	position: relative;
}

#comps-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	grid-gap: 0.5em;
}

#comps-breadcrumbs li:last-child {
	font-weight: bold;
}

.for-skills #comps-breadcrumbs li:nth-of-type(2)::before {
	border-color: var(--skills);
}

.for-character #comps-breadcrumbs li:nth-of-type(2)::before {
	border-color: var(--character);
}

.for-meta-learning #comps-breadcrumbs li:nth-of-type(2)::before {
	border-color: hsl(0deg 0% 40%);
}

#comps-breadcrumbs li:nth-of-type(3)::before {
	height: 8px;
	width: 8px;
	background: #e0e0e0;
	border-radius: 50%;
	content: "";
}

.for-skills #comps-breadcrumbs li:nth-of-type(3)::before {
	background: var(--skills);
}

.for-character #comps-breadcrumbs li:nth-of-type(3)::before {
	background: var(--character);
}

.for-meta-learning #comps-breadcrumbs li:nth-of-type(3)::before {
	background: hsl(0deg 0% 40%);
}

.for-skills #comps-breadcrumbs .identifier {
	font-weight: bold;
}

.for-skills #comps-breadcrumbs .identifier {
	color: var(--skills);
}

.for-character #comps-breadcrumbs .identifier {
	color: var(--character);
}

.for-meta-learning #comps-breadcrumbs .identifier {
	color: hsl(0deg 0% 40%);
}

.comp .indic {
	position: absolute;
	top: -2px;
	left: -2px;
	bottom: -2px;
	width: 6px;	
}

.comp .indic span {
	position: absolute;
	left: -9999px;
	height: 1px;
	width: 1px;
	overflow: hidden;
}	

#comps-choices section:first-child header , 
#comps-choices section:first-child .comp .indic {
	background: var(--skills);	
}

#comps-choices section:first-child .comp::before {
	border-color: var(--skills);	
}

#comps-choices section:nth-child(2) header ,
#comps-choices section:nth-child(2) .comp .indic {
	background: var(--character);
}

#comps-choices section:nth-child(2) .comp::before {
	border-color: var(--character);	
}

#comps-choices section:nth-child(3) header ,
#comps-choices section:nth-child(3) .comp .indic {
	background: hsl(0deg 0% 40%);
}

#comps-choices section:nth-child(3) .comp::before {
	border-color: hsl(0deg 0% 40%);	
}

a.comp:link ,	
a.comp:visited ,	
a.comp:hover ,	
a.comp:active {
	color: black;
}

a.comp:not(:hover) {
	text-decoration: none;	
}	
@keyframes dfadein {
	from { opacity: 0 } to { opacity:1}	
}

#comps-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 0.5em;
	width: 100%;
	padding: 1em 2em;
	border-bottom: 6px solid #f1f1f1;
}

#comps-breadcrumbs ol {
	display: flex;
	list-style-type: none;
	padding: 0;
	grid-gap: 0.5em;
	margin: 0;
}

#comps-breadcrumbs li::after {
	content: "\00203A";
}

#comps-breadcrumbs li:last-of-type::after {
	content: "";
}

#comps-breadcrumbs a:link,
#comps-breadcrumbs a:visited,
#comps-breadcrumbs a:active,
#comps-breadcrumbs a:hover {
	color: black;
}

#comp-cont {
	display: flex;
	flex-wrap: wrap;
	max-width: 100%;
}

#subcompetencies {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex-shrink: 1;
	max-width: 100%;
}
/*
#subcompetencies .poster > img {
	display: none !important;
}

#subcompetencies .poster a {
	transform: none !important;
	padding-left: 4em !important;
}
*/
.poster {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	padding-top: 2.25em;
	position: relative;
	margin: 1em 0;
}

.comp-quote {
	font-style: italic;
	width: 100%;
	padding: 0;
	margin: 0;
}

.poster-title {
	font-size: 1.125em;
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 0;
}

.poster-subcomps {
	display: flex;
	flex-direction: column;
	grid-gap: 0.375em;
	counter-reset: subcomps-counter;
}

.poster-subcomp {
	display: flex;
	align-items: center;
	grid-gap: 0.75em;
	border-radius: 16px;
	padding: 0.125em 1.125em 0.125em 2em;
	min-height: 68px;
	cursor: pointer;
	counter-increment: subcomps-counter;
	position: relative;
	color: #20272b;
}

a.poster-subcomp:link,
a.poster-subcomp:visited,
a.poster-subcomp:active,
a.poster-subcomp:hover {
	text-decoration: none;
}

.poster-subcomps .poster-subcomp::before {
	content: counter(subcomps-counter);
	color: white;
	font-weight: bold;
	font-size: 1.125em;
	z-index: 1;
}

.poster-subcomp > * {
	z-index: 1;
}

.poster-subcomp::after {
	position: absolute;
	right: 0.75em;
	top: 0;
	bottom: 0;
	left: 0;
	border-radius: 16px;
	content: "";
	z-index: 0;
	transition: right 0.2s;
}

.poster-subcomp:hover::after {
	right: 0.375em;
}

section > .poster-subcomp {
	width: fit-content;
	margin: 1em 2em;
	cursor: unset;
}

.poster > img {
	z-index: 2;
	margin-left: 2em;
}

.for-skills .poster-subcomp,
.for-skills .poster-subcomp .icon-cont::before {
	background-color: #a2dadd;
}

.for-character .poster-subcomp,
.for-character .poster-subcomp .icon-cont::before {
	background-color: #f0d57c;
}

.for-meta-learning .poster-subcomp,
.for-meta-learning .poster-subcomp .icon-cont::before {
	background-color: #dadada;
}

.for-skills .poster-subcomp::after,
.for-skills .subcomp-bubble {
	background-color: #51c2c6;
}

.for-character .poster-subcomp::after,
.for-character .subcomp-bubble {
	background-color: #f6c34d;
}

.for-meta-learning .poster-subcomp::after,
.for-meta-learning .subcomp-bubble {
	background-color: #afaeb1;
}

.poster-subcomp > span {
	display: flex;
	flex-direction: column;
}

.poster-subcomp .icon-cont {
	position: relative;
	margin-right: 0.25em;
}

.poster-subcomp .icon-cont::before {
	position: absolute;
	height: 48px;
	width: 48px;
	border-radius: 50%;
	background: white;
	content: "";
	z-index: -1;
}

.poster-subcomp .title {
	font-weight: bold;
	font-size: 1.125em;
}

.poster-subtitle {
	font-style: italic;
	padding: 0 2em;
	margin: 1em 0;
}

.subcomp-bubble {
	padding: 0.25em 0.5em;
	border-radius: 16px;
	font-size: 0.75em;
}

.rubric-cont {
	margin: 1em 0;
	padding: 0.25em 2em;
	overflow-x: auto;
	display: flex;
	min-height: 20em;
}

.rubric {
	display: flex;
	flex-wrap: wrap;
	max-width: 80em;
	min-width: 60em;
	border: 1px solid;
	height: min-content;
}

.rubric > span {
	text-align: center;
	border: 1px solid;
	font-weight: bold;
	padding: 0.5em;
	background: white;
	flex-basis: 25%;
}

.rubric > span:nth-child(n+5) {
	text-align: justify;
	font-weight: normal;
	padding: 0.75em 1em;
}

.for-skills .rubric, 
.for-skills .rubric > span,
.for-skills .rubric > span > span::before {
	border-color: var(--skills);
}

.for-character .rubric, 
.for-character .rubric > span,
.for-character .rubric > span > span::before {
	border-color: var(--character);
}

.for-meta-learning .rubric, 
.for-meta-learning .rubric > span,
.for-meta-learning .rubric > span > span::before {
	border-color: #4c4c4c;
}

.for-skills .rubric > span:nth-child(4n-2) {
	background-color: hsl(181deg 51% calc(75% + 25% / 3 * 2));
}

.for-skills .rubric > span:nth-child(4n-1) {
	background-color: hsl(181deg 51% calc(75% + 25% / 3));
}

.for-skills .rubric > span:nth-child(4n) {
	background-color: hsl(181deg 51% 75%);
}

.for-character .rubric > span:nth-child(4n-2) {
	background-color: hsl(42deg 90% calc(75% + 25% / 3 * 2));
}

.for-character .rubric > span:nth-child(4n-1) {
	background-color: hsl(42deg 90% calc(75% + 25% / 3));
}

.for-character .rubric > span:nth-child(4n) {
	background-color: hsl(42deg 90% 75%);
}

.for-meta-learning .rubric > span:nth-child(4n-2) {
	background-color: hsl(260deg 2% calc(75% + 25% / 3 * 2));
}

.for-meta-learning .rubric > span:nth-child(4n-1) {
	background-color: hsl(260deg 2% calc(75% + 25% / 3));
}

.for-meta-learning .rubric > span:nth-child(4n) {
	background-color: hsl(260deg 2% 75%);
}

#growth-rubric header {
	margin-left: 2em;
}

.rubric > span > span {
	display: inline-flex;
	width: 100%;
	position: relative;
	justify-content: center;
	align-items: baseline;
	background: inherit;
	margin: 0.5em 0;
}

.rubric > span > span::before {
	content: "";
	position: absolute;
	border: 1px solid;
	width: 100%;
	height: 0px;
	top: calc(50% - 1px);
}

.rubric > span > span::after {
	content: "or";
	font-weight: bold;
	padding: 0 1em;
	background: inherit;
	z-index: 1;
}

.sr-only {
    position: fixed !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    left: -99999999px !important;
    top: -999999999px !important;
    opacity: 0 !important;
}

@media only screen and (max-width:700px) {
	#comps-choices {
		flex-direction: column;
		padding-bottom: 10em;	
	}
	#disciplines-overlay {
		width: unset;	
	}
	#competency-explorer .heading-cont {
		flex-wrap: wrap;
		padding-bottom: 1em;	
	}
	h2 {
		margin-bottom: 0;	
	}
	.faux-link {
		text-decoration: underline;	
	}
}