a {
	color: #189fad;
}

/*** HEADING ***/
.contest-heading {
	width: 100%;
	background-color: transparent;
}

.contest-heading .contest-heading-inner-wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.contest-heading .contest-heading-background-left,
.contest-heading .contest-heading-background-right {
	position: absolute;
	width: 24%;
	max-width: 325px;
	height: 100%;
	z-index: 0;
}

.contest-heading .contest-heading-background-left {
	background-position: top right;
	left: 0;
}

.contest-heading .contest-heading-background-right {
	right: 0;
}

.contest-heading.practice-contest {
	margin: 0;
}

.contest-landing-header-container.practice-contest {
	background: white;
	margin: 0;
}

.contest-heading .breadcrumbs,
.contest-practice-registration-form .breadcrumbs {
	text-align: left;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	        align-items: center;
	cursor: default;
}

.contest-heading .breadcrumbs {
	color: white;
	width: 80%;
	margin: 0 auto;
	padding: 20px 0;
}

.contest-practice-registration-form .breadcrumbs {
	color: #189fad;
	margin-bottom: 25px;
}

.contest-heading .breadcrumbs .aops-font,
.contest-practice-registration-form .breadcrumbs .aops-font {
	font-size: 1.2em;
}

.contest-practice-registration-form .breadcrumbs .aops-font {
	color: #999;
}

.contest-heading .breadcrumbs .item,
.contest-practice-registration-form .breadcrumbs .item {
	font-size: 1.1em;
	padding: 0 5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	min-width: 2em;
}

.contest-heading .breadcrumbs .item a {
	color: white;
}

.contest-practice-registration-form .breadcrumbs .item a {
	color: #999;
}

.contest-heading .breadcrumbs .item a,
.contest-practice-registration-form .breadcrumbs .item a {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
}

.contest-heading .breadcrumbs .item .aops-font,
.contest-practice-registration-form .breadcrumbs .item .aops-font {
	font-size: 1.4em;
}

.contest-practice-registration-form .breadcrumbs .item .aops-font {
	color: #189fad;
}

.contest-heading .contest-logo-container {
	margin-top: 85px;
}

.contest-heading .contest-logo-container img {
	height: 85px;
}

.contest-heading-text.sub-logo {
	top: inherit;
}

#contest-heading-title {
	text-shadow: 0px 3px 12px #00000076;
	font-size: 4.25em;
	width: 95%;
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}

.contest-heading.practice-contest #contest-heading-title {
	font-size: 3.75em;
	max-width: 800px;
}
.contest-heading.practice-contest
	#contest-heading-title.practice-contest-heading-text {
	font-size: 3.25em;
}

#contest-heading-subtitle {
	text-shadow: 0px 3px 6px #0000007e;
	width: 95%;
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}

/*** HERO CAPTION ***/
.contest-landing-hero-caption {
	background-color: #189fad;
	color: white;
	box-shadow: 0px -2px 30px #00000026;
	width: 60%;
	max-width: 960px;
	top: 93%;
}

.contest-landing-hero-caption .btn {
	text-transform: uppercase !important;
	min-width: 100px !important;
	text-align: center !important;
	font-weight: normal;
	font-size: 16px;
	height: -webkit-fit-content;
	height: fit-content;
	height: -moz-fit-content;
	padding: 10px 25px;
	border-radius: 10px;
	margin: 10px 0 0;
}

/*** CONTEST CALLOUT SECTION ***/
.callouts-row {
	width: 100%;
	display: -webkit-flex;
	display: flex;
}

.contest-practice-registration-form {
	background: #f4f4f4;
	padding: 25px 50px 40px;
}

.contest-practice-registration-form.registered {
	text-align: center;
}

.contest-practice-registration-form .team-inner {
	text-align: left;
}

.contest-callout {
	margin: 0;
	max-width: none;
	color: #1b365d;
	background-color: inherit;
	box-shadow: inherit;
	text-align: inherit;
	-webkit-flex: 7;
	        flex: 7;
	padding: inherit;
	position: inherit;
	border-collapse: inherit;
}

.contest-callout-image {
	max-width: 480px;
	padding-left: 25px;
	-webkit-flex: 5;
	        flex: 5;
}

.contest-callout-image img {
	max-width: 100%;
	height: auto;
}

.contest-practice-registration-form .contest-callout {
	color: #333;
}

.contest-practice-registration-form label {
	display: block;
}

.contest-practice-registration-form label:not(.checkbox-label) {
	font-size: 18px;
	text-transform: uppercase !important;
	color: #189fad;
}

