/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Fonts
	## Open Sans
# Typography
	## Base
# Elements
	## Button
	## Content Frame
	## Multiplication
	## Multiplication Table
	## Multiplication Table Choice
	## Multiplication Table Results
	## Timer
	## Numeric keys
# Screens
	## Session
# Layout
	## Body
	## Content
# Animations
	## Body
	## Multiplication
	## Medal
	## Screen
	## Overlay
	## Screen Session
# Responsive
	## Large
	## Medium
	## Thin
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
*/
/*--------------------------------------------------------------
# Normalize

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
}
body,
html {
  height: 100%;
}
*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  border-color: inherit;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: 700;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 0;
}
hr {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
code,
kbd,
pre,
samp {
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
select {
  text-transform: none;
}
button {
  overflow: visible;
}
button,
input,
select,
textarea {
  max-width: 100%;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
  opacity: 0.5;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 0.4375em;
  padding: 0;
}
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #d1d1d1;
  margin: 0 0 1.75em;
  min-width: inherit;
  padding: 0.875em;
}
fieldset > :last-child {
  margin-bottom: 0;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
optgroup {
  font-weight: bold;
}
/*--------------------------------------------------------------
# Fonts
*/
/*--------------------------------------------------------------
	## Fonts - Open Sans
*/
@font-face {
  font-family: 'Open Sans';
  font-weight: 400;
  src: url('../fonts/open_sans/OpenSans-Regular-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open_sans/OpenSans-Italic-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 100;
  src: url('../fonts/open_sans/OpenSans-Light-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/open_sans/OpenSans-LightItalic-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 500;
  src: url('../fonts/open_sans/OpenSans-Semibold-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/open_sans/OpenSans-SemiboldItalic-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 700;
  src: url('../fonts/open_sans/OpenSans-Bold-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/open_sans/OpenSans-BoldItalic-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 900;
  src: url('../fonts/open_sans/OpenSans-ExtraBold-webfont.woff') format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/open_sans/OpenSans-ExtraBoldItalic-webfont.woff') format("woff");
}
/*--------------------------------------------------------------
# Typography
*/
/*--------------------------------------------------------------
	## Typography - Base
*/
body {
  font-family: 'Open Sans';
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
strong {
  font-style: normal;
  font-weight: 400;
}
/*--------------------------------------------------------------
# Elements
*/
/*--------------------------------------------------------------
	## Element - Button
*/
.button {
  background-color: #3aaa35;
  border: none;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 0 #008d36, 0 4px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 0 #008d36, 0 4px 8px rgba(0, 0, 0, 0.6);
  color: black;
  letter-spacing: 0.08em;
  padding: 15px 45px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: background-color ease-out 0.3s, -webkit-box-shadow ease-out 0.3s;
  transition: background-color ease-out 0.3s, -webkit-box-shadow ease-out 0.3s;
  -o-transition: background-color ease-out 0.3s, box-shadow ease-out 0.3s;
  transition: background-color ease-out 0.3s, box-shadow ease-out 0.3s;
  transition: background-color ease-out 0.3s, box-shadow ease-out 0.3s, -webkit-box-shadow ease-out 0.3s;
}
.button:hover {
  background-color: #95c11f;
  -webkit-box-shadow: 0 6px 0 #5baa35, 0 4px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 0 #5baa35, 0 4px 8px rgba(0, 0, 0, 0.6);
}
.button label {
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}
.button .description {
  font-size: 0.9em;
  margin-top: 8px;
}
.button,
.button label {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/**
* Button select
*/
.button.select {
  background-color: rgba(255, 255, 255, 0.75);
  -webkit-box-shadow: 0 6px 0 rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.6);
  padding: 12px 70px 12px 24px;
  position: relative;
  text-align: left;
}
.button.select:hover {
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 6px 0 rgba(255, 255, 255, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
}
.button.select .select-option {
  display: none;
}
.button.select .select-option[data-selected="true"] {
  display: block;
}
.button.select:after {
  background: transparent url('../img/tbm_arrow_down.svg') center center no-repeat;
  content: '';
  display: block;
  height: 16px;
  margin-top: -8px;
  position: absolute;
  right: 24px;
  top: 50%;
  width: 36px;
}
.select-options.open .select-option {
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-box-shadow: 0 6px 0 rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-top: 20px;
  padding: 12px 24px;
  text-align: left;
}
.select-options.open .select-option:hover,
.select-options.open .select-option[data-selected='true'] {
  background-color: #ffffff;
  -webkit-box-shadow: 0 6px 0 rgba(255, 255, 255, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
}
.select-options.open .select-option:first-child {
  margin-top: 0;
}
.select-options.open .select-option .description {
  margin-top: 8px;
}
/**
* Button list
*/
.button-list {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}
.button-list .button {
  margin: 10px;
}
/*--------------------------------------------------------------
	## Element - Link
*/
a,
.link {
  background: transparent;
  border: none;
  color: inherit;
  display: inline-block;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
a:hover,
.link:hover {
  text-decoration: underline;
}
.link,
.link label {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/*--------------------------------------------------------------
	## Element - Content Frame
*/
.content-frame {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  max-width: 1100px;
  text-align: center;
  width: 100%;
}
.content-frame > * {
  margin-bottom: 20px;
}
.content-frame > :last-child {
  margin-top: 0;
}
.content-frame .header {
  background-color: black;
  border: 4px solid white;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #e5b900;
  display: inline-block;
  margin-bottom: -4px;
  max-width: 100%;
  padding: 35px 50px 20px;
  z-index: 2;
}
.content-frame .header .title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}
.content-frame .body {
  background: black;
  border: 4px solid white;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: white;
  display: block;
  padding: 40px 50px;
  text-align: left;
}
.content-frame .footer {
  padding: 0 50px;
}
.content-frame .multiplication-table-choice,
.content-frame .multiplication-table-results {
  padding: 0 10px;
}
.content-frame .body > *,
.content-frame p {
  margin: 25px 0;
}
.content-frame .body > *:first-child,
.content-frame p:first-child {
  margin-top: 0;
}
.content-frame .body > *:last-child,
.content-frame p:last-child {
  margin-bottom: 0;
}
.content-frame .block {
  display: block;
  padding: 0 18px;
  width: 100%;
}
.content-frame .block .select {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
/*--------------------------------------------------------------
	## Element - Multiplication
*/
.multiplication {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 48px;
  font-weight: 900;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  line-height: 1;
}
.multiplication > * {
  margin: 0 15px;
}
.multiplication .operand,
.multiplication .correction,
.multiplication .result {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: black;
  border: 4px solid white;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 120px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  width: 110px;
}
.multiplication .operator,
.multiplication .equal {
  color: black;
}
.multiplication .operator {
  font-weight: 700;
}
.multiplication .result-wrapper {
  display: block;
  overflow: hidden;
  position: relative;
}
.multiplication .result:after {
  background: transparent;
  border: 4px solid white;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 3;
}
.multiplication .correction {
  border: none;
  height: 112px;
  left: 4px;
  position: absolute;
  top: -112px;
  width: 102px;
  z-index: 2;
}
/*--------------------------------------------------------------
	## Element - Multiplication Table
*/
.multiplication-table {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: white;
  background-clip: padding-box;
  border: 3px solid rgba(229, 185, 0, 0);
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  letter-spacing: 0.08em;
  overflow: hidden;
  position: relative;
  text-align: left;
  -webkit-transition: border-color 0.25s ease-in-out;
  -o-transition: border-color 0.25s ease-in-out;
  transition: border-color 0.25s ease-in-out;
}
.multiplication-table:hover {
  border-color: #e5b900;
}
.multiplication-table > * {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.multiplication-table .name {
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 1;
  flex-shrink: 1;
  font-weight: 500;
  padding: 10px 0 10px 30px;
  text-transform: uppercase;
}
.multiplication-table .value {
  background-color: #e5b900;
  border-radius: 10px;
  color: white;
  display: inline-block;
  font-weight: 700;
  margin-left: 3px;
  padding: 5px 0;
  text-align: center;
  width: 40px;
}
.multiplication-table,
.multiplication-table * {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/*--------------------------------------------------------------
	## Element - Multiplication Table Choice
*/
.multiplication-table-choice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.multiplication-table-choice .multiplication-table {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin: 2px 0.5%;
  width: 49%;
}
.multiplication-table-choice .multiplication-table[data-selected="true"] {
  background-color: #e5b900;
  border-color: rgba(255, 255, 255, 0);
  color: white;
}
.multiplication-table-choice .multiplication-table[data-selected="true"] .value {
  background-color: white;
  color: black;
}
.multiplication-table-choice .multiplication-table[data-selected="true"]:hover {
  border-color: #ffffff;
}
/*--------------------------------------------------------------
	## Element - Multiplication Table Results
*/
.multiplication-table-results {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.multiplication-table-results .multiplication-table {
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  margin: 2px 0.5%;
  width: 49%;
}
.multiplication-table.results .name {
  padding-left: 50px;
}
.multiplication-table.results:before {
  background: transparent url('../img/tbm_comparisons_good.svg') center center no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 30px;
  position: absolute;
  top: 13px;
  width: 48px;
}
.multiplication-table.results[data-progression="0"]:before {
  background-image: url('../img/tbm_comparisons_same.svg');
}
.multiplication-table.results[data-progression="-1"]:before {
  background-image: url('../img/tbm_comparisons_bad.svg');
}
.multiplication-table .result {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.multiplication-table .result .label {
  display: none;
  padding: 15px 0 15px 30px;
}
.multiplication-table .result .error,
.multiplication-table .result .reward {
  text-align: center;
  min-width: 120px;
}
.multiplication-table .result > * {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.multiplication-table .result .result-summary {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.multiplication-table .correct-answer-count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 110px;
}
.multiplication-table .correct-answer-count > * {
  background-clip: padding-box;
  background-color: #e5b900;
  border: 2px solid rgba(255, 236, 95, 0);
  border-radius: 17px;
  color: white;
  display: inline-block;
  font-weight: 700;
  margin: 0 1px;
  padding: 5px 0;
  text-align: center;
  width: 38px;
}
.multiplication-table .correct-answer-count .fast {
  background-color: #3aaa35;
}
.multiplication-table .correct-answer-count .medium {
  background-color: #f9b233;
}
.multiplication-table .correct-answer-count .slow {
  background-color: #e30613;
}
.multiplication-table .result.best-result {
  background-color: #e5b900;
  width: 100%;
}
.multiplication-table .result.best-result .label {
  display: block;
}
.multiplication-table .result.best-result .correct-answer-count > * {
  border: 2px solid rgba(255, 236, 95, 0.75);
}
.medal-wrapper {
  display: inline-block;
  height: 33px;
  position: relative;
  width: 40px;
}
.medal {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
}
.medal.gold {
  background-image: url("../img/medal_gold.png");
}
.medal.silver {
  background-image: url("../img/medal_silver.png");
}
.medal.bronze {
  background-image: url("../img/medal_bronze.png");
}
.multiplication-table.display-details {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 1100px;
  padding: 10px 20px;
}
.multiplication-table.display-details:before {
  top: 22px;
}
.multiplication-table.display-details .name {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 10px 0 20px 50px;
  width: 100%;
}
.multiplication-table.display-details .result {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 49%;
  min-width: 280px;
  padding: 0 15px;
}
.multiplication-table.display-details .result .label {
  display: block;
  padding-left: 0;
}
.multiplication-table.display-details .best-result {
  background-color: transparent;
}
.multiplication-table.display-details .best-result .correct-answer-count > * {
  border: 2px solid rgba(255, 236, 95, 0);
}
.result-details {
  display: none;
  margin: 20px 0 20px;
  width: 100%;
}
.display-details .result-details {
  display: block;
}
.multiplication-result {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px dotted #999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  line-height: 1;
  margin-top: 5px;
}
.multiplication-result:first-child {
  margin-top: 0;
}
.multiplication-result .calculation,
.multiplication-result .annex {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.multiplication-result .annex {
  font-size: 0.95em;
  letter-spacing: 0;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}
.multiplication-result .operands-wrapper,
.multiplication-result .answer-wrapper {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.multiplication-result .operands-wrapper > *,
.multiplication-result .answer-wrapper > * {
  margin: 0 1px;
}
.multiplication-result .equal {
  margin: 0 2px;
}
.multiplication-result .equal,
.multiplication-result .operator {
  font-size: 0.9em;
  text-transform: lowercase;
}
.multiplication-result .correction {
  border: 2px solid rgba(0, 255, 0, 0.8);
  border-radius: 15px;
  color: green;
  display: none;
}
.multiplication-result[data-answer-quality="0"] .correction {
  display: block;
}
.multiplication-result .answer {
  border: 2px solid rgba(255, 255, 255, 0);
  position: relative;
}
.multiplication-result[data-answer-quality="0"] .answer:after {
  background-color: rgba(255, 0, 0, 0.8);
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(-25deg);
  -ms-transform: rotate(-25deg);
  transform: rotate(-25deg);
  width: 100%;
}
.multiplication-result .operand,
.multiplication-result .answer,
.multiplication-result .correction {
  font-weight: 500;
  letter-spacing: 0;
  padding: 2px 0;
  text-align: center;
  width: 30px;
}
.multiplication-result:before {
  content: "";
  display: block;
  margin-right: 2px;
  width: 10px;
}
.multiplication-result[data-answer-quality="0"]:before {
  content: "x";
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.multiplication-result[data-answer-quality="0"] .result,
.multiplication-result[data-answer-quality="0"]:before {
  color: red;
}
.multiplication-result[data-answer-quality="1"]:before,
.multiplication-result[data-answer-quality="2"]:before,
.multiplication-result[data-answer-quality="3"]:before {
  border-radius: 5px;
  height: 10px;
}
.multiplication-result[data-answer-quality="3"]:before {
  background-color: #3aaa35;
}
.multiplication-result[data-answer-quality="2"]:before {
  background-color: #f9b233;
}
.multiplication-result[data-answer-quality="1"]:before {
  background-color: #e30613;
}
/*--------------------------------------------------------------
	## Element - Timer
*/
.timer {
  bottom: 0;
  display: block;
  height: 40px;
  left: 0;
  position: absolute;
  width: 100%;
}
.timer .timer-progress {
  background-color: #3aaa35;
  border-top: 4px solid white;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  -webkit-transition: background-color ease-in-out 0.75s;
  -o-transition: background-color ease-in-out 0.75s;
  transition: background-color ease-in-out 0.75s;
  top: 0;
  width: 0;
}
.timer .timer-progress.medium {
  background-color: #f9b233;
}
.timer .timer-progress.bad {
  background-color: #e30613;
}
/*--------------------------------------------------------------
	## Element - Numeric Keys
*/
.numeric-key {
  background-color: white;
  background-clip: padding-box;
  border: 3px solid rgba(229, 185, 0, 0);
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 2px;
  padding: 15px 30px;
  text-align: center;
  -webkit-transition: border-color 0.25s ease-in-out;
  -o-transition: border-color 0.25s ease-in-out;
  transition: border-color 0.25s ease-in-out;
}
.numeric-key:hover {
  border-color: #e5b900;
}
.numeric-key.key-backspace {
  -webkit-box-flex: 4.2;
  -ms-flex-positive: 4.2;
  flex-grow: 4.2;
}
.numeric-key,
.numeric-key label {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.numeric-keys {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 50px;
  max-width: 300px;
}
/*--------------------------------------------------------------
# Screens
*/
/*--------------------------------------------------------------
	## Screens - Session
*/
.screen-session .get-ready,
.screen-session .session {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  left: 0;
  padding: 25px;
  position: absolute;
  top: 0;
  width: 100%;
}
.screen-session .get-ready {
  z-index: 2;
}
.screen-session .get-ready.hide {
  display: none;
}
.screen-session .get-ready .content-frame > * {
  margin-top: 30px;
}
.screen-session .get-ready .content-frame > :first-child {
  margin-top: 0;
}
.screen-session .get-ready .counter {
  font-size: 48px;
  font-weight: 700;
}
.screen-session .session {
  display: none;
  padding-top: 50px;
  z-index: 1;
}
.screen-session .session.display {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.screen-session .session .nav-header .button {
  margin: 0;
}
/*--------------------------------------------------------------
# Layout
*/
/*--------------------------------------------------------------
	## Layout - Body
*/
body {
  background: -webkit-gradient(linear, left top, left bottom, from(#00d1e2), color-stop(65.66%, #e6007e), to(#951b81));
  background: -webkit-linear-gradient(#00d1e2 0%, #e6007e 65.66%, #951b81 100%);
  background: -o-linear-gradient(#00d1e2 0%, #e6007e 65.66%, #951b81 100%);
  background: linear-gradient(#00d1e2 0%, #e6007e 65.66%, #951b81 100%);
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  position: relative;
}
/*--------------------------------------------------------------
	## Layout - Content
*/
/**
* Navigator
*/
.navigator {
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  overflow: hidden;
  top: 0;
  width: 100%;
}
/**
* Screen
*/
.screen {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  left: 0;
  overflow-y: auto;
  position: absolute;
  top: 0;
  width: 100%;
}
.screen-content {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  left: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 100%;
  padding: 25px;
  position: absolute;
  top: 0;
  width: 100%;
}
/**
* Navigation
*/
.nav-footer,
.nav-header {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  left: 0;
  padding: 10px;
  position: absolute;
  text-align: center;
  width: 100%;
}
.nav-header {
  top: 0;
}
.nav-footer {
  bottom: 0;
}
/**
* Overlay
*/
.overlay-wrapper {
  display: none;
  height: 100%;
  left: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.overlay-wrapper:before {
  background-color: rgba(0, 0, 0, 0.75);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}
.overlay-wrapper.display {
  display: block;
}
.overlay-content {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  left: 0;
  min-height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 30px 20px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}
/*--------------------------------------------------------------
# Animations
*/
/*--------------------------------------------------------------
	## Animations - Body
*/
/*--------------------------------------------------------------
	## Animations - Multiplication
*/
@-webkit-keyframes multiplicationWrongAnswer {
  0%,
  10% {
    border-color: white;
    color: white;
  }
  100% {
    border-color: red;
    color: red;
  }
}
@keyframes multiplicationWrongAnswer {
  0%,
  10% {
    border-color: white;
    color: white;
  }
  100% {
    border-color: red;
    color: red;
  }
}
.multiplication .result.wrong:after,
.multiplication .result.wrong {
  -webkit-animation: multiplicationWrongAnswer 0.2s linear 0s 4 backwards;
  animation: multiplicationWrongAnswer 0.2s linear 0s 4 backwards;
}
@-webkit-keyframes multiplicationGoodAnswer {
  0%,
  10% {
    border-color: white;
    color: white;
  }
  100% {
    border-color: green;
    color: green;
  }
}
@keyframes multiplicationGoodAnswer {
  0%,
  10% {
    border-color: white;
    color: white;
  }
  100% {
    border-color: green;
    color: green;
  }
}
.multiplication .result.good:after,
.multiplication .result.good {
  -webkit-animation: multiplicationGoodAnswer 0.2s linear 0s 4 backwards;
  animation: multiplicationGoodAnswer 0.2s linear 0s 4 backwards;
}
@-webkit-keyframes multiplicationCorrection {
  0% {
    top: -112px;
  }
  100% {
    top: 4px;
  }
}
@keyframes multiplicationCorrection {
  0% {
    top: -112px;
  }
  100% {
    top: 4px;
  }
}
.multiplication .correction.display {
  -webkit-animation: multiplicationCorrection 0.6s ease-in 0.8s 1 forwards;
  animation: multiplicationCorrection 0.6s ease-in 0.8s 1 forwards;
}
/*--------------------------------------------------------------
	## Animations - Medal
*/
@-webkit-keyframes medalStart {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes medalStart {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes medalLoopTop {
  0% {
    top: -2px;
  }
  100% {
    top: 3px;
  }
}
@keyframes medalLoopTop {
  0% {
    top: -2px;
  }
  100% {
    top: 3px;
  }
}
@-webkit-keyframes medalLoopLeft {
  0% {
    left: -3px;
  }
  100% {
    left: 3px;
  }
}
@keyframes medalLoopLeft {
  0% {
    left: -3px;
  }
  100% {
    left: 3px;
  }
}
.medal {
  -webkit-animation: medalStart 2.5s ease-out 0s forwards, medalLoopTop 0.7s ease-in-out 0s alternate infinite, medalLoopLeft 1.4s ease-in-out 0s alternate infinite;
  animation: medalStart 2.5s ease-out 0s forwards, medalLoopTop 0.7s ease-in-out 0s alternate infinite, medalLoopLeft 1.4s ease-in-out 0s alternate infinite;
}
/*--------------------------------------------------------------
	## Animations - Screen
*/
@-webkit-keyframes screenDisplay {
  0% {
    top: -100%;
  }
  100% {
    top: 0;
  }
}
@keyframes screenDisplay {
  0% {
    top: -100%;
  }
  100% {
    top: 0;
  }
}
@-webkit-keyframes screenHide {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
@keyframes screenHide {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
.screen {
  -webkit-animation: screenDisplay 0.45s ease-out 0s both 1;
  animation: screenDisplay 0.45s ease-out 0s both 1;
}
.screen.hide {
  -webkit-animation: screenHide 0.45s ease-out 0s both 1;
  animation: screenHide 0.45s ease-out 0s both 1;
}
/*--------------------------------------------------------------
	## Animations - Overlay
*/
@-webkit-keyframes overlayDisplay {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.7);
  }
}
@keyframes overlayDisplay {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.7);
  }
}
@-webkit-keyframes overlayContentDisplay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes overlayContentDisplay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.overlay-wrapper.display:before {
  -webkit-animation: overlayDisplay 0.3s ease-out 0s both 1;
  animation: overlayDisplay 0.3s ease-out 0s both 1;
}
.overlay-wrapper.display .overlay-content {
  -webkit-animation: overlayContentDisplay 0.3s ease-out 0.2s both 1;
  animation: overlayContentDisplay 0.3s ease-out 0.2s both 1;
}
/*--------------------------------------------------------------
	## Animations - Screen Session
*/
@-webkit-keyframes getReadyHide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes getReadyHide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes sessionDisplay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes sessionDisplay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.get-ready.hide {
  -webkit-animation: getReadyHide 0.3s ease-out 0s both 1;
  animation: getReadyHide 0.3s ease-out 0s both 1;
}
.session.display {
  -webkit-animation: sessionDisplay 0.3s ease-out 0.1s both 1;
  animation: sessionDisplay 0.3s ease-out 0.1s both 1;
}
/*--------------------------------------------------------------
# Responsive
*/
/*--------------------------------------------------------------
	## Responsive - Large
*/
@media screen and (max-width: 990px) {
  /**
	* Elements - Multiplication Table Results
	*/
  .multiplication-table-results .multiplication-table {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin: 2px 0;
    width: auto;
  }
  .multiplication-table.display-details .result {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .multiplication-table.display-details .result-summary {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }
  .multiplication-table.display-details .result .correct-answer-count {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
/*--------------------------------------------------------------
	## Responsive - Medium
*/
@media screen and (max-width: 700px) {
  /**
	* Typography - Base
	*/
  body {
    font-size: 16px;
    letter-spacing: 0.03em;
  }
  /**
	* Elements - Button
	*/
  .button {
    letter-spacing: 0.05em;
    padding: 15px 25px;
  }
  .button label {
    line-height: 1;
  }
  .button.select {
    padding-left: 15px;
  }
  /**
	* Elements - Content frame
	*/
  .content-frame .header {
    padding: 20px 20px 5px;
  }
  .content-frame .header .title {
    font-size: 34px;
  }
  .content-frame .body {
    padding: 20px 20px;
  }
  .content-frame .multiplication-table-choice,
  .content-frame .multiplication-table-results {
    padding: 0;
  }
  .content-frame .block {
    padding: 0 8px;
  }
  /**
	* Elements - Multiplication
	*/
  .multiplication {
    font-size: 34px;
  }
  .multiplication > * {
    margin: 0 10px;
  }
  /**
	* Elements - Multiplication Table
	*/
  .multiplication-table .name {
    padding: 10px 0 10px 15px;
  }
  /**
	* Elements - Multiplication Table Results
	*/
  .multiplication-table.results:before {
    height: 28px;
  }
  .multiplication-table .result {
    padding-right: 15px;
  }
  .multiplication-table .result .correct-answer-count {
    margin-right: 17px;
  }
  .multiplication-table .result .error,
  .multiplication-table .result .reward {
    min-width: auto;
    width: 54px;
  }
  .multiplication-table .result .error {
    font-size: 0.95em;
    line-height: 1.1;
    overflow: hidden;
  }
  .multiplication-table.display-details .result {
    min-width: 240px;
    padding: 0 10px;
  }
  .multiplication-result .operand,
  .multiplication-result .answer,
  .multiplication-result .correction {
    width: 24px;
  }
}
/*--------------------------------------------------------------
	## Responsive - Thin
*/
@media screen and (max-width: 560px) {
  /**
	* Typography - Base
	*/
  body {
    font-size: 14px;
    letter-spacing: 0.03em;
  }
  /**
	* Elements - Content frame
	*/
  .content-frame .header .title {
    font-size: 27px;
  }
  /**
	* Elements - Multiplication
	*/
  .multiplication {
    font-size: 27px;
  }
  .multiplication .operand,
  .multiplication .correction,
  .multiplication .result {
    height: 80px;
    width: 70px;
  }
  .multiplication .correction {
    border: none;
    height: 72px;
    left: 4px;
    position: absolute;
    top: -72px;
    width: 62px;
    z-index: 2;
  }
  /**
	* Elements - Multiplication Table
	*/
  .multiplication-table .correct-answer-count {
    display: none;
  }
  .multiplication-table .name {
    padding: 10px 0 10px 12px;
  }
  .multiplication-table .value {
    width: 32px;
  }
  /**
	* Elements - Multiplication Table Results
	*/
  .multiplication-table.results .name {
    padding-left: 42px;
  }
  .multiplication-table.results:before {
    height: 24px;
    width: 42px;
  }
  .multiplication-table .result {
    padding-right: 10px;
  }
  .multiplication-table .result .label {
    display: none;
    padding: 15px 0 15px 15px;
  }
  .multiplication-table .result .error,
  .multiplication-table .result .reward {
    width: 44px;
  }
  .multiplication-table.results .result {
    padding-right: 15px;
  }
  .multiplication-table.results .result .medal-wrapper {
    height: 28px;
    width: 34px;
  }
  .medal-wrapper {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 30px;
  }
  .multiplication-table.display-details .result {
    min-width: 190px;
    padding: 0 6px;
  }
  .multiplication-result .operand,
  .multiplication-result .answer,
  .multiplication-result .correction {
    width: 22px;
  }
  /**
	* Elements - Numeric Keys
	*/
  .numeric-keys {
    margin-top: 25px;
  }
  .numeric-key {
    margin: 5px;
    padding: 15px 25px;
  }
  /**
	* Elements - Timer
	*/
  .timer {
    height: 25px;
  }
  /**
	* Animations - Multiplication
	*/
  @-webkit-keyframes multiplicationCorrection {
    0% {
      top: -72px;
    }
    100% {
      top: 4px;
    }
  }
  @keyframes multiplicationCorrection {
    0% {
      top: -72px;
    }
    100% {
      top: 4px;
    }
  }
  .multiplication .correction.display {
    -webkit-animation: multiplicationCorrection 0.6s ease-in 0.8s 1 forwards;
    animation: multiplicationCorrection 0.6s ease-in 0.8s 1 forwards;
  }
}
@media screen and (max-width: 460px) {
  /**
	* Elements - Multiplication Table Choice
	*/
  .multiplication-table-choice .multiplication-table {
    width: 100%;
  }
  /**
	* Elements - Multiplication Table Results
	*/
  .multiplication-table.display-details .result {
    max-width: none;
  }
}
