@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,700,900');

html {
  min-width: 320px;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  line-height: 1.4;
}

html, body {
  margin: 0;
}

body {
  font-family: Montserrat, Verdana, sans-serif;
  font-size: calc(0.3em + 1.6vmin);
  color: #512699;
}

#hir, .vel_status {
  color: #d6073b;
}

.container {
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

h2 {
  color: #512699;
  font-size: 2.4rem;
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 900;
}

p {
  font-size: 1rem;
}

.section {
  /*display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;*/
  padding: 2vh 0;
}

.section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column nowrap;
  flex: 5 1 auto; /* fill the remaining space */
}

.section-heading {
}

.section--bg {
  /* background: url('../img/mod-bg.jpg') no-repeat center center; */
  background: #fff;
  background-size: cover;
  height: 70vh;
  display: flex;
  flex-flow: column nowrap;

}

/* Diff bgs based on scope */
.scope-hia .section--bg {
  background-image: url('../img/km_flown_image.jpg');
}

.hia__text {
  color: #fff;

}

.scope-tp .section--bg {
  background-color: #d6083b;
}

p, .text, .text--smaller, .section--bg .header__logo-image {
  margin-bottom: 1rem !important;
}

.section--purple {
  color: #fff;
  height: 30vh;
  background: #512699;
  display: flex;
  justify-content: center;
  flex-flow: column nowrap;
}


.text {
  max-width: 90%;
  margin: 0 auto;
}

.text--smaller {
  font-size: 1.6rem;
  text-transform: initial;
  font-weight: 400;
  max-width: 90%;
  margin: 0 auto;
}

.status_badge {
  margin-top: 2rem;
  width: 30rem;
  max-width: 90%;
}

.share-icons {
  margin-top: 2rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.share-icons a {
  color: #fff;
  display: block;
  margin: 0 2rem;
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  font-size: 3rem;
  text-decoration: none;
  cursor: pointer;
}

.icon-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 5rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 5rem;
  border: 1px solid #fff;
  border-radius: 50%;
  margin-bottom: 1rem;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.share-icons a:hover .icon-wrap {
  background-color: #482388;
}

.icon-wrap > * {
  -ms-flex-item-align: center;
  align-self: center;
  text-decoration: none;
}

.header__logo-image {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.wings {
  text-align: center;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  min-height: 8rem;
  background: url('../img/wings.png') no-repeat center center;
  background-size: contain;
}

.wings__inner {
  -ms-flex-item-align: center;
  align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.wings__number {
  font-size: 5em;
  color: #fff;
  font-weight: 700;
  line-height: 0.8;
}

.wings__percent {
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  top: 0;
  right: -1.3rem;
  position: absolute;
}


.scope-tp h2 {
  color: #fff;
}

#logo {
  display: block;
  max-width: 300px;
  margin: 0 auto;
}

#tp {
  display: block;
  margin: 3vh 0;
  background-image: url('../img/purple-badge.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

#tp .count-num {
  font-size: 4rem;
  margin-left: 1rem;
}

.top_small {
  font-size: 0.6em;
  font-weight: 400;
}

.percentage {
  font-size: 1.8rem;
  font-weight: normal;
  margin-top: 1rem;
  display: inline-block;
  vertical-align: top;
}

.stat {
  font-size: 1.2em;
  color: #d6083b;
}

#hir.stat {
  color: #fff;
  font-size: 1em;
}

.sub {
  font-size: .9em;
  max-width: 18em;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}
/*
  MAIN MEDIA
 */

@media only screen and (min-width: 768px) {
  .text {
    max-width: 70%;
  }

  .text--smaller {
    max-width: 70%;
  }
  html {
    font-size: calc(0.1em + 1.54vmin)
  }
}

/* Mobs and small things */
@media only screen and (max-width: 640px) {

  h2 {
    font-size: 2rem;
  }
  .section--bg {
    min-height: 70vh;
    background-position: bottom left;
    height: auto;
  }
  .section-content {
    height: auto;
    min-height: 30vh;
  }
  .section--purple {
    min-height: 30vh;
    height: auto;
  }
  .section {
    padding: 1em 0;
  }
  .share-icons a {
    margin: 0 5%;
  }
  .section-search {

  }
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(-o-min-device-pixel-ratio: 5/4),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
