/**
 * @file
 * testimony.css
 *
 * UPDATED: Alberni Design Jr - 2020-08-12
 * 
 * ADDED THRU `.theme`
 * 
 * FUNCTIONS:
 *  - Styling for the /testimony page
 ============================================================================ */

.testimony {
  margin: 0 0 3em;
}
 
.testimony__logo {
  margin: 0 2em 2em 0;
  line-height: 0; /* Remove space underneath image */
  text-align: center;
}

.testimony__logo img {
  box-shadow: .1em .1em .3em #ddd;
}

.testimony__body {
  font-size: .95em;
  overflow: hidden; /* Prevent text overflow */
  padding: 0 0 0 2em;
}

.testimony__body:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ccc' d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'%3E%3C/path%3E%3C/svg%3E");
  width: 2em;
  font-family: 'Lato', sans-serif;
  display: block;
  margin-left: -2em;
}

/* Testimony Author */
@media (min-width: 751px) {
  .testimony__source {
    min-width: 15em; /* More equal spacings */
  }
}

@media (max-width: 750px) {
  .testimony__logo{
    float: none;
  }
}