/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none;
}

.red_mountain {
  background-color: rgb(74, 23, 33);
}

.mountain {
  background-color: rgb(74, 23, 33);
}

.blood_red_sky {
  background-color: rgb(119, 64, 75);
}

.blood {
  background-color: rgb(119, 64, 75);
}

.flood_water {
  background-color: rgb(157, 111, 117);
}

.flood {
  background-color: rgb(157, 111, 117);
}

.purple {
  background-color: #964586;
}

.lavender {
  background-color: #B079A7;
}

.lilac {
  background-color: #DFCEDF;
}

.orange {
  background-color: #F47920;
}

.pumpkin {
  background-color: #F9A163;
}

.peach {
  background-color: #FEE0C8;
}

.black {
  background-color: #231F20;
}

.gray {
  background-color: #757679;
}

.grey {
  background-color: #757679;
}

.lightgray {
  background-color: #B6B8BA;
}

/* 
 * Note about fonts:
 * Adorn condensed is font-weight 400 normal
 * Adorn bouquet is font-weight 400 italic
 * I made mixins to make fonts easier
 */
* {
  box-sizing: border-box;
}

:root {
  font-family: "Avenir W01";
  font-weight: 500;
}

a {
  text-decoration: none;
}

.cup-icon {
  height: 24px;
  vertical-align: middle;
}

html, body, #__blaze-root {
  height: 100%;
  width: 100%;
}

.wrapper {
  min-height: 100%;
}

.filler {
  width: 100%;
}

header + main:not(.roster__main) {
  position: relative;
  top: 60px;
}

h1 {
  font-family: "Adorn W00";
  font-weight: 400;
  color: white;
  text-align: center;
  width: 100%;
}
h1.solo {
  background-color: #F47920;
  margin: 0;
  padding: 1rem 0;
}
h1.solo.purple {
  background-color: #964586;
}

body {
  background-color: #FEE0C8;
}

.button {
  font-family: "Adorn W00";
  font-weight: 400;
  align-items: center;
  border-radius: 15px;
  color: white;
  cursor: pointer;
  display: flex;
  min-height: 40px;
  font-size: 1.875rem;
  font-style: normal;
  justify-content: center;
  padding: 0 0.5rem;
  text-align: center;
  width: 280px;
}
.button .button_content {
  position: relative;
  top: 0.1rem;
}
.button.orange {
  background-color: #F47920;
}
.button.purple {
  background-color: rgb(74, 23, 33);
}

button.icon {
  background: none;
  border: none;
  cursor: pointer;
  height: 20px;
  margin-left: 0.25rem;
  padding: 0;
  width: 20px;
}
button.icon svg {
  height: 100%;
  width: 100%;
}

header.top {
  position: fixed;
  top: 0px;
  z-index: 1;
  background: white;
  display: flex;
  height: 60px;
  padding: 0.25rem 1rem;
  width: 100%;
  z-index: 20;
}
@media only screen and (max-width: 354px) {
  header.top .logo_block .text span {
    display: block;
  }
}

input {
  appearance: none;
  height: 2.5rem;
  width: 100%;
  border: none;
  border-radius: 1rem;
  padding: 0.5rem;
}
input ~ input {
  margin-top: 1rem;
}

.logo_block img {
  height: 100%;
}
.logo_block .emma_text {
  color: #F47920;
  font-family: "Adorn W00";
  font-weight: 400;
  font-style: italic;
}
.logo_block .coffin_text {
  color: white;
  font-family: "Adorn W00";
  font-weight: 400;
  letter-spacing: 3px;
}
header .logo_block {
  align-items: center;
  display: flex;
}
header .logo_block img {
  margin-right: 0.5rem;
  width: 40px;
}
header .logo_block .emma_text {
  color: rgb(74, 23, 33);
  font-size: 2rem;
}
header .logo_block .coffin_text {
  color: black;
}

