/**************
* Hero/Header *
***************/

.course-main .hero .hero-outer {
	background-color: rgb(27, 54, 93);
	color: white;
	min-height: 200px;
}

.course-main .hero .hero-inner {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	        justify-content: space-between;
	padding: 15px;
	background-repeat: no-repeat;
}

/* These three media queries are stubs for JavaScript to listen to. */
/* Background sizing constraints come from CMS hero.json. */
@media (min-width: 1271px) {
	/* Big hero image. */
	.course-main .hero .hero-inner {
		/* background-image: url(https://data.artofporoblemsolving.com/cms/school/catalog/courses/default/hero.png); */
		/* background-size: auto 95%; */
		/* background-position: bottom right 20%; */
		background-repeat: no-repeat;
	}
}

@media (min-width: 1021px) and (max-width: 1270px) {
	/* Small hero image. */
	.course-main .hero .hero-inner {
		/* background-image: url(https://data.artofporoblemsolving.com/cms/school/catalog/courses/default/hero.png); */
		/* background-size: auto 65%; */
		/* background-position: bottom right 5%; */
		background-repeat: no-repeat;
	}
}

@media (max-width: 1020px) {
	/* Hide the hero image. */
	.course-main .hero .hero-inner {
		background-image: none !important;
	}
}

.course-main .hero .hero-inner h2 {
	margin-top: 0;
	color: white;
	font-weight: normal;
}

.course-main .hero .summary {
	width: 50%;
}

.course-main .hero .extra-info {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	min-width: 200px;
	width: 200px;
}

.course-main .hero .extra-info .hero-panel {
	background: white;
	margin: 10px 0;
	padding: 10px;
	font-size: 0.9em;
}

.course-main .hero .extra-info .hero-panel:first-of-type {
	margin-top: 0;
}

.course-main .hero .extra-info .hero-panel:last-of-type {
	margin-bottom: 0;
}

.course-main .hero .extra-info .hero-panel-title {
	display: block;
	color: black;
	text-transform: uppercase;
}

.course-main .hero .extra-info .hero-panel a {
	display: block;
	text-transform: capitalize;
}

@media (max-width: 700px), (min-width: 841px) and (max-width: 1020px) {
	.course-main .hero .hero-inner {
		-webkit-flex-direction: column;
		        flex-direction: column;
	}

	.course-main .hero .summary {
		width: 100%;
		min-width: 0;
		margin-bottom: 15px;
	}

	.course-main .hero .extra-info {
		width: 100%;
		min-width: 0;
	}
}

@media (min-width: 701px) and (max-width: 840px) {
	.course-main .hero .summary {
		width: 65%;
	}
}

/**************
*    Tabs     *
***************/

.course-main .course-tabs .course-tabs-inner {
	display: -webkit-flex;
	display: flex;
}

.course-main .course-tabs .course-tab {
	display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-flex-grow: 1;
	        flex-grow: 1;
	-webkit-flex-shrink: 1;
	        flex-shrink: 1;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	margin: 10px 7px -10px 0;
	padding: 10px;
	max-width: 300px;
	min-height: 50px;
	height: 50px;
	background: rgb(221, 221, 221);
	color: rgb(27, 54, 93);
	font-size: 1.1em;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	transition: background 0.2s, color 0.2s;
}

.course-main .course-tabs .course-tab:hover {
	cursor: pointer;
	background: rgb(0, 159, 173);
	color: rgb(255, 255, 255);
	text-decoration: none;
}

.course-main .course-tabs .course-tab:last-of-type {
	margin-right: 0;
}

.course-main .course-tabs .course-tab.selected {
	color: rgb(255, 255, 255);
	background: rgb(27, 54, 93);
	pointer-events: none;
}

.course-main .course-tabs .course-tab.selected:hover {
	color: rgb(0, 159, 173);
	background: rgb(255, 255, 255);
}

