.mdl-layout__drawer-button {
  display: none;
}

/* img.feature {
  height: auto;
  width: 100%;
  max-height: 527px;
} */

div.af-drawer-title{
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 100%;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);

}

div.fp-card {
  background-color: #424242;
  color: white;
}

div.af-title,
div.af-mobile-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.intro-wrap {
  height: auto;
  position: absolute;
}

html {
  color: white;
}

body {
  margin: 0;
  background-color: #000000;
  font-family: 'Rubik',  sans-serif, "Helvetica" !important;
}

/* Disable ugly boxes around images in IE10 */
a img {
  border: 0px;
}

::-moz-selection {
  background-color: #0d47a1;
  color: #fff;
}

::selection {
  background-color: #0d47a1;
  color: #fff;
}

.af-search-box .mdl-textfield__input {
  color: rgba(0, 0, 0, 0.87);
}

.af-header .mdl-menu__container {
  z-index: 50;
  margin: 0 !important;
}


.mdl-textfield--expandable {
  width: auto;
}

.af-fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #5472d3 !important;
  color: white !important;
}

div.af-mobile-title {
  display: none !important;
}


.af-logo-image {
  height: 54px;
}


.af-header {
  overflow: visible;
  color: white;
  background-color: transparent;
}

/* .af-header .material-icons {
  color: #424242 !important;
}

.af-header .mdl-layout__drawer-button {
  background: transparent;
  color: #767777;
} */

.af-header .mdl-navigation__link {
  font-weight: 700;
  font-size: 14px;
}

.af-navigation-container {
  /* Simple hack to make the overflow happen to the left instead... */
  direction: rtl;
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
  width: 500px;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.af-navigation {
  /* ... and now make sure the content is actually LTR */
  direction: ltr;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: 800px;
}

.af-search-box.is-focused+.af-navigation-container {
  opacity: 0;
  width: 100px;
}


.af-navigation .mdl-navigation__link {
  display: inline-block;
  height: 60px;
  line-height: 68px;
  background-color: transparent !important;
  border-bottom: 4px solid transparent;
}

.af-navigation .mdl-navigation__link:hover {
  border-bottom: 4px solid #5472d3;
}

.af-search-box {
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;
  margin-left: 16px;
  margin-right: 16px;
}

.af-more-button {
  -webkit-order: 3;
  -ms-flex-order: 3;
  order: 3;
}


.af-drawer {
  border-right: none;
}

.af-drawer-separator {
  height: 1px;
  background-color: #dcdcdc;
  margin: 8px 0;
}

.af-drawer .mdl-navigation__link.mdl-navigation__link {
  font-size: 14px;
  color: #000000;
}

.af-drawer span.mdl-navigation__link.mdl-navigation__link {
  color: #0d47a1;
}

.af-drawer .mdl-layout-title {
  position: relative;
  background: #0d47a1;
  height: 160px;
}

.af-drawer .af-logo-image {
  position: absolute;
  bottom: 16px;
}

/* .af-be-together-section canvas {
  width: 100%;
  height: 100%;
} */

.af-be-together-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 600px;
  width: auto;
  background-color: #f3f3f3;
  background: url('../images/slide01.jpg') center 30% no-repeat;
  background-size: cover;
}

.web-title {
  font-size: 60px;
  padding-top: 0px;
}

.web-sub-title {
  font-size: 21px;
  padding-top: 24px;
}

.af-create-character {
  font-size: 21px;
  margin-top: 60px;
}

.af-create-character a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 300;
}

.af-screen-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
}

.af-screens {
  text-align: right;
  width: 100%;
  white-space: nowrap;
  overflow-x: auto;
}

.af-screen {
  text-align: center;
}

.af-screen .af-link {
  margin-top: 16px;
  display: block;
  z-index: 2;
}

.af-image-link {
  text-decoration: none;
}

.af-wear {
  display: inline-block;
  width: 160px;
  margin-right: 32px;
}

.af-wear .af-screen-image {
  width: 40%;
  z-index: 1;
}


.af-phone {
  display: inline-block;
  width: 64px;
  margin-right: 48px;
}

.af-phone .af-screen-image {
  width: 100%;
  z-index: 1;
}


.af-tablet {
  display: inline-block;
  width: 110px;
  margin-right: 64px;
}

.af-tablet .af-screen-image {
  width: 100%;
  z-index: 1;
}

.af-tablet .af-link {
  display: block;
  z-index: 2;
}


.af-tv {
  display: inline-block;
  width: 300px;
  margin-right: 80px;
}