#login-buttons {
  width: 100%;
}
#login-buttons .login-link-text {
  cursor: pointer;
}
#login-buttons #login-dropdown-list {
  font-family: "Avenir W01";
  font-weight: 500;
  background: rgb(119, 64, 75);
  bottom: 0;
  font-size: 1rem;
  left: 0;
  padding: 1rem;
  position: absolute;
  width: 100%;
}
#login-buttons #login-dropdown-list div ~ div {
  margin-top: 0.25rem;
}
#login-buttons #login-dropdown-list a, #login-buttons #login-dropdown-list .login-button {
  cursor: pointer;
}
#login-buttons #login-dropdown-list .login-close-text {
  float: right;
}
#login-buttons #login-dropdown-list .login-button {
  margin-bottom: 0.5rem;
}

main {
  overflow-x: hidden;
}
main.admin-container, main.admin {
  background-color: #FEE0C8;
  width: 100%;
  height: calc(100% - 60px);
}
main.admin-container .button, main.admin .button {
  margin: 0.5em auto;
}
main.public-container, main.public {
  background: #964586;
}

@keyframes slide_up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slide_down {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes leader_banner {
  0% {
    transform: translateX(125%);
  }
  45% {
    transform: translateX(0);
  }
  55% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-125%);
  }
}
@keyframes banner_in {
  from {
    transform: translateX(135%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes banner_out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-135%);
  }
}
@keyframes side_eye {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-2px);
  }
}
#new_leader {
  animation: slide_up 1700ms, slide_down 1700ms 6100ms forwards;
  bottom: -2px;
  height: 271px;
  left: 50%;
  margin-left: -84px;
  position: fixed;
  width: 168px;
  z-index: 100;
}
#new_leader #new_leader_banner {
  animation: banner_in 1200ms 1700ms ease-out backwards, banner_out 1200ms 3700ms ease-in forwards;
  bottom: 15px;
  height: 86px;
  left: 50%;
  margin-left: -142px;
  position: absolute;
  width: 284px;
}
#new_leader #new_leader_banner svg {
  height: 100%;
  width: 100%;
}
#new_leader #new_leader_emma {
  height: 271px;
  width: 168px;
}
#new_leader #new_leader_emma svg {
  height: 100%;
  width: 100%;
}
#new_leader #new_leader_emma svg #eyes {
  animation: side_eye 1000ms 2s forwards;
}

#brought_by {
  font-family: "Adorn W00";
  font-weight: 400;
  font-style: italic;
  color: #964586;
  font-size: 1.75rem;
}
#brought_by p {
  padding: 0 1rem 0 0;
  text-align: right;
}
#brought_by .logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
#brought_by a {
  width: 93px;
  align-self: center;
}
#brought_by a img {
  width: 100%;
}

