/* universal */

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  height: 100%;
  overflow: hidden;
  background: rgb(77, 144, 226);
  color: white;
  font: 3em/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.quotana-ui {
  width: 100%;
}

.quotana-error {
  position: absolute;
}

.quotana-quote {
  position: absolute;
  width: 800px;
  line-height: 140%;
}

.logo-container {
  text-align: center;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin-bottom: 1.5em;
}
.logo {
  display: inline-block;
  background-image: url(logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 2em;
  height: 2em;
}

.quotana-byline {
  margin-top: 1em;
  opacity: .7;
  font-size: 66%;
}

.quotana-byline-speakers:before {
  content: "\2014\ ";
}

.quotana-context {
  opacity: .7;
  font-size: 66%;
  line-height: 100%;
}

.quotana-loading {
  position: absolute;
}
.quotana-loader-dot {
  display: inline-block;
  vertical-align: middle;
  background-color: #dcdfdf;
  border: none;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: .1;
  animation: loader-dot 1.5s linear 0s infinite;
  -webkit-animation: loader-dot 1.5s linear 0s infinite;
  border-radius: 18px;
  box-shadow: inset 0 1px 1px 0 rgba(0,0,0,.2);
}
.quotana-loader-dot-1 {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}
.quotana-loader-dot-2 {
  animation-delay: 0.2s;
  -webkit-animation-delay: 0.2s;
}
.quotana-loader-dot-3 {
  animation-delay: 0.4s;
  -webkit-animation-delay: 0.4s;
  margin-right: 0px;
}

@-webkit-keyframes loader-dot {
  0% {opacity: .1;}
  40% {opacity: 1;}
  60% {opacity: 1;}
  100% {opacity: .1;}
}
@keyframes loader-dot {
  0% {opacity: .1;}
  40% {opacity: 1;}
  60% {opacity: 1;}
  100% {opacity: .1;}
}

#control {
  opacity: 0;
  width: 100%;
  z-index: 100;
  position: absolute;
  background: #61aee1;
  font-size: 18px;
  padding: 20px;

  transition: opacity 500ms;
}
#control:hover {
  opacity: 1;
}
#control_view_quote {
  cursor: pointer;
}
.control-link {
  margin-right: 20px;
  color: white;
  text-decoration: none;
}
.control-link:active { opacity: 0.7; }
.control-link:visited { color: white; }

.control-separator:after {
  padding-right: 20px;
  content: "\205D";
}


/* multi */

.quotana-type-multi .quotana-content {
  font-size: 80%;
}
.quotana-type-multi .quotana-content-speaker {
  text-transform: lowercase;
  font-weight: bold;
}
.quotana-type-multi .quotana-byline-speakers {
  text-transform: lowercase;
}
.quotana-type-multi .quotana-content-speaker + .quotana-content-speaker:before {
  white-space: pre;
  content: "\A";
}
.quotana-type-multi .quotana-content-speaker:after {
  content: ":";
  padding-right: 0.3em;
}

.quotana-type-multi .quotana-byline-date {
  float: right;
}


/* single */

.quotana-type-simple .quotana-content:before {
  content: "“ ";
}
.quotana-type-simple .quotana-content:after {
  content: "”";
}
.quotana-type-simple .quotana-content {
  text-indent: -0.71em; /* trying to get width of the opening quote */
}

.quotana-type-simple .quotana-byline-date {
  display: none;
}

.quotana-type-simple .quotana-context {
  display: none;
}
