.reveal .refs ul li {
  font-size: 0.8em;
}

.reveal .pattern-title h1 {
  font-size: 0.9em;
  font-weight: normal;
}

body .reveal {
  background-color: #fff;
}

#logo-usi {
  height: 70px;
}

#logo-hsr {
  height: 50px;
  margin-top: 10px;
}

#logo-uv {
  height: 110px;
}

#logo-leibniz {
  height: 70px;
}

.pattern-title .pattern .icon {
  float: left;
  height: 3em;
  margin-right: 0.5em;
}

.pattern .question {
  font-style: italic;
  border: 1px solid black;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin: 0;
  padding: 1em;
  background: linear-gradient(
    to bottom,
    #006ed6 0%,
    #004da0 37%,
    #207ce5 76%,
    #499bea 100%
  );
  color: white;
}

/* TODO: add gradients for the other color categories */

/* BEGIN Quality */

.quality .pattern .question {
  background: linear-gradient(
    to bottom,
    #fa8b51 0%,
    #e34e00 37%,
    #cc4600 76%,
    #ea5507 100%
  );
}

.quality.pattern-title h1 {
  color: #ea5507;
}

.quality .category-title,
.quality .boldface-solution {
  box-shadow: 5px 5px 10px #ea5507;
}

/* END Quality */
/* BEGIN Structure */

.structure .pattern .question {
  background: linear-gradient(
    to top,
    #8bce03 0%,
    #72aa00 37%,
    #5e8c00 76%,
    #72aa00 100%
  );
}

.structure.pattern-title h1 {
  color: #72aa00;
}

.structure .category-title,
.structure .boldface-solution {
  box-shadow: 5px 5px 10px #72aa00;
}

/* END Structure */
/* BEGIN Evolution */

.evolution .pattern .question {
  background: linear-gradient(
    to bottom,
    #9ab5e0 0%,
    #004f99 37%,
    #0060ba 76%,
    #7f99c1 100%
  );
}

.evolution.pattern-title h1 {
  color: #7f99c1;
}

.evolution .category-title,
.evolution .boldface-solution {
  box-shadow: 5px 5px 10px #7f99c1;
}

/* END Evolution */

/* BEGIN Responsibility */

.responsibility .pattern .question {
  background: linear-gradient(
    to bottom,
    #ffe395 0%,
    #f8b500 37%,
    #fcc42c 76%,
    #ffe395 100%
  );
}

.responsibility.pattern-title h1 {
  color: #f8b500;
}

.responsibility .category-title,
.responsibility .boldface-solution {
  box-shadow: 5px 5px 10px #f8b500;
}

/* END Responsibility */

/* BEGIN Foundation */

.foundation .pattern .question {
  background: linear-gradient(
    to bottom,
    #9fd8ef 0%,
    #429ec2 37%,
    #7cbdd6 76%,
    #9fd8ef 100%
  );
}

.foundation.pattern-title h1 {
  color: #9fd8ef;
}

.foundation .category-title,
.foundation .boldface-solution {
  box-shadow: 5px 5px 10px #9fd8ef;
}

/* END Evolution */

.category-title .icon {
  float: left;
  height: 2em;
  margin-left: 3em;
  margin-right: 1em;
}

.reveal .category-title h2 {
  text-align: left;
}

.reveal section.category-title {
  padding: 3em;
  border-radius: 1em;
  border: 1px solid black;
}

.reveal section.category-title div:first-child {
  margin-top: 1em;
}

.reveal section.category-title div:last-child {
  margin-bottom: 1em;
}

body[data-slide-class~="category-title"] .reveal .pattern-title h1 {
  font-size: 2em;
  margin-top: 0em;
  font-weight: bold;
}

.reveal .pattern-title h1 {
  transition: font-size 1s, margin 0.5s;
}

.pattern .boldface-solution {
  border: 1px solid black;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-top: 0;
  padding: 1em;
  background: linear-gradient(
    to top,
    #ffffff 0%,
    #f1f1f1 50%,
    #e1e1e1 99%,
    #f6f6f6 100%
  );
}

.reveal .pattern h2 {
  font-size: 3em;
}

.decision .icon {
  height: 0.75em;
  vertical-align: baseline;
  margin-right: 0.3em;
}

.decision .flex {
  display: flex;
  flex-direction: row;
}

.reveal .decision h3 {
  font-size: 0.8em;
  font-weight: normal;
  border-bottom: 1px dotted gray;
  margin-bottom: 0;
  margin-top: 1em;
}

.flex {
  width: 100%;
}

.pattern .flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.pattern .flex div {
  flex: 1;
}

#splash img {
  vertical-align: middle;
  margin: 0.9em;
}

.pattern h2.longTitle {
  letter-spacing: -5px;
  font-size: 2.5em;
}

#pat-sla h2 {
  letter-spacing: -5px;
  font-size: 2.5em;
}

#pat-cr h2 {
  letter-spacing: -2px;
  font-size: 2.5em;
}

.reveal #splash h2 {
  font-size: 4em;
}

#pat-api-key h2 {
  margin-bottom: -0.05em;
}

#clock {
  position: fixed;
  top: 0;
  right: 0;
  font-size: 20px;
}

body.on-asq-apiquality .reveal .slides {
  text-align: left;
}

.pro {
  color: green;
  font-weight: bold;
}

.con {
  color: red;
  font-weight: bold;
}

.reveal li:hover {
  font-weight: bold;
}

ol ul li:hover {
  text-shadow: orange 0 0 3px;
}
