@font-face {
	font-family: "AoPS";
	src: url("https://artofproblemsolving.com/assets/fonts/aops/new_aops.eot");
	src: url("https://artofproblemsolving.com/assets/fonts/aops/new_aops.eot")
			format("embedded-opentype"),
		url("https://artofproblemsolving.com/assets/fonts/aops/new_aops.woff")
			format("woff"),
		url("https://artofproblemsolving.com/assets/fonts/aops/new_aops.ttf")
			format("truetype");
	font-weight: normal;
	font-style: normal;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.aops-font {
	font-style: normal;
	font-weight: normal;
	font-family: AoPS;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-Regular.ttf") format("truetype");
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-Italic.ttf") format("truetype");
	font-style: italic;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-Thin.ttf") format("truetype");
	font-weight: 200;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-ThinItalic.ttf") format("truetype");
	font-weight: 200;
	font-style: italic;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-Light.ttf") format("truetype");
	font-weight: 300;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-LightItalic.ttf") format("truetype");
	font-weight: 300;
	font-style: italic;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-Medium.ttf") format("truetype");
	font-weight: 500;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-MediumItalic.ttf") format("truetype");
	font-weight: 500;
	font-style: italic;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-Bold.ttf") format("truetype");
	font-weight: bold;
}
@font-face {
	font-family: "Roboto";
	src: url("/assets/fonts/roboto/Roboto-BoldItalic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}

#footer {
	background-color: #20458c;
	color: white;
	font-size: 12px;
	padding: 1px 5px;
}

/** We'll change development back to something very different after we've settled on front-page style **/
/** header **/
body.development #header .bluebar-wrapper,
#header .bluebar-wrapper {
	background-color: #006325;
}

body {
	background-image: url(/assets/images/top/pattern-academy-gray.png);
	background-repeat: repeat;
	background-size: 200px;
	background-color: #efefef;
}

#header .action-wrapper .myaops-menu .menu-item.indented {
	padding: 2px 10px;
}

.aops-font.pdf:after {
	content: "\f1c1";
}

.email {
	white-space: nowrap;
}

.email .to {
	white-space: normal;
}

.email .bcc {
	white-space: normal;
}

#header .item a.cart {
	color: #006325;
}
body.smaller-header #header .item a.cart {
	color: white;
}

#header .banner {
	left: 0;
	top: -15px;
	width: 378px;
	height: 92px;
	background-size: 378px 110px;
	background-position: 0 -9px;
}

#header-menu-items {
	position: absolute;
	width: 538px;
	top: 55px;
	left: 230px;
}

.bg-misc-staging {
	background-color: #90ee90 !important;
}

@media (min-width: 841px) {
	#header-menu-items {
		width: 570px;
	}
}

@media (min-width: 931px) {
	#header-menu-items {
		width: 660px;
	}
}

@media (min-width: 1021px) {
	#header-menu-items {
		width: 750px;
	}
}

@media (min-width: 1271px) {
	#header-menu-items {
		width: 1000px;
	}
}

/*
body.development #header .banner {
	background-image:none, url('/assets/images/MorrisvilleHeader2.svg');
}
*/

#header .action-wrapper .myaops-menu {
	right: 10px;
}

#header .menubar-wrapper {
	height: 66px;
}

.header-menu,
.header-menu > span {
}

.header-menu > span > a {
	margin-top: 24px;
	padding-top: 0;
}

.header-menu.school > span > a:after {
	content: "";
}

.header-menu.store > span > a:after {
	content: "";
}

.header-menu.community > span > a:after {
	content: "";
}

.header-menu.resources > span > a:after {
	content: "";
}

/**
 * Generic styles
 */
a {
	text-decoration: none;
}

b,
.bold {
	font-weight: bold;
}

em,
i,
.italic {
	font-style: italic;
}

.highlight {
	background-color: yellow;
	font-weight: bold;
}

