body {
  margin: 0;
}
/* Disable ugly boxes around images in IE10 */
a img{
  border: 0px;
}
::-moz-selection {
  background-color: #dc1e63;
  color: #fff;
}
::selection {
  background-color: #dc1e63;
  color: #fff;
}
.cube-search-box .mdl-textfield__input {
  color: rgba(0, 0, 0, 0.87);
}

.cube-header .mdl-menu__container {
  z-index: 50;
  margin: 0 !important;
}
.mdl-textfield--expandable {
  width: auto;
}
.cube-fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #5882c2 !important;
  color: white !important;
}
.cube-mobile-title {
  display: none !important;
}
.cube-logo-image {
  height: 42px;
}

.cube-drawer {
  border-right: none;
}

  .cube-drawer-separator {
    height: 1px;
    background-color: #dcdcdc;
    margin: 8px 0;
  }

  .cube-drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 14px;
    color: #757575;
  }

  .cube-drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #dc1e63;
  }

  .cube-drawer .mdl-layout-title {
    position: relative;
    background: #FFF;
    height: 65px;
  }

    .cube-drawer .cube-logo-image {
      position: absolute;
      bottom: 16px;
    }

.cube-be-together-section {
  position: relative;
  height: 800px;
  width: auto;
  background-color: #f3f3f3;
  background: url('/images/cube-hero.png') center 30% no-repeat;
  background-size: cover;
}

.logo-font {
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1;
  color: #767777;
  font-weight: 500;
}

.cube-slogan {
  font-size: 60px;
  padding-top: 160px;
}
.cube-sub-slogan {
  font-size: 21px;
  padding-top: 24px;
}

.cube-create-character {
  font-size: 21px;
  padding-top: 400px;
}

  .cube-create-character a {
    text-decoration: none;
    color: #767777;
    font-weight: 300;
  }

.cube-screen-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
}

.cube-screens {
  text-align: right;
  width: 100%;
  white-space: nowrap;
  overflow-x: auto;
}

.cube-screen {
  text-align: center;
}

.cube-screen .cube-link {
  margin-top: 16px;
  display: block;
  z-index: 2;
}

.cube-image-link {
  text-decoration: none;
}

.cube-wear {
  display: inline-block;
  width: 160px;
  margin-right: 32px;
}

  .cube-wear .cube-screen-image {
    width: 40%;
    z-index: 1;
  }


.cube-phone {
  display: inline-block;
  width: 64px;
  margin-right: 48px;
}

  .cube-phone .cube-screen-image {
    width: 100%;
    z-index: 1;
  }


.cube-tablet {
  display: inline-block;
  width: 110px;
  margin-right: 64px;
}

  .cube-tablet .cube-screen-image {
    width: 100%;
    z-index: 1;
  }

  .cube-tablet .cube-link {
    display: block;
    z-index: 2;
  }


.cube-tv {
  display: inline-block;
  width: 300px;
  margin-right: 80px;
}

  .cube-tv .cube-screen-image {
    width: 100%;
    z-index: 1;
  }


.cube-auto {
  display: inline-block;
  width: 300px;
  overflow: hidden;
}

  .cube-auto .cube-screen-image {
    display: block;
    height: 300px;
    z-index: 1;
  }


.cube-wear-section {
  position: relative;
  background: url('/images/wear.png') center top no-repeat;
  background-size: cover;
  height: 800px;
}

.cube-wear-band {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #37474f;
}

.cube-wear-band-text {
  max-width: 800px;
  margin-left: 25%;
  padding: 24px;
  text-align: left;
  color: white;
}

  .cube-wear-band-text p {
    padding-top: 8px;
  }

.cube-link {
  text-decoration: none;
  color: #dc1e63 !important;
}

  .cube-link:hover {
    color: #dc1e63 !important;
  }

  .cube-link .material-icons {
    position: relative;
    top: -1px;
    vertical-align: middle;
  }

.cube-alt-link {
  text-decoration: none;
  color: #64ffda !important;
  font-size: 16px;
}

  .cube-alt-link:hover {
    color: #00bfa5 !important;
  }

  .cube-alt-link .material-icons {
    position: relative;
    top: 6px;
  }

.cube-customized-section {
  text-align: center;
}

.cube-customized-section-text {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 16px 0 16px;
}

  .cube-customized-section-text p {
    padding-top: 16px;
  }

.cube-customized-section-image {
  background: url('/images/devices.jpg') center top no-repeat;
  background-size: cover;
  height: 400px;
}

.cube-more-section {
  padding: 30px 0;
  max-width: 1044px;
  margin-left: auto;
  margin-right: auto;
}

  .cube-more-section .cube-section-title {
    margin-left: 12px;
    padding-bottom: 24px;
  }

.cube-card-container {
}

  /* RESET FIXED WIDTH TO DYNAMIC*/
  .mdl-card {
    width: initial;
  }

  .cube-card-container .mdl-card__media {
    overflow: hidden;
    background: transparent;
  }

  .cube-card-container .mdl-card__media img {
    width: 100%;
  }

  .cube-card-container .mdl-card__title {
    background: transparent;
    height: auto;
  }

  .cube-card-container .mdl-card__title-text {
    color: white;
    height: auto;
  }

  .cube-card-container .mdl-card__supporting-text {
    height: auto;
    color: black;
    padding-bottom: 56px;
  }

  .cube-card-container .mdl-card__actions {
    position: absolute;
    bottom: 0;
  }

  .cube-card-container .mdl-card__actions a {
    border-top: none;
    font-size: 16px;
  }

  .cube-card-wide.mdl-card {
    /*width: 495px;*/
  }

  .cube-card-wide > .mdl-card__title {
    color: #fff;
    height: 660px;
    /*background: url('/images/none.jpg') center / cover;*/ /*default image*/
  }
  
  .cube-card-wide > .mdl-card__menu {
    color: #fff;
  }

