.center {
  text-align: center
}

/* Used in AdMob code examples */
.oldcode {
  opacity: .40;

  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);

  /* IE <= 7 */
  filter:alpha(opacity=40);
}

.newcode {
  font-weight: bold;
}

/* Device Screenshots */
.deviceshot {
  max-width: 700px;
  max-height: 400px;
}


/* Start Changelog styles */
.badge {
    position: relative;
    top: -3px;
    border-radius: 16px;
    display: inline-block;
    width: 90px;
    height: 32px;
    line-height: 32px;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/* Colours for each type of changelog entry. */
/* TODO: Change the colours to match the site colour scheme */

.badge-changed {
    background-color: #F4B400;
    color: #fff;
}

.badge-fixed {
    background-color: #4285F4;
    color: #fff;
}

.badge-important {
    background-color: #DB4437;
    color: #fff;
}

.badge-feature {
    background-color: #0F9D58;
    color: #fff;
}

.badge-deprecated {
    background-color: #DB4437;
    color: #fff;
}

.badge-issue {
    background-color: #DB4437;
    color: #fff;
}

.changelog > ul  {
  padding-left: 0;
}

.changelog > ul > li {
  list-style-type: none;
  margin-bottom: 22px;
}

/* End Changelog styles */


/* Docs Overview page styles */

.docs-android,
.docs-ios,
.docs-web,
.docs-cpp,
.docs-unity {
  height: 64px;
  width: 64px;
  margin: 10px 16px 0 -16px;
}

.firebase-docs-overview .devsite-landing-row h2 {
  margin: 80px 0 -40px;
}

.devsite-landing-row-3-up .docs-landing-row-item {
    width: calc((100% - 80px)/2);
    display: inline-block;
}

.docs-landing-icon {
  font-size: 48px;
  height: 48px;
  margin: 11px;
  width: 48px;
}

.firebase-reference-list {
  display: -ms-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.firebase-reference-list-item {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  margin: 40px 0 0;
  padding: 0;
}

.firebase-reference-list-item > a {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flex;
  display: flex;
}

.firebase-reference-list-item > a:not(:hover) h3 {
  color: #424242;
}

.firebase-reference-list-item > a:not(:hover) li,
.firebase-reference-list-item > a:not(:hover) p {
  color: #757575;
}

.firebase-reference-list-item .docs-landing-icon {
  -ms-flex-align: center;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 50%;
  -ms-flex: 0 0 88px;
  flex: 0 0 88px;
  height: 88px;
  -ms-justify-content: center;
  justify-content: center;
  margin: 0 16px 0 0;
  padding: 20px;
}

.firebase-reference-list-item h3 {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.firebase-reference-list-item ul {
  list-style: none;
  padding: 0;
}

.docs-android,
.docs-ios,
.docs-web,
.docs-cpp,
.docs-unity {
  height: 88px;
  width: auto;
}

.firebase-reference-list-item.docs-android .docs-landing-icon {
  color: #00bfa5;
}

.firebase-reference-list-item.docs-cpp .docs-landing-icon {
  color: #fd8c09;
}

.firebase-reference-list-item.docs-ios .docs-landing-icon {
  color: #16aaca;
}

.firebase-reference-list-item.docs-unity .docs-landing-icon {
  color: #000000;
}

.firebase-reference-list-item.docs-web .docs-landing-icon {
  color: #c52062;
}

.firebase-reference-list-item.docs-http .docs-landing-icon {
  color: #3F51B5;
}

@media (max-width: 1000px) {
  .firebase-reference-list {
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/* end Docs Overview page styles */

/* Full-page platform selector for Crashlytics docs */
/* Note: h3 in selector content must include hide-from-toc */

.full-page-selector, .full-page-selector-content {
  border: none;
  font-size: inherit;
}

.full-page-selector > .kd-buttonbar {
  margin: 32px 0px;
}

.full-page-selector > section {
  display: none;
}

.full-page-selector-content > .selected {
  padding: 0;
  font-size: inherit;
}

.full-page-selector-content > .kd-buttonbar {
  display: none;
}

/* End full-page platform selector */

/* Custom beta and alpha indicators (v1 format, followed by v2 format) */

.devsite-nav-alpha .devsite-nav-icon::before,
.devsite-nav-icon[data-icon="alpha"]::before {
  content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTMuMjA2IDE1YTU0LjIxNCA1NC4yMTQgMCAwIDEtLjkyLTIuNTc4bC0uMTQtLjQxNGE4MS43NiA4MS43NiAwIDAgMC0uMTM2LS40MDJDMTAuODUgMTMuNjcyIDkuNTYyIDE0LjUgNy41IDE0LjUgNC44MSAxNC41IDMgMTIuNjE2IDMgOXMxLjgxLTUuNSA0LjUtNS41YzIuMDYyIDAgMy4zNS44MjggNC41MSAyLjg5NGwuMTM3LS40MDIuMTM5LS40MTRjLjM4LTEuMTI3LjY1My0xLjkwMi45Mi0yLjU3OGgyLjE2NmMtLjM2NC44My0uNjcyIDEuNjgtMS4xOSAzLjIxN2wtLjE0LjQxM0E1Ny45OSA1Ny45OSAwIDAgMSAxMy4xOTQgOWMuMjc1LjcxLjU1NCAxLjQ5OC44NDggMi4zN2wuMTQuNDEzYy41MTggMS41MzguODI2IDIuMzg3IDEuMTkgMy4yMTdoLTIuMTY2ek03LjUgNS41QzUuOTMyIDUuNSA1IDYuNDcgNSA5YzAgMi41My45MzIgMy41IDIuNSAzLjUgMS40OTcgMCAyLjQ0NC0uOTE3IDMuNTM1LTMuNUM5Ljk0NCA2LjQxNyA4Ljk5NyA1LjUgNy41IDUuNXoiIGZpbGw9InJnYmEoMCwwLDAsLjM4KSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+');
}

.devsite-nav-beta .devsite-nav-icon::before,
.devsite-nav-icon[data-icon="beta"]::before {
  content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTIuMjM2IDcuNjgzQTQgNCAwIDAgMSAxMCAxNUg3djJINVY0YTIgMiAwIDAgMSAyLTJoMi41YTMuNSAzLjUgMCAwIDEgMi43MzYgNS42ODN6TTcgMTNoM2EyIDIgMCAxIDAgMC00SDd2NHptMC02aDIuNWExLjUgMS41IDAgMCAwIDAtM0g3djN6IiBmaWxsPSJyZ2JhKDAsMCwwLC4zOCkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==');
}