@media (max-width: 480px) {
	.course-main .course-tabs .course-tab {
		max-width: 100%;
		min-height: 60px;
		text-align: center;
	}
}

/**************
*   Content   *
***************/
.course-main .course-content h2,
.course-main .course-content h3 {
	font-weight: 500;
}

.course-main .course-content *:not(h2) + h3 {
	margin-top: 20px;
	margin-bottom: 8px;
}

.course-main .course-content .aops-panel {
	position: relative;
}

.course-main .course-content .aops-panel > * {
	margin: 30px 0;
}

.course-main .course-content .aops-panel > div:first-of-type {
	margin-top: 0;
}

.course-main .course-content .aops-panel > div:last-child {
	margin-bottom: 10px;
}

.course-main .course-content .counterpart-option {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px 10px 0 0;
	font-size: 1.3em;
	color: rgb(27, 54, 93);
	text-decoration: none;
	z-index: 1;
	transition: color 0.2s;
}

.course-main .course-content .counterpart-option:hover {
	color: rgb(0, 159, 173);
}

@media (max-width: 480px) {
	.course-main .course-content p {
		line-height: 1.8em;
		margin: 1em 0;
	}
}

@media (max-width: 700px), (min-width: 841px) and (max-width: 930px) {
	.course-main .course-content .counterpart-option {
		font-size: 1em;
	}
}

@media (max-width: 540px) {
	.course-main .course-content .counterpart-option {
		display: none;
	}
}

/**************
*  Overview   *
***************/
.course-main .course-overview .overview-course-info {
	margin-bottom: 0;
}

.course-main .course-overview .overview-course-text {
	margin-bottom: 20px;
	color: rgb(27, 54, 93);
	font-size: 1.2em;
}

/**************
*   Jump To   *
***************/
.course-main .course-jump-to {
	margin-top: -10px !important;
}

.course-main .course-jump-to.no-button {
	margin-bottom: -10px !important;
}

.course-main .course-jump-to .jump-to-button,
.hero-inner .jump-to-button {
	height: 50px;
	max-width: 100%;
	font-size: 1.1em;
	font-weight: normal;
	transition: background 0.2s, color 0.2s;
}

.hero-inner .jump-to-button,
#main-column.hero-button .course-jump-to .jump-to-button {
	display: none;
}

#main-column.hero-button .hero-inner .jump-to-button {
	display: block;
}

.course-main .course-jump-to .jump-to-items {
	display: inline-block;
	white-space: nowrap;
	-webkit-transform: scale(1);
	        transform: scale(1);
	-webkit-transform-origin: top left;
	        transform-origin: top left;
}

.course-main .course-jump-to:not(.self-paced) .jump-to-items {
	margin-bottom: 20px;
}

.course-main .course-jump-to .jump-to-items a:first-child {
	margin-left: 0px;
}

.course-main .course-jump-to .jump-to-items a {
	margin: 10px;
}

.course-main .course-jump-to.no-button .jump-to-items {
	display: inline-block;
}

@media (max-width: 725px), (min-width: 841px) and (max-width: 1020px) {
	.course-main .course-jump-to.no-button .jump-to-items {
		display: none;
	}
}

.course-main .course-jump-to .enroll-price {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	-webkit-justify-content: center;
	        justify-content: center;
	margin: 10px 0;
}

.course-main .course-jump-to .enroll-price .price {
	color: rgb(27, 54, 93);
	font-weight: 500;
}

.course-main .course-jump-to .enroll-price .price.with-book {
	color: rgb(102, 102, 102);
}

/**************
*    Bundle   *
***************/
.course-main .course-bundle .select-bundle-container {
	font-weight: 500;
	font-size: 20px;
	line-height: 130%;
	background: #f5f7fa;
	padding: 12px 16px;
	color: #262626;
	margin: 24px 0px;
}
.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container {
	font-weight: 500;
	font-size: 18px;
	line-height: 150%;

	padding: 4px 12px;
	margin-top: 4px;
	margin-bottom: 4px;
}