.racer {
  font-family: "Avenir W01";
  font-weight: 500;
  background-color: #DFCEDF;
  border-bottom: solid #964586 1px;
  color: #964586;
  display: flex;
  padding: 0.5rem 1rem;
}
.racer a {
  color: #964586;
  text-decoration: underline;
}
.racer a:hover {
  font-weight: 800;
}
.racer--dq {
  background-color: #bdbdbd;
}
.racer--dq .racer__name {
  text-decoration: line-through;
}
.racer--show-blurb .racer__blurb {
  display: block;
  animation: showBlurb 300ms linear;
}
@keyframes showBlurb {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.racer--show-blurb .racer__blurb-control {
  transform: rotate(90deg);
}
.racer__place {
  font-family: "Avenir W01";
  font-weight: 800;
  flex: none;
  width: 50px;
}
.racer__dq-icon {
  fill: #964586;
  width: 24px;
}
.racer__info {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.racer__info--with-blurb {
  flex-basis: calc(100% - 50px - 20px);
}
.racer__name {
  font-weight: bold;
  padding: 0 5px 0 0px;
  position: relative;
}
.racer__sponsor {
  font-size: 16px;
  position: relative;
  font-family: "Avenir W01";
  font-weight: 400;
  font-style: oblique;
}
.racer__time {
  color: #B079A7;
  font-size: 1rem;
  padding: 5px 0 0 0;
  line-height: 20px;
  width: 100%;
}
.racer__bib-num {
  padding: 0 5px 0 0;
  font-size: 16px;
  word-wrap: break-word;
}
.racer__blurb {
  display: none;
  overflow: hidden;
}
.racer__blurb-control {
  fill: #964586;
  height: 20px;
  width: 20px;
  transition: transform 300ms;
}
.racer__blurb-control--mobile {
  position: absolute;
  right: 1rem;
}
@media only screen and (min-width: 720px) {
  .racer__blurb-control--mobile {
    display: none;
  }
}
.racer__blurb-control--tablet {
  display: none;
  position: relative;
  top: 4px;
  left: 5px;
}
@media only screen and (min-width: 720px) {
  .racer__blurb-control--tablet {
    display: inline-block;
  }
}
@keyframes fromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0%);
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}
.leaderboard .racer--new {
  opacity: 0;
}
.racer--new ~ .racer {
  animation: slideDown 400ms;
}

.spider-dropper {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 100%;
  z-index: 300;
}
.spider-dropper__thread-holder {
  align-self: center;
  height: 0;
  position: relative;
  width: 1px;
}
.spider-dropper__thread {
  background-color: black;
  position: absolute;
  width: 1px;
}
.spider-dropper__spider {
  align-self: center;
  background-image: url("/img/spider.svg");
  background-size: contain;
  background-repeat: no-repeat;
  height: 80px;
  position: relative;
  top: 20px;
  width: 96px;
}
.spider-dropper--withdrawing .spider-dropper__entry {
  display: none;
}

.recent-results {
  background: #B079A7;
  width: 100%;
}
.recent-results__heading {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recent-results__heading-item {
  font-family: "Avenir W01";
  font-weight: 800;
  color: white;
  font-size: 1rem;
  margin: 0;
  margin: 0.5rem;
  margin-right: 1rem;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}
.recent-results__heading a {
  border: 2px solid white;
  border-radius: 15px;
  min-width: 7.5rem;
  text-align: center;
}
@keyframes dropDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}
.recent-results__heat-racer {
  border-top: solid #DFCEDF 1px;
  display: flex;
  font-family: "Avenir W01";
  font-weight: 500;
  font-size: 1.1rem;
  color: white;
  padding: 0.5rem 1rem;
}
.recent-results__place {
  flex: 0 0 auto;
  width: 50px;
}
.recent-results#recent-results-floater {
  display: none;
}

.purple {
  background-color: #964586;
}

.credits__h2 {
  font-family: "Adorn W00";
  font-weight: 400;
  color: #964586;
  font-size: 2rem;
  margin: 1rem 0;
  text-align: center;
  width: 100%;
}
.credits__h3 {
  font-family: "Avenir W01";
  font-weight: 500;
  color: #964586;
  margin-top: 0;
  padding: 0 1rem 0 0;
  text-align: right;
  text-transform: uppercase;
}
.credits__section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem 1rem;
  margin: auto;
  max-width: 460px;
}
.credits__list {
  font-family: "Avenir W01";
  font-weight: 500;
  color: #964586;
  font-size: 1.1rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 979px) {
  .mountain--big {
    display: none;
  }
}
.mountain--small {
  display: none;
}
@media only screen and (min-width: 979px) {
  .mountain--small {
    display: block;
  }
}

@keyframes coffinDrift {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(150%);
  }
}
@keyframes coffinBob {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(5px);
  }
}
.coffin__contents {
  animation: coffinBob 700ms infinite alternate;
}
.coffin--big {
  animation: coffinDrift 8s infinite linear;
  width: 28%;
}
@media only screen and (min-width: 979px) {
  .coffin--big {
    animation: coffinDrift 15s infinite linear;
    display: none;
  }
}
.coffin--small {
  animation: coffinDrift 8s infinite linear;
  display: none;
}
@media only screen and (min-width: 979px) {
  .coffin--small {
    animation: coffinDrift 15s infinite linear;
    display: inline;
  }
}

