html {
	overflow-y: scroll;
	overflow-x: hidden;
}

#topPanel {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: auto;
	z-index: 4;
	border-bottom: 1px solid #333;
	background: url('/assets/img/teach/section-background-1.svg') #ffffff;
	background-size: cover;
	padding-top: calc(100px + 5vh);
	padding-bottom: 7vh;
	font-size: 1.3em;
}

#content h1, #content h2 {
	font-family: 'Playfair Display',
	serif;
	/* font-family: 'Merriweather',
	serif; */
	/* font-family: 'Libre Baskerville',
	serif; */
	/* letter-spacing: -0.03em; */
	/* font-family: 'Spectral',
	serif; */
	letter-spacing: -0.03em;
}
.hideUntilLoaded {
	/* fixing a safari problem with testimonials */
	opacity: 1 !important;
}
#topPanel .slash {
	background: url('/assets/img/collection/slash@2x.png') center center no-repeat;
	background-size: 30px 48px;
	height: 50px;
	margin-top: 10px;
}

#topPanel .description {
	font-size: 24px;
	font-weight: 300;
	margin: 20px 0px;
}

#topPanel a.btn {
	min-width: auto;
	margin-right: 15px;
	margin-bottom: 10px;
}
.btn.btn-white {
	/* border: 2px solid #f5f5f5; */
	border-radius: 0;
	text-transform: uppercase;
	/* color: #f5f5f5; */
	padding: 15px;
	font-weight: 600;
}
#topPanel a.btn:last-of-type {
	margin-right: 0;
}
#moreCreative .OPradio {
	transform-origin: left top;
	transform: scale(0.9);
}
#moreCreative .row.section {
	padding-top: 50px;
}
#classIllustration {
	position: absolute;
	right: 0;
	bottom: 0;
	transform: translate(10%, 30%);
	z-index: -1;
	width: 100%;
}

#schools {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 100px;
	opacity: 0.4;
	padding-top: 50px;
}

#schools img {
	order: 1;
	height: 60px;
	margin-right: 30px;
}

#schools img:last-of-type {
	margin-right: 0;
}

hr {
	margin: 11px 0;
}

#content ul.highlights {
	/* margin-bottom: 100px; */
}

.topPromo {
	background: #EDEA47;
	padding: 30px;
}
#content .section {
	padding-bottom: 160px;
	padding-top: 160px;
}

.screenshotContainer {
	clear: none;
	/* margin-top: -160px; */
	width: 70vw;
	margin-right: -100vw;
	max-width: 1340px;
}

#moreCreative {
	background: url('/assets/img/teach/section-background-2.svg') top -150px center no-repeat;
	background-size: cover;
	overflow-y: visible;
}
#classScreenshot {
	width: 100%;
	padding: 4% 13%;
	position: absolute;
	top: 0;
}

#deviceContainer {
	margin-top: -160px;
	padding: 0 0 0 3px;
	position: relative;
	z-index: 4;
	/* transform: scale(1.16) translate(0%,0%); */
	/* transform-origin: top left; */
}

.device {
	background: url('/assets/img/teach/example_class.png') no-repeat top -11% center;
	background-size: 75%;
	transition: background-position-y 200ms linear;
	will-change: background-position-y;
}

#laptopTop {
	width: 100%;
}
#laptopBottom {
	width: 100%;
	margin-bottom: 70px;
	/* transform: scale(1.16) translate(0%,0%); */
}

#tablet {
	width: 75%;
	margin-bottom: 60px;
	margin-left: 3.3vw;
	background-size: 86%;
	padding: 0;
	max-width: 900px;
	display: none;
}

#editor {
	background: #EDEA47;
	overflow: hidden;
}
#codeEditorVideo{
	width: 50.5vw;
	transform: translateX(4%);
	transform-origin: left top;
	box-shadow: 0 0 15px #aaa;
	margin-top: 100px;
	max-width: 1040px;
	/* margin-right: -60vw; */
}
#tagline {
	margin-top: 100px;
}
#topPanel h1 {
	font-size: 60px;
	/* margin: 0; */
}

#content h2 {
	margin-bottom: 20px;
	font-size: 40px;
}

