/*
 * Copyright 2016 Google Inc.
 *
 * 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.
 */
@import url(https://fonts.googleapis.com/css?family=Poppins:400,500,600,700);
* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: 'Helvetica', 'Verdana', sans-serif;
  font-weight: 400;
  font-display: optional;
  color: #444;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: rgba(0, 0, 0, .33);
}

html {
  overflow: hidden;
}

body {
  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;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  background: #ececec;
}
#splash-screen {
  position: fixed;
  top:0;
  left:0;
  z-index: 10;
  width:100vw;
  height:100vh;
  text-align: center;
}
#splash-screen h1 {
  font-size: 8vw;
}
#splash-screen h2 {
  font-size: 6vw;
  line-height: 9.6vw;
}
#splash-screen svg {
  width: 8vw;
  height: 8vw;
}
#splash-screen img {
  margin-top: 2em;
}
.header {
  width: 100%;
  height: 56px;
  color: #FFF;
  background: #3F51B5;
  position: fixed;
  font-size: 20px;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 2px 9px 1px rgba(0, 0, 0, 0.12), 0 4px 2px -2px rgba(0, 0, 0, 0.2);
  padding: 16px 16px 0 16px;
  will-change: transform;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-transition: -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
  transition: -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
  transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
  transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s, -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
  z-index: 1000;
}
.header .headerButton {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  text-indent: -30000px;
  overflow: hidden;
  opacity: 0.54;
  -webkit-transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
  transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
  border: none;
  outline: none;
  cursor: pointer;
}
.header #butRefresh {
  background: url(/images/ic_refresh_white_24px.svg) center center no-repeat;
}
.header #butAdd {
  background: url(/images/ic_add_white_24px.svg) center center no-repeat;
}

.header__title {
  font-weight: 400;
  font-size: 20px;
  margin: 0;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.loader[hidden] {
  z-index:11;
  display:block !important;
  text-align: center;
  padding:24px 0;
}
.loader #spinner {
  box-sizing: border-box;
  stroke: #673AB7;
  stroke-width: 3px;
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-animation: line 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite, rotate 1.6s linear infinite;
  animation: line 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite, rotate 1.6s linear infinite;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(450deg);
    transform: rotate(450deg);
  }
}

@keyframes rotate {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(450deg);
    transform: rotate(450deg);
  }
}

