﻿body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: rgb(22,0,36);
  background: linear-gradient(135deg, rgba(22,0,36,1) 0%, rgba(4,80,111,1) 100%); 
  font-family: 'Open Sans', calibri, sans-serif;
  text-align: center;
  font-size: 100%;
}
#wrapper {
  position: relative;
  left: 0;
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  text-align: center;
  color: white;
  transition: opacity 0.2s;
  opacity: 1;
}
#wrapper.fadeOut { opacity: 0; }
#question {
  position: relative;
  left: 0;
  display: inline-block;
  border-radius: 20px;
  background: rgb(22,0,36);
  transition: background 0.2s, left 0.2s;
  text-align: left;
  width: 50vw;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
}
#question.slideLeft { left: -20px; }
#question.slideRight { left: 20px; }
.notransition { transition: none !important; }
#next {
  position: relative;
  top: 0;
  display: inline-block;
  background: rgb(22,0,36);
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.2s, top 0.2s;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
  user-select: none;
  outline: none;
}
#next > span:after { content: ' \f178'; font-weight: normal; font-family: FontAwesome; }
#next:hover {
  background: #057d51; /*#046f48;*/
  top: -2px;
}
#next.download:hover {
  background: #007aa6;
}
#progressbar {
  margin-top: 20px;
}
#progressbar > span {
  display: inline-block;
}
.circle {
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 10px;
}
.circle.full {
  background: white;
}
.circle.current {
  background: orange;
}
.line {
  border-bottom: 2px solid white;
  width: 50px;
  vertical-align: middle;
  margin-top: -3px;
}
.line.dashed {
  border-bottom-style: dashed;
}
#title {
  display: flex;
  background: rgba(0,0,0,0.5);
  border-radius: 20px 20px 0 0;
  font-weight: bold;
  font-size: 1.4em;
}
#number {
  position: relative;
  padding: 15px;
  background: #046f48;
  color: rgba(255,255,255,0.9);
  border-radius: 20px 0 0 0;
  height: 100%;
}
#group {
  vertical-align: super;
  font-size: 0.9em;
  text-transform: uppercase;
  padding-right: 3px;
  font-weight: bold;
  margin-bottom: 5px;
}
#group sup {
  font-size: 0.6em;
  font-weight: normal;
}
#desc {
  padding: 15px 20px;
  font-size: 0.95em;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}
#scoring {
  position: relative;
  display: flex;
  flex-flow: row;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 0 0 20px 20px;
  padding: 0;
  transition: background 0.2s;
}
#stars {
  font-size: 1.5em;
  font-family: FontAwesome;
  padding: 0 0 0 20px;
  margin: 0;
  letter-spacing: 20px;
  height: 100%;
  user-select: none;
  max-width: 100%;
  transition: max-width 0.2s, padding 0.2s;
}
#stars.slideout { padding: 0; max-width: 0; }
.star {
  position: relative;
  display: inline !important;
  top: -1px;
  vertical-align: middle;
  color: rgba(255,255,255,0.25);
  transition: color 0.4s, opacity 0.2s;
  opacity: 1;
}
#stars:hover .star {
  color: rgba(255,255,255,0.25) !important;
}
.star.selected {
  color: orange;
}
.star:hover, .star.hover, #stars:hover .star.hover {
  color: orange !important;
  cursor: pointer;
  transition: color 0.12s;
}
#stars:active .star.hover {
  color: rgb(255,225,150) !important;
  /*opacity: 0.5;*/
  transition: color 0.15s;
} 
.star:before { content: "\f005"; }
#comment {
  vertical-align: middle;
  flex-grow: 1;
  width: 100%;
  height: 60px;
  z-index: 99;
}
#comment textarea {
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 20px 0;
  background: #38324a;
  color: white;
  font-family: inherit;
  font-size: 0.9em;
  resize: none;
  outline: none;
  padding: 5px 7px;
  transition: border-radius 0.2s;
}
#comment textarea::placeholder { color: #ccc; text-align: center; line-height: 49px; font-style: italic; }
#comment textarea:focus::placeholder, #name:focus::placeholder { color: transparent; }
#name {
  border: 0;
  border-radius: 5px;
  outline: none;
  background: transparent;
  color: white;
  font: inherit;
  width: 100%;
  transition: background 0.2s;
}
#overlay {
  position: relative;
  display: inline-block;
  max-height: 75%;
  overflow-y: auto;
  text-align: left;
  background: rgb(22,0,36);
  border-radius: 20px;
  padding: 15px 30px 15px 20px;
}
#overlay ol { counter-reset: item; padding-left: 0; margin: 0; }
#overlay li { display: block; padding-left: 1.05em; font-size: 1em; }
#overlay > ol > li { margin-bottom: 5px; padding-left: 0; color: #3bbf61; font-weight: bold; }
#overlay > ol > li > ol { color: white; font-size: 0.8em; font-weight: normal; }
#overlay li:before { content: counters(item, ".") ". "; counter-increment: item; color: orange; }
@media screen and (orientation: portrait), screen and (max-width: 1024px) {
  body { font-size: 120%; }
  #question, #overlay {
    width: 90vw;
  }
  #comment textarea::placeholder { font-family: FontAwesome; font-style: normal; font-size: 1.6em; }
}