.course-main .course-bundle .select-bundle-container .select-text {
	margin-top: 4px;
	margin-bottom: 12px;
}

.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container.checked {
	background: #e6f0ff;
}

.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container
	.select-bundle-option-label {
	display: -webkit-flex;
	display: flex;
	font-size: 16px;
}

.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container
	.select-bundle-option {
	margin-right: 8px;
	height: 18px;
	width: 18px;
}

.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container
	.price-left-align {
	-webkit-flex: 1;
	        flex: 1;
}
.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container
	.bundle-discount-tag {
	background: #ecfade;
	border: 1px solid #61ad00;
	border-radius: 4px;
	padding: 4px 8px;
	margin-left: 12px;
	font-size: 14px;
	color: #2a4d00;
}
.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container
	.bundle-discount-tag
	.dollar-image {
	height: 15px;
}

.course-main
	.course-bundle
	.select-bundle-container
	.select-bundle-option-container
	.bundle-price-discount {
	color: #dc2e1e;
	-webkit-text-decoration-line: line-through;
	        text-decoration-line: line-through;
}

/**************
*    Enroll   *
***************/
.course-main .course-enroll .enroll-inner {
	display: -webkit-inline-flex;
	display: inline-flex;
}

.course-main .course-enroll .enroll-button {
	width: 200px;
	height: 50px;
	font-size: 1.3em;
	font-weight: normal;
	transition: background 0.2s, color 0.2s;
}

.course-main .course-enroll .enroll-price {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	-webkit-justify-content: center;
	        justify-content: center;
	margin-left: 10px;
}

.course-main .course-enroll .enroll-price .price {
	color: rgb(27, 54, 93);
	font-weight: 500;
}

.course-main .course-enroll .enroll-price .price.with-book {
	color: rgb(102, 102, 102);
}

@media (max-width: 480px) {
	.course-main .course-enroll .enroll-outer {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: center;
		        justify-content: center;
	}
}

/**************
*  Slideshow  *
***************/

.course-slideshow .slideshow-inner {
	display: -webkit-flex;
	display: flex;
}

.course-slideshow .bulleted-items {
	position: relative;
	-webkit-flex-grow: 1;
	        flex-grow: 1;
	-webkit-flex-basis: 100%;
	        flex-basis: 100%;
	margin-right: 20px;
}

.course-slideshow .radio-button {
	-webkit-flex: 0 0 auto;
	        flex: 0 0 auto;
	width: 12px;
	height: 12px;
	margin: 3px 9px 0 0;
	border-radius: 100%;
	background: rgb(204, 204, 204);
	transition: background 0.2s;
}

.course-slideshow .item.selected .radio-button,
.course-slideshow .collapsed-bullets .radio-button.selected {
	background: rgb(27, 54, 93);
}

.course-slideshow .collapsed-bullets {
	display: none;
}

.course-slideshow .collapsed-bullets .radio-button {
	margin-top: 0;
	margin-right: 15px;
}

.course-slideshow .collapsed-bullets .radio-button:hover {
	cursor: pointer;
}

.course-slideshow .collapsed-bullets .radio-button:last-of-type {
	margin-right: 0;
}

.course-slideshow .item {
	display: -webkit-flex;
	display: flex;
	margin: 0.5em 0;
}

.course-slideshow .item:hover {
	cursor: pointer;
}

.course-slideshow .item:hover .item-title {
	color: rgb(0, 159, 173);
	transition: color 0.2s;
}

.course-slideshow .item:hover .radio-button {
	background-color: rgb(0, 159, 173);
}

.course-slideshow .item-title {
	font-weight: bold;
	color: rgb(27, 54, 93);
}

.course-slideshow .image-gallery-aspect-outer {
	-webkit-flex-grow: 1;
	        flex-grow: 1;
}

.course-slideshow .image-gallery-aspect-inner {
	position: relative;
	padding-top: 75%;
}

