﻿body {
  margin: 0;
}

#app-base {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: auto;
}

#title {
  font-size: 4em;
}

button {
  color: #333;
  box-sizing: border-box;
  background-color: #e9e7e7;
  border: 1px solid #919191;
  cursor: pointer;
  height: 2.5em;
  min-width: 5em;
}

input {
  padding: 0em;
  border: 1px solid #919191;
  padding-left: 0.1em;
}

input[type="radio"],
input[type="checkbox"] {
  height: 1.2em;
  width: 1.2em;
}

input.time-setting {
  width: 3.5em;
}

textarea {
  border: 1px solid #919191;
  padding: 0.2em;
  font-size: inherit;
  font-family: inherit;
  width: 95%;
}

select {
  height: 2.5em;
  border: 1px solid #919191;
}

button:focus,
button:hover {
  color: #000;
  border: 1px solid #000;
  background-color: #eaeaea;
}

button:active {
  background-color: #4864C6;
}

#settings {
  display: none;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

#settings.visible {
  display: block;
}

.settings-row {
  max-width: 40em;
}

#settings input,
#settings select {
  height: 2em;
  width: 7em;
  margin-top: 0.5em;
}

#settings input[type="checkbox"] {
  position: relative;
  top: 0.3em;
  right: 0.75em;
  height: 1.6em;
}

#settings label {
  display: inline-flex;
  width: 15em;
  margin-left: 0.4em;
}

#settings label.colour-picker {
  position: relative;
  bottom: 0.3em;
}

#settings label.check-box {
  position: relative;
  bottom: 0.3em;
}

#custom-text {
  width: 100%;
  margin-top: 0.5em;
}

#custom-label {
  display: none;
}

#poll p, #poll-edit p {
  margin-top: 0.1em;
  margin-bottom: 0.5em;
}

#poll input, #poll-edit input {
  margin-top: 0.6em;
  font-size: 0.83em;
}

#poll label, #poll-edit label {
  display: inline-flex;
  position: relative;
  bottom: 0.1em;
  padding-left: 0.4em;
}

#poll input[type="text"], #poll-edit input[type="text"] {
  display: inline-flex;
  position: relative;
  bottom: 0.2em;
  padding: 0.2em;
  margin-left: 0.8em;
}

span.show-settings, span.show-edit {
  float: right;
  font-size: 0.8em;
  text-decoration: none;
  margin-left: 0.5em;
}

span.show-settings input, span.show-edit input {
  position: relative;
  top: 0.2em;
  height: 1.4em;
  width: 1.4em;
  margin-right: 0;
}

div#ad-line {
  margin-top: 0.5em;
  clear: both;
}

div#ad-line a {
  text-decoration: none;
}

span.ad-link {
  margin-top: 0.5em;
  color: #4864C6;
  font-size: 0.8em;
}

div#configuration {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: white;
  padding: 0.4em;
  position: absolute;
  bottom: 1em;
  width: 95%
}

div.config-fade {
  transition: opacity 4s ease-out;
  opacity: 0;
}

div.config-fade:hover {
  transition: opacity 0.2s ease-in;
  opacity: 1;
}

div.config-init {
  transition: opacity 0.2s ease-in;
  opacity: 1;
}

div.delete-button {
  display: inline-block;
  margin-left: 0.1em;
}

div.delete-button img {
  width: 0.9em;
  height: 0.9em;
}

div.delete-button span {
  position: relative;
  font-size: 0.5em;
  top: -0.4em;
  margin-left: 0em;
  color: #e00000;
}

div.add-button {
  margin-top: 0.2em;
  color: #707070;
}

div.add-button img {
  width: 1em;
  height: 1em;
  margin-left: 0.15em;
}

div.add-button span {
  position: relative;
  font-size: 0.6em;
  top: -0.4em;
  margin-left: 0.3em;
}

#time-display {
  font-size: 12em;
  line-height: 1em;
  color: #000000;
}

div.td-watermark {
  position: absolute;
  text-align: center;
  top: 0;
  left:2em;
  right:2em;
  font-size: 0.8em;
  opacity: 0.25;
  color: #c0c0c0;
  width: 95%;
}

div.td-title {
  text-align: center;
  font-size: 0.5em;
  opacity: 1.0;
  color: #c0c0c0;
  width: 95%;
}

.right-answer {
  color: #00ff00;
  font-size: 2em;
}

.wrong-answer {
  color: #e00000;
  font-size: 2em;
} 