.team {
  font-family: "Avenir W01";
  font-weight: 500;
  border-bottom: solid rgb(74, 23, 33) 1px;
  color: rgb(74, 23, 33);
  display: flex;
  font-size: 18px;
  padding: 10px 15px;
}
.team a {
  color: rgb(74, 23, 33);
  text-decoration: underline;
}
.team a:hover {
  font-weight: 800;
}
.team__accordion-control {
  border: none;
  background: none;
  flex: none;
  height: 20px;
  margin: 0 10px 0 0;
  padding: 0;
  width: 20px;
  transition: transform 400ms;
}
.team--open .team__accordion-control {
  transform: rotate(90deg);
}
.team__accordion-arrow {
  height: 100%;
  width: 100%;
}
.team__top-line {
  line-height: 20px;
}
.team__name-container {
  font-weight: bold;
}
.team__sponsor {
  font-family: "Avenir W01";
  font-weight: 400;
  font-style: oblique;
  font-size: 16px;
}
.team__accordion-blurb {
  display: none;
  font-size: 16px;
  line-height: 20px;
  margin-top: 10px;
}
@keyframes slideDown {
  0% {
    opacity: 0.7;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.team--open .team__accordion-blurb {
  display: block;
  animation: slideDown 400ms;
}
.team__accordion-blurb-years {
  margin-top: 8px;
  font-style: italic;
}
.team__accordion-blurb-cup {
  display: inline-block;
  margin: 0 2px;
  vertical-align: middle;
}

@-webkit-keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}
.ticker {
  font-family: "Avenir W01";
  font-weight: 500;
  position: fixed;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  height: 50px;
  background-color: #964586;
  padding-left: 100%;
  box-sizing: content-box;
  display: flex;
  align-items: center;
}
.ticker__place {
  font-family: "Avenir W01";
  font-weight: 800;
}
.ticker__mover {
  display: inline-block;
  height: 64px;
  line-height: 4rem;
  white-space: nowrap;
  padding-right: 100%;
  box-sizing: content-box;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: ticker;
  animation-duration: 30s;
}
.ticker__item {
  display: inline-block;
  padding: 0 2rem;
  font-size: 2rem;
  color: white;
}
.ticker__item--disqualified {
  font-family: "Avenir W01";
  font-weight: 400;
  font-style: oblique;
}

.boost {
  margin-top: 10px;
}
.boost-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.boost-icon.tap {
  animation-name: "tap";
  animation-duration: 1s;
}
.boost-icon.mover {
  display: none;
  position: absolute;
}
.boost-icon.other {
  opacity: 0.5;
}

@keyframes tap {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
#coming_soon {
  background: #964586;
  background: #730031; /* Old browsers */
  background: -moz-linear-gradient(top, #730031 0%, #a86874 31%, #730031 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #730031 0%, #a86874 31%, #730031 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #730031 0%, #a86874 31%, #730031 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#730031", endColorstr="#730031",GradientType=0 ); /* IE6-9 */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}
#coming_soon .logo_block {
  align-items: center;
  display: inline-flex;
  height: 100px;
  margin: 2rem 0.5rem 0;
  justify-content: center;
  width: 100%;
}
#coming_soon .logo_block img {
  margin-right: 1rem;
}
#coming_soon .logo_block .coffin_text, #coming_soon .logo_block .emma_text {
  display: block;
}
#coming_soon .logo_block .emma_text {
  font-size: 2.5rem;
}
#coming_soon .logo_block .coffin_text {
  font-size: 1.25rem;
  position: relative;
  top: -0.5rem;
}
#coming_soon #teaser {
  font-family: "Adorn W00";
  font-weight: 400;
  font-style: italic;
  color: white;
  font-size: 1.75rem;
  margin: 1rem 0 2rem;
  position: relative;
  text-align: center;
  width: 100%;
  height: 0;
  padding-top: 47.88%;
}
@keyframes coffinDrift {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(150%);
  }
}
@keyframes coffinBob {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(5px);
  }
}
#coming_soon #teaser svg {
  display: block;
  flex: auto;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
