/**
 * 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, body {
  font-size: 16px;
}
body {
  margin: 0;
  background-color: #d9d9d9;
}

/* Disable ugly boxes around images in IE10 */
a img{
  border: 0px;
}
a {
  color: #f19100 !important;
}

p {
  font-size: 16px;
}

.ga-snackbar {
  background-color: #F19100;
  color: white;
  font-weight: 500;
}

div.ga-no-padding p{
  padding: 0;
}

.ga-input-instruction {
  color: rgba(0,0,0,.26);
  font-size: 12px;
}

.ga-required {
  color: #52757a;
}

/* .ga-required::before {
  content: "*";
} */

.ga-tall-card {
  min-height: 90vh;
}

.ga-form-title {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: center;
  justify-content: flex-start;
  -webkit-align-content: space-between;
  -ms-flex-line-pack: justify;
  align-content: space-between;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  /* height: 48px; */
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #e0e0e0;
}
.ga-title-text {
  margin: 0;
  border: none;
  padding: 0 16px;
  float: left;
  position: relative;
  display: block;
  text-decoration: none;
  /* height: 48px; */
  line-height: 48px;
  text-align: center;
  font-weight: 300;
  font-size: 24px;
  color: rgba(0,0,0,.54);
  overflow: hidden;
}
.mdl-button--raised {
  color: #52757a;
}
.mdl-button.mdl-button--colored {
  color: #52757a;
}

.mdl-button--raised:hover {
  background-color: rgba(190,190,190,.2);
}
.mdl-button--raised.mdl-button--colored {
  background: #f19100;
  color: rgb(255,255,255);
}
.mdl-button--raised.mdl-button--colored:hover {
  background: #f9a010;
}

::-moz-selection {
  background-color: #f9a010;
  color: #fff;
}

::selection {
  background-color: #f9a010;
  color: #fff;
}

.ga-search-box .mdl-textfield__input {
  color: #f19100;
  border: none;
}

.ga-header .mdl-menu__outline {
  z-index: 50;
  margin: 0 !important;
}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after {
  background-color: #f19100;
}
.mdl-tabs__tab {
  color: #52757a !important;
}

.mdl-textfield__label:after {
  background-color: #f19100;
}

.mdl-textfield--expandable {
  width: auto;
}

.mdl-textfield--floating-label.is-focused .mdl-textfield__label, .mdl-textfield--floating-label.is-dirty .mdl-textfield__label, .mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
  color: #52757a;
}
.mdl-checkbox.is-checked .mdl-checkbox__box-outline {
    border: 2px solid #52757a;
}
.mdl-checkbox.is-checked .mdl-checkbox__tick-outline {
    background: #52757a url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiI…lsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K);
}
.ga-fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #64ffda !important;
  color: black !important;
}

.ga-mobile-title {
  display: none !important;
}

.logo {
  height: 48px;
  width: 48px;
  background-image: url('../img/logo.png');
  background-position: center left;
  background-repeat: no-repeat;
  background-size: 28px;
  cursor: pointer;
}

.ga-logo-image {
  height: 28px;
  width: 140px;
}

.mdl-radio.is-checked .mdl-radio__outer-circle {
  border: 2px solid #52757a;
  z-index: inherit;
}

.mdl-radio__outer-circle {
  z-index: inherit;
}

.mdl-radio__inner-circle {
  background-color: #52757a;
}

.ga-header {
  overflow: visible;
  background-color: #52757a;
  border-bottom: 2px solid #f19100;
  color: #fff;
  display: flex !important;
}

.ga-header .material-icons {
  color: #f19100 !important;
}

.ga-header .mdl-layout__drawer-button {
  background: transparent;
  color: #767777;
}

@media screen and (max-width: 480px) {
/*   .drawer-button {
  }  */
}

@media screen and (min-width: 481px) {
  .drawer-button {
    display: none; } }

.ga-header .mdl-navigation__link,
.ga-drawer .mdl-navigation__link {
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
}

.ga-navigation-container {
  /* Simple hack to make the overflow happen to the left instead... */
  direction: rtl;
  -webkit-order: 1;
      -ms-flex-order: 1;
          order: 1;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
      width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ga-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;
}

.ga-search-box.is-focused + .ga-navigation-container {
  opacity: 0;
  width: 100px;
}


.ga-navigation .mdl-navigation__link {
  display: inline-block;
  height: 60px;
  line-height: 68px;
  background-color: transparent !important;
  border-bottom: 4px solid transparent;
}

.ga-navigation .mdl-navigation__link:hover {
  background-color: #5b7e84 !important;
}

.ga-navigation .mdl-navigation__link.is-active {
  border-bottom: 4px solid #f19100;
}

.ga-drawer .mdl-navigation__link.is-active {
  border-left: 4px solid #f19100;
}

.ga-drawer .mdl-navigation__link:hover {
  background-color: #5b7e84 !important;
}

.ga-search-box {
  -webkit-order: 2;
      -ms-flex-order: 2;
          order: 2;
  margin-left: 16px;
  margin-right: 16px;
}

.ga-more-button {
  -webkit-order: 3;
      -ms-flex-order: 3;
          order: 3;
}


.ga-drawer {
  border-right: none;
  background: #52757a;
}

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

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

.ga-drawer span.mdl-navigation__link.mdl-navigation__link {
  color: #8bc34a;
}

.ga-drawer .mdl-layout-title {
  position: relative;
  background-color: #52757a;
  background-image: url('../img/logo.png');
  background-position: center left;
  background-repeat: no-repeat;
  margin: 10px;
  height: 100px;
  line-height: 100px;
  padding-left: 60px;
  color: #fff;
}

.ga-hand {
  cursor: pointer;
}

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

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

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

.ga-slogan {
  font-size: 60px;
  padding-top: 160px;
}

.ga-sub-slogan {
  font-size: 21px;
  padding-top: 24px;
}

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

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

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

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

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

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

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

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

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


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

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


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

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

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


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

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


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

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


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

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

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

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

.ga-link {
  text-decoration: none;
  color: #8bc34a !important;
}

  .ga-link:hover {
    color: #7cb342 !important;
  }

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

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

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

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

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

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

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

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

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

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

/* .ga-card-container {
} */

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

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

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

  .ga-card-container .mdl-card__title-text {
    color: black;
    height: auto;
  }

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

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

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

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

  .ga-footer a:hover {
    color: #8bc34a;
  }

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

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

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

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

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


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

/* COMMON STYLES FOR MASTER/FOOTER/GENERAL */
.scrollbar {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  /* FIREFOX */
  scrollbar-width: thin;
  scrollbar-color: #f19100 #e3e3e3;
}
.scrollbarAll {
  overflow-y: auto !important;
  overflow-x: auto !important;
  /* FIREFOX */
  scrollbar-width: thin;
  scrollbar-color: #f19100 #e3e3e3;
}
.scrollbar::-webkit-scrollbar, .scrollbarAll::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}
.scrollbar::-webkit-scrollbar-track, .scrollbarAll::-webkit-scrollbar-track {
    background: #e3e3e3 !important;
}
.scrollbar::-webkit-scrollbar-thumb, .scrollbarAll::-webkit-scrollbar-thumb {
    background: #f19100 !important /* #C1C1C1 */;
    border-radius: 2px !important;
}
.iconized {
  display: flex;
  align-items: center;
}
.iconized > input {
  flex: 1 0;
}
.iconized > span {
  display: inline-block;
  color: #52757a;
}
.iconized > span + span {
  margin-left: 5px;
}
.ga-text-white {
  color: white !important;
}

/**** Mobile layout ****/
@media (max-width: 900px) {
  .ga-navigation-container {
    display: none;
  }

  .ga-title {
    display: none !important;
  }

  .ga-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);
  }

  /* 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. */
  .ga.ga-search-box.is-focused ~ .ga-mobile-title,
  .ga-search-box.is-focused + .ga-navigation-container + .ga-mobile-title {
    opacity: 0;
  }

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

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

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

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

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

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

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

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

  .ga-fab {
    display: none;
  }

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

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