@-webkit-keyframes line {
  0% {
    stroke-dasharray: 2, 85.964;
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  50% {
    stroke-dasharray: 65.973, 21.9911;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 2, 85.964;
    stroke-dashoffset: -65.973;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

@keyframes line {
  0% {
    stroke-dasharray: 2, 85.964;
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  50% {
    stroke-dasharray: 65.973, 21.9911;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 2, 85.964;
    stroke-dashoffset: -65.973;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

.main {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  height: 100vh;
}

.dialog-container, #spinner-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  text-align: center;
  pointer-events: auto;
}

.dialog {
  z-index: 100;
  background: #FFF;
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.24), 0 14px 28px rgba(0, 0, 0, 0.48);
  min-width: 280px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) translateY(30px);
  transform: translate(-50%, -50%) translateY(30px);
  -webkit-transition: -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
  transition: -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
  transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
  transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s, -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
}

.dialog > div {
  padding-left: 24px;
  padding-right: 24px;
}

.dialog-title {
  padding-top: 20px;
  font-size: 1.25em;
}

.dialog-body {
  padding-top: 20px;
  padding-bottom: 24px;
  overflow-y: auto;
}
.dialog-body select {
  width: 100%;
  font-size: 2em;
}

.dialog-buttons {
  padding: 8px !important;
  float: right;
  width: calc(100% - 16px);
}

.card {
  padding: 16px;
  position: relative;
  box-sizing: border-box;
  background: #fff;
  border-radius: 2px;
  margin: 16px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.mdl-textfield {
  display: block;
}
.cardTemplate>h2 {
  font-size:16px;
  font-weight: 500;
  margin: 16px 8px 0px 8px;
  text-transform: uppercase;
  color:rgba(0,0,0,.54);
}
.always-focused-label>label {
  font-size: 12px;
  top: 4px;
  visibility: visible;
}
select {
  padding: 8px;
  border-radius: 2px;
  font-size:16px;
}
.bordered-bottom {
  border-bottom: 1px solid rgba(0,0,0,.1);
  width: 100%;
}
.bottom-padded {
  padding-bottom: 16px;
}
.bottom-padded + .bottom-padded {
  padding-top: 16px;
}
.bordered-bottom:last-child {
  border-bottom:0;
}
.mdl-card, .mdl-card-width, #certificates-container {
  max-width: 580px;
  width: calc(100vw - 24px);
}
.mdl-card-width>h1 {
  font-size: 24px;
}
.mdl-card__title {
  color: #ffffff;
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}
#logged-out-sign-in>.page-content:first-child>.logged-out-sign-in>.mdl-card__title.feature-image {
  display: block;
  position: relative;
}
#logged-out-sign-in>.page-content:first-child>.logged-out-sign-in>.mdl-card__title.feature-image h2 {
  position: absolute;
  bottom: 4px;
}
#logged-out-sign-in>.page-content:first-child>.logged-out-sign-in>.mdl-card__title.feature-image img {
  height: 33vw;
  max-height: 192px;
  margin: 0 auto;
  display: block;
}
.feature-image>.mdl-card__title-text {
    background-color: transparent;
}
.centered {
  text-align: center;
}
.showable {
  -webkit-transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
  transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
}
.logged-out-sign-in, #logged-out-sign-up, #logged-out-choice-sign-up {
  position: relative;
  margin: 8px auto;
  vertical-align: top;
}
#logged-out-sign-in > .logged-out-sign-in {
  margin-top: 8px;
}
#logged-out-sign-in > .logged-out-sign-in:first-child {
  margin-top: 0px;
}
#logged-out-sign-in > .logged-out-sign-in:nth-child(2) {
  max-width: 512px;
}
.mdl-card__supporting-text {
  position: relative;
  overflow: visible;
}
.bordered-label {
  position: absolute;
  top: -.7em;
  border-radius: 2px;
  padding:2px 4px;
  min-width: 128px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  text-align: center;
  font-weight: bold;
  letter-spacing: .5px;
}
.mdl-layout__tab-bar {
  width: 100vw;
  padding: 0;
}
.mdl-layout__tab-bar-button {
  display: none;
}
.mdl-layout__header-row {
  padding:0 16px;
}
.mdl-checkbox {
  height: auto;
}
.dialog-message {
  padding: 4px 8px;
  background: rgba(255, 255, 0, .5);
  border: 1px rgba(255, 128, 0, .5) solid;
}
.dialog-buttons .mdl-card__actions.mdl-card--border, #dialog-buttons {
  text-align: right;
}
.dialog-buttons .mdl-card__actions.mdl-card--border button, #dialog-buttons button {
  text-align: center;
}
.mdl-layout__tab-panel>.page-content>*, #certificates-container, #certificates-list>.mdl-card {
  margin: 8px auto;
}
.mdl-layout.is-upgraded .mdl-layout__tab.is-active::after {
  background: #ffffff;
}
#modal-mask {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,.5);
  z-index: 10;
}
.medium-text {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
}
#account-history-table {
  margin: 0 auto;
}
#account-history-table tr>*:nth-child(3) {
  text-overflow: ellipsis;
  max-width: 7em;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}