.contest-practice-registration-form input[type="text"] {
	display: block;
	border: 1px solid #189fad;
	width: 90%;
	max-width: 600px;
	padding: 10px;
	font-size: 24px;
	margin-bottom: 20px;
}

.contest-practice-registration-form select {
	border: 1px solid #189fad;
	padding: 10px;
	font-size: 24px;
	margin-bottom: 20px;
}

.contest-practice-registration-form input[type="text"]:focus {
	border-color: #1b365d;
}

.contest-practice-registration-form label:last-child {
	font-size: 17px;
}

.contest-practice-registration-form input[type="checkbox"] {
	border-color: #189fad;
	margin: 4px;
	/* Bigger Checkboxes */ /* IE */ /* FF */
	-webkit-transform: scale(1.6); /* Safari and Chrome */ /* Opera */
	transform: scale(1.6);
}

.contest-callouts-title {
	font-size: 1.8em;
	margin-bottom: 0.75em;
	padding: 0 10px;
}

.contest-callout-description {
	font-size: 1.4em;
	margin: 0 0 18px;
	font-weight: normal;
}

.contest-callout .contest-callout-description:last-child {
	margin-bottom: 0;
}

.contest-callout-description .btn {
	text-transform: uppercase !important;
	min-width: 100px !important;
	text-align: center !important;
	font-weight: normal;
	font-size: 15px;
	height: -webkit-fit-content;
	height: fit-content;
	height: -moz-fit-content;
	padding: 8px 40px;
	border-radius: 10px;
	margin: 10px 0 0;
	background-color: #189fad;
	color: white;
}

.contest-callout-description .btn:hover {
	opacity: 0.8;
}

.contest-callout-description-lower-spaced {
	padding-top: 20px;
}

.callouts-vertically-centered {
	-webkit-align-items: center;
	        align-items: center;
}

.callouts-quote {
	margin-top: 40px;
	-webkit-align-items: center;
	        align-items: center;
}

.callouts-quote .contest-callout-image {
	padding: 0 0 0 100px;
	max-width: 45%;
}

.callouts-quote .contest-callout-description {
	padding-left: 15%;
	padding-right: 25%;
}

.callouts-quote .contest-callout-description.by-line {
	padding-left: 20%;
	font-size: 1.2em;
}

.contest-callouts-courses-title {
	text-align: center;
	font-size: 24px;
	margin: 10px;
}

.contests-callout-course-holder {
	max-width: 1500px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: center;
	        justify-content: center;
	margin: 0 auto;
	padding: 0 15px;
}

.contests-callout-course-link {
	color: inherit;
}

.contests-view-all-courses-link {
	padding: 20px;
	vertical-align: middle;
	display: block;
	text-align: center;
	color: #189fad;
	font-weight: bold;
}

.contests-view-all-courses-link img {
	margin: -3px 0 0 5px;
}

.contests-callout-course-link:hover,
.contests-view-all-courses-link:hover {
	opacity: 0.7;
	text-decoration: none;
}

.contests-callout-course-container,
.contests-callout-filler-container {
	width: 375px;
}
.contests-callout-course-container {
	margin: 15px;
	padding: 166px 32px 15px;
	border-radius: 15px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: 100% auto;
	box-shadow: 0px -2px 15px #00000035;
	position: relative;
}
.contests-callout-filler-container {
	margin: 0 15px;
}

.contests-callout-course-container .contests-callout-course-logo {
	position: absolute;
	left: 32px;
	top: 68px;
	height: 88px;
	background: white;
	padding: 20px 8px;
	border: 1px solid #999;
}

.contests-callout-course-container .contests-callout-course-logo img {
	height: 100%;
}

.contests-callout-course-container .contests-callout-course-title {
	font-size: 21px;
	line-height: 22px;
	min-height: 44px;
	margin-bottom: 6px;
}

.contests-callout-course-container .contests-callout-course-description {
	font-size: 15px;
	min-height: 70px;
	margin-bottom: 12px;
}

.contests-callout-course-container .contests-callout-course-footer {
	color: #777;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 0;
}

.contest-landing-body a {
	color: #189fad;
	text-decoration: underline;
}

.contest-callouts-information {
	width: 72.5%;
	max-width: 600px;
	margin: 0 auto 65px;
	font-size: 1.15em;
	color: #1b365d;
	text-align: center;
}

.events h2 {
	font-size: 2em;
}

.events h3 {
	font-size: 1.8em;
}

.upcoming-events {
	background: #f4f4f4;
}