#coming_soon #teaser #mountain_small {
  display: none;
}
#coming_soon #teaser #teaser_text {
  align-items: flex-end;
  bottom: 15%;
  display: flex;
  height: 96px;
  justify-content: center;
  left: 50%;
  margin-left: -76px;
  position: absolute;
  width: 152px;
}
@media screen and (max-width: 360px) {
  #coming_soon #teaser #teaser_text {
    font-size: 1.5rem;
  }
}
#coming_soon .button {
  margin: 0 auto;
  max-width: 90%;
}
#coming_soon .button ~ .button {
  margin-top: 1.5rem;
}
#coming_soon footer #brought_by {
  color: white;
}

@media only screen and (min-width: 720px) {
  #coming_soon {
    color: red;
  }
  #coming_soon .logo_block {
    height: 150px;
  }
  #coming_soon .logo_block .emma_text {
    font-size: 3rem;
  }
  #coming_soon .logo_block .coffin_text {
    font-size: 1.75rem;
  }
}
@media only screen and (min-width: 979px) {
  #coming_soon #teaser {
    padding-top: 28.68%;
  }
  #coming_soon #teaser #mountain_big {
    display: none;
  }
  #coming_soon #teaser #mountain_small {
    display: block;
  }
}
#login-container {
  background-color: #F47920;
  height: 100%;
  padding: 0.75rem 2rem;
  width: 100%;
}
#login-container .button {
  margin-top: 1rem;
  width: 100%;
}

#racetimes {
  background-color: #FEE0C8;
}
#racetimes ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#racetimes ul li {
  font-family: "Avenir W01";
  font-weight: 500;
  border-bottom: solid #F9A163 1px;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}
#racetimes ul li .bib_number {
  font-family: "Avenir W01";
  font-weight: 800;
  width: 40px;
}
#racetimes ul li .team_name {
  width: calc(100% - 40px);
}
#racetimes ul li .race-now, #racetimes ul li .edit-team {
  font-family: "Adorn W00";
  font-weight: 400;
  align-items: center;
  border: none;
  border-radius: 15px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-style: normal;
  min-height: 30px;
  padding: 0 0.5rem;
  text-align: center;
}
#racetimes ul li .race-now {
  background-color: #F9A163;
}
#racetimes ul li .race-now.now {
  background-color: #F47920;
}
#racetimes ul li .race-now:disabled {
  background-color: #B6B8BA;
  color: #757679;
  cursor: not-allowed;
  opacity: 0.6;
}
#racetimes ul li .edit-team {
  background-color: rgb(74, 23, 33);
}
#racetimes ul li .time {
  margin: 1rem 0 0 40px;
  width: calc(100% - 40px);
}
#racetimes ul li .time input {
  appearance: none;
  height: 2.5rem;
  margin-right: 0.5rem;
  width: 100px;
  border: none;
  border-radius: 1rem;
  padding: 0.5rem;
  font-size: 1.5rem;
  font-family: "Avenir W01";
  font-weight: 400;
  text-align: center;
}
#racetimes ul li .time input::placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#racetimes ul li .time input::-webkit-input-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#racetimes ul li .time input::-moz-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#racetimes ul li .time input:-ms-input-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#racetimes ul li .time input:-moz-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#racetimes ul li .place {
  margin: 1rem 0 0 40px;
  width: calc(100% - 40px);
}
#racetimes ul li .place .coffin_place {
  font-family: "Avenir W01";
  font-weight: 800;
}
#racetimes ul li .when {
  margin: 1rem 0 0 40px;
}
#racetimes ul li .when .coffin_place {
  font-family: "Avenir W01";
  font-weight: 800;
}
#racetimes ul li button svg.disabled {
  fill: #757679;
}
#racetimes ul li button svg.disqualified {
  fill: red;
}
#racetimes .button {
  margin: 2rem auto;
}
#racetimes .race-mode-selector {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}
#racetimes .race-mode-selector select {
  font-family: "Adorn W00";
  font-weight: 400;
  align-items: center;
  appearance: none;
  background-color: rgb(74, 23, 33);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  border: none;
  border-radius: 15px;
  color: white;
  cursor: pointer;
  font-size: 1.875rem;
  font-style: normal;
  min-height: 40px;
  padding: 0 0 0 0.5rem;
  text-align: center;
  text-align-last: center;
  width: 280px;
}

