/*
 * Styles for Firebase prices frameboxes.
 */
html {
  height: auto !important;
}

.devsite-landing-row-item-description {
  width: 100% !important;
}

body {
  font-family:Roboto;
}

.fb-prices-clear {
  clear: both;
}

.fb-prices header h3 {
  color: #2196F3;
  font: 500 16px/24px Roboto,sans-serif;
  margin: 0px;
  display: inline;
  padding: 12px;
}

.material-icons.green {
  color: #02BFA6
}

.material-icons.red {
  color: #f92953;
}

label {
  font-size:12px;
  color:rgba(0,0,0,0.54);
  line-height:16px;
  text-align:left;
}

.fb-price-row {
  display: flex;
  display: -ms-flexbox;
}

.fb-price-row > div {
  flex: 1 1 250px;
  -ms-flex: 1 1 250px;
  -webkit-flex: 1 1 250px;
  font-size: 16px;
}

.fb-price-row.features .feature,
.fb-price-row.features .aspect {
  flex: 0 1 250px;
  -ms-flex: 0 1 250px;
  -webkit-flex: 0 1 250px;
  min-width: 150px;
}


.fb-price-row.features .featuretitle, .fb-calculator-item .featuretitle {
  align-items: center;
  color: #212121;
  display: flex;
  display: -ms-flexbox;
  font-family: Roboto;
  font-size: 18px;
  padding-left: 16px;
}


.fb-price-row.features .feature {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  min-width: 200px;
}

.fb-price-row.features .feature > div {
  background-color: #FAFBFC;
  text-align: left;
  border-bottom: 1px solid #cfd8dc;
  flex: 1 1;
  -ms-flex: 1 1;
  -webkit-flex: 1 1;
}

.fb-price-row .spacer {
  background-color: #FAFBFC;
  display: inline-block;
  float: left;
  height: 100%;
  width: 24px;
}

.fb-price-row .header .spacer {
  background-color: #FFFFFF;
}

.fb-price-row.included .spacer {
  background-color: #e0f2f1;
  float: none;
  vertical-align: top;
}

.fb-price-row.features .feature > div,
.fb-price-row.features .aspect > div,
.fb-price-row.features .spark > div,
.fb-price-row.features .not-spark > div {
  border-bottom: 1px solid #cfd8dc;
  height: 48px;
  line-height: 48px;
}

.fb-price-row.features .material-icons {
  line-height: 48px;
}

.fb-price-row.features .aspect > div {
  color:rgba(0,0,0,0.54);
  background-color: #FAFBFC;
  text-align: left;
  font-size:14px;
}

.fb-price-row.features .spark > div {
  background:#E1F3FB;
  text-align: center;
  line-height: 48px;
}
.fb-price-row.features .not-spark > div {
  background:#F2F5F6;
  text-align: center;
  line-height: 48px;
}
.fb-price-row.features .not-spark .footnote {
  line-height: 40px;
}

.fb-price-row .noshrink {
  flex: 0 1 250px;
  -ms-flex: 0 1 250px;
  -webkit-flex: 0 1 250px;
  min-width: 150px;
}

.fb-price-row .noshrink.first {
  min-width: 200px;
}

.fb-price-row.included {
  border-bottom: 1px solid #cfd8dc;
  border-top: 1px solid #cfd8dc;
  background: #e0f2f1;
  color: #00897b;
  text-align: left;
  height: 92px;
}

.fb-price-row.included .header-wrapper {
  flex: 0 1 250px;
  -ms-flex: 0 1 250px;
  -webkit-flex: 0 1 250px;
  min-width: 200px;
}

.fb-price-row.included .header {
  font-size: 14px;
  font-weight: 300;
  color: #00897b;
  padding: 16px;
}

.fb-price-row.included .header strong {
  font-weight: 500;
}

.fb-price-row.included .header > div {
  width: 350px;
}

.fb-price-row.included .body {
  text-align: center;
  line-height: 102px;
}


.fb-price-row.headers .header {
  text-align: center;
  font-family: Roboto;
  font-weight: 300;
  color: #fff;
  height: 160px;
}

.fb-price-row.headers .header .padding {
  margin-left: 24px;
  padding: 12px;
}

.fb-price-row.headers .header.spark, .fb-price-row.spark .header {
  background:#29b6f6;
  color: #fff;
}

.fb-price-row.headers .header.flame, .fb-price-row.flame .header {
  background:#78909c;
  color: #fff;
}

.fb-price-row.headers .header.blaze, .fb-price-row.blaze .header {
  background:#90a4ae;
  color: #fff;
}

.fb-price-row.headers .header .title,
.fb-price-row.feature .header .title {
  padding: 8px;
  font-size: 18px;
  line-height: 24px;
}

.fb-price-row.headers .header .price,
.fb-price-row.feature .header .price {
  font-size: 22px;
  line-height: 20px;
}

