/**
 * 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-family: 'Roboto', 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
}

.appicons {
    background: url(/images/appicons.png) no-repeat;
    display: inline-block;
    height: 47px;
    width: 48px;
    margin: 20px 34px 30px 11px;
}

#gmail {
    background-position: 0 0;
}

#photos {
    background-position: 0 -96px;
}

#drive {
    background-position: 0 -143px;
}

#play {
    background-position: 0 -194px;
}

#youtube {
    background-position: 0 -240px;
}

#calendar {
    background-position: 0 -336px;
}

#contacts {
    background-position: 0 -384px;
}

#maps {
    background-position: 0 -430px;
}

#feedly {
    background-position: 0 -480px;
}

#wunder {
    background-position: 0 -528px;
}

#keep {
    background-position: 0 -576px;
}

#pocket {
    background-position: 0 -624px;
}

#news {
    background-position: 0 -48px;
}

#msg {
    background-position: 0 -287px;
}

#pod {
    background-position: 0 -672px;
}

.weather {
    width: 100%;
}

.mdl-landing .mdl-layout__header-row {
    padding-left: 40px;
}

.mdl-landing .mdl-layout.is-small-screen .mdl-layout__header-row h3 {
    font-size: inherit;
}

.mdl-landing .mdl-layout__tab-bar-button {
    display: none;
}

.mdl-landing .mdl-layout.is-small-screen .mdl-layout__tab-bar .mdl-button {
    display: none;
}

.mdl-landing .mdl-layout:not(.is-small-screen) .mdl-layout__tab-bar,
.mdl-landing .mdl-layout:not(.is-small-screen) .mdl-layout__tab-bar-container {
    overflow: visible;
}

.mdl-landing .mdl-layout__tab-bar-container {
    height: 64px;
}

.mdl-landing .mdl-layout__tab-bar {
    padding: 0;
    padding-left: 16px;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.mdl-landing .mdl-layout__tab-bar .mdl-layout__tab {
    height: 64px;
    line-height: 64px;
}

.mdl-landing .mdl-layout__tab-bar .mdl-layout__tab.is-active::after {
    background-color: white;
    height: 4px;
}

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

.mdl-landing .mdl-card {
    height: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.mdl-landing .mdl-card > * {
    height: auto;
}

.mdl-card-wide {
    background-color: #ffffff;
}

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

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

.mdl-landing .mdl-card__actions {
    margin: 0;
    padding: 4px 40px;
    color: inherit;
}

.mdl-landing .mdl-card__actions a {
    color: #00BCD4;
    margin: 0;
}

.mdl-landing .mdl-card__actions a:hover,
.mdl-landing .mdl-card__actions a:active {
    color: inherit;
    background-color: transparent;
}

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

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

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

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

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

.mdl-landing section > header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.mdl-landing section > .section__play-btn {
    min-height: 200px;
}

.mdl-landing section > header > .material-icons {
    font-size: 3rem;
}

.mdl-landing section > button {
    position: absolute;
    z-index: 99;
    top: 8px;
    right: 8px;
}

.mdl-landing section .section__circle {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-flex-shrink: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
}

.mdl-landing section .section__text {
    -webkit-box-flex: 1;
    -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-landing section .section__text h5 {
    font-size: inherit;
    margin: 0;
    margin-bottom: 0.5em;
}

.mdl-landing section .section__text a {
    text-decoration: none;
}

.mdl-landing section .section__circle-container > .section__circle-container__circle {
    width: 64px;
    height: 64px;
    border-radius: 32px;
    margin: 8px 0;
}

.mdl-landing section.section--footer .section__circle--big {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    margin: 8px 32px;
}

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

.mdl-landing section.section--footer {
    padding: 64px 0;
    margin: 0 -8px -8px -8px;
}

.mdl-landing section.section--center .section__text:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .13);
}

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

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

.mdl-landing #features section {
    margin-bottom: 72px;
}

.mdl-landing #features h4,
#features h5 {
    margin-bottom: 16px;
}

.mdl-landing .toc {
    border-left: 4px solid #C1EEF4;
    margin: 24px;
    padding: 0;
    padding-left: 8px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.mdl-landing .toc h4 {
    font-size: 0.9rem;
    margin-top: 0;
}

.mdl-landing .toc a {
    color: #4DD0E1;
    text-decoration: none;
    font-size: 16px;
    line-height: 28px;
    display: block;
}

.mdl-landing .mdl-menu__container {
    z-index: 99;
}
