.profile-program,
.checklist {
	--checklist-shadow: 0px 3px 6px #00000029;
	--checklist-primaryRGB: 19, 37, 87;
	--checklist-secondaryRGB: 213, 128, 64;
	--checklist-primaryColor: rgba(var(--checklist-primaryRGB), 1);
	--checklist-secondaryColor: rgba(var(--checklist-secondaryRGB), 1);
	--checklist-lightColor: #ffffff;
	--checklist-disabledColor: #9ea0a5;

	--forex-primaryRGB: 120, 169, 106;
	--future-primaryRGB: 112, 185, 180;
	--options-primaryRGB: 70, 93, 222;
	--market-primaryRGB: 0, 118, 170;
	--funded-primaryRGB: 128, 47, 187;
	--forex-primaryColor: rgba(var(--forex-primaryRGB), 1);
	--future-primaryColor: rgba(var(--future-primaryRGB), 1);
	--options-primaryColor: rgba(var(--options-primaryRGB), 1);
	--market-primaryColor: rgba(var(--market-primaryRGB), 1);
	--funded-primaryColor: rgba(var(--funded-primaryRGB), 1);
	margin-bottom: 10px;
}

.checklist.disabled {
	cursor: pointer;
}

.checklist-title {
	background: var(--checklist-primaryColor);
	color: var(--checklist-lightColor);
	padding-left: 1rem;
	cursor: pointer;
	box-shadow: var(--checklist-shadow);
	text-shadow: var(--checklist-shadow);
	font-size: 20px;
	font-weight: bold;
	font-family: "Roboto", sans-serif;
	text-transform: uppercase;
}

.disabled .checklist-title {
	background: var(--checklist-disabledColor);
}

.checklist .flex-container {
	display: inline-grid;
	grid-template-columns: 220px 1fr;
	width: 90%;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0 1rem 1rem;
}

/*Checklist Progress*/
.progress-bar {
	position: relative;
	display: block;
	width: 90%;
	background-color: var(--checklist-lightColor);
	border: 1px solid var(--checklist-lightColor);
	border-radius: 21px;
	background-clip: padding-box;
	overflow: hidden;
}

/* Color Variations */
#ForexProgram,
#ForexProgram_goals {
	--checklist-secondaryRGB: var(--forex-primaryRGB);
	--checklist-secondaryColor: rgba(var(--checklist-secondaryRGB), 1);
}

#FuturesProgram,
#FuturesProgram_goals,
.FuturesProgram-class,
#FuturesProgram-class li {
	--checklist-secondaryRGB: var(--future-primaryRGB);
	--checklist-secondaryColor: rgba(var(--checklist-secondaryRGB), 1);
}

#OptionsProgram,
#OptionsProgram_goals {
	--checklist-secondaryRGB: var(--options-primaryRGB);
	--checklist-secondaryColor: rgba(var(--checklist-secondaryRGB), 1);
}

#MarketStructure,
#MarketStructure_goals,
#MarketStructure-class,
#MarketStructure-class li {
	--checklist-secondaryRGB: var(--market-primaryRGB);
	--checklist-secondaryColor: rgba(var(--checklist-secondaryRGB), 1);
}

#FundedStructureProgram,
#FundedStructureProgram_goals {
	--checklist-secondaryRGB: var(--funded-primaryRGB);
	--checklist-secondaryColor: rgba(var(--checklist-secondaryRGB), 1);
}

.progress-bar .determined-progress {
	--progress-color: var(--checklist-secondaryColor);
	position: absolute;
	top: 0;
	bottom: 0;
	background-color: var(--progress-color);
	border-radius: 21px;
	box-shadow: inset var(--checklist-shadow), var(--checklist-shadow);
	transition: width 0.3s linear;
}

.video-progress-wrap {
	width: clamp(50px, 50vw, 200px);
	height: clamp(10px, 2vw, 34px);
	margin: 1px 0px 0 10px;
}

.video-progress-wrap .progress-bar {
	height: clamp(10px, 1.5vw, 40px);
	border: 1px solid black;
}

.checklist-content {
	align-items: center;
	display: flex;
	gap: 0.25rem;
	flex-wrap: wrap;
}

/* Progress Type 3 */
.progress-bar-type3 {
	height: clamp(10px, 3vw, 40px);
}

