#testimonial-container {
  position: relative;
  margin: auto;
  width: 100%;
  font-family: arial;
  display: grid;
  grid-template-columns: 1em 1fr 1em;
  align-items: center;
}
.testimonial {
  grid-column: 2;
  grid-row: 1;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  align-self: start;
}
.testimonial.active {
  opacity: 1;
  pointer-events: auto;
}
.testimonial-table {
  width: 100%;
  padding: 0.5em;
  border: 1px solid black;
  box-sizing: border-box;
}
.testimonial-table td { 
  padding: 0.4em;
}
.testimonial-image img {
  width: 100px;
}
.testimonial-nameplate {
  margin: auto;
}
.testimonial-nameplate div {
  background-color:lightgray;
  padding: 1em;
  margin: auto;
  font-size: 1em;
}
.testimonial-quote {
  line-height: 1.3em;
  font-size: 0.8em;
  font-family: "Chalkboard SE", "Chalkboard", "Segoe Print", "Comic Sans MS", casual, cursive, sans-serif;
}
.testimonial-fulltest {
  display:none;
}
#testimonial-window {
  z-index: 1006;
  position: absolute;
  top: 2em;
  left: 2em;
  right: 2em;
  height: fit-content;
max-width: calc(var(--max-main-width) - 2em);
  display:none;
  background: white;
  width: 90%;
  overflow-y: auto;
  margin: 10vh auto;
  padding: 3em;
  border-radius: 0.3em;
  box-sizing: border-box;
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
  line-height: 1.6;
  font-family: Arial;
  cursor: pointer;
}
#testimonial-window div {
  border: 1px solid black;
  padding: 1em;
  display:none;
}
.sft {
  font-family: arial;
  font-weight: bold;
  font-size: 0.8em;
  text-align: center;
  line-height: 0.3em;
  cursor: pointer;
}
.testimonial-arrow {
  grid-row: 1;
  z-index: 10;
  justify-self: center;
  align-self: center;
  width: 2em;
  height: 2em;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0.3;
  color: white;
  font-size: 18px;
  cursor: pointer;
}
.testimonial-arrow.left {
    grid-column: 2;
    justify-self: start;
    margin-left: 0.7em;
}
.testimonial-arrow.right {
    grid-column: 2;
    justify-self: end;
    margin-right: 0.7em;
}
.testimonial-arrow:hover { opacity: 0.6; }