/* colours
blue: #009CBF
orange: #F75F00
green: #00A388
--tint-1: #333;
--tint-2: #666;
--tint-3: #999;
--tint-4: #ccc;
--tint-5: #e6e6e6;
--tint-6: #f2f2f2;
 */
@font-face {
  font-family: "ABCSans Regular";
  font-style: normal;
  font-weight: normal;
  src: local("ABCSans Regular"), url("../fonts/abcsans-regular.woff") format("woff");
}
@font-face {
  font-family: "ABCSans Light";
  font-style: normal;
  font-weight: normal;
  src: local("ABCSans Light"), url("../fonts/abcsans-light.woff") format("woff");
}
@font-face {
  font-family: "ABCSans Black";
  font-style: normal;
  font-weight: normal;
  src: local("ABCSans Black"), url("../fonts/abcsans-black.woff") format("woff");
}
:root {
  font-size: 1em;
  font-family: "ABCSans Regular", "Arial", sans-serif;
  color: #333;
}
body {
  overflow: hidden;
  margin: 0;
}
#container {
  display: flex;
  flex-flow: column;
  max-width: 832px;
}
#tempContainer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
#header, #chart, #footer, #descriptor {
  opacity: 0;
}
#holder {
  opacity: 1;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "ABCSans Black", "Arial Black", sans-serif;
  color: #ccc;
  font-size: 1.5rem;
}
#header {
  margin-bottom: .5rem;
  display: flex;
  justify-content: space-between;
}
#nagivation {
  display: flex;
  justify-content: flex-end;
}
.icon {
  fill: #666;
}
.icon.limit {
  fill: #ccc;
  pointer-events: none;
}
.icon.off {
  display: none;
}
.icon:hover {
  fill: #FFB300;
}
#footer {
  margin-top: .75rem;
  color: #999;
  font-size: .75rem;
}
#title {
  font-size: .95rem;
}
#title p:first-child {
  font-family: "ABCSans Black", "Arial Black", sans-serif;
  font-size: 1.2rem;
}
h1, p {
  margin: 0;
}
#descriptor {
  color: white;
  font-size: .75rem;
  text-transform: uppercase;
  margin-top: 2.25rem;
  height: 18px;
  text-align: center;
  display: flex;
  justify-content: flex-end;
}
#descriptor div {
  background: #333;
  transform: rotateX(90deg);
  line-height: 18px;
  border-radius: 9px;
}
.candidateBar {
  position: absolute;
  display: flex;
  font-size: .85rem;
  color: white;
  opacity: 0;
  width: 100%;
  max-width: 832px;
}
.nameField {
  text-align: right;
  text-shadow: 1px 1px 2px #333;
}
.exhausted .nameField {
  margin-right: 2px;
}
.firstName {
  font-family: "ABCSans Light", "Arial Narrow", sans-serif;
  font-size: .75rem;
}
.partyField {
  margin: 0 2px;
  text-align: center;
  text-shadow: 1px 1px 2px #333;
}
.ptyblue .nameField, .ptyblue .partyField, .ptyblue .resultBar {
  background: #1467cc;
}
.ptyblue .nameField {
  background-image: linear-gradient(to right, rgba(51,51,51, 0), rgba(51,51,51, .2));
}
.ptyred .nameField, .ptyred .partyField, .ptyred .resultBar {
  background: #d61515;
}
.ptyred .nameField {
  background-image: linear-gradient(to right, rgba(51,51,51, 0), rgba(51,51,51, .2));
}
.ptylightgreen .nameField, .ptylightgreen .partyField, .ptylightgreen .resultBar {
  background: #79c400;
}
.ptylightgreen .nameField {
  background-image: linear-gradient(to right, rgba(51,51,51, 0), rgba(51,51,51, .2));
}
.ptybrown .nameField, .ptybrown .partyField, .ptybrown .resultBar {
  background: #A67B54;
}
.ptybrown .nameField {
  background-image: linear-gradient(to right, rgba(51,51,51, 0), rgba(51,51,51, .2));
}
.ptyblack .nameField, .ptyblack .partyField, .ptyblack .resultBar {
  background: #666;
}
.ptyblack .nameField {
  background-image: linear-gradient(to right, rgba(51,51,51, 0), rgba(51,51,51, .2));
}
.ptygold .nameField, .ptygold .partyField, .ptygold .resultBar {
  background: #ffc200;
}
.ptygold .nameField {
  background-image: linear-gradient(to right, rgba(51,51,51, 0), rgba(51,51,51, .2));
}
.exhausted .nameField, .exhausted .partyField, .exhausted .resultBar {
  background: #333;
}
.exhausted .firstName {
  font-family: "ABCSans Regular", "Arial", sans-serif;
  font-size: .85rem;
}
.resultField {
  background: #f2f2f2;
  flex-grow: 1;
  display: flex;
}
.resultBar {
  height: 100%;
  width: 0px;
}
.resultLabel {
  font-family: "ABCSans Light", "Arial Narrow", sans-serif;
  color: #333;
  padding-left: 4px;
  font-size: .75rem;
  line-height: 20px;
  opacity: 0;
}
#quotaLine {
  position: absolute;
  height: 0px;
  opacity: 0;
  border-left: dashed 1px #999;
}
#quotaLabel {
  position: absolute;
  opacity: 0;
  color: #999;
  font-size: .75rem;
  text-align: center;
}
@media only screen and (max-width: 500px) {
  #holder {
    font-size: 1rem;
  }
  #header {
    margin-bottom: .25rem;
  }
  #footer {
    margin-top: .5rem;
    font-size: .75rem;
  }
  #title {
    font-size: .9rem;
  }
  #title p:first-child {
    font-size: 1rem;
  }
  #descriptor {
    font-size: .75rem;
    height: 16px;
  }
  #descriptor div {
    line-height: 16px;
  }
  .candidateBar {
    font-size: .75rem;
  }
  .firstName {
    display: none;
  }
  .resultLabel {
    padding-left: 3px;
    font-size: .7rem;
    line-height: 18px;
  }
  #quotaLabel {
    font-size: .7rem;
  }
  .icon:hover {
   fill: #666;
  }
}