.progress-level p {
	position: absolute;
	color: #acece6;
	display: block;
	font-size: calc(0.65rem + 0.3385415vw);
	font-weight: 600;
	margin: 0;
}

.checklist-items {
	list-style: none;
	padding: 0;
	margin: 0;
}

.checklist-items li {
	display: flex;
	align-items: center;
	gap: 5px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* background:var(--checklist-secondaryColor); */
}

.checklist-items li label {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
}

.checklist-save,
.user-checklist-save,
.user-id {
	display: none;
}

.list-container {
	background: var(--checklist-lightColor);
	padding: 10px 20px;
	margin: 15px 0;
	box-shadow: var(--checklist-shadow);
}

.list-headline {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.list-items {
	padding: 0;
	margin: 0;
	margin-left: 0.5rem;
}

.list-items a {
	color: black;
}

.list-items strong a {
	text-decoration: none;
}

.list-item .dd-trigger {
	border: none;
	box-shadow: none;
	background: none;
	padding: 0.2rem;
	cursor: pointer;
	transition: 0.15s ease;
	transform-origin: bottom left;
	margin-left: 0.2rem;
}

.list-item .dd-trigger svg {
	height: 13px;
	width: 13px;
	transform: scale(1.7);
	/* Prevent from throwing off alignment */
}

.list-item .dd-trigger:hover svg {
	transform: scale(1.8);
}

.checklist-items li input[type="checkbox"] {
	height: 0;
	width: 0;
	opacity: 0;
	box-shadow: none;
	min-width: 0;
	margin: 0;
}

.checklist-items li input[type="checkbox"]+label {
	position: relative;
	display: grid;
	margin: 0.3rem 0;
	align-items: center;
	grid-template-columns: 20px auto;
	gap: 0.6rem;
}

.checklist-items li input[type="checkbox"]+label>.fancy-check {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	margin-right: 0.5em;
	width: 1em;
	height: 1em;
	background: transparent;
	border-radius: 0;
	cursor: pointer;
	transition: all 250ms cubic-bezier(0.4, 0, 0.23, 1);
}

.checklist-items li input[type="checkbox"]+label:hover>.fancy-check,
.checklist-items li input[type="checkbox"]:focus+label>.fancy-check {
	background: rgba(255, 255, 255, 0.1);
}

.checklist-items li input[type="checkbox"]+label>.fancy-check:before {
	content: "";
	font-size: 29px;
	position: absolute;
	top: -0.02em;
	left: 0.095em;
	width: 0.2em;
	height: 0.5em;
	border-right: 0.1em solid transparent;
	border-bottom: 0.1em solid transparent;
	transform: rotate(45deg);
	transform-origin: bottom center;
	z-index: 2;
	visibility: hidden;
}

.checklist-items li input[type="checkbox"]:checked+label>.fancy-check:before {
	content: "";
	-webkit-animation: checkbox-check 105ms 50ms cubic-bezier(1, -0.01, 0, 0.41) forwards;
	animation: checkbox-check 105ms 50ms cubic-bezier(1, -0.01, 0, 0.41) forwards;
	visibility: visible;
}

.checklist-link {
	text-decoration: underline;
}

.fancy-check:after {
	content: "";
	position: absolute;
	inset: 0;
	border: 0.08em solid #9e9e9e;
	z-index: 1;
}

.checklist-items li input[type="checkbox"]:checked+label>.fancy-check:after {
	border: 0.08em solid var(--checklist-primaryColor);
	-webkit-animation: checkbox-on 150ms cubic-bezier(0.4, 0, 0.23, 1);
	animation: checkbox-on 150ms cubic-bezier(0.4, 0, 0.23, 1);
}

/* Excel Download Link */
.excel-download {
	position: relative;
	width: 24px;
	color: transparent !important;
	height: 24px;
	font-size: 0;
	display: inline-block;
	line-height: 0;
	vertical-align: bottom;
	transform: translateY(1px);
	transition: 0.15s ease;
}

.excel-download::before {
	content: url(excel-icon.svg);
	height: 22px;
	width: 22px;
	position: absolute;
	top: 0;
	left: 1px;
}

.excel-download:hover::before {
	transform: scale(1.1);
}

@-webkit-keyframes checkbox-check {
	0% {
		transform: scale(0) rotate(45deg);
		border-color: var(--checklist-secondaryColor);
	}

	50% {
		transform: scale(0.5) rotate(45deg);
		border-color: var(--checklist-secondaryColor);
	}

	100% {
		transform: scale(1) rotate(45deg);
		border-color: var(--checklist-secondaryColor);
	}
}

@keyframes checkbox-check {
	0% {
		transform: scale(0) rotate(45deg);
		border-color: var(--checklist-secondaryColor);
	}

	50% {
		transform: scale(0.5) rotate(45deg);
		border-color: var(--checklist-secondaryColor);
	}

	100% {
		transform: scale(1) rotate(45deg);
		border-color: var(--checklist-secondaryColor);
	}
}

@-webkit-keyframes checkbox-on {
	0% {
		box-shadow: 0px 0px 1px 0px rgba(213, 128, 64, 0);
	}

	50% {
		box-shadow: 0px 0px 11px 3px rgba(var(--checklist-secondaryRGB), 0.7);
	}

	100% {
		box-shadow: 0px 0px 1px 0px rgba(213, 128, 64, 0);
	}
}

@keyframes checkbox-on {
	0% {
		box-shadow: 0px 0px 1px 0px rgba(213, 128, 64, 0);
	}

	50% {
		box-shadow: 0px 0px 11px 3px rgba(var(--checklist-secondaryRGB), 0.7);
	}

	100% {
		box-shadow: 0px 0px 1px 0px rgba(213, 128, 64, 0);
	}
}

/* COACH VIEW */
.coach-view .list-items label,
.coach-view .checklist-items li,
.coach-view .checklist-items li input[type="checkbox"]+label {
	/* pointer-events: none !important; */
	/* cursor: not-allowed !important; */
}

/* .data-wrap{
	display:none;
} */

section.coach-wrap {
	background: #fff;
	padding: 10px 20px;
	box-shadow: 0px 3px 6px #00000029;
}

section.coach-wrap p {
	margin-bottom: 1em;
}

section.coach-wrap .grid-wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 0 0 1.5rem 0;
}

