:root {
  --testimonial-image_size: 6em;
}

.testimonial {
  --container_vertical_spacing_multiplier: 2;

  --testimonial-vertical_padding: calc( var(--container_padding) * var(--container_vertical_spacing_multiplier) );

  --testimonial-vertical_spacing: calc( var(--container_vertical_spacing--normal) * ( var(--container_vertical_spacing_multiplier) ) );

  --testimonial-vertical_spacing--extra: calc( var(--container_vertical_spacing--normal) * calc( ( var(--container_vertical_spacing_multiplier) * 1.5 ) ) );

}

.testimonial {
  padding-top: var(--testimonial-vertical_padding);
  padding-bottom: var(--testimonial-vertical_padding);
}
.testimonial.container--wrapper:not(.m_extra-t):not(.m_extra-b) {
  margin-top: var(--testimonial-vertical_spacing);
  margin-bottom: var(--testimonial-vertical_spacing);
}
.testimonial.container--wrapper.m_extra-t {
  margin-top: var(--testimonial-vertical_spacing--extra);
}
.testimonial.container--wrapper.m_extra-b {
  margin-bottom: var(--testimonial-vertical_spacing--extra);
}

.testimonial:not(.bg-color):not(.bg-img) {
  padding-top: var(--container_padding);
  padding-bottom: var(--container_padding);
}

.testimonial .cb-inside-container {
  max-width: 100%;
}

.testimonial.container--wrapper.alignwide .cb-inside-container,
.testimonial.container--wrapper.alignfull .cb-inside-container {
  /* max-width: var(--narrow-container-max-width); */
  
  max-width: var(--normal-container-max-width);
  margin-left: auto;
  margin-right: auto;
}

.testimonial--quote,
.editor-styles-wrapper .testimonial--quote {
  font-size: 1.8rem !important;
	text-align: center;
	line-height: 1.6 !important;
}

.testimonial--imagewrap {
  width: var(--testimonial-image_size);
  height: var(--testimonial-image_size);
  border-radius: 100%;
	margin-left: auto;
	margin-right: auto;
}

.testimonial--imagewrap .testimonial--image {
  object-fit: cover;
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 100%;
}

.testimonial cite,
.editor-styles-wrapper .testimonial cite {
	text-align: center;
	font-style: normal;
  margin-top: 1.5em;
}

.testimonial cite p,
.editor-styles-wrapper .testimonial citep {
  margin: 0 !important;
}

.testimonial--name,
.editor-styles-wrapper .testimonial--name {
	font-weight: 700;
  font-size: 1rem;
	margin-top: 1em !important;
}
.testimonial--name,
.editor-styles-wrapper .testimonial--name,
.testimonial--position,
.editor-styles-wrapper .testimonial--position,
.testimonial--institution,
.editor-styles-wrapper .testimonial--institution {
  font-size: 1rem;
}

@media screen and (min-width: 690px) {
  .testimonial--quote,
  .editor-styles-wrapper .testimonial--quote {
    font-size: 2.0rem !important;
  }
  .testimonial--name,
  .editor-styles-wrapper .testimonial--name,
  .testimonial--position,
  .editor-styles-wrapper .testimonial--position,
  .testimonial--institution,
  .editor-styles-wrapper .testimonial--institution {
    font-size: 1.2rem;
  }
  
}

@media screen and (min-width: 1000px) {
  .testimonial--quote,
  .editor-styles-wrapper .testimonial--quote {
    font-size: 2.2rem !important;
  }
  .testimonial--name,
  .editor-styles-wrapper .testimonial--name,
  .testimonial--position,
  .editor-styles-wrapper .testimonial--position,
  .testimonial--institution,
  .editor-styles-wrapper .testimonial--institution {
    font-size: 1.25rem;
  }
}