/* Fall back colors? Eg educator, talks & interviews */
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#khanType {
  /* Used to style the topic title on a topic page, eg
  "Introduction to algebra" on /math/algebra/introduction-to-algebra.
  Also used for the tutorial title on tutorial landing pages.
  Not restricted to styling the titles of "Topic" entities. */
}
.vertical-shadow {
  border: 1px solid #ccc;
  border-bottom: 1px solid #aaa;
  box-shadow: 0 1px 3px #ccc;
}
html.page-container-min-width-zero body,
html.page-container-min-width-zero #page-container {
  min-width: 0;
}
.stories-page__banner {
  background: #4d6779 url(/images/stories-banner.jpg) 50% 50%;
  background-size: cover;
}
.stories-page__banner__contained {
  margin: 0 auto;
  max-width: 940px;
  padding: 60px 0 50px;
}
.stories-page__banner__share-callout {
  float: right;
  margin-top: 20px;
}
.stories-page__banner__tagline {
  color: white;
  font-size: 36px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  width: 640px;
}
.stories-page__teasers {
  margin: 0 auto;
  max-width: 940px;
  padding: 60px 0 30px;
}
.stories-page__end-callout {
  text-align: center;
  padding-bottom: 60px;
}
a.tweet-button {
  background: url('https://twitter.com/favicons/favicon.ico') 6px center no-repeat, #eee linear-gradient(#eee, #ddd);
  background-size: 12px 12px, 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #444;
  display: inline-block;
  font-size: 12px;
  margin-right: 10px;
  padding: 2px 6px 0px 22px;
  text-decoration: none;
}
.facebook-button iframe {
  vertical-align: middle;
}
body.modal-pager-active,
body.story-form-active {
  overflow: hidden;
}
.stories-modal-overlay {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1;
}
.modal-pager {
  position: absolute;
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 1060;
}
.modal-pager-open {
  opacity: 1;
}
.modal-pager__content {
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  padding: 120px 40px;
  right: 0;
  top: 0;
  transform: translateZ(0);
  z-index: 2;
}
.modal-pager__arrow-left,
.modal-pager__arrow-right {
  border: 1px solid #999;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  height: 60px;
  left: 50%;
  line-height: 60px;
  position: absolute;
  text-align: center;
  top: 240px;
  width: 60px;
}
.modal-pager__arrow-left {
  margin-left: -400px;
}
.modal-pager__arrow-right {
  margin-left: 340px;
}
a.modal-pager__arrow-left,
a.modal-pager__arrow-right,
a.modal-pager__arrow-left:hover,
a.modal-pager__arrow-right:hover {
  color: #fff;
  text-decoration: none;
}
.modal-pager__page {
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  overflow: hidden;
  width: 600px;
}
.modal-pager__page-left,
.modal-pager__page-active,
.modal-pager__page-right {
  left: 50%;
  margin-bottom: 120px;
  position: absolute;
  top: 120px;
  transition: margin-left 300ms ease-in-out;
}
.modal-pager__page-left,
.modal-pager__page-right {
  cursor: pointer;
  user-select: none;
}
.modal-pager__page-left > *,
.modal-pager__page-right > * {
  pointer-events: none;
}
.modal-pager__page-left {
  margin-left: -1040px;
}
.modal-pager__page-active {
  margin-left: -300px;
}
.modal-pager__page-right {
  margin-left: 440px;
}
.story-focus {
  background: #fff;
  padding: 20px 50px;
}
.story-focus__video {
  background: #000;
  margin: 10px -50px;
}
.story-focus__video > iframe {
  display: block;
}
.story-focus__content {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.story-focus__signature {
  padding: 20px 0 10px;
}
.story-focus__name {
  font-size: 15px;
  margin-bottom: 2px;
  text-transform: uppercase;
  color: #4d6779;
}
.story-focus__name.science {
  color: #9d4a5a;
}
.story-focus__name.humanities {
  color: #c13b31;
}
.story-focus__name.economics-finance-domain {
  color: #bf7b34;
}
.story-focus__name.cs {
  color: #53893e;
}
.story-focus__name.hour-of-code {
  color: #53893e;
}
.story-focus__name.computer-programming {
  color: #53893e;
}
.story-focus__name.computing {
  color: #53893e;
}
.story-focus__name.partner-content {
  color: #2c8d7b;
}
.story-focus__name.math {
  color: #46a8bf;
}
.story-focus__name.test-prep {
  color: #7e5f8e;
}
.story-focus__name.college-careers-more {
  color: #2c8d7b;
}
.story-focus__date {
  color: #999;
  font-size: 14px;
}
.story-teaser {
  background: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: block;
  margin: 0 0 20px 0;
  height: 300px;
  outline: 1px solid transparent;
  overflow: hidden;
  padding: 0 20px 60px;
  position: relative;
  text-decoration: none;
  transition: border-color 200ms ease, outline-color 200ms ease;
  width: 300px;
  z-index: 0;
}
.story-teaser:hover {
  border-color: #4d6779;
  outline-color: #4d6779;
}
.story-teaser:hover.science {
  border-color: #9d4a5a;
  outline-color: #9d4a5a;
}
.story-teaser:hover.humanities {
  border-color: #c13b31;
  outline-color: #c13b31;
}
.story-teaser:hover.economics-finance-domain {
  border-color: #bf7b34;
  outline-color: #bf7b34;
}
.story-teaser:hover.cs {
  border-color: #53893e;
  outline-color: #53893e;
}
.story-teaser:hover.hour-of-code {
  border-color: #53893e;
  outline-color: #53893e;
}
.story-teaser:hover.computer-programming {
  border-color: #53893e;
  outline-color: #53893e;
}
.story-teaser:hover.computing {
  border-color: #53893e;
  outline-color: #53893e;
}
.story-teaser:hover.partner-content {
  border-color: #2c8d7b;
  outline-color: #2c8d7b;
}
.story-teaser:hover.math {
  border-color: #46a8bf;
  outline-color: #46a8bf;
}
.story-teaser:hover.test-prep {
  border-color: #7e5f8e;
  outline-color: #7e5f8e;
}
.story-teaser:hover.college-careers-more {
  border-color: #2c8d7b;
  outline-color: #2c8d7b;
}
.story-teaser__title-box {
  color: #fff;
  bottom: 0;
  left: 0;
  position: absolute;
  padding: 20px;
  right: 0;
  z-index: 2;
  background-color: #4d6779;
}
.story-teaser__title-box.science {
  background-color: #9d4a5a;
}
.story-teaser__title-box.humanities {
  background-color: #c13b31;
}
.story-teaser__title-box.economics-finance-domain {
  background-color: #bf7b34;
}
.story-teaser__title-box.cs {
  background-color: #53893e;
}
.story-teaser__title-box.hour-of-code {
  background-color: #53893e;
}
.story-teaser__title-box.computer-programming {
  background-color: #53893e;
}
.story-teaser__title-box.computing {
  background-color: #53893e;
}
.story-teaser__title-box.partner-content {
  background-color: #2c8d7b;
}
.story-teaser__title-box.math {
  background-color: #46a8bf;
}
.story-teaser__title-box.test-prep {
  background-color: #7e5f8e;
}
.story-teaser__title-box.college-careers-more {
  background-color: #2c8d7b;
}
.story-teaser__name {
  color: inherit;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  text-transform: uppercase;
}
.story-teaser__content {
  color: #999;
  position: relative;
  overflow: hidden;
}
.story-teaser__thumbnail {
  background-position: 50% -30px;
  background-size: 320px 240px;
  height: 180px;
  margin: 0 -20px;
}
.story-form {
  position: absolute;
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 1060;
}
.story-form-open {
  opacity: 1;
}
.story-form__close {
  float: right;
  font-size: 24px;
}
.story-form__close a:link,
.story-form__close a:visited {
  color: #999;
  font-weight: bold;
  text-decoration: none;
}
.story-form__content {
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  padding: 80px 40px;
  right: 0;
  top: 0;
  transform: translateZ(0);
  z-index: 2;
}
.story-form__page {
  background: #fff;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  overflow: auto;
  padding: 40px 50px;
  width: 600px;
  height: 100%;
}
.story-form .select2-container {
  max-width: 500px;
}