.mdl-list__item-icon, .mdl-list__item-icon.material-icons {
  color: #ffffff;
}
.mdl-card__supporting-text {
  width: 100%;
}
.mdl-card.mdl-alert {
  min-height: 0px;
}
.mdl-card.mdl-alert.mdl-alert-warn {
  background: #ff9900;
}
.mdl-card.mdl-alert.mdl-alert-notice {
  background: #ffff00;
}
.certificate-offer p {
  margin-bottom: 4px;
  text-align: center;
}
.certificate-offer p:first-child {
  font-weight: bold;
  font-size: 120%;
}
.certificate-offer p:last-child {
  font-size: 85%;
  font-style: italic;
}
.certificate-promo-code, .certificate-expires {
  display:inline-block;
  width: 50%;
  text-align: center;
}
.certificate-barcode {
  text-align: center;
  margin:1em 0 .25em 0;
}
.certificate-barcode-number {
  text-align:center;
  font-size: 85%;
  margin-bottom: 1em;
}
#current-point-balance-box, #points-to-next-reward-box {
  display:inline-block;
  width: 50%;
}
#current-point-balance-box label, #current-point-balance-box input, #points-to-next-reward-box label, #points-to-next-reward-box input {
  color: rgba(0,0,0,.54);
  font-size: 100%;
  text-align: center;
  font-weight: bold;
  margin: 0 auto;
}
#rewards-card-name {
  text-align:center;
  font-size: 125%;
  font-weight:bold;
  margin-bottom: 1em;
}
#rewards-card-number {
  text-align: center;
  margin-bottom: 1em;
}
#rewards-card-barcode {
  text-align: center;
}
#rewards-card-member-since, #rewards-card-points {
  display: inline-block;
  width: 150px;
  white-space: nowrap;
}
.location-title, #location-title, .bolded-text {
  font-weight: bold;
  font-size: 125%;
  line-height: 1.4em;
}
.location-street, #location-street {
  font-size: 125%;
  line-height: 1.4em;
}
.location-city-state, #location-city-state {
  font-size: 125%;
  line-height: 1.4em;
  margin-bottom: .75em;
}
.location-phone, #location-phone {
  font-size: 125%;
  line-height: 1.4em;
  margin-bottom: .75em;
}
.location-email, #location-email {
  font-size: 125%;
  line-height: 2em;
  margin-bottom: .75em;
}
.location-website, #location-website {
  font-size: 125%;
  line-height: 2em;
  margin-bottom: .75em;
}
.location-driving, #location-driving {
  font-size: 125%;
  line-height: 2em;
}
body .mdl-data-table th.mdl-data-table__header--sorted-ascending:before, .mdl-data-table th.mdl-data-table__header--sorted-descending:before {
  content: '';
}
.padded-bottom {
  padding-bottom: 1em;
}
.font-size-125 {
  font-size: 125%;
}
.mdl-textfield__input {
  width: 80%;
  border-bottom: 2px solid rgba(0,0,0,.12);
}
.version {
  font-size: 85%;
  text-align: center;
}
#points-to-next-reward, #current-point-balance, #checkins-to-next-reward {
  font-size: 200%;
}
#points-to-next-reward-label, #checkins-to-next-reward-label {
  margin-top: 1em;
}
[data-push_notification_id]>.mdl-card__supporting-text>p {
  font-size: 133%;
}
[data-push_notification_id]>.mdl-card__supporting-text>.message-instant-sent + p {
  margin-top: 16px;
}
.offer-terms-and-conditions {
  font-size: 90%;
  font-style: italic;
  text-align: center;
}
.offer-terms-and-conditions>div {
  display: inline-block;
  text-align: left;
}
.column-1_2 {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
.mdl-button--raised:hover {
  background-color: rgba(158,158,158,.4);
}
[data-method="SetSpecialAlertsDialog"]>.mdl-textfield>* {
  display: inline-block;
  width: auto;
  position: relative;
}
@media (orientation: portrait) {
  @media (max-width:374px) {
    body h2.mdl-card__title-text {
      font-size: 20px;
    }
  }
  @media (max-width:424px) {
    .mdl-textfield {
      max-width: 80vw;
    }
  }
  @media (max-width:767px) {
    body #account-history-table tr>*:first-child, body #account-history-table tr>*:nth-child(4), body #account-history-table .history-year,body #account-history-table .history-time {
      display: none;
    }
  }
  @media (max-width:1023px) {
    body #account-history-table tr>*:first-child {
      display: none;
    }
  }
}
@media (orientation: landscape) {
  @media (max-width:374px) {
    body h2.mdl-card__title-text {
      font-size: 20px;
    }
  }
  @media (max-width:424px) {
    .mdl-textfield {
      max-width: 80vw;
    }
    body #account-history-table tr>*:first-child, body #account-history-table tr>*:last-child, body #account-history-table .history-year,body #account-history-table .history-time {
      display: none;
    }
  }
  @media (max-width:1023px) {
    body #account-history-table tr>*:first-child {
      display: none;
    }
  }
}