.af-tv .af-screen-image {
  width: 100%;
  z-index: 1;
}


.af-auto {
  display: inline-block;
  width: 300px;
  overflow: hidden;
}

.af-auto .af-screen-image {
  display: block;
  height: 300px;
  z-index: 1;
}


.af-wear-section {
  position: relative;
  background: url('../images/wear.png') center top no-repeat;
  background-size: cover;
  height: 800px;
}

.af-wear-band {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #37474f;
}

.af-wear-band-text {
  max-width: 800px;
  margin-left: 25%;
  padding: 24px;
  text-align: left;
  color: white;
}

.af-wear-band-text p {
  padding-top: 8px;
}

a.af-link {
  text-decoration: none;
  color: white;
}

a.af-link:hover {
  color: white;
}

.af-link .material-icons {
  position: relative;
  top: -1px;
  vertical-align: middle;
}

.af-alt-link {
  text-decoration: none;
  color: #64ffda !important;
  font-size: 16px;
}

.af-alt-link:hover {
  color: #00bfa5 !important;
}

.af-alt-link .material-icons {
  position: relative;
  top: 6px;
}

.af-customized-section {
  text-align: center;
}

.af-customized-section-text {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 16px 0 16px;
}

.af-customized-section-text p {
  padding-top: 16px;
}

.af-customized-section-image {
  background: url('../images/devices.jpg') center top no-repeat;
  background-size: cover;
  height: 400px;
}

.af-more-section {
  padding: 80px 0;
  max-width: 1044px;
  margin-left: auto;
  margin-right: auto;
}

.af-more-section .af-section-title {
  margin-left: 12px;
  padding-bottom: 24px;
}

.af-card-container {}

.af-card-container .mdl-card__media {
  overflow: hidden;
  background: transparent;
}

.af-card-container .mdl-card__media img {
  width: 100%;
}

.af-card-container .mdl-card__title {
  background: transparent;
  height: auto;
}

.af-card-container .mdl-card__title-text {
  color: white;
  height: auto;
}

.af-card-container .mdl-card__supporting-text {
  height: auto;
  color: white;
  opacity: 0.75;
  padding-bottom: 56px;
}

.af-card-container .mdl-card__actions {
  position: absolute;
  bottom: 0;
}

.af-card-container .mdl-card__actions a {
  border-top: none;
  font-size: 16px;
}

.af-footer {
  background-color: transparent;
  position: relative;
}

.af-footer a:hover {
  color: #0d47a1;
}

.af-footer .mdl-mega-footer--top-section::after {
  border-bottom: none;
}

.af-footer .mdl-mega-footer--middle-section::after {
  border-bottom: none;
}

.af-footer .mdl-mega-footer--bottom-section {
  position: relative;
}

.af-footer .mdl-mega-footer--bottom-section a {
  margin-right: 2em;
}

.af-footer .mdl-mega-footer--right-section a .material-icons {
  position: relative;
  top: 6px;
}


.af-link-menu:hover {
  cursor: pointer;
}


/**** Mobile layout ****/
@media (max-width: 900px) {
  .mdl-layout__drawer-button {
    display: block;
  }

  .af-more-section {
    padding: 40px 0;
  }

  .af-navigation-container {
    display: none;
  }

  div.af-title {
    display: none !important;
  }

  div.af-mobile-title {
    display: flex !important;
    position: absolute;
    margin: auto;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10 break
     consecutive "+" operators in some cases. Therefore, we need to use both
     here to cover all the bases. */
  .af.af-search-box.is-focused~.af-mobile-title,
  .af-search-box.is-focused+.af-navigation-container+.af-mobile-title {
    opacity: 0;
  }

  .af-more-button {
    display: none;
  }

  .af-search-box.is-focused {
    width: calc(100% - 48px);
  }

  .af-search-box .mdl-textfield__expandable-holder {
    width: 100%;
  }

  .af-be-together-section {
    height: 360px;
  }

  .web-title {
    font-size: 26px;
    margin: 0 16px;
    padding-top: 0px;
  }

  .web-sub-title {
    font-size: 16px;
    margin: 0 16px;
    padding-top: 8px;
  }

  .af-create-character {
    margin-top: 50px;
    font-size: 16px;
  }

  .af-create-character img {
    height: 12px;
  }

  .af-fab {
    display: none;
  }

  .af-wear-band-text {
    margin-left: 0;
    padding: 16px;
  }

  .af-footer .mdl-mega-footer--bottom-section {
    
  }
}