.cube-footer {
  background-color: #fafafa;
  position: relative;
}

  .cube-footer a:hover {
    color: #dc1e63;
  }

  .cube-footer .mdl-mega-footer--top-section::after {
    border-bottom: none;
  }

  .cube-footer .mdl-mega-footer--middle-section::after {
    border-bottom: none;
  }

  .cube-footer .mdl-mega-footer--bottom-section {
    position: relative;
  }

  .cube-footer .mdl-mega-footer--bottom-section a {
    margin-right: 2em;
  }

  .cube-footer .mdl-mega-footer--right-section a .material-icons {
    position: relative;
    top: 6px;
  }


.cube-link-menu:hover {
  cursor: pointer;
}


/**** Mobile layout ****/
@media (max-width: 900px) {
  
  .cube-title {
    display: none !important;
  }

  .cube-mobile-title {
    display: block !important;
    position: absolute;
    left: calc(50% - 70px);
    top: 12px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }


  .cube-more-button {
    display: none;
  }

  .cube-search-box.is-focused {
    width: calc(100% - 48px);
  }

  .cube-search-box .mdl-textfield__expandable-holder {
    width: 100%;
  }

  .cube-be-together-section {
    height: 350px;
  }

  .cube-slogan {
    font-size: 26px;
    margin: 0 16px;
    padding-top: 24px;
  }

  .cube-sub-slogan {
    font-size: 16px;
    margin: 0 16px;
    padding-top: 8px;
  }

  .cube-create-character {
    padding-top: 200px;
    font-size: 16px;
  }

  .cube-create-character img {
    height: 12px;
  }

  .cube-fab {
    display: none;
  }

  .cube-wear-band-text {
    margin-left: 0;
    padding: 16px;
  }

  .cube-footer .mdl-mega-footer--bottom-section {
    display: none;
  }
}

/*  NEW STYLE SHEET - TO BE MERGED*/
.mdl-demo .mdl-layout__tab-bar-button {
  display: none;
}
.mdl-demo .mdl-layout.is-small-screen .mdl-layout__tab-bar .mdl-button {
  display: none;
}
.mdl-demo .mdl-layout:not(.is-small-screen) .mdl-layout__tab-bar,
.mdl-demo .mdl-layout:not(.is-small-screen) .mdl-layout__tab-bar-container {
  overflow: visible;
}
.mdl-demo .mdl-layout__tab-bar-container {
  height: 64px;
}
.mdl-demo .mdl-layout__tab-bar {
  padding: 0;
  padding-left: 16px;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab {
  height: 64px;
  line-height: 64px;
}
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab.is-active::after {
  background-color: white;
  height: 4px;
}
.mdl-demo main > .mdl-layout__tab-panel {
  padding: 8px;
  padding-top: 48px;
}
.mdl-demo .mdl-card {
  height: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.mdl-demo .mdl-card > * {
  height: auto;
}
.mdl-demo .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-demo.mdl-demo .mdl-card__supporting-text h4 {
  margin-top: 0;
  margin-bottom: 20px;
}
.mdl-demo .mdl-card__actions {
  margin: 0;
  padding: 4px 40px;
  color: inherit;
}
.mdl-demo .mdl-card__actions a {
  color: #00BCD4;
  margin: 0;
}
.mdl-demo .mdl-card__actions a:hover,
.mdl-demo .mdl-card__actions a:active {
  color: inherit;
  background-color: transparent;
}
.mdl-demo .mdl-card__supporting-text + .mdl-card__actions {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.mdl-demo #add {
  position: absolute;
  right: 40px;
  top: 36px;
  z-index: 999;
}

.mdl-demo .mdl-layout__content section:not(:last-of-type) {
  position: relative;
  margin-bottom: 48px;
}
.mdl-demo section.section--center {
  max-width: 860px;
}
.mdl-demo #features section.section--center {
  max-width: 620px;
}
.mdl-demo 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;
}
.mdl-demo section > .section__play-btn {
  min-height: 200px;
}
.mdl-demo section > header > .material-icons {
  font-size: 3rem;
}
.mdl-demo section > button {
  position: absolute;
  z-index: 99;
  top: 8px;
  right: 8px;
}
.mdl-demo 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;
}
.mdl-demo 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;
}
.mdl-demo section .section__text h5 {
  font-size: inherit;
  margin: 0;
  margin-bottom: 0.5em;
}
.mdl-demo section .section__text a {
  text-decoration: none;
}
.mdl-demo section .section__circle-container > .section__circle-container__circle {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  margin: 8px 0;
}
.mdl-demo section.section--footer .section__circle--big {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  margin: 8px 32px;
}
.mdl-demo .is-small-screen section.section--footer .section__circle--big {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin: 8px 16px;
}
.mdl-demo section.section--footer {
  padding: 64px 0;
  margin: 0 -8px -8px -8px;
}
.mdl-demo section.section--center .section__text:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,.13);
}
.mdl-demo .mdl-card .mdl-card__supporting-text > h3:first-child {
  margin-bottom: 24px;
}
.mdl-demo .mdl-layout__tab-panel:not(#overview) {
  background-color: white;
}
.mdl-demo #features section {
  margin-bottom: 72px;
}
.mdl-demo #features h4, #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;
}