#leaderboard-container {
  background-color: #DFCEDF;
}

.leaderboard {
  font-family: "Avenir W01";
  font-weight: 500;
  width: 100%;
  overflow: visible;
  overflow-x: hidden;
}
.leaderboard .place {
  font-family: "Avenir W01";
  font-weight: 800;
  width: 50px;
}
.leaderboard ul:not(.credit) {
  list-style-type: none;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  /*    li.dq-racer {
        $row_margin: .25rem 0 0 $place_width;
        $row_width: calc(100% - 50px);
        @include avenir("m");
        border-bottom: solid $purple 1px;
        color: #838383;
        display: flex;
        flex-wrap: wrap;
        padding: .5rem 1rem;
      }*/
}
.leaderboard a#more {
  font-family: "Avenir W01";
  font-weight: 500;
  color: #964586;
  font-size: 1.1rem;
  text-decoration: none;
  margin: 1rem 0 0 50px;
}
.leaderboard #brought_by {
  flex-wrap: wrap;
  justify-content: center;
}
.leaderboard__title-banner {
  height: 4rem;
  background-color: #964586;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.leaderboard__title-banner h1 {
  display: inline-block;
  text-align: left;
  padding: 0 1rem;
}
.leaderboard__title-banner-buttons {
  display: flex;
}
.leaderboard__title-banner-buttons img {
  margin-right: 1rem;
}
.leaderboard__feature-panel {
  font-family: "Avenir W01";
  font-weight: 500;
  display: none;
  width: 100%;
  background-color: white;
  position: relative;
  color: #964586;
}
.leaderboard__feature-panel-close {
  position: absolute;
  right: 0px;
  top: 0px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}
.leaderboard__feature-panel-close-x {
  font-size: 20px;
}
.leaderboard__feature-panel-content {
  width: 100%;
  padding: 15px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.leaderboard__feature-panel-content #qr-code {
  width: 150px;
  height: 150px;
}
.leaderboard__feature-panel-content iframe {
  width: 100vw;
  height: 57vw;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.leaderboard__feature-panel-content-line {
  display: flex;
  justify-content: center;
  align-items: center;
}
.leaderboard__feature-panel-content-line a > img {
  width: 60px;
}
.leaderboard__feature-panel.open {
  display: block;
  animation: showBlurb 600ms linear;
}
@keyframes showBlurb {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.leaderboard.stick_results #recent-results-floater {
  display: block;
  position: fixed;
  top: 60px;
  z-index: 20;
}
.leaderboard.presentation_mode h1 {
  position: fixed;
  top: 60px;
  z-index: 20;
}
.leaderboard.presentation_mode .recent-results {
  position: fixed;
  top: 128px;
  z-index: 20;
}
.leaderboard.presentation_mode .coffin-list, .leaderboard.presentation_mode #credits {
  position: relative;
  top: 176px;
}