.practice-event {
	background-color: white;
	border-top: 1px solid #aaaaaa;
	border-bottom: 1px solid #aaaaaa;
	margin-bottom: 25px;
	display: grid;
	grid-template-rows: minmax(80px, -webkit-max-content);
	grid-template-rows: minmax(80px, max-content);
	grid-template-columns: 4% 96%;

	/* IE stuff */
	display: -ms-grid;
	-ms-grid-rows: minmax(80px, max-content);
	-ms-grid-columns: 4% 96%;
}

.practice-event > * {
	height: 100%;
	position: relative;
}

.practice-event-metadata {
	display: grid;
	grid-template-rows: minmax(80px, -webkit-max-content);
	grid-template-rows: minmax(80px, max-content);

	/* IE stuff */
	display: -ms-grid;
	-ms-grid-rows: minmax(80px, max-content);
}

.practice-event-clickable:hover {
	text-decoration: none;
}

.practice-event-clickable:hover h6 {
	text-decoration: underline;
}

.practice-event-metadata {
	grid-template-columns: 1fr 64px;

	/* ie stuff */
	-ms-grid-columns: 1fr 64px;
}

.practice-event-tab div {
	border: 5px solid #189fad;
	width: 0;
	position: relative;
	height: 100%;
	top: 0%;
}

.practice-event-details {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	        align-items: center;
}
.practice-event-details * {
	margin: 0;
}
.practice-event-details h6 {
	font-size: 1.25em;
	color: #189fad;
	/* line up with icon below */
	padding-left: 3px;
}
.practice-event-details p {
	font-size: 0.9em;
	color: #848484;
}
.practice-event-details img {
	/* line up icons with text */
	margin-bottom: 1%;
}

.practice-event-arrow {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	        align-items: center;
}
.practice-event-arrow div {
	overflow: hidden;
}
.practice-event-arrow svg {
	width: 64px;
	height: 64px;
	fill: #189fad;
	position: relative;
}
.highlight .practice-event-arrow svg {
	fill: #e00079;
}

.practice-event-clickable:hover .practice-event-arrow svg {
	fill: #1b365d;
}

.practice-event-clickable:hover .highlight .practice-event-arrow svg {
	fill: #ff7a0c;
}