.fb-price-row.headers .header .description,
.fb-price-row.feature .header .description {
  font-size: 14px;
}

.fb-price-row.headers .header hr,
.fb-price-row.plan .header hr {
  border-top-width: 2px;
  color: #ffffff;
  margin-left: 36px;
  margin-right: 36px;
  opacity: 0.30;
}

.fb-price-header {
  font-family: Roboto,sans-serif;
  margin: 0;
  padding: 0;
  width: 234px;
  height: 100%;
}

.fb-price-section-header {
  font-size:18px;
  color: #212121;
  background-color: #FAFBFC;
  width: 190px;
  text-align: left;
  border-bottom:1px solid #cfd8dc;
}

.fb-price-subsection-header {
  font-family:Roboto;
  font-size:14px;
  color:rgba(0,0,0,0.54);
  background-color: #FAFBFC;
  min-width: 187px;
  text-align: left;
  height: 32px;
  padding: 8px;
}

.fb-footnote {
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
  font-style: italic;
  padding: 0px 16px 16px 16px;
}

.fb-price-calculator-heading h2 {
  color: rgba(0,0,0,0.87);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  margin-bottom: 0;
  margin-top: 40px;
}

.fb-price-calculator-heading p {
  color: rgba(0, 0, 0, 0.54);
  font-size: 16px;
  line-height: 24px;
  margin: 24px 0;
  max-width: 640px;
}

.fb-calculator section:first-of-type {
  border-top: none;
}

.fb-calculator-item {
  display: flex;
  display: -ms-flexbox;
  border-top: 1px solid #cfd8dc;
  flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
}

.fb-calculator-item header {
  background-color: #FAFBFC;
  display: flex;
  display: -ms-flexbox;
  align-items: center;
  max-width: 250px;
  min-width: 180px;
  width: 250px;
}
.fb-calculator-item header.showalways {
  padding-left: 0;
}

.fb-calculator-item header h1 {
  margin: 0px;
  display: inline;
  padding: 12px;
}

.fb-calculator-range {
  border-top: 1px solid #D5DDE0;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
}

.fb-calculator-rangeholder {
  flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
}

.fb-calculator-total {
  color: rgba(0, 0, 0, 0.87);
}

.fb-calculator-cell {
  background: #FAFBFC;
  padding: 12px;
}

.fb-calculator-total-cell {
  flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
}

.fb-calculator-cell .mdl-slider__container {
  height: 24px;
  margin-left: -20px;
}

.fb-calculator-cell.fb-calculator-range-cell {
  flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
}

.fb-calculator-cost-cell {
  align-items: center;
  background: #F2F5F6;
  color: #2196F3;
  display: flex;
  display: -ms-flexbox;
  font: 500 16px/24px Roboto,sans-serif;
  justify-content: center;
}

.fb-calculator-grand-total > div {
  background-color: #FAFBFC;
  flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
}

.fb-calculator-grandtotal-cell {
  font: 500 16px/24px Roboto,sans-serif;
  color: #2196F3;
  background: #F2F5F6;
  text-align: center;
  padding: 36px 12px;
  width: 200px;
}

.fb-calculator-grandtotal-cell .label {
  font-family:Roboto;
  font-size:12px;
  color:rgba(0,0,0,0.87);
  line-height:16px;
  text-align:center;
}

.fb-expander-button {
  display: none;
  box-shadow: none;
}

.fb-calculator-summary {
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
}

.fb-calculator-item-cost {
  display: none;
}

.exw-control+h3.showalways {
  color: #757575;
  font-size: 16px;
  font-weight: 400;
  margin: 20px 36px 20px 0;
  padding-left: 0;
}

.firebase-feature {
  border-bottom: 1px solid #cfd8dc;
}

.firebase-feature p {
  margin-right: 40px;
}

.firebase-feature-main-heading {
  cursor: pointer;
}

.firebase-feature-popup-content {
  padding-bottom: 20px;
}

.firebase-feature .exw-control::before {
  color: #bdbdbd;
}

.firebase-feature .exw-control, .firebase-feature .exw-control:hover {
  background: transparent;
}

.firebase-feature .exw-control {
  display: block;
  right: 16px;
}

.firebase-pricing-page .devsite-main-content {
  padding: 0 80px;
}

/** Styles explicitly for non-mobile devices */
@media only screen and (min-width: 901px) {
  .fb-prices {
    display: block;
  }

  .fb-prices-resp {
    display: none;
  }

  .fb-price-row {
    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
  }

  .fb-calculator-cell {
    width: 200px;
  }

  .fb-calculator-total-cell {
    max-width: 275px;
  }

  .fb-calculator-clear {
    display: none;
  }

  .fb-calculator-item .exw-control {
    display: none;
  }

  .fb-calculator-item.expandable .exw-collapsed-content {
    display: block !important;
  }
}