.text-right {
	text-align: right;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.box {
	min-height: 1px;
	display: block;
}
.box:after {
	display: block;
	visibility: hidden;
	clear: both;
	line-height: 0;
	font-size: 0;
	content: ".";
}

/**
 * Form elements
 */
.form-row {
	padding: 8px 0;
}

.form-row .label {
	display: inline-block;
}

@media (min-width: 640px) {
	.form-row .label {
		width: 150px;
		padding-right: 10px;
		text-align: right;
	}
}

.aops-modal-body input[type="text"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="tel"],
textarea {
	/*
	RR removed : collides in many places with Community */
	padding: 5px 10px;
	border: solid 2px #e2e2e2;
	width: 100%;
}

.btn {
	height: 30px;
	line-height: 30px;
}

/* Focus border colors */
input:focus,
textarea:focus {
	outline: #96b8ef auto 5px;
	border-color: #96b8ef;
}
div.selector.focus {
	outline: #96b8ef auto 5px;
	border-color: #96b8ef;
}

@media (min-width: 640px) {
	input[type="text"],
	input[type="password"],
	input[type="number"],
	input[type="email"],
	input[type="date"],
	input[type="tel"],
	textarea {
		width: 300px;
	}
	input[type="text"].full,
	input[type="password"].full,
	input[type="number"].full,
	input[type="email"].full,
	input[type="date"].full,
	input[type="tel"].full,
	textarea.full {
		width: calc(100% - 250px);
	}
}

.aops-modal-body .form-row .label {
	width: 100px;
}
.aops-modal-body input[type="text"] {
	width: calc(100% - 120px);
}

input.form-control[type="text"],
input.form-control[type="password"],
input.form-control[type="number"],
textarea.form-control {
	width: 100%;
}

legend {
	margin-bottom: 0;
	font-size: 14px;
	width: auto;
	border-bottom: 0;
	padding-left: 5px;
	padding-right: 5px;
}

#side-column .menu h1 {
	padding: 4px 4px 4px 3px;
	cursor: auto;
}

/* There aren't any community sidebars on AoPS :) */
.community #side-column .menu.open > h1,
.community #side-column .menu.open > h1 a,
.community #side-column .menu.open > .main-option,
.community #side-column .menu.open > .main-option a {
	color: white;
	background-color: #61ad00;
}

#side-column .white-panel .btn {
	line-height: 18px;
}

#quote-box {
	width: 100%;
	text-align: center;
	background-color: #fff;
	padding: 30px 100px;
	color: #606060;
	font-size: 16px;
}

.quote-testimonial {
	font-style: italic;
}

@media (max-width: 800px) {
	#quote-box {
		font-size: 15px;
		padding: 20px 20px;
	}
}

#side-column .menu .submenu-wrapper a {
	padding-left: 10px;
	white-space: break-spaces;
}

#side-column .menu h1 a {
	padding-left: 5px;
}

/* National campuses CSS */

.campus-windows {
	position: relative;
	width: 100%;
	text-align: center;
	margin-top: 0px;
}

.campus-windows > div > a > img {
	width: 100%;
	/*	height : 200px;*/
}

.campus-windows > div {
	display: inline-block;
	width: 280px;
	background-color: white;
	margin: 20px 20px 0 20px;
}

#small-highlights.campus-boxes .accent-text,
.campus-windows .accent-text {
	height: 60px;
	text-align: left;
	padding: 10px;
}

.aops-panel .campus-windows .accent-text {
	background-color: #eee;
}

.campus-windows .cellwide-button {
	margin-bottom: 0;
}

.campus-windows .cellwide-button a {
	width: 100%;
}

.campus-windows .button {
	display: inline-block;
	line-height: 31px;
	color: white;
	white-space: nowrap;
}

@media (max-width: 1270px) {
	.campus-windows > div {
		width: 300px;
	}
}

@media (max-width: 1020px) {
	.campus-windows > div {
		width: 275px;
	}
}

@media (max-width: 930px) {
	.campus-windows > div {
		width: 300px;
	}
}

@media (max-width: 725px) {
	.campus-windows > div {
		width: 275px;
	}
}

@media (max-width: 650px) {
	.campus-windows > div {
		width: 325px;
	}
}

@media (max-width: 420px) {
	.campus-windows > div {
		width: 260px;
		/*	height : 200px;*/
	}
}
/* End National Campuses CSS */

.cellwide-button {
	margin: 5px auto 5px auto;
	position: relative;
	width: 100%;
	text-align: center;
}

.cellwide-button.campus-top {
	font-weight: bold;
	margin-top: 0;
}

.no-pointer .pointer {
	display: none !important;
}

table.grid,
table.grid td,
table.grid th {
	border: 1px solid #aaaaaa;
	empty-cells: show;
}

table.grid td,
table.grid th {
	padding: 3px 5px;
}

.action-link {
	font-size: 11px;
	background-color: #0085cc;
	padding: 2px 3px;
	color: white;
	cursor: pointer;
	top: -2px;
	position: relative;
}

.action-link.feedback-todo {
	background-color: #800;
	color: white;
}

.action-link:hover {
	box-shadow: 1px 1px 1px black;
}