u {
	 text-decoration: none;
	 position: relative;
	 z-index: 1;
}
u::before {
	position: absolute;
	height: 0.2em;
	margin: 0 auto;
	content: '';
	left: 0;
	right: 0;
	width: 100%;
	color: #000;
	background-color:#EDEA47;
	left: 0;
	bottom: 10%;
	z-index: -1;
}
#editor u::before{
	background-color:#f5f5f5;
}

#testimonials {
	background: #333;
	color: #f5f5f5;
	padding-bottom: 130px;
}
.testimonial {
	margin-bottom: 60px;
	display: flex;
	align-items: center;
}

.testimonial .hideUntilLoaded {
	/* safari bug */
	opacity: 1;
}

.testimonial .quote {
	font-size: 20px;
	padding-bottom: 5px;
}

.plan {
	margin-bottom: 45px;
	/* margin-top: 50px; */
	/* min-width: 470px; */
}

.plan h3 {
	font-size: 20px;
	margin-bottom: 20px;
}

.planContainer {
	background: #FFFFFF;
	box-shadow: 0 0 9px 0 rgba(208, 208, 208, 0.50);
	padding: 60px 60px 40px 60px;
	position: relative;
	height: auto;
	text-align: center;
	margin-bottom: 20px;
}

#institutionPlusPlan .planContainer {
	background: transparent;
	box-shadow: none;
	border-top: 1px solid #999;
	padding-left: 0;
	padding-right: 0;
}

#institutionPlusPlan .btn {
	width: auto;
}

.section ul.highlights {
	padding: 0px 0px 10px 20%;
}

.section ul.highlights li {
	margin: 50px 0px 50px 0px;
	position: relative;
}
#deviceSelector {
	text-align: center;
	width: 100%;
	margin-bottom: 20px;
}
#deviceSelector > li {
	display: inline-block;
	cursor: pointer;
	margin: 0 20px;
	padding: 5px;
	border-radius: 5px;
}
#deviceSelector > li.selected {
	background: #EDEA47;
}
.highlight::before {
	content: '';
	position: absolute;
	width: 44px;
	min-height: 47px;
	background: url('/assets/img/teach/icon-1.svg') no-repeat top center;
	background-size: 44px;
	left: -21%;
	height: 100%;
}
#highlight1::before {
	background-image: url('/assets/img/teach/icon-1.svg');
}
#highlight2::before {
	background-image: url('/assets/img/teach/icon-2.svg');
}
#highlight3::before {
	background-image: url('/assets/img/teach/icon-3.svg');
}
#highlight4::before {
	background-image: url('/assets/img/teach/icon-4.svg');
}
#highlight5::before {
	background-image: url('/assets/img/teach/icon-5.svg');
}
#highlight6::before {
	background-image: url('/assets/img/teach/icon-6.svg');
}
#highlight7::before {
	background-image: url('/assets/img/teach/icon-7.svg');
	background-size: 37px;
}
#highlight8::before {
	background-image: url('/assets/img/teach/icon-8.svg');
}
#highlight9::before {
	background-image: url('/assets/img/teach/icon-tutorial.svg');
}
#highlightTour::before {
	background-image: url('/assets/img/teach/icon-tour.svg');
}
#highlightReview::before {
	background-image: url('/assets/img/teach/icon-review.svg');
}
#highlightCollaborate::before {
	background-image: url('/assets/img/teach/icon-collaborate.svg');
}
#highlightAI::before {
	background-image: url('/assets/img/teach/icon-robot.svg');
}

#pricing{
	background: url('/assets/img/teach/section-background-4.svg') no-repeat;
	background-size: cover;
}
#moreCreative formitem {
	margin-top: 15px;
	display: block;
}
#moreCreative .btn-group {
	min-width:300px;
	padding-left: 0;
}
.plan h2 {
	padding-bottom: 10px;
}

#professorPlusPlan ul {
	padding: 0px 0px 10px 28px;
	list-style: none;
	/* Remove list bullets */
}

#professorPlusPlan li {
	margin-bottom: 5px;
	position: relative;
}

#professorPlusPlan li:before {
	content: "";
	left: -27px;
	width: 16px;
	height: 16px;
	background: url(/assets/img/icons/checkmark_circle_small@2x.png) no-repeat;
	position: absolute;
	top: 2px;
	display: block;
	background-size: contain;
}