.course-slideshow .image-gallery-outer {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 0.85;
	        flex-grow: 0.85;
	-webkit-flex-basis: 100%;
	        flex-basis: 100%;
	-webkit-align-self: center;
	        align-self: center;
}

.course-slideshow .image-gallery-nav {
	display: -webkit-flex;
	display: flex;
	width: 30px;
	min-width: 30px;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
	font-family: AoPS;
	fill: rgb(27, 54, 93);
	transition: fill 0.2s;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.course-slideshow .image-gallery-nav.nav-right {
	padding: 0 0 0 16px;
}

.course-slideshow .image-gallery-nav.nav-left {
	padding: 0 16px 0 0;
}

.course-slideshow .image-gallery-nav:hover {
	cursor: pointer;
	fill: rgb(0, 159, 173);
}

.course-slideshow .image-gallery-inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-flex-grow: 1;
	        flex-grow: 1;
	overflow: hidden;
}

.course-slideshow .image-wrapper {
	position: absolute;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	top: 0;
	left: 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.course-slideshow .image-wrapper:hover {
	cursor: pointer;
}

.course-slideshow .image-wrapper img {
	min-width: 100%;
	max-height: 100%;
	height: 100%;
	position: absolute;
	margin: auto;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
}

.course-slideshow .image-gallery-nav svg {
	width: 100%;
	height: auto;
}

.course-slideshow .image-gallery-nav.nav-left svg {
	-webkit-transform: scaleX(-1);
	        transform: scaleX(-1);
}

@media (max-width: 770px), (min-width: 841px) and (max-width: 1020px) {
	.course-slideshow .slideshow-inner {
		-webkit-flex-direction: column;
		        flex-direction: column;
	}

	.course-slideshow .bulleted-items {
		position: relative;
		margin-right: 0;
		height: 0px;
		-webkit-flex-basis: auto;
		        flex-basis: auto;
		overflow: hidden;
		transition: height 0.5s;
	}

	.course-slideshow .bulleted-items .radio-button {
		display: none;
	}

	.course-slideshow .collapsed-bullets {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: center;
		        justify-content: center;
		-webkit-align-items: center;
		        align-items: center;
		margin-bottom: 10px;
	}

	.course-slideshow .item {
		left: 0;
	}

	.course-slideshow .item:not(.selected) {
		position: absolute;
		top: 0;
		left: 100%;
	}

	.course-slideshow .image-gallery-outer {
		width: 100%;
		margin-bottom: 10px;
		-webkit-flex-basis: auto;
		        flex-basis: auto;
	}

	.course-slideshow .item-text {
		line-height: 1.8em;
	}

	.course-slideshow .item:hover .item-title {
		color: initial;
		transition: color 0.2s;
	}

	.course-slideshow .item:hover .radio-button {
		background-color: initial;
	}
}

.slideshow-modal {
	top: 50% !important;
	left: 50% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	-webkit-transform: translate(-50%, -50%) !important;
	        transform: translate(-50%, -50%) !important;
}

.aops-modal-body .course-slideshow .slideshow-outer {
	width: 700px;
	max-width: 100%;
	max-height: 100%;
}

.aops-modal-body .course-slideshow .slideshow-inner {
	-webkit-flex-direction: column;
	        flex-direction: column;
}

.aops-modal-body .course-slideshow .bulleted-items {
	position: relative;
	margin-right: 0;
	height: 0px;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
	overflow: hidden;
	transition: height 0.5s;
}

.aops-modal-body .course-slideshow .bulleted-items .radio-button {
	display: none;
}

.aops-modal-body .course-slideshow .collapsed-bullets {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	margin-bottom: 10px;
}

.aops-modal-body .course-slideshow .item {
	left: 0;
}

.aops-modal-body .course-slideshow .item:not(.selected) {
	position: absolute;
	top: 0;
	left: 100%;
}

.aops-modal-body .course-slideshow .image-gallery-outer {
	width: 100%;
	margin-bottom: 10px;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
}

.aops-modal-body .course-slideshow .item-text {
	line-height: 1.8em;
}

.aops-modal-body .course-slideshow .item:hover .item-title {
	color: initial;
	transition: color 0.2s;
}

.aops-modal-body .course-slideshow .item:hover .radio-button {
	background-color: initial;
}

/**************
*   Why AoPS  *
***************/

/**************
*   Faculty   *
***************/

.course-main .course-faculty {
	float: right;
	position: relative;
	width: calc(50% - 10px);
	margin-left: 20px;
	margin-bottom: 20px;
	z-index: 1;
}

.course-main .course-faculty .slideshow-inner {
	display: -webkit-flex;
	display: flex;
}

.course-main .course-faculty .image-gallery-aspect-outer {
	-webkit-flex-grow: 1;
	        flex-grow: 1;
}

.course-main .course-faculty .image-gallery-aspect-inner {
	position: relative;
	padding-top: 75%;
}

.course-main .course-faculty .image-gallery-outer {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 0.85;
	        flex-grow: 0.85;
	-webkit-flex-basis: 100%;
	        flex-basis: 100%;
	-webkit-align-self: flex-start;
	        align-self: flex-start;
}

.course-main .course-faculty .image-gallery-nav {
	display: -webkit-flex;
	display: flex;
	width: 30px;
	min-width: 30px;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
	font-family: AoPS;
	fill: rgb(27, 54, 93);
	transition: fill 0.2s;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.course-main .course-faculty .image-gallery-nav.nav-right {
	padding: 0 0 0 16px;
}

.course-main .course-faculty .image-gallery-nav.nav-left {
	padding: 0 16px 0 0;
}

.course-main .course-faculty .image-gallery-nav:hover {
	cursor: pointer;
	fill: rgb(0, 159, 173);
}

.course-main .course-faculty .image-gallery-inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-flex-grow: 1;
	        flex-grow: 1;
	overflow: hidden;
}

.course-main .course-faculty .portrait-wrapper {
	position: absolute;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	top: 0;
	left: 25%;
	right: 0;
	bottom: 0;
	width: 50%;
	transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	transition: transform 0.3s, -webkit-transform 0.3s;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	font-size: 13px;
}

.course-main .course-faculty .portrait-wrapper:nth-child(1) {
	-webkit-transform: translateX(-200%) scale(0.9);
	        transform: translateX(-200%) scale(0.9);
}

.course-main .course-faculty .portrait-wrapper:nth-child(2) {
	-webkit-transform: translateX(-100%) scale(0.9);
	        transform: translateX(-100%) scale(0.9);
}

.course-main .course-faculty .portrait-wrapper.selected {
	-webkit-transform: none;
	        transform: none;
}

.course-main .course-faculty .portrait-wrapper:nth-child(4) {
	-webkit-transform: translateX(100%) scale(0.9);
	        transform: translateX(100%) scale(0.9);
}

.course-main .course-faculty .portrait-wrapper:nth-child(5) {
	-webkit-transform: translateX(200%) scale(0.9);
	        transform: translateX(200%) scale(0.9);
}

.course-main .course-faculty .image-wrapper {
	position: relative;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.course-main .course-faculty .image-wrapper img {
	position: absolute;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
	margin: auto;
	min-width: 100%;
	max-height: 100%;
	min-height: 100%;
}

.course-main .course-faculty .image-wrapper .name {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 10px;
	padding: 5px;
	color: white;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 5px;
}

.course-main .course-faculty .info-wrapper {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	-webkit-justify-content: flex-start;
	        justify-content: flex-start;
	-webkit-align-items: flex-start;
	        align-items: flex-start;
	width: 100%;
	background: rgb(240, 240, 240);
	padding: 5px;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
}

.course-main .course-faculty .info-wrapper .tagline {
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.course-main .course-faculty .image-gallery-nav svg {
	width: 100%;
	height: auto;
}

.course-main .course-faculty .image-gallery-nav.nav-left svg {
	-webkit-transform: scaleX(-1);
	        transform: scaleX(-1);
}

@media (max-width: 640px), (min-width: 841px) and (max-width: 930px) {
	.course-main .course-faculty {
		float: none;
		width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 400px),
	(min-width: 641px) and (max-width: 840px),
	(min-width: 930px) and (max-width: 1270px) {
	.course-main .course-faculty .portrait-wrapper {
		font-size: 8.5px;
	}

	.course-main .course-faculty .image-wrapper .name {
		margin: 5px;
	}
}

/**************
*   Lessons   *
***************/
.course-main .course-lessons h2 {
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 0px;
}

.course-main .course-lessons .lessons-header {
	display: -webkit-flex;
	display: flex;
	margin-bottom: 15px;
	-webkit-align-items: center;
	        align-items: center;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
}

.course-main .course-lessons .lessons-header > * {
	margin-right: 15px;
	white-space: nowrap;
	-webkit-flex-basis: auto;
	        flex-basis: auto;
}

.course-main .course-lessons .syllabus {
	display: inline-block;
	margin-right: 0px;
}

.course-main .course-lessons .show-all {
	display: inline-block;
	color: rgb(55, 111, 192);
	transition: color 0.2s;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	-webkit-flex-grow: 1;
	        flex-grow: 1;
}

.course-main .course-lessons .show-all:hover {
	color: rgb(27, 54, 93);
	cursor: pointer;
}

.course-main .course-lessons .lesson-row {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: stretch;
	        justify-content: stretch;
	transition: background 0.2s;
}

.course-main .course-lessons .has-desc.lesson-row:hover {
	cursor: pointer;
}

.course-main .course-lessons .has-desc.lesson-row:hover .lesson-label-outer {
	background: rgb(19, 91, 123);
}

.course-main .course-lessons .lesson-label-outer {
	background: rgb(27, 54, 93);
	color: rgb(255, 255, 255);
	transition: background 0.2s;
}

.course-main .course-lessons .has-desc .lesson-label-outer:hover {
	cursor: pointer;
}

.course-main .course-lessons .lesson-label-inner {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	        align-items: center;
	height: 48px;
	min-height: 48px;
	max-height: 48px;
	padding: 12px 12px 12px 6px;
	min-width: 110px;
}

.course-main .course-lessons .lesson-label-arrow {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	width: 16px;
	min-width: 16px;
	height: 16px;
	min-height: 16px;
	margin-right: 3px;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	transition: -webkit-transform 0.2s;
	transition: transform 0.2s;
	transition: transform 0.2s, -webkit-transform 0.2s;
}

.course-main .course-lessons .lesson-label-arrow::after {
	font-family: AoPS;
	content: "7";
}

.course-main .course-lessons .lesson-label-text {
	white-space: nowrap;
}

.course-main .course-lessons .lesson-row:nth-child(even) {
	background: rgb(229, 229, 229);
}

.course-main .course-lessons .lesson-row:nth-child(odd) {
	background: rgb(240, 240, 240);
}

.course-main .course-lessons .lesson-info {
	-webkit-flex-grow: 1;
	        flex-grow: 1;
	padding: 13px 10px 13px 10px;
}

.course-main .course-lessons .lesson-name {
	font-weight: bold;
}

.course-main .course-lessons .lesson-description {
	display: none;
	white-space: pre-line;
}

.course-main .course-lessons .lesson-row.expanded .lesson-label-arrow {
	-webkit-transform: rotate(90deg);
	        transform: rotate(90deg);
}

@media (max-width: 480px) {
	.course-main .course-lessons .lesson-label-inner {
		font-size: 0.8em;
		width: 38px;
		min-width: 38px;
		max-width: 38px;
		padding: 6px 0px 6px 1px;
	}

	.course-main .course-lessons .lesson-label-arrow {
		margin-right: 1px;
	}

	.course-main .course-lessons .lesson-label-unit {
		display: none;
	}
}

/**************
*Required Text*
***************/

.course-main .course-required-text .required-text-outer {
	background: rgb(229, 229, 229);
}

.course-main .course-required-text .required-text-inner {
	display: -webkit-flex;
	display: flex;
	padding: 10px;
}

.course-main .course-required-text .image-wrapper {
	margin-right: 20px;
}

.course-main .course-required-text .text-info {
	-webkit-flex-grow: 1;
	        flex-grow: 1;
	-webkit-flex-basis: 100%;
	        flex-basis: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	-webkit-align-items: flex-start;
	        align-items: flex-start;
}

.course-main .course-required-text .text-info > * {
	max-width: 100%;
}

.course-main .course-required-text .title {
	font-size: 1.2em;
}

.course-main .course-required-text .description {
	margin: 10px 0;
}

.course-main .course-required-text .view-details {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 500;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.course-main .course-required-text .view-details:hover {
	color: rgb(27, 54, 93);
	cursor: pointer;
}

.course-main .course-required-text .view-details span.aops-font {
	position: relative;
	top: 2px;
	font-size: 1.5em;
	margin-left: 2px;
}

@media (max-width: 480px) {
	.course-main .course-required-text .required-text-inner {
		-webkit-flex-direction: column;
		        flex-direction: column;
		-webkit-align-items: center;
		        align-items: center;
	}

	.course-main .course-required-text .image-wrapper {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.course-main .course-required-text .image-wrapper img {
		max-width: 100%;
	}

	.course-main .course-required-text .text-info {
		-webkit-align-items: center;
		        align-items: center;
		text-align: center;
		-webkit-flex-basis: auto;
		        flex-basis: auto;
	}

	.course-main .course-required-text .description {
		display: none;
	}

	.course-main .course-required-text .view-details {
		-webkit-align-self: center;
		        align-self: center;
		margin-top: 20px;
	}

	.course-main .course-required-text .view-details:hover {
		color: rgb(255, 255, 255);
		background: rgb(0, 159, 173);
		cursor: pointer;
	}
}

/**************
*   Schedule  *
***************/

table.schedule {
	width: 100%;
}
table.schedule tr:nth-child(1) {
	border-width: 0;
}
table.schedule tr.background0 {
	background-color: #e5e5e5;
}
table.schedule tr.background1 {
	background-color: #f0f0f0;
}
table.schedule tr th {
	background-color: #888;
	color: white;
	padding: 5px;
	text-align: left;
}
table.schedule td {
	vertical-align: middle;
	margin-top: 10px;
	padding: 5px;
	white-space: nowrap;
	width: 16.5%;
	font-size: 13px;
}
table.schedule td.day,
table.schedule th.day,
table.schedule td.cost,
table.schedule th.cost {
	display: none;
}
table.schedule td.instructor-name {
	white-space: normal;
}

table.schedule td.instructor-name.optimizely-test-PROJ-18558.live-test {
	display: none;
}

table.schedule .subinfo {
	color: #888;
	padding-top: 5px;
	font-size: 12px;
}
table.schedule td.cost .subinfo {
	padding-top: 0;
}
table.schedule td.cost .per-week {
	font-size: smaller;
}
table.schedule .register > .cost {
	display: block;
	margin-bottom: 5px;
	line-height: 1.1em;
}

table.details {
	width: 100%;
}
table.details td.lesson {
	background-color: #1b365d;
	padding: 10px 14px;
	color: white;
	width: 100px;
}
table.details td.name {
	background-color: #f0f0f0;
	padding: 10px 5px;
	color: #444;
}
table.details tr:nth-child(even) td.name {
	background-color: #e5e5e5;
}

table.textbook {
	width: 100%;
}
table.textbook td {
	vertical-align: top;
}
table.textbook td.image {
	padding-right: 10px;
	display: none;
}
table.textbook .title {
	font-size: 18px;
}
table.textbook .author {
	margin-bottom: 10px;
}
table.textbook .description {
	margin-bottom: 10px;
}

.school .time {
	position: relative;
}

.school .time .timezones,
.school .date-time .timezones {
	display: none;
	position: absolute;
	width: 250px;
	height: 130px;
	top: 20px;
	left: 30px;
	background-color: white;
	border-radius: 5px;
	border: 2px solid black;
	padding: 10px;
	line-height: 1.2em;
	z-index: 100;
	box-shadow: 2px 2px 5px #888;
	opacity: 0.9;
}
.school .time:hover .timezones,
.school .time.clicked .timezones {
	display: block;
}

/* Flags like "starting soon" */

table.schedule .flag {
	text-transform: uppercase;
	line-height: 1;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	font-weight: 500;
	letter-spacing: 0.6px;
	padding-bottom: 5px;
	margin-left: -5px;
	-webkit-flex: 1 0 100%;
	        flex: 1 0 100%;
}

table.schedule tr:nth-child(even) .flag {
	background: #f0f0f0;
}

table.schedule .flag .flag-content {
	display: inline-block;
	margin: 0;
	padding: 4px 32px 4px 16px;
	border-radius: 0 16px 16px 0;
	background: #8ae7e4;
	color: #000;
}

@media (max-width: 480px) {
	table.schedule .register {
		min-width: 210px;
	}
}

@media (min-width: 640px) {
	table.textbook td.image {
		display: table-cell;
	}
}

@media (min-width: 931px) {
	table.schedule td {
		font-size: inherit;
	}
	table.schedule td.day,
	table.schedule th.day,
	table.schedule td.cost,
	table.schedule th.cost {
		display: table-cell;
	}
	table.schedule .register > .cost {
		display: none;
	}
	table.schedule tr th,
	table.schedule td {
		padding: 5px 10px;
	}
	table.schedule .register {
		padding-left: 50px;
	}
	table.schedule .flag {
		margin-left: -10px;
	}
}

@media (max-width: 420px) {
	table.schedule {
		table-layout: fixed;
	}

	table.schedule tr {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		        flex-wrap: wrap;
		height: auto !important;
		font-size: 0.9em;
	}

	table.schedule td {
		-webkit-flex-basis: auto;
		        flex-basis: auto;
		-webkit-flex-grow: 1;
		        flex-grow: 1;
		-webkit-flex-shrink: 0;
		        flex-shrink: 0;
		margin-top: 0;
	}

	table.schedule td.date {
		display: block;
		max-width: 100%;
		width: 50% !important;
	}

	table.schedule td.time {
		display: block;
		text-align: right;
		max-width: 100%;
		width: 50% !important;
	}

	table.schedule td.instructor-name {
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center;
		        align-items: center;
		max-width: 100%;
		min-width: 0;
		-webkit-flex-shrink: 1;
		        flex-shrink: 1;
		-webkit-flex-basis: auto;
		        flex-basis: auto;
		margin-right: 5px;
		margin-top: 0;
	}

	table.schedule td.instructor-name.optimizely-test-PROJ-18558.live-test {
		display: none;
	}

	table.schedule td.register {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: flex-end;
		        justify-content: flex-end;
		text-align: right;
		max-width: 100%;
		width: auto;
		-webkit-flex-grow: 0;
		        flex-grow: 0;
		margin-top: 0;
	}

	table.schedule td.register .cost {
		margin-right: 10px;
	}

	table.schedule td.register .btn {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: center;
		        justify-content: center;
		-webkit-align-items: center;
		        align-items: center;
		height: 34px;
	}

	table.schedule td.register .btn {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: center;
		        justify-content: center;
		-webkit-align-items: center;
		        align-items: center;
		height: 34px;
	}

	table.schedule td.register span.action {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: center;
		        justify-content: center;
		-webkit-align-items: center;
		        align-items: center;
		min-width: 75px;
		font-weight: bold;
	}
}

#main-column {
	min-height: 100vh;
}