.sidebar-pdf a:after {
	content: "\f1c1";
	margin-left: 5px;
	display: inline-block;
	font-family: AoPS;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	color: red;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	top: -1px;
}

#side-column .menu .submenu-wrapper a.nohover:hover,
a.nohover:hover {
	text-decoration: none;
	font-weight: normal;
}

.academy-login-buttons {
	display: -webkit-flex;
	display: flex;
	padding-right: 60px;
	justify-content: space-between;
}

.academy-login-message {
	line-height: 1.2;
}

.from-email-reminder {
	font-weight: bold;
	color: #006325;
}

.infobar p {
	margin: 0;
}

.infobar-portal-warning {
	background-color: #f97306;
}

.dropdown-content .virtual-campus-link {
	border-bottom: 1px solid #fff;
}

.campus-windows .accent-text a,
.campus-windows .accent-text a:visited {
	color: #333;
}

.switch {
	margin-left: 30px;
	position: relative;
	display: inline-block;
	width: 41px;
	height: 21px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 19px;
	width: 19px;
	left: 1px;
	bottom: 1px;
	background-color: white;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

input:checked + .toggle-slider {
	background-color: #1b365d;
}

input:focus + .toggle-slider {
	box-shadow: 0 0 1px #1b365d;
}

input:checked + .toggle-slider:before {
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
}

.toggle-slider.round {
	border-radius: 20px;
}

.toggle-slider.round:before {
	border-radius: 50%;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}
@media (min-width: 701px) {
	.flex.col--2 > * {
		width: 50%;
	}
}

.d-flex {
	display: flex !important;
}

.d-grid {
	display: grid !important;
}

.d-inline-flex {
	display: inline-flex !important;
}

.d-block {
	display: block !important;
}

.flex-col,
.flex-column {
	flex-direction: column;
}

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

.justify-content-start {
	justify-content: flex-start !important;
}

.justify-content-end {
	justify-content: flex-end !important;
}

.justify-content-center {
	justify-content: center !important;
}

.justify-content-between {
	justify-content: space-between !important;
}

.justify-content-around {
	justify-content: space-around !important;
}

.align-items-start {
	align-items: flex-start !important;
}

.align-items-end {
	align-items: flex-end !important;
}

.align-items-center {
	align-items: center !important;
}

.align-items-baseline {
	align-items: baseline !important;
}

.align-items-stretch {
	align-items: stretch !important;
}

.m-1 {
	margin: 4px !important;
}

.mx-1 {
	margin-left: 4px !important;
	margin-right: 4px !important;
}

.my-1 {
	margin-top: 4px !important;
	margin-bottom: 4px !important;
}

.m-2 {
	margin: 8px !important;
}

.mx-2 {
	margin-left: 8px !important;
	margin-right: 8px !important;
}

.my-2 {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.p-1 {
	padding: 4px !important;
}

.px-1 {
	padding-left: 4px !important;
	padding-right: 4px !important;
}

.py-1 {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
}

.p-2 {
	padding: 8px !important;
}

.px-2 {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

.py-2 {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.w-100 {
	width: 100%;
}

.h-100 {
	height: 100%;
}

.d-flex {
	display: flex !important;
}

.d-inline-flex {
	display: inline-flex !important;
}

.d-block {
	display: block !important;
}

.d-none {
	display: none !important;
}

@media (min-width: 992px) {
	.d-lg-flex {
		display: flex !important;
	}

	.d-lg-inline-flex {
		display: inline-flex !important;
	}

	.d-lg-block {
		display: block !important;
	}

	.d-lg-none {
		display: none !important;
	}
}

.flex-col,
.flex-column {
	flex-direction: column;
}

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

.justify-content-start {
	justify-content: flex-start !important;
}

.justify-content-end {
	justify-content: flex-end !important;
}

.justify-content-center {
	justify-content: center !important;
}

.justify-content-between {
	justify-content: space-between !important;
}

.justify-content-around {
	justify-content: space-around !important;
}

.align-items-start {
	align-items: flex-start !important;
}

.align-items-end {
	align-items: flex-end !important;
}

.align-items-center {
	align-items: center !important;
}

.align-items-baseline {
	align-items: baseline !important;
}

.align-items-stretch {
	align-items: stretch !important;
}

.p-1 {
	padding: 4px !important;
}

.p-2 {
	padding: 8px !important;
}

.p-3 {
	padding: 16px !important;
}

.p-4 {
	padding: 24px !important;
}

.p-5 {
	padding: 32px !important;
}

.pl-1 {
	padding-left: 4px !important;
}

.pl-2 {
	padding-left: 8px !important;
}

.pl-3 {
	padding-left: 16px !important;
}

.pl-4 {
	padding-left: 24px !important;
}

.pl-5 {
	padding-left: 32px !important;
}

.pr-1 {
	padding-right: 4px !important;
}

.pr-2 {
	padding-right: 8px !important;
}

.pr-3 {
	padding-right: 16px !important;
}

.pr-4 {
	padding-right: 24px !important;
}

.pr-5 {
	padding-right: 32px !important;
}

.pt-1 {
	padding-top: 4px !important;
}

.pt-2 {
	padding-top: 8px !important;
}

.pt-3 {
	padding-top: 16px !important;
}

.pt-4 {
	padding-top: 24px !important;
}

.pt-5 {
	padding-top: 32px !important;
}

.pb-1 {
	padding-bottom: 4px !important;
}

.pb-2 {
	padding-bottom: 8px !important;
}

.pb-3 {
	padding-bottom: 16px !important;
}

.pb-4 {
	padding-bottom: 24px !important;
}

.pb-5 {
	padding-bottom: 32px !important;
}

.px-1 {
	padding-left: 4px !important;
	padding-right: 4px !important;
}

.px-2 {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

.px-3 {
	padding-left: 16px !important;
	padding-right: 16px !important;
}

.px-4 {
	padding-left: 24px !important;
	padding-right: 24px !important;
}

.px-5 {
	padding-left: 32px !important;
	padding-right: 32px !important;
}

.py-1 {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
}

.py-2 {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.py-3 {
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}

.py-4 {
	padding-top: 24px !important;
	padding-bottom: 24px !important;
}

.py-5 {
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}

.m-1 {
	margin: 4px !important;
}

.m-2 {
	margin: 8px !important;
}

.m-3 {
	margin: 16px !important;
}

.m-4 {
	margin: 24px !important;
}

.m-5 {
	margin: 32px !important;
}

.ml-1 {
	margin-left: 4px !important;
}

.ml-2 {
	margin-left: 8px !important;
}

.ml-3 {
	margin-left: 16px !important;
}

.ml-4 {
	margin-left: 24px !important;
}

.ml-5 {
	margin-left: 32px !important;
}

.mr-1 {
	margin-right: 4px !important;
}

.mr-2 {
	margin-right: 8px !important;
}

.mr-3 {
	margin-right: 16px !important;
}

.mr-4 {
	margin-right: 24px !important;
}

.mr-5 {
	margin-right: 32px !important;
}

.mt-1 {
	margin-top: 4px !important;
}

.mt-2 {
	margin-top: 8px !important;
}

.mt-3 {
	margin-top: 16px !important;
}

.mt-4 {
	margin-top: 24px !important;
}

.mt-5 {
	margin-top: 32px !important;
}

.mb-1 {
	margin-bottom: 4px !important;
}

.mb-2 {
	margin-bottom: 8px !important;
}

.mb-3 {
	margin-bottom: 16px !important;
}

.mb-4 {
	margin-bottom: 24px !important;
}

.mb-5 {
	margin-bottom: 32px !important;
}

.mx-1 {
	margin-left: 4px !important;
	margin-right: 4px !important;
}

.mx-2 {
	margin-left: 8px !important;
	margin-right: 8px !important;
}

.mx-3 {
	margin-left: 16px !important;
	margin-right: 16px !important;
}

.mx-4 {
	margin-left: 24px !important;
	margin-right: 24px !important;
}

.mx-5 {
	margin-left: 32px !important;
	margin-right: 32px !important;
}

.my-1 {
	margin-top: 4px !important;
	margin-bottom: 4px !important;
}

.my-2 {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.my-3 {
	margin-top: 16px !important;
	margin-bottom: 16px !important;
}

.my-4 {
	margin-top: 24px !important;
	margin-bottom: 24px !important;
}

.my-5 {
	margin-top: 32px !important;
	margin-bottom: 32px !important;
}

.text-decoration-none,
.text-decoration-none:hover {
	text-decoration: none;
}

#imitator-indicator {
	position: fixed;
	bottom: 8px;
	left: 8px;
	background-color: rgb(119, 16, 22);
	color: white;
	padding: 8px;
	z-index: 999999999;
}

/* required to enable the FIND A CAMPUS link without changing menubar-label-link css or creating multiple properties for text colors */
a.enable-pointer-events {
	pointer-events: auto;
}