/** Styles explicitly for mobile/responsive devices */
@media only screen and (max-width: 900px) {
  .fb-prices {
    display: none;
  }

  .fb-prices-resp {
    display: block;
  }

  .fb-price-row, .fb-price-row > div {
    display: block;
    flex: none;
    -ms-flex: none;
    -webkit-flex: none;
  }

  .fb-price-row.included {
    border: none;
    text-align: center;
    height: auto;
    display: block;
  }

  .fb-price-row.included .free {
    padding: 16px;
  }

  .fb-price-row.included .apps {
    padding: 0 16px 16px 16px;
  }

  .fb-price-row.plan {
    padding-top: 24px;
  }

  .fb-price-row.plan .header {
    padding: 24px;
    text-align: center;
  }

  .fb-price-row.plan .header .price {
    font-size: 24px;
    padding-top: 8px;
  }

  .fb-price-row.plan .features {
    background-color: #E6F7FE;
  }

  .fb-price-row.flame .features,
  .fb-price-row.blaze .features {
    background-color: #F2F5F6;
  }

  .fb-price-row.plan .features .expandable {
    clear: both;
  }

  .fb-price-row.plan .features header.showalways {
    border-top: 1px solid #DCE9EF;
    padding-left: 0px;
  }

  .fb-price-row.plan .features .exw-control,
  .fb-price-row.plan .features .exw-control:hover {
    background: transparent;
    display: block;
    right: 16px;
    top: 16px;
  }

  .fb-price-row.plan .features header .title {
    color: #212121;
    font-size: 18px;
    padding: 16px;
  }

  .fb-price-row .features .feature {
    border-top: 1px solid #DCE9EF;
    clear: both;
    line-height: 48px;
  }

  .fb-price-row .features .feature .name {
    color: rgba(0, 0, 0, 0.54);
    float: left;
    font-size: 16px;
    padding: 0 16px;
  }

  .fb-price-row .features .feature .value {
    color: rgba(0, 0, 0, 0.87);
    float: right;
    font-size: 16px;
    padding: 0 24px;
  }

  .fb-price-row .features .feature .material-icons {
    top: 8px;
    position: relative;
  }

  .fb-calculator-range {
    display: inline;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
  }

  .fb-calculator-range > div:first-of-type {
    border-top: 1px solid #CFD8DC;
    padding-bottom: 0px;
  }

  .fb-expander-button {
    display: inline;
  }

  .fb-calculator-item {
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
  }

  .fb-calculator-item header {
    max-width: inherit;
    width: inherit;
  }

  .fb-calculator-item .exw-control, .fb-calculator-item .exw-control:hover {
    background: transparent;
    display: block;
    right: 16px;
    top: 10px;
  }

  .fb-price-row.plan .features .exw-control::before,
  .fb-calculator-item .exw-control::before {
    color: #bdbdbd;
  }

  .fb-calculator-item-cost {
    display: flex;
    display: -ms-flexbox;
    flex: 1;
    -ms-flex: 1;
    -webkit-flex: 1;
    margin-right: 36px;
  }

  .fb-calculator-item-cost > span {
    flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    font: 400 16px/24px Roboto,sans-serif;
    margin-right: 16px;
    text-align: right;
  }

  .fb-calculator-total-cell {
    float: left;
  }

  .fb-calculator-cost-cell {
    background: #FAFBFC;
    color: rgba(0, 0, 0, 0.87);
    float: right;
    font: 400 16px/24px Roboto,sans-serif;
  }

  .fb-calculator-clear {
    clear: both;
  }

  .fb-calculator-rangeholder {
    background: #FAFBFC;
  }

  .fb-calculator-grand-total {
    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
  }

  .fb-calculator-grand-total > div {
    flex: 0 1;
    -ms-flex: 0 1;
    -webkit-flex: 0 1;
  }

  .fb-calculator-grand-total > section {
    flex: 1;
    -ms-flex: 1;
    -webkit-flex: 1;
  }
}

@media only screen and (max-width: 720px) {
  .firebase-pricing-page .devsite-main-content {
    padding: 0 16px;
  }
}

@media only screen and (max-width: 1000px) {
  .fb-price-row.headers .header .title {
    font-size: 16px;
    line-height: 24px;
  }

  .fb-price-row.headers .header .price {
    font-size: 18px;
    line-height: 16px;
  }

  .fb-price-row.headers .header .description {
    font-size: 12px;
  }

  .fb-price-row.headers .header .title {
    font-size: 16px;
    line-height: 24px;
  }

  .fb-price-row.headers .header .price {
    font-size: 18px;
    line-height: 16px;
  }

  .fb-price-row.headers .header .description {
    font-size: 12px;
  }

  .fb-price-row.features .aspect > div {
  font-size: 13px;
  }
}
