/**
 * 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;
}
.demo-avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
}
.demo-layout .demo-header .mdl-textfield {
    padding: 0px;
    margin-top: 41px;
}
.demo-layout .demo-header .mdl-textfield .mdl-textfield__expandable-holder {
    bottom: 19px;
}
.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
    color: rgba(0, 0, 0, 0.54);
}
.mdl-layout__drawer .avatar {
    margin-bottom: 16px;
}
.demo-drawer {
    border: none;
}
/* iOS Safari specific workaround */
.demo-drawer .mdl-menu__container {
    z-index: -1;
}
.demo-drawer .demo-navigation {
    z-index: -2;
}
/* END iOS Safari specific workaround */
.demo-drawer .mdl-menu .mdl-menu__item {
    display: flex;
    align-items: center;
}
.demo-drawer-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    height: 151px;
}
.demo-avatar-dropdown {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.demo-navigation {
    flex-grow: 1;
}
.demo-layout .demo-navigation .mdl-navigation__link {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    color: rgba(255, 255, 255, 0.56);
    font-weight: 500;
}
.demo-layout .demo-navigation .mdl-navigation__link:hover {
    background-color: #00BCD4;
    color: #37474F;
}
.demo-navigation .mdl-navigation__link .material-icons {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.56);
    margin-right: 32px;
}

.demo-content {
    max-width: 1080px;
}

_:-ms-input-placeholder, :root .demo-graphs {
    min-height: 664px;
}
_:-ms-input-placeholder, :root .demo-graph {
    max-height: 300px;
}

.demo-graph:nth-child(1) {
    color: #00b9d8;
}
.demo-graph:nth-child(2) {
    color: #d9006e;
}

.demo-cards {
    align-items: flex-start;
    align-content: flex-start;
}
.demo-cards .demo-separator {
    height: 32px;
}
.demo-cards .mdl-card__title.mdl-card__title {
    color: white;
    font-size: 24px;
    font-weight: 400;
}
.demo-cards ul {
    padding: 0;
}
.demo-cards h3 {
    font-size: 1em;
}
.demo-updates .mdl-card__title {
    min-height: 32px;
    background-position: 90% 100%;
    background-repeat: no-repeat;
}
.demo-cards .mdl-card__actions a {
    color: #00BCD4;
    text-decoration: none;
}

.demo-options h3 {
    margin: 0;
}
.demo-options .mdl-checkbox__box-outline {
    border-color: rgba(255, 255, 255, 0.89);
}
.demo-options ul {
    margin: 0;
    list-style-type: none;
}
.demo-options li {
    margin: 4px 0;
}
.demo-options .material-icons {
    color: rgba(255, 255, 255, 0.89);
}
.demo-options .mdl-card__actions {
    height: 64px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
}

.cfg-city-header {
    font-size: 1.4em;
    color: saddlebrown;
    font-weight: bold;
    padding: 32px;
}

.cfg-station-header {
    position: relative;
    font-size: 1.0em;
    color: saddlebrown;
    padding: 16px 32px;
    border-top: 1px solid lightgray;
}

.cfg-prices-table-row {
    position: relative;
}

.cfg-prices-header {
    font-size: 1.4em;
    color: saddlebrown;
    font-weight: bold;
    padding: 16px 32px;
}

.cfg-price-header-column {
    width: 20%;
    font-size: 1.0em;
    color: black;
    text-align: left;
    padding: 0 5px;
}

.cfg-price-value-column {
    width: 20%;
    font-size: 1.0em;
    color: saddlebrown;
    text-align: right;
    padding: 0 5px;
}

.cfg-fuel-type-header {
    font-size: 1.4em;
    color: saddlebrown;
    font-weight: bold;
    padding: 0 32px;
}

.cfg-location-header {
    font-size: 1.4em;
    color: saddlebrown;
    font-weight: bold;
    padding: 16px 32px;
    border-bottom: 1px solid lightgray;
}

.cfg-privacy-text {
    font-size: 1.0em;
    padding: 8px 32px;
}

.cfg-map {
    height: 400px;
}

.cfg-price-header {
    position: relative;
    font-size: 1.1em;
    color: orange;
    padding: 8px 32px;
    border-top: 1px solid lightgray;
}

.cfg-align-right-padding-8 {
    border-top: 1px solid lightgray;
    text-align: right;
    padding: 8px;
}
.cfg-station-header:hover {
    background: lightgray;
}

.cfg-station-name {
    font-size: 1.2em;
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
}

.cfg-station-address {
    font-size: 1.0em;
    font-style: italic;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
}

.cfg-price {
    font-size: 1.2em;
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
}

.cfg-city-prices {
    padding: 0 0 16px;
    display: flex;
    flex: auto;
    flex-direction: column;
    align-items: stretch;
}

.cfg-empty-span-trick {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left: 0;

    text-decoration: none; /* No underlines on the link */
    z-index: 10; /* Places the link above everything else in the div */
    background-color: #FFF; /* Fix to make div clickable in IE */
    opacity: 0; /* Fix to make div clickable in IE */
    filter: alpha(opacity=1); /* Fix to make div clickable in IE */
}

.cfg-report-title {
    position: relative;
    font-size: 2.0em;
    color: saddlebrown;
    padding: 16px 32px;
    border-bottom: 1px solid lightgray;
}

.cfg-report-subtitle {
    position: relative;
    font-size: 1.3em;
    color: slategray;
    padding: 16px 32px;
}

.cfg-report-text {
    position: relative;
    font-size: 1.2em;
    color: slategray;
    padding: 8px 32px;
}

.cfg-card-container {
    padding: 16px 16px;
}

.cfg-card-square.mdl-card {
    float: left;
    margin: 8px;
    width: 320px;
    height: 350px;
}

.cfg-card-square > .mdl-card__title {
    color: #fff;
    background:
            url('../images/badge.png') center right 15% no-repeat ghostwhite;
}

.cfg-card-city.mdl-card {
    float: left;
    margin: 8px;
    width: 185px;
    height: 250px;
}

.cfg-card-city> .mdl-card__title {
    color: #fff;
    background: ghostwhite;
}

.cfg-table-tabs {
    float: left;
    width: 1080px;
}

.cfg-table-container {
    float: bottom;
    padding: 16px 16px;
}

.cfg-table {
    width: 992px;
    max-width: 992px;
    margin: 8px;
}

.cfg-bold {
    color: saddlebrown;
    font-weight: bold;
}

.cfg-title {
    color: white;
    font-size: 1.2em;
}

.cfg-black {
    color: black;
}

.cfg-red {
    color: red;
}

.cfg-green {
    color: green;
}

i.material-icons{
    display: flow;
    vertical-align: text-bottom;
    justify-content: center !important;
}

tr:hover {
    cursor: pointer;
}

th {
    font-style: italic;
}

th, td {
    overflow: hidden;
}

.mdl-spinner {
    width: 96px;
    height: 96px;
}

.mdl-spinner__circle {
    border-width: 8px;
}