/*** SMALLER WIDTH STYLES ***/
@media (max-width: 1750px) {
	.contest-callout-description {
		font-size: 1.3em;
	}
}
@media (max-width: 1500px) {
	#contest-heading-title {
		font-size: 3.5em;
	}
	.contest-heading.practice-contest #contest-heading-title {
		font-size: 3.25em;
	}
}
@media (max-width: 1300px) {
	.contest-callout-description {
		font-size: 1.2em;
	}
	.contest-heading .contest-logo-container {
		margin-top: 60px;
	}
	.contests-callout-course-container,
	.contests-callout-filler-container {
		width: 350px;
	}
	.contests-callout-course-container {
		padding-top: 160px;
	}
	.contests-callout-course-container .contests-callout-course-logo {
		top: 62px;
	}
}
@media (max-width: 1100px) {
	#contest-heading-title {
		font-size: 3em;
	}
	.contest-callout-description {
		font-size: 1.1em;
	}
	.contest-heading.practice-contest #contest-heading-title {
		font-size: 2.75em;
	}
	.contest-heading.practice-contest
		#contest-heading-title.practice-contest-heading-text {
		font-size: 2.5em;
	}
	.contest-heading {
		margin-bottom: 150px;
	}
	/*** CALLOUTS ***/
	.contest-callouts-title {
		font-size: 1.8em;
	}
	.contests-callout-course-container,
	.contests-callout-filler-container {
		width: 325px;
	}
	.contests-callout-course-container {
		padding-top: 148px;
	}
	.contests-callout-course-container .contests-callout-course-logo {
		top: 56px;
		height: 82px;
	}

	.contests-callout-course-container .contests-callout-course-title {
		font-size: 20px;
		line-height: 21px;
		min-height: 42px;
	}

	.contests-callout-course-container .contests-callout-course-description {
		font-size: 14px;
		min-height: 66px;
	}

	.contests-callout-course-container .contests-callout-course-footer {
		font-size: 12px;
	}
}
@media (max-width: 900px) {
	#contest-heading-title {
		font-size: 3.5em;
	}
	.contest-heading.practice-contest #contest-heading-title {
		font-size: 3.25em;
	}
	.contest-heading.practice-contest
		#contest-heading-title.practice-contest-heading-text {
		font-size: 2.75em;
	}
	.contest-heading .contest-logo-container {
		margin-top: 45px;
	}
}
@media (max-width: 850px) {
	/*** CALLOUTS ***/
	.contest-callouts-title {
		font-size: 1.6em;
	}
	.contests-callout-course-container,
	.contests-callout-filler-container {
		width: 375px;
	}
	.contests-callout-course-container {
		padding-top: 166px;
	}
	.contests-callout-course-container .contests-callout-course-logo {
		top: 68px;
		height: 88px;
	}
	.contests-callout-course-container .contests-callout-course-title {
		font-size: 21px;
		line-height: 22px;
		min-height: 44px;
	}
	.contests-callout-course-container .contests-callout-course-description {
		font-size: 15px;
		min-height: 70px;
	}
	.contests-callout-course-container .contests-callout-course-footer {
		font-size: 13px;
	}
}
/* callouts switch to mobile layout */
@media (max-width: 750px) {
	#contest-heading-title {
		font-size: 2.5em;
	}
	.contest-callout-description {
		font-size: 1em;
	}
	.contest-heading.practice-contest #contest-heading-title {
		font-size: 2.25em;
	}

	.contest-heading.practice-contest
		#contest-heading-title.practice-contest-heading-text {
		font-size: 1.75em;
	}

	.contest-heading {
		height: 350px;
	}

	.contest-heading .breadcrumbs {
		width: 100%;
		padding: 5px 10px;
		font-size: 12px;
		cursor: default;
	}

	.contest-heading .contest-logo-container {
		margin-top: 25px;
	}

	.contest-heading .contest-logo-container img {
		height: 70px;
	}

	.contest-practice-registration-form {
		padding: 20px 25px;
	}

	/*** CALLOUTS ***/
	/* switch to mobile (shorter) text */
	.contest-callouts-title span:first-child {
		display: none;
	}
	.contest-callouts-title span:nth-child(2) {
		display: inline;
	}
	.callouts-row.decay-to-block {
		display: block;
	}
	.contest-callout {
		margin: 15px auto;
	}
	.contest-callout-image {
		margin: 40px auto;
		max-width: 600px;
		padding: 0 12.5%;
	}
	.callouts-quote .contest-callout-image {
		display: none;
	}
	.contest-callout-description {
		font-size: 1.2em;
	}
	.callouts-quote .contest-callout {
		background: #189fad;
		border-radius: 50%;
		height: 360px;
		width: 360px;
		padding: 65px;
		color: #fff;
	}
	.callouts-quote .contest-callout-description {
		padding: 0;
	}

	#amc-logo {
		/* the AMC logo is a bit thicc so restrict to smaller width */
		width: 55%;
	}
}
/* contest caption switches to mobile layout */
/* events switch to mobile layout */
@media (max-width: 700px) {
	/*** CONTEST CAPTION ***/
	.contest-callouts-title {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
}
@media (max-width: 650px) {
	.contest-landing-hero-caption {
		width: 90%;
	}
	/*** EVENTS ***/
	.practice-event-arrow svg {
		width: 52px;
		height: 52px;
		right: 7%;
	}
}
@media (max-width: 550px) {
	.contest-callout-image {
		margin: 40px auto;
		max-width: 600px;
		padding: 0 7.5%;
	}
	.contest-landing-hero-caption {
		padding: 20px;
	}
}
@media (max-width: 450px) {
	.contest-landing-hero-caption {
		padding: 15px;
		font-size: 1em;
	}
	/*** CALLOUTS ***/
	.contest-callouts-title {
		font-size: 1.6em;
	}
	.contest-heading .contest-logo-container img {
		height: 65px;
	}
	#amc-logo {
		/* the AMC logo is a bit thicc so restrict to smaller width */
		width: 65%;
	}
	.callouts-quote .contest-callout {
		height: 300px;
		width: 300px;
		padding: 55px;
		color: #fff;
	}
	.callouts-quote .contest-callout-description {
		font-size: 1.1em;
	}
	.callouts-quote .contest-callout-description.by-line {
		font-size: 1em;
	}
	/*** EVENTS ***/
	.practice-event-metadata {
		grid-template-columns: 1fr 36px;

		/* ie stuff */
		-ms-grid-columns: 1fr 36px;
	}
	.practice-event-arrow svg {
		width: 36px;
		height: 36px;
		right: 0;
	}
}
@media (max-width: 380px) {
	.contests-callout-course-container,
	.contests-callout-filler-container {
		width: 325px;
	}
	.contests-callout-course-container {
		padding-top: 148px;
	}
	.contests-callout-course-container .contests-callout-course-logo {
		top: 56px;
		height: 82px;
	}
}
@media (max-width: 350px) {
	.contests-callout-course-container,
	.contests-callout-filler-container {
		width: 300px;
	}
	.contests-callout-course-container {
		padding-top: 144px;
	}
	.contests-callout-course-container .contests-callout-course-logo {
		top: 52px;
		height: 80px;
	}
}
