/*
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. */
html {
  box-sizing: border-box; }

*, *::after, *::before {
  box-sizing: inherit; }

html, body {
  font-family: "Work Sans", "Helvetica", sans-serif;
  margin: 0;
  padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: "League Spartan" !important;
  line-height: 1.1; }

.mdl-layout {
  height: auto !important; }
  .mdl-layout .mdl-layout__tab-bar, .mdl-layout .mdl-layout__tab-bar-container {
    overflow: visible; }
  .mdl-layout__header-row {
    padding: 0; }
    @media screen and (min-width: 43.75rem) {
      .mdl-layout__header-row {
        padding: 0 16px 0 72px; } }
    .mdl-layout__header-row h1 {
      font-size: 3.75rem; }
      @media screen and (min-width: 37.5rem) {
        .mdl-layout__header-row h1 {
          font-size: 7rem; } }

.mdl-layout__tab-bar {
  padding: 0;
  padding-left: 16px;
  box-sizing: border-box;
  height: 100%;
  width: 100%; }
  .mdl-layout__tab-bar label {
    height: 65px;
    font-size: 20px;
    line-height: 64px;
    margin: 0;
    border-bottom: 3px solid;
    border-bottom-color: transparent; }
  .mdl-layout__tab-bar input[type="radio"] {
    display: none; }
    .mdl-layout__tab-bar input[type="radio"]:checked + label {
      color: white;
      font-weight: 600;
      border-bottom-color: white; }

main > .mdl-layout__tab-panel {
  padding: 8px;
  padding-top: 48px; }

.mdl-card {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column; }
  .mdl-card .mdl-card__supporting-text {
    margin: 40px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 0;
    color: inherit;
    width: calc(100% - 80px); }

.mdl-card__supporting-text h4 {
  margin-top: 0;
  margin-bottom: 20px; }

.mdl-card__actions {
  margin: 0;
  padding: 4px 40px;
  color: inherit; }
  .mdl-card__actions a {
    color: #00bcd4;
    margin: 0; }
    .mdl-card__actions a:hover, .mdl-card__actions a:active {
      color: inherit;
      background-color: transparent; }

.mdl-card__supporting-text + .mdl-card__actions {
  border-top: 1px solid rgba(0, 0, 0, 0.12); }

#add {
  position: absolute;
  right: 40px;
  top: 36px;
  z-index: 999; }

.mdl-layout__content section:not(:last-of-type) {
  position: relative;
  margin-bottom: 48px; }

section.section--center {
  max-width: 860px; }

#features section.section--center {
  max-width: 620px; }

section > header {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center; }
section > .section__play-btn {
  min-height: 200px; }
section > header > .material-icons {
  font-size: 3rem; }
section > button {
  position: absolute;
  z-index: 99;
  top: 8px;
  right: 8px; }
section .section__circle {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 1;
  -ms-flex-negative: 1;
  flex-shrink: 1; }
section .section__text {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding-top: 8px; }
  section .section__text h5 {
    font-size: inherit;
    margin: 0;
    margin-bottom: 0.5em; }
  section .section__text a {
    text-decoration: none; }
section .section__circle-container > .section__circle-container__circle {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  margin: 8px 0; }
section.section--footer .section__circle--big {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  margin: 8px 32px; }

.is-small-screen section.section--footer .section__circle--big {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin: 8px 16px; }

section.section--footer {
  padding: 64px 0;
  margin: 0 -8px -8px -8px; }
section.section--center .section__text:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.13); }

.mdl-card .mdl-card__supporting-text > h3:first-child {
  margin-bottom: 24px; }

.mdl-layout__tab-panel:not(#overview) {
  background-color: white; }

#features section {
  margin-bottom: 72px; }
#features h4 {
  margin-bottom: 16px; }

#features h5 {
  margin-bottom: 16px; }

.mdl-demo .toc {
  border-left: 4px solid #c1eef4;
  margin: 24px;
  padding: 0;
  padding-left: 8px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column; }
  .mdl-demo .toc h4 {
    font-size: 0.9rem;
    margin-top: 0; }
  .mdl-demo .toc a {
    color: #4dd0e1;
    text-decoration: none;
    font-size: 16px;
    line-height: 28px;
    display: block; }
.mdl-demo .mdl-menu__container {
  z-index: 99; }

form {
  position: inline-block;
  white-space: nowrap;
  margin: auto;
  width: auto;
  height: auto; }

input[type=number] {
  float: none;
  display: inline-block;
  width: auto;
  height: auto;
  padding: 0;
  font-family: League Spartan;
  font-weight: 700;
  font-size: 2em;
  text-transform: uppercase;
  text-align: center;
  color: white;
  border: none;
  background: none;
  outline: none;
  pointer-events: none; }

span.spinner {
  position: relative;
  top: 3px;
  left: 25px;
  height: auto;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none; }
  span.spinner > .sub, span.spinner > .add {
    float: none;
    display: inline-block;
    width: 25px;
    height: 25px;
    text-align: center;
    font-family: League Spartan;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 30px;
    color: white;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    transition: 0.1s linear;
    -o-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -webkit-transition: 0.1s linear; }
    span.spinner > .sub:hover, span.spinner > .add:hover {
      background: rgba(255, 255, 255, 0.5);
      color: #25323b; }

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none; }

.bi-controls.mdl-card {
  min-height: 30px;
  height: 100px;
  max-height: 100px;
  flex-direction: row; }
  .bi-controls.mdl-card > div {
    flex: 1;
    width: 100%;
    text-align: right;
    height: 50px;
    max-height: 50px; }
    .bi-controls.mdl-card > div:nth-child(2) {
      padding-top: 13px;
      flex: 2; }

.bi-nav--controls {
  height: 130px;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: relative; }
  @media screen and (min-width: 37.5rem) {
    .bi-nav--controls {
      flex-direction: row;
      height: 65px; } }
  .bi-nav--controls > div {
    flex: 1;
    text-align: center; }
  .bi-nav--controls-fab {
    position: absolute;
    right: 5vw;
    bottom: -25px; }
  .bi-nav--controls-type {
    width: auto; }
  .bi-nav--controls-number form {
    margin-top: 20px; }
    @media screen and (min-width: 37.5rem) {
      .bi-nav--controls-number form {
        margin-top: 0 !important; } }
  .bi-nav--controls .bi-nav--spacer {
    display: none; }
    @media screen and (min-width: 37.5rem) {
      .bi-nav--controls .bi-nav--spacer {
        display: inline-flex; } }

.mdl-color--primary {
  background-color: #8d3aff !important; }
  .mdl-color--primary-dark {
    background-color: #7d37dd !important; }
.mdl-color--accent {
  background-color: #f24fd9 !important; }
