/**
 * Strong Testimonials Default Widget template
 */
/* Clears
-----------------------------------------------*/
.clear {
  clear: both;
}

/**
Minimum paragraph width means no short words in skinny space next to image
in columns or small screens.

This workaround is needed until we can use flexbox properly
or CSS offers container queries.

Thanks https://css-tricks.com/minimum-paragraph-widths/
*/
.maybe-clear {
  content: "";
  /* this value seems to work well in both responsive and Masonry */
  width: 6em;
  display: block;
  overflow: hidden;
}

/* Base
-----------------------------------------------*/
.strong-view.wpmtst-small-widget {
  display: block;
  width: 100%;
}
.strong-view.wpmtst-small-widget div {
  box-sizing: border-box;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial {
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100%;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial.t-slide {
  margin-top: 0;
  margin-bottom: 0;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-inner {
  display: block;
  width: 100%;
  height: 100%;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-image {
  max-width: 50%;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-field-before {
  margin-right: 0.5em;
}
.strong-view.wpmtst-small-widget a.readmore,
.strong-view.wpmtst-small-widget a.readmore-toggle {
  white-space: nowrap;
  z-index: 100;
}
.strong-view.wpmtst-small-widget a.readmore-toggle:hover {
  cursor: pointer;
}

.strong-view.slider-container {
  opacity: 1;
}
.strong-view .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Template
-----------------------------------------------*/
.strong-view.wpmtst-small-widget {
  margin-bottom: 1em;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial {
  margin-bottom: 1em;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-inner {
  padding: 10px;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-inner > *:not(:nth-last-child(2)):not(:last-child) {
	margin-bottom: 5px;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-heading {
  margin-bottom: 1em;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-content p:first-of-type {
  margin-top: 0;
  padding-top: 0;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-content p:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-image {
  float: left;
  margin-top: 0.25em;
  margin-right: 1em;
  margin-bottom: .5em;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-image .initials {
  margin-top: 0.25em;
  margin-right: 1em;
  margin-bottom: .5em;
  text-align: center;
  font-size: 42px;
  font-weight: bold;
  background-color: #f9f9f9;
  border-radius: 3px;
  display: table-cell;
  vertical-align: middle;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-field {
  clear: both;
}
.strong-view.wpmtst-small-widget .wpmtst-testimonial-name {
  font-weight: 700;
}
.strong-view.wpmtst-small-widget .readmore {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.strong-view.wpmtst-small-widget .readmore-page {
  border: 1px solid #E6E6E6;
  padding: 0.5em;
  text-align: center;
}

/* Slideshow
-----------------------------------------------*/
.strong-view.wpmtst-small-widget.slider-container .strong-content {
  margin: 0 auto;
}
.strong-view.wpmtst-small-widget.slider-container .wpmtst-testimonial:not(:first-child) {
  display: none;
}
.strong-view.wpmtst-small-widget.nav-position-inside .wpmtst-testimonial-inner {
  padding-bottom: 48px;
}
.strong-view.wpmtst-small-widget.controls-type-sides .wpmtst-testimonial-inner {
  padding-left: 50px;
  padding-right: 50px;
}

/* Responsive
-----------------------------------------------*/
@media only screen and (max-width: 320px) {
  .strong-view.wpmtst-small-widget .wpmtst-testimonial-image {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}
/* RTL
-----------------------------------------------*/
.strong-view.wpmtst-small-widget.rtl .wpmtst-testimonial,
.strong-view.wpmtst-small-widget.rtl .wpmtst-testimonial-inner,
.strong-view.wpmtst-small-widget.rtl .wpmtst-testimonial-heading {
  text-align: right;
}
.strong-view.wpmtst-small-widget.rtl .wpmtst-testimonial-image {
  float: right;
  margin-left: 1em;
}
.strong-view.wpmtst-small-widget.rtl .wpmtst-testimonial-field {
  text-align: left;
}

/* Option: Image Right
-----------------------------------------------*/
.strong-view.wpmtst-small-widget.image-right .wpmtst-testimonial-image {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.1em;
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
  .strong-view.wpmtst-small-widget.image-right .strong-content .wpmtst-testimonial-image {
    float: none;
  }
}
.strong-view.wpmtst-small-widget.image-right.rtl .wpmtst-testimonial,
.strong-view.wpmtst-small-widget.image-right.rtl .wpmtst-testimonial-inner,
.strong-view.wpmtst-small-widget.image-right.rtl .wpmtst-testimonial-heading {
  text-align: right;
}
.strong-view.wpmtst-small-widget.image-right.rtl .wpmtst-testimonial-image {
  float: left;
  margin-left: 0;
  margin-right: 1em;
}
.strong-view.wpmtst-small-widget .disabled {
  display : none!important;
}

.wpmslider-controls.disabled {
    display: block !important;
}

/*  Compatibility with metaslider pro layers display
----------------------------------------------------*/

.msHtmlOverlay .layer .disabled {
    display: block !important;
}

/*  Readmore Inline
----------------------------------------------------*/
.readmore-excerpt-inline,
.readmore-content-inline:not([hidden]),
.readmore-content-inline:not([hidden]) p {
    display: inline;
}

.wpmtst-inline-readme {
    margin-left: 5px;
}