#teams {
  background-color: #FEE0C8;
  padding: 0;
}
#teams ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#teams ul li {
  background-color: #FEE0C8;
  border-bottom: solid #F9A163 1px;
  display: flex;
  padding: 0.5rem;
  font-family: "Avenir W01";
  font-weight: 500;
}
#teams ul li .bib_number {
  float: left;
  font-size: 1.1rem;
  width: 20px;
}
#teams ul li .name {
  float: left;
  flex: auto;
  margin-left: 1rem;
}
#teams ul li .name .team_name {
  font-size: 1.1rem;
}
#teams ul li .name .team_sponsor {
  color: #757679;
}
#teams ul li button {
  float: right;
}
#teams ul li.selected {
  background-color: #F9A163;
}
#teams .button {
  margin: 2rem auto;
}

#editTeam {
  padding: 0.5rem 1rem;
}
#editTeam label {
  font-family: "Avenir W01" !important;
  font-weight: 500 !important;
  font-size: 1.5rem;
}
#editTeam .input-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
#editTeam .input-container label {
  flex: 0 0 150px;
  margin-right: 0;
  margin-bottom: 5px;
  font-family: "Avenir W01" !important;
  font-weight: 500 !important;
}
#editTeam .input-container input {
  flex: 1;
  font-size: 1.5rem;
  font-family: "Avenir W01";
  font-weight: 500;
}
#editTeam .input-container textarea {
  flex: 1;
  resize: none;
  font-size: 1.5rem;
  font-family: "Avenir W01" !important;
  font-weight: 500 !important;
  appearance: none;
  border: none;
  border-radius: 1rem;
  padding: 0.5rem;
}
#editTeam .cups-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
#editTeam .cups-container label {
  flex: 0 0 210px;
  margin-right: 10px;
  text-align: right;
  font-family: "Avenir W01" !important;
  font-weight: 500 !important;
}
#editTeam .cups-container select {
  flex-grow: 1;
  margin-right: 20px;
  font-family: "Avenir W01" !important;
  font-weight: 500 !important;
  font-size: 1.5rem;
  appearance: none;
  border: none;
  border-radius: 1rem;
  padding: 0.5rem;
  height: 2.5rem;
  background-color: white;
}
#editTeam .button {
  margin: auto;
  margin-top: 1rem;
}
#editTeam #myCheckbox {
  visibility: visible;
  display: inline-block;
  opacity: 1;
  position: relative;
  z-index: 9999;
  width: 20px;
  height: 20px;
}

#crud {
  background-color: #FEE0C8;
}
#crud ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#crud ul li {
  font-family: "Avenir W01";
  font-weight: 500;
  border-bottom: solid #F9A163 1px;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}
#crud ul li .bib_number {
  font-family: "Avenir W01";
  font-weight: 800;
  width: 40px;
}
#crud ul li .team_name {
  width: calc(100% - 80px);
}
#crud ul li .time {
  margin: 1rem 0 0 40px;
  width: calc(100% - 40px);
}
#crud ul li .time input {
  appearance: none;
  height: 2.5rem;
  margin-right: 0.5rem;
  width: 100px;
  border: none;
  border-radius: 1rem;
  padding: 0.5rem;
  font-size: 1.5rem;
  font-family: "Avenir W01";
  font-weight: 400;
  text-align: center;
}
#crud ul li .time input::placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#crud ul li .time input::-webkit-input-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#crud ul li .time input::-moz-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#crud ul li .time input:-ms-input-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#crud ul li .time input:-moz-placeholder {
  font-style: italic;
  color: #B6B8BA;
}
#crud ul li .place {
  margin: 1rem 0 0 40px;
  width: calc(100% - 40px);
}
#crud ul li .place .coffin_place {
  font-family: "Avenir W01";
  font-weight: 800;
}
#crud ul li .when {
  margin: 1rem 0 0 40px;
}
#crud ul li .when .coffin_place {
  font-family: "Avenir W01";
  font-weight: 800;
}
#crud ul li button svg.disabled {
  fill: #757679;
}
#crud .button {
  margin: 2rem auto;
}

