/* -- Known Issues, Suggested Updates/Improvements, and Notices --
  NONE
*/



/* ***** ***** ***** ***** */
/* Revisions to Imported Styles */
/* ***** ***** ***** ***** */

.ui-widget-content {
  background: #000;
}

.ui-widget-content.ui-dialog {
  background: #555 !important;
}

.ui-dialog .ui-dialog-titlebar, .ui-dialog .ui-dialog-buttonpane {
  padding: 0px;
}

.ui-dialog .ui-dialog-buttonpane {
  background: #000;
}



/* ***** ***** ***** ***** */
/* Application Styling */
/* ***** ***** ***** ***** */

body {
  background-color: #000;
  color: #ddd;
  font-size: calc(1em + 0.5vw);
}
svg {
  fill: currentColor;
  height: 100%;
  width: 100%;
}
.flex-center {
  align-items: center;
  display: flex;
  justify-content: center;
}
#game {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  right: 0px;
  overflow: hidden;
}
#controlsView {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  right: 0px;
  display: none;
}
#controlsContainer {
  align-items: center;
  display: flex;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.menuitem_rgb span {
  display: inline-block;
  margin-right: 0.4em;
  height: 0.8em;
  width: 0.8em;
}
#controls {
  position: relative;
  text-align: center;
}
#description {
  margin-top: 2em;
  position: absolute;
  width: 500px;
}
.leftside-icon-label {
  display: inline-block;
  position: absolute;
  margin: 8px;
  font-size: 1.5em;
}
.ui-dialog {
  width: 100% !important;
  height: 100% !important;
  left: 0px !important;
  top:0px !important;
  padding: 0px;
  border: none !important;
}
.ui-dialog .ui-dialog-content {
  align-items: center;
  display: flex;
  height: calc(86% - 3em) !important;
  justify-content: center;
}
.ui-dialog .ui-dialog-buttonpane {
  padding-left: 0px;
  padding-right: 0px;
  position: absolute;
  bottom: 0px;
  width: 100%;
}
#stimulus-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 70%;
  margin: 0% 15%;
  overflow: hidden;
}
#stimulus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  height: 70vw;
  width: 100%;
}
#stimulus span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 70%;
}
.response {
  z-index: 100;
  align-items: center;
  display: flex;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 15%;
}
.response span {
  font-size: 12vw;
}
.left {
  left: 0px;
}
.right {
  right: 0px;
}
.sideui {
  z-index: 1;
  position: absolute;
  height: 100%;
  width: 15%;
  font-size: 5vw;
  white-space: nowrap;
}
#countdown {
  position: absolute;
  bottom: 10vh;
  left: 1vw;
  width: 13vw;
  text-align: center;
}
#countdown-number {
  font-size: 3vw;
}
#correctui {
  position: absolute;
  top: 10vh;
  right: 1vw;
}
#incorrectui {
  position: absolute;
  bottom: 10vh;
  right: 1vw;
}
@media (max-width: 500px) {
  body {
    font-size: 5vw;
  }
}
@media (max-height: 600px) and (min-aspect-ratio: 1/1) {
  body {
    font-size: 5vh;
  }
  #controlsContainer {
    align-items: baseline;
  }
}
@media (min-aspect-ratio: 10/7) {
  #stimulus {
    height: 100%;
    width: 100%;
  }
}
/*@media (min-aspect-ratio: 300/300, 950/400, 2000/500, 3000/600) {
  #stimulus {
    height: 100%;
    width: 100%;
  }
}*/
@media (max-aspect-ratio: 10/7) {
  #stimulus span {
    font-size: 55%;
  }
}
@media (orientation: portrait) {
  #correctui {
    top: 5vh;
  }
  #incorrectui {
    bottom: 5vh;
  }
  .sideui {
    font-size: 10vw;
  }
}
/* IE11 hack */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ui-dialog .ui-dialog-content {
    align-items: baseline;
  }
  #credits > div {
    margin: 0px !important;
  }
  .coloredicons-iefix {
    /*background-color: transparent !important;*/
    background-image: url('coloredicons.png') !important;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    top: 0.2em;
    left: 2px;
  }
}



/* ***** ***** ***** ***** */
/* Animations */
/* ***** ***** ***** ***** */

.hourglass-anim > [class*="fa-hourglass"] {
  animation: showhidethird 3s steps(1) infinite;
  opacity: 0;
}
.hourglass-anim > .fa-hourglass-end {
  animation-delay: 2s;
}
.hourglass-anim > .fa-hourglass-half {
  animation-delay: 1s;
}
.hourglass-anim > .fa-hourglass-start {
  animation-delay: 0s;
}
@keyframes showhidethird {
  0% {
    opacity: 1;
  }
  33.33% {
    opacity: 0;
  }
}



#countdown svg {
  position: absolute;
  top: -2.5vw;
  left: 2vw;
  width: 9vw;
  height: 9vw;
  transform: rotateY(-180deg) rotateZ(-90deg);
}
#countdown svg circle {
  stroke-dashoffset: 0px;
  stroke-dasharray: 113px;
  stroke-width: 2px;
  stroke: white;
  fill: none;
}
@keyframes countdown {
  from {
    stroke-dashoffset: 0px;
  }
  to {
    stroke-dashoffset: 113px;
  }
}



@keyframes fa-thumbs-up {
  from {
    top: 10%;
  }
  to {
    top: -110%;
  }
}
@keyframes fa-thumbs-down {
  from {
    top: -10%;
  }
  to {
    top: 110%;
  }
}