.plan .stripe,
.plan .intercom {
	/* margin-bottom: 10px; */
	border-radius: 0;
	width: auto;
	padding: 15px 30px;
	/* border-radius: 5px; */
	margin-bottom: 10px;
	text-transform: uppercase;
	font-weight: 600;
	margin-top: 10px;
}
.plan #price {
	font-size: 3.3em;
}

.plan #price::after {
	content: '/month';
	font-size: 0.5em;
}

#fineprint {
	/* min-height: 150px; */
	background: url('/assets/img/patterns/bg_pattern_zigzag.png') #ECE84C;
	background-size: 18px;
	padding: 20px 0;
}
h2#price {
	margin-bottom: 30px;
}

.OPradio {
	float: none;
	display: inline-block;
	margin-bottom: 15px;
}

.OPSlider {
	margin-bottom: 17px;
	margin-top: 30px;
	max-width: 400px;
	display: inline-block;
	width: 100%;
}

.OPSliderTicks {
	width: 100%;
}

.OPSliderTicks {
	display: flex;
	justify-content: space-between;
}

.OPSlider input[type="radio"] {
	display: none;
}

.OPSlider label {
	font-size: 16px;
	font-weight: 400;
	color: #E14747;
	width: 10%;
	text-align: center;
	height: 20px;
	margin-bottom: 0;
	position: relative;
	word-break: normal;
	cursor: pointer;
}

.OPSlider label.active {
	font-size: 26px;
	font-weight: 600;
	/* color: #333; */
	/* margin-top: -8px; */
	line-height: 0.7;
}

.OPSlider label::after {
	content: '';
	display: block;
	position: absolute;
	background: #ccc;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	left: 50%;
	top: 31px;
	transform: translate(-50%);
}


.OPSlider input[type="range"] {
	-webkit-appearance: none;
	width: 100%;
	/* background: #fff; */
	outline: unset;
	opacity: 1;
	-webkit-transition: .2s;
	transition: opacity .2s;
	border: none;
	border-radius: 0px !important;
	height: 25px;
	overflow: hidden;
	border-color: transparent;
	padding: 0 6px;
	z-index: 2;
	position: relative;
	top: 4px;
}

.OPSlider input[type="range"]:hover {
	opacity: 1;
}

.OPSlider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 23px;
	height: 23px;
	background: #73C1E8;
	cursor: pointer;
	border-color: transparent;
	margin-top: -12px;
}

.OPSlider input[type="range"]::-moz-range-thumb {
	margin-left: 0;
	margin-right: 0;
	width: 23px;
	height: 23px;
	background: #73C1E8;
	cursor: pointer;
	border-color: transparent;
}

.OPSlider input[type="range"]:focus {
	outline: none;
	border-color: transparent;
}

.OPSlider input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 1px;
	cursor: pointer;
	background: transparent;
	border-radius: none;
	border: none;
	border-top: 1px solid #ccc;
}
.OPSlider input[type=range]::-moz-range-track {
	width: 100%;
	height: 1px;
	cursor: pointer;
	background: #ccc;
	border-radius: none;
	border: none;
}

input[type=range].dark::-webkit-slider-runnable-track {
	border: 1px solid #333;
}

.OPSlider input[type="range"]::-ms-track {
	width: 100%;
	cursor: pointer;
	/* Hides the slider so custom styles can be added */
	background: transparent;
	border-color: transparent;
	color: transparent;
}
@media (max-width: 767px) {
	#topPanel h1 {
		margin-bottom: 0;
		font-size: 36px;
	}

	#schools img {
		height: 35px;
	}

	#deviceContainer {
		margin-top: 0;
	}

	
	#classScreenshotContainer,
	#codeScreenshot {
		width: 100%;
		transform: translateX(0);
	}

	.screenshotContainer {
		max-height: none;
		clear: both;
		width: 100%;
		margin-right: 0;
	}
	#deviceSelector {
		display: none;
	}
	#classIllustration {
		display: none;
	}
	.author {
		margin-bottom: 20px;
	}
	.section {
		padding-bottom: 100px;
		padding-top: 100px;
	}
	h2 {
		font-size: 31px;
	}
	.planContainer{
		padding: 40px 20px;
	}

	.plan {
		min-width: 100%;
	}
}