.content-container {
	position: relative;
}

.content-container.games:not(.gameSelectionPage) {
	padding-top: 6rem;
}

.breadcrumbs {
	display: none;
}

.breadcrumbs.render {
	display: block;
}

.page-content {
	display: none;
	opacity: 0;
}

.page-content.featured {
	display: block;
	opacity: 0;
	transition: opacity 0.5s;
}

.page-content.featured.fadein {
	opacity: 1;
	transition: opacity 0.5s;
}

.page-block {
	margin: 0 auto;
	max-width: 77.5rem;
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.narrow-page-block {
	margin: 0 auto;
	max-width: 56rem;
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.wide-page-block {
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.content-block {
}

@media only screen and (min-width: 768px) {
	.wide-page-block {
		padding: 4rem;
	}
}


.column-container .column {
	box-sizing: border-box;
	padding: 0 1rem;
}


@media only screen and (min-width: 768px) {
	
	.column-container {
		display: flex;
	}

	.column-container .column:first-child {
		padding-left: 0rem;
	}

	.column-container .column:last-child {
		padding-right: 0;
	}

	.column-container .col1-2 {
		width: 50%;
	}

	.column-container .col2-3 {
		width: 66.67%;
	}

	.column-container .col1-3 {
		width: 33.33%;
	}
}

.column-container .img {
	display: block;
	width: 100%;
	margin-bottom: 1rem;
	margin-top: 0.5rem;
}

.column-container .link-content {
	margin-top: 1rem;
}

.column-container .link-content .a {
	text-decoration: none;
	line-height: 1.25rem;
	border-bottom: solid 1px white;
	color: white;
	transition: all 0.25s;
}

.column-container .link-content .a:not(.locked):hover {
	border-bottom: solid 1px #ff9016;
	color: #ff9016;
	transition: all 0.25s;
}

.column-container .link-content .a.locked {
	cursor: default;
}

.column-container .link-content .fas {
	margin-right: 0.25rem;
	margin-left: 0.25rem;
}

.column-container .purchase {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

.column-container .purchase > * {
	margin-top: 1rem;
}

.column-container .purchase > * + * {
	margin-left: 1rem;
}


.column-container .purchase .form.flx {
	display: flex;
	flex-direction: column;
	position: relative;
}

.column-container .purchase .form.flx span {
	font-size: 0.75rem;
	display: block;
	margin-top: 0.5rem;
	position: absolute;
	opacity: 0;
	top: 3rem;
	left: calc(-12.5% - 1rem);
	pointer-events: none;
	width: 125%;
	background: #39393b;
	padding: 1rem 0.5rem;
	display: block;
	border: solid 1px white;
	transition: opacity 0.25s;
	text-align: center;
	border-radius: 4px;
}

.column-container .purchase .form.flx *:hover + span.note {
	opacity: 1;
	transition: opacity 0.25s;
	z-index: 100;
}



.column-container .purchase .button.btn-std {
	padding: 0.75rem 1rem;
}

.column-container .form,
.column-container .button + .button {
	display: inline-block;
	margin-left: 1rem;
}

.content-listing .ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	line-height: 1.125rem;
}

.content-listing .ul .li:not(.remote) {
	padding: 1rem;
	width: 33%;
}

.content-listing .ul .button {
	display: block;
}

.content-listing .ul .button.btn-wide {
	display: inline-block;
}


/* Imported Content */

.text-content figure {
	margin: 0;
}

.text-content iframe {
	display: block;
	max-width: 100%;
}

.text-content table {
	width: 100%;
	border:1px solid white;
	border-collapse: collapse;
}

.text-content table td {
	padding: 1rem;
	vertical-align: top;
	border:1px solid white;
	border-collapse: collapse;
}

.text-content table th {
	border:1px solid white;
	border-collapse: collapse;
}

.text-content table td:first-child {
	padding-left: 0;
}

.text-content table td:last-child {
	padding-right: 0;
}

@media only screen and (max-width: 767px) {
	
	.text-content table, 
	.text-content tr, 
	.text-content td, 
	.text-content th,
	.text-content tbody,
	.text-content thead {
		display: block;
		box-sizing: border-box;
	}

	.text-content table td,
	.text-content table td:first-child,
	.text-content table td:last-child {
		padding: 0.625rem;
	}
}



.text-content img {
	display: block;
	width: 100%;
}

.text-content figure img {
	display: block;
	max-width: 300px;
}

/*** Resources Screen ***/
.my-curricula-btn {
	background: #f54515;
}

.page-content.resources .h1,
.page-content.resources .h1 + .wide-page-block {
	padding-top: 0;
	padding-bottom: 0;
}

.page-content.resources .content-listing.images .ul {
	display: flex;
	justify-content: center;
}

.page-content.resources .content-listing.images .ul .li {
	width: 100%;
}

@media only screen and (min-width: 768px) {
	.page-content.resources .content-listing.images .ul .li:not(.remote) {
		flex: 1 1 33.3%;
		max-width: 33%;
	}
}

.page-content.resources .content-listing.images .ul .img{
	display: block;
	width: 100%;
}

.page-content.resources h4 + p {
	padding-top: 0;
}

.flex-col {
	display: flex;
	flex-direction: column;
}
.flex-row {
	display: flex;
	flex-direction: row;
}
.module-btn-group {
	background-color: #369ede; /* Blue background */
	color: white; /* White text */
	cursor: pointer; /* Pointer/hand icon */
	width: 20%; /* Set a width if needed */
	display: block; /* Make the buttons appear below each other */
	margin-left: 2%;
}

.module-btn-container {
	margin-top: 25px;
}

.module-btn-container p {
	margin: 0;
}

.module-btn-group button {
	width: 100%;
    border: none;
    padding: 20px 25px;
	font-size: 1.25rem;
    line-height: 2rem;
	font-weight: bold;
	outline: none;
	text-align: end;
}

.module-btn-group button:not(:last-child) {
  border-bottom: none; /* Prevent double borders */
}

/* Add a background color on hover */
.module-btn-group button:hover {
  background-color: #61b1e1;
}

.current-curriculum {
	background-color: #177cb9;
}

.other-curriculum {
	background-color: #369ede; 
}

.flex-col .page-block {
	padding: 1rem 1rem 1rem 3rem;
}

@media only screen and (max-width: 768px) {
	.module-btn-group{
		display: none;
	}

	.flex-row {
		display: unset;
		flex-direction: unset;
	}
}

/*** Game Selection Screen ***/
.game-selection .top-content-block {
	padding: 2rem 1rem;
	background: #ff9016;
	text-align: center;
}

@media only screen and (min-width: 768px) {
	.game-selection .top-content-block {
		padding-top: 4.5rem;
	}
}


.game-selection .top-content-block h1  {
	font-size: 2.75rem;
}


.game-selection .top-content-block .page-block {
	max-width: 36.5rem;
}

.game-selection .ul.game-block {
	list-style: none;
	padding: 0;
	margin: 5rem auto;
	display: flex;
	flex-wrap: wrap;
}

.game-selection .ul.game-block  .li {
	width: 100%;
	padding: 1rem;
	text-align: center;
}

@media only screen and (min-width: 768px) {
	.game-selection .ul.game-block  .li {
		width: auto;
		flex: 1 1 33.3%;
		max-width: 33%;
		padding: 1rem;
		text-align: center;
	}
}

.game-selection .ul.game-block  .li .a {
	display: block;
}

.game-selection .ul.game-block  .li .h2 {
	font-weight: 500;
	font-size: 1rem;
}

.game-selection .ul.game-block .li .img {
	display: block;
	width: 100%;
	margin-bottom: 2rem;
}

/*** My Games ***/

.my-games:first-child {
	margin-top: 8rem;
}

.my-games.recommended h2{
	padding-top: 4rem;
}

.my-games h2 {
	font-size: 2.75rem;
	text-align: center;
}

.my-games .game-selection .ul.game-block {
	margin: 2rem auto 5rem auto;
}

.my-games .game-selection .ul.game-block .li .img {
	height: 13.25rem;
	width: auto;
	margin: 0 auto 1rem auto;
}

.my-games .game-selection .ul.game-block .li .h2 {
	font-size: 1.25rem;
	font-weight: 500;
	margin-bottom: 1rem;
	display: inline-block;
}

.my-games .game-selection .ul.game-block .li .btn-std:not(.select) {
	padding: 0.25rem 3rem;
	font-weight: 600;
}

.my-games .game-selection .ul.game-block .li .a {
	text-decoration: none;
	border-bottom: solid 1px white;
	display: inline-block;
	margin-top: 1rem;
}

.my-games .price {
	display: inline-block;
	margin-top: 1rem;
}

.my-games .button-row {
	text-align: center;
	padding-bottom: 2rem;
}

.my-games .button-row .button {
	display: inline-block;
	font-size: 1.75rem;
	font-weight: 600; 
}

/*** Game Purchase Modal ***/
.modal-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	display: none;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0,0.8);
}

.modal-container.render {
	display: flex;
}

.modal-container .modal-content {
	width: 98%;
	max-width: 40rem;
	min-height: 30rem;
	background: white;
}

.select.purchase {
	width: 8.25rem;
	margin: 0 auto;
  padding: 0.75rem 1rem;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  height: 48px;
  align-items: center;
}

.select.purchase.disabled {
	cursor: default;
	pointer-events: none;
	opacity: 0;
}


.bottom-divider {
	border-bottom: solid 1px white;
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}


.civics .purchase.button {
	display: none !important;
}  