/* 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;
}
.flippable-card-container {
  height: 100%;
  perspective: 1000px;
  width: 100%;
  transform-style: preserve-3d;
}
.flippable-card-container .flippable-card {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.4s ease;
}
.flippable-card-container .flippable-card.show-back .card-front {
  transform: rotateY(180deg);
}
.flippable-card-container .flippable-card.show-back .card-back {
  transform: rotateY(0deg);
  z-index: 2;
}
.flippable-card-container .flippable-card .card-front,
.flippable-card-container .flippable-card .card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: all 0.4s ease;
  width: 100%;
}
.flippable-card-container .flippable-card .card-front {
  transform: rotateY(0deg);
  z-index: 1;
}
.flippable-card-container .flippable-card .card-back {
  transform: rotateY(-180deg);
}
.disable-vertical-scrolling {
  overflow-y: hidden;
}
.modal-background-blur {
  filter: blur(5px);
}
.button-reset {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  text-decoration: none;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
  line-height: normal;
}
.avatar-customizer {
  color: #21242c;
  height: 500px;
  padding: 0;
}
.avatar-customizer .fancy-scrollbar::-webkit-scrollbar-thumb:vertical,
.avatar-customizer .fancy-scrollbar::-webkit-scrollbar-thumb:horizontal {
  background: rgba(33, 36, 44, 0.32);
}
.avatar-customizer .avatar-customizer-inner {
  height: 100%;
}
.avatar-customizer .view-select-button {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  display: block;
  height: 38px;
  left: 30px;
  padding: 7px 15px;
  position: absolute;
  top: 20px;
  transition: all 0.1s ease-out;
}
.avatar-customizer .view-select-button .button-text {
  font-size: 13px;
  vertical-align: top;
}
.avatar-customizer .view-select-button .button-icon {
  font-size: 15px;
  margin-right: 10px;
}
.avatar-customizer .view-select-button img.button-icon {
  height: 17px;
  margin: 1px 9px -2px -2px;
  transition: all 0.1s ease-out;
  width: 17px;
}
.avatar-customizer .view-select-button:hover {
  background: white;
  color: #333;
  cursor: pointer;
}
.avatar-customizer .view-select-button:hover img.button-icon {
  filter: brightness(0%) invert(0%);
}
.avatar-customizer .avatar-preview-container {
  box-sizing: border-box;
  float: left;
  height: 100%;
  position: relative;
  width: 84%;
}
.avatar-customizer .avatar-preview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  height: 400px;
  left: 50%;
  margin-left: -250px;
  margin-top: -200px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: 50%;
  width: 500px;
}
.avatar-customizer .avatar-preview.slide-right .avatar-transition-group.avatar-enter {
  left: -500px;
}
.avatar-customizer .avatar-preview.slide-right .avatar-transition-group.avatar-enter-active,
.avatar-customizer .avatar-preview.slide-right .avatar-transition-group.avatar-exit {
  left: 0;
}
.avatar-customizer .avatar-preview.slide-right .avatar-transition-group.avatar-exit-active {
  left: 500px;
}
.avatar-customizer .avatar-preview.slide-left .avatar-transition-group.avatar-enter {
  left: 500px;
}
.avatar-customizer .avatar-preview.slide-left .avatar-transition-group.avatar-enter-active,
.avatar-customizer .avatar-preview.slide-left .avatar-transition-group.avatar-exit {
  left: 0;
}
.avatar-customizer .avatar-preview.slide-left .avatar-transition-group.avatar-exit-active {
  left: -500px;
}
.avatar-customizer .avatar-preview .avatar-transition-group {
  box-sizing: border-box;
  height: 100%;
  left: 0;
  opacity: 1;
  padding: 30px;
  position: absolute;
  text-align: center;
  top: 0;
  transition: all 0.15s ease-out;
  width: 100%;
}
.avatar-customizer .avatar-preview.fade-with-poof .avatar-transition-group.avatar-enter .avatar-preview-style {
  opacity: 0;
}
.avatar-customizer .avatar-preview.fade-with-poof .avatar-transition-group.avatar-enter-active .avatar-preview-style,
.avatar-customizer .avatar-preview.fade-with-poof .avatar-transition-group.avatar-exit .avatar-preview-style {
  opacity: 1;
}
.avatar-customizer .avatar-preview.fade-with-poof .avatar-transition-group.avatar-exit-active .avatar-preview-style {
  opacity: 0;
}
.avatar-customizer .avatar-preview .locked-part-icon {
  font-size: 100px;
  left: 29px;
  opacity: 0.5;
  position: absolute;
  top: -4px;
}
.avatar-customizer .avatar-preview .avatar-preview-style {
  height: 82%;
  transition: opacity 0.15s ease-out;
}
.avatar-customizer .avatar-preview.not-available .avatar-preview-style {
  opacity: 0.5;
}
.avatar-customizer .avatar-preview .avatar-model-name {
  color: #21242c;
  font-family: inherit;
  font-size: 24px;
  font-weight: bold;
  margin-top: 17px;
}
.avatar-customizer .avatar-preview .avatar-model-requirements {
  font-size: 12px;
  color: #21242c;
  margin-top: 4px;
}
.avatar-customizer .avatar-preview .avatar-model-requirements .requirement-icon {
  margin-right: 8px;
}
.avatar-customizer .prev-model-button,
.avatar-customizer .next-model-button {
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  cursor: pointer;
  font-size: 30px;
  height: 60px;
  margin-top: -30px;
  position: absolute;
  text-align: center;
  top: 50%;
  transition: all 0.1s ease-out;
  width: 60px;
  user-select: none;
}
.avatar-customizer .prev-model-button:hover,
.avatar-customizer .next-model-button:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: transparent;
}
.avatar-customizer .prev-model-button.prev-model-button,
.avatar-customizer .next-model-button.prev-model-button {
  left: 15%;
  margin-left: -30px;
}
.avatar-customizer .prev-model-button.next-model-button,
.avatar-customizer .next-model-button.next-model-button {
  right: 15%;
  margin-right: -30px;
}
.avatar-customizer .avatar-parts-accordion {
  background: rgba(221, 221, 221, 0.6);
  float: right;
  width: 16%;
}
.avatar-customizer .avatar-parts-accordion .part-type-heading {
  background: #fff;
  cursor: default;
  display: block;
  height: 22px;
  line-height: 22px;
  margin-bottom: 1px;
  padding: 5px 0;
  position: relative;
  text-align: center;
  transition: all 0.1s ease-out;
  user-select: none;
}
.avatar-customizer .avatar-parts-accordion .accordion-drawer {
  overflow-y: auto;
  overflow-x: hidden;
  transition: height 0.35s ease;
  position: relative;
}
.avatar-customizer .avatar-parts-accordion .accordion-drawer.opened {
  height: 468px;
}
.avatar-customizer .avatar-parts-accordion .accordion-drawer.fancy-scrollbar {
  margin-right: 1px;
}
.avatar-customizer .avatar-parts-accordion .accordion-drawer .avatar-parts-drawer {
  box-sizing: border-box;
  left: 0;
  position: absolute;
  top: 0;
  transition: all 0.15s ease-out;
  width: 100%;
}
.avatar-customizer .avatar-parts-drawer {
  padding: 10px 15px;
  text-align: center;
}
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part {
  background: rgba(255, 255, 255, 0.2);
  padding: 7px;
  margin-bottom: 10px;
}
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part.available:hover {
  background: rgba(255, 255, 255, 0.4);
}
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part.not-available:hover {
  background: rgba(255, 255, 255, 0);
}
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part.not-available .avatar-part-preview {
  opacity: 0.8;
}
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part .locked-part-icon {
  left: 3px;
  top: 11px;
}
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part.selected,
.avatar-customizer .avatar-parts-drawer.background-parts .avatar-part.selected:hover {
  background: rgba(255, 255, 255, 0.6);
}
.avatar-customizer .avatar-parts-drawer .avatar-part {
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-block;
  height: 85px;
  padding: 10px;
  position: relative;
  margin-bottom: 2px;
  text-align: center;
  transition: all 0.1s ease-out;
  width: 85px;
}
.avatar-customizer .avatar-parts-drawer .avatar-part.available {
  cursor: pointer;
}
.avatar-customizer .avatar-parts-drawer .avatar-part.available:hover {
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
}
.avatar-customizer .avatar-parts-drawer .avatar-part.not-available .avatar-part-preview {
  opacity: 0.5;
}
.avatar-customizer .avatar-parts-drawer .avatar-part:hover.not-available .avatar-part-preview {
  filter: blur(2px);
}
.avatar-customizer .avatar-parts-drawer .avatar-part:hover .part-requirements {
  opacity: 1;
}
.avatar-customizer .avatar-parts-drawer .avatar-part.selected,
.avatar-customizer .avatar-parts-drawer .avatar-part.selected:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.avatar-customizer .avatar-parts-drawer .avatar-part .locked-part-icon {
  font-size: 25px;
  opacity: 0.5;
  position: absolute;
  left: -2px;
  top: -2px;
  z-index: 1;
}
.avatar-customizer .avatar-parts-drawer .avatar-part .part-requirements {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  box-sizing: border-box;
  height: 100%;
  left: 0;
  line-height: 85px;
  opacity: 0;
  padding: 0 3px;
  position: absolute;
  top: 0;
  transition: all 0.1s ease-out;
  width: 100%;
  z-index: 2;
}
.avatar-customizer .avatar-parts-drawer .avatar-part .part-requirements:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.avatar-customizer .avatar-parts-drawer .avatar-part .part-requirements .part-requirements-text {
  color: white;
  display: inline-block;
  font-size: 12px;
  line-height: 1.2;
  vertical-align: middle;
  text-align: center;
}
.avatar-customizer .avatar-parts-drawer .avatar-part-preview {
  width: 100%;
}
.avatar-customizer .avatar-parts-drawer .teaser-icon {
  font-size: 75px;
  line-height: 0.9;
}
.avatar-customizer .card-back {
  padding: 20px 20px 40px 20px;
  box-sizing: border-box;
}
.avatar-customizer .avatar-models-grid {
  float: right;
  height: 100%;
  overflow-y: scroll;
  padding: 0;
  text-align: left;
  width: 80%;
}
.avatar-customizer .avatar-models-grid .avatar-part {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  cursor: pointer;
  height: 186px;
  margin-bottom: 2%;
  margin-right: 2%;
  padding: 15px 30px;
  vertical-align: top;
  width: 23%;
}
.avatar-customizer .avatar-models-grid .avatar-part .avatar-part-name {
  bottom: 15px;
  box-sizing: border-box;
  color: #21242c;
  font-size: 12px;
  left: 0;
  line-height: 1.2;
  margin-bottom: 0;
  margin-top: 22px;
  padding: 0 20px;
  position: absolute;
  width: 100%;
}
.avatar-customizer .avatar-models-grid .avatar-part .locked-part-icon {
  font-size: 40px;
  left: 9px;
  top: 0;
}
.avatar-customizer .avatar-models-grid .avatar-part .part-requirements {
  padding: 0 10px;
}
.avatar-customizer .avatar-models-grid .avatar-part .part-requirements .part-requirements-text {
  line-height: 1.3;
  font-size: 14px;
}
.avatar-customizer .avatar-models-grid .teaser-icon {
  display: block;
  font-size: 137px;
}
.avatar-customizer .save-and-cancel-buttons {
  margin-top: 15px;
  position: absolute;
  right: 0;
  top: 100%;
  -webkit-transform: translateZ(0);
}
.avatar-customizer .save-and-cancel-buttons .save-button-container {
  display: inline-block;
  margin-left: 20px;
}