.roster {
  background-color: rgb(206, 184, 177);
}
.roster__header {
  background-color: #964586;
  background-color: rgb(119, 64, 75); /* Old browsers */
  background: -moz-linear-gradient(top, rgb(119, 64, 75) 0%, rgb(157, 111, 117) 65%, rgb(157, 111, 117) 65%, rgb(74, 23, 33) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgb(119, 64, 75) 0%, rgb(157, 111, 117) 65%, rgb(157, 111, 117) 65%, rgb(74, 23, 33) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgb(119, 64, 75) 0%, rgb(157, 111, 117) 65%, rgb(157, 111, 117) 65%, rgb(74, 23, 33) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#904F54", endColorstr="#730031",GradientType=0 ); /* IE6-9 */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.roster__header .mountain--small {
  display: block;
}
.roster__header .coffin--small {
  animation: coffinDrift 10s infinite linear;
  display: inline-block;
  transform-origin: bottom;
}
@keyframes coffinDrift {
  0% {
    transform: translateX(-30%) scale(1.2);
  }
  100% {
    transform: translateX(150%) scale(1.2);
  }
}
.roster__logo {
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
}
.roster__anniversary {
  width: 80%;
  max-width: 750px;
  position: absolute;
  top: 130px;
}
.roster__text {
  font-family: "Avenir W01";
  font-weight: 800;
  color: white;
  position: absolute;
  top: 150px;
  font-size: 20px;
  padding: 0 1rem;
  text-align: center;
}
@media (max-width: 320px) {
  .roster__text {
    font-size: 14px;
    top: 140px;
  }
}
@media (max-width: 460px) {
  .roster__text {
    font-size: 16px;
  }
}
@media (min-width: 724px) {
  .roster__text {
    top: 200px;
    font-size: 24px;
  }
}
.roster__heading {
  margin: 0.75rem 0;
}
.roster__title-banner {
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.roster__title-banner h1 {
  display: inline-block;
  text-align: left;
  padding: 0 1rem;
}
@media (max-width: 440px) {
  .roster__title-banner h1 {
    font-size: 1.8rem;
  }
}
@media (max-width: 400px) {
  .roster__title-banner h1 {
    font-size: 1.5rem;
    padding: 0 0.5rem;
  }
}
.roster__title-banner a {
  border: 2px solid white;
  border-radius: 15px;
  min-width: 7.5rem;
  text-align: center;
  font-family: "Avenir W01";
  font-weight: 800;
  color: white;
  font-size: 1rem;
  margin: 0;
  margin: 0.5rem;
  margin-right: 1rem;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}
.roster__title-banner-buttons {
  display: flex;
}
.roster__title-banner-buttons img {
  margin-right: 1rem;
}
.roster__main {
  background-color: rgb(206, 184, 177);
}
.roster__list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.roster__feature-panel {
  font-family: "Avenir W01";
  font-weight: 500;
  display: none;
  width: 100%;
  background-color: white;
  position: relative;
  color: #964586;
}
.roster__feature-panel-close {
  position: absolute;
  right: 0px;
  top: 0px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}
.roster__feature-panel-close-x {
  font-size: 20px;
}
.roster__feature-panel-content {
  width: 100%;
  padding: 15px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.roster__feature-panel-content #qr-code {
  width: 150px;
  height: 150px;
}
.roster__feature-panel-content iframe {
  width: 100vw;
  height: 57vw;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.roster__feature-panel-content-line {
  display: flex;
  justify-content: center;
  align-items: center;
}
.roster__feature-panel-content-line a > img {
  width: 60px;
}
.roster__feature-panel.open {
  display: block;
  animation: showBlurb 600ms linear;
}
@keyframes showBlurb {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* I moved these to components/main */
/* admin sections always get orange bg */