section.coach-wrap .grid-wrap .one {
	padding: 10px;
}

section.coach-wrap .grid-wrap .two {
	padding: 20px 10px 10px 10px;
}

section.coach-wrap .grid-wrap .two p.pill {
	background: var(--dashboard-primaryColor);
	border-radius: 2rem;
	text-align: center;
	padding: 0.5rem 0;
	line-height: 1rem;
	width: 22rem;
	margin: 0.5rem auto;
	color: white;
	border: 1px solid var(--dashboard-lightColor);
}

section.coach-wrap::marker {
	display: inline-block;
}

section.coach-wrap summary h3 {
	display: inline-block;
	clear: none;
	cursor: pointer;
}

.coach-notes-wrapper {
	display: flex;
	justify-content: space-between;
	padding-bottom: 0.4em;
	align-items: center;
}

.button-save-coach-notes {
	box-shadow: var(--dashboard-shadow);
	font-weight: 300;
	font-size: 1rem;
	padding: 0.9rem 1.2rem 0.8rem 1.2rem;
	background-color: var(--twp-darkest-purple);
	color: var(--dashboard-lightColor);
	cursor: pointer;
}

.button-save-coach-notes:hover {
	background-color: #495292;
}

.phone-number-student {
	text-decoration: none;
}

/* Media Queries */
@media screen and (max-width: 850px) {
	.list-container {
		padding: 10px;
	}
}

@media screen and (max-width: 690px) {
	.checklist .flex-container {
		grid-template-columns: 160px 1fr;
		padding: 1rem 0 1rem 0rem;
	}

	.list-items {
		margin-left: 0rem;
	}
}

@media screen and (max-width: 600px) {
	.dynamic-list--item-text.text {
		min-width: unset;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.checklist-items>.dynamic-list--item.draggable {
		grid-template-columns: unset;
		grid-template-areas:
			"checkbox input remove"
			"updated updated updated";
		margin-bottom: 1rem;
	}

	.checklist-items li input[type="checkbox"]+label {
		grid-area: checkbox;
	}

	.innerInputItem {
		grid-area: input;
	}

	.item-updated {
		grid-area: updated;
	}

	button.faux-link[action="remove"] {
		grid-area: remove;
		place-self: end;
		width: min-content;
	}
}

@media screen and (max-width: 510px) {
	.checklist .flex-container {
		grid-template-columns: 1fr;
		width: 80%;
	}
}