/**
 * Strong Testimonials Bold template
 */

$template: bold;

@import "../_mixins/testimonial";
@import "../_partials/clear";
@import "../_partials/base";

.strong-view.#{$template} {
  margin-bottom: 1em;

  .wpmtst-testimonial {
    margin-bottom: 1em;
    text-align: center;
    @include no-top-bottom-margin;
  }

  .wpmtst-testimonial-inner {
    padding: 20px;
	border-radius: 3px;

	& > *:not(:nth-last-child(2)):not(:last-child) {
		margin-bottom: 5px;
	}
  }

  .wpmtst-testimonial-content {
    background: inherit; // theme compat
    font-size: 2em;
    line-height: 1.3;
    padding: 0; // theme compat
    @include paragraphs;
  }

  .wpmtst-testimonial-image {
    margin: 0 auto 20px;

    img {
      border-radius: 3px;
      box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
    }

    a {
      text-decoration: none;
      box-shadow: none;
    }
  }

  .wpmtst-testimonial-field {
    font-size: 1.2em;
  }

  .wpmtst-testimonial-name {
    font-weight: 700;
  }

  .readmore {
    a {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 3px;
      font-size: 1.2em;
      padding: 0.5em;
      display: block;
    }
  }

  .readmore-page {
    font-size: 1.2em;
    border-radius: 3px;
    padding: 1em;
    text-align: center;
  }
}

/* Pagination
-----------------------------------------------*/
@import "../_partials/pagination-simple";
@import "../_partials/pagination-standard";

/* Slideshow
-----------------------------------------------*/
.strong-view.#{$template} {
  &.slider-container {
    .strong-content {
      margin: 0 auto;
    }

    .wpmtst-testimonial:not(:first-child) {
      display: none;
    }
  }

  &.nav-position-inside {
    .wpmtst-testimonial-inner {
      padding-bottom: 60px;
    }
  }

  &.controls-type-sides .wpmtst-testimonial-inner {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Responsive
-----------------------------------------------*/
@media only screen and (max-width: 640px) {
  .strong-view.#{$template} {
    .wpmtst-testimonial-content {
      font-size: 1.5em;
      line-height: 1.2;
    }
  }
}
