/**
 * 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.
 */

body {
  margin: 0;
}

/* Disable ugly boxes around images in IE10 */
a img{
  border: 0px;
}

::-moz-selection {
  background-color: #6ab344;
  color: #fff;
}

::selection {
  background-color: #6ab344;
  color: #fff;
}

.ecodms-search-box .mdl-textfield__input {
  color: rgba(0, 0, 0, 0.87);
}

.ecodms-header .mdl-menu__container {
  z-index: 50;
  margin: 0 !important;
}


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

.ecodms-fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #64ffda !important;
  color: black !important;
}

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


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


.ecodms-header {
  overflow: visible;
  background-color: white;
}

  .ecodms-header .material-icons {
    color: #767777 !important;
  }

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

/*  .ecodms-header .mdl-navigation__link {
    color: #757575;
    font-weight: 500;
    font-size: 13px;
  }*/

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

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

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


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

    .ecodms-navigation .mdl-navigation__link:hover {
      border-bottom: 4px solid #004493;
    }*/
    

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

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


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

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

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

  .ecodms-drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #8bc34a;
  }*/

  .ecodms-drawer .mdl-layout-title {
    position: relative;
    background: #e6e7ed;
    height: 110px;
    margin-bottom: 15px;
  }

/*    .ecodms-drawer .ecodms-logo-image {
      position: absolute;
      bottom: 16px;
    }*/

/*.ecodms-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;
}

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

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


.ecodms-link {
  text-decoration: none;
  color: rgba(0,0,0,.60) !important;
}

  .ecodms-link:hover {
    color: #004493 !important;
  }

  .ecodms-link .material-icons {
    position: relative;
    top: -1px;
    vertical-align: middle;
    color: #7b7e96 !important;
  }

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

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

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

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

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

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

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

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

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

.ecodms-card-container {
}

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

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

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

  .ecodms-card-container .mdl-card__title-text {
    color: rgba(0,0,0,0.6);;
    height: auto;
  }

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

  .ecodms-card-container .mdl-card__actions {
    position: absolute;
    bottom: 0;
    text-align: left;
  }

  .ecodms-card-container .mdl-card__actions a {
    border-top: none;
  }

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

  .ecodms-footer a:hover {
    color: #004493;
  }

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

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

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

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

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


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


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

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

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

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

  .ecodms-search-box .mdl-textfield__expandable-holder {
    width: 100%;
    background: #FAFAFA;
    width: 90%;
    z-index: 9999;
  }
/*  */

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

  .ecodms-sub-slogan {
    font-size: 16px;
    margin: 0 16px;

  }

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

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

  .ecodms-fab {
    display: none;
  }

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

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