/**
 * Strong Testimonials custom 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.custom {
  display: block;
  width: 100%;
}
.strong-view.custom div {
  box-sizing: border-box;
}
.strong-view.custom .wpmtst-testimonial {
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100%;
}
.strong-view.custom .wpmtst-testimonial.t-slide {
  margin-top: 0;
  margin-bottom: 0;
}
.strong-view.custom .wpmtst-testimonial-inner {
  display: block;
  width: 100%;
  height: 100%;
}
.strong-view.custom .wpmtst-testimonial-image {
  max-width: 100%;
}
.strong-view.custom .wpmtst-testimonial-field-before {
  margin-right: 0.5em;
}
.strong-view.custom a.readmore,
.strong-view.custom a.readmore-toggle {
  white-space: nowrap;
  z-index: 100;
}
.strong-view.custom 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.custom {
  margin-bottom: 1em;
  filter: drop-shadow(0 0 40px rgba(0,0,0,0.08));
}
.strong-view.custom .wpmtst-testimonial {
  margin-bottom: 1em;
}
.strong-view.custom .wpmtst-testimonial-inner {
  padding: 10px;
}
.strong-view.custom .wpmtst-testimonial-inner > *:not(:nth-last-child(2)):not(:last-child) {
	margin-bottom: 5px;
}
.strong-view.custom .wpmtst-testimonial-heading {
  margin-bottom: 1em;
}
.strong-view.custom .wpmtst-testimonial-content p:first-of-type {
  margin-top: 0;
  padding-top: 0;
}
.strong-view.custom .wpmtst-testimonial-content p:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}
.strong-view.custom .wpmtst-testimonial-image {
  float: none;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
.strong-view.custom .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.custom .wpmtst-testimonial-field {
  clear: both;
}
.strong-view.custom .wpmtst-testimonial-name {
  font-weight: 700;
}
.strong-view.custom .readmore {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.strong-view.custom .readmore-page {
  border: 1px solid #E6E6E6;
  padding: 0.5em;
  text-align: center;
}

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

/* Responsive
-----------------------------------------------*/
@media only screen and (max-width: 767px) {
  .strong-view.custom .wpmtst-testimonial-image {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
 
	.slide-box .wpmtst-testimonial-inner
	{
		padding:0px!important;
	}
	
	.client-info-bottom:before
	{
		right:0px!important;
		width: 80px !important;
		margin-top: 5px !important;
	}
	
   .testimonial-name
	{
		font-size:14px !important;
		
	}
	
	.client-img
	{
		left:10px!important;
		max-width: 50px !important;
	}
	
	.client-info-top:before
	{
		top:-5px!important;
	}
	
}
/* RTL
-----------------------------------------------*/
.strong-view.custom.rtl .wpmtst-testimonial,
.strong-view.custom.rtl .wpmtst-testimonial-inner,
.strong-view.custom.rtl .wpmtst-testimonial-heading {
  text-align: left;
}
.strong-view.custom.rtl .wpmtst-testimonial-image {
  float: left;
  margin-left: 1em;
}
.strong-view.custom.rtl .wpmtst-testimonial-field {
  text-align: left;
}

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

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

.slide-box
{
 height:100%;
}

.client-img {
    max-width: 64px;
    width: 100%;
    background: #eff0f5;
    border-radius: 50%;
    padding: 0px;
    position: absolute;
    bottom: 0px;
    left: 15px;
}

.client-img img {
    border-radius: 50%;
}

.wpmslider-pager-item
{
	margin-right:5px!important;
}

.slide-box .wpmtst-testimonial-inner {
  border-radius: 10px !important;
}

.client-info-top .testimonial-name, .client-info-bottom .strong-rating-wrapper
{
	display:none!important;
}

.client-info-top .testimonial-field
{
	text-align:right;
}

.client-info-bottom
{
	margin-top:10px;
}

.testimonial-content
{
	padding:30px!important;
	min-height: 310px !important;
}

.wpmtst-testimonial:nth-child(even) .testimonial-content{
    background: #fff;
}


.wpmtst-testimonial:nth-child(odd) .testimonial-content{
    background-color: #d3a140;
}

.wpmtst-testimonial:nth-child(odd) div, .wpmtst-testimonial:nth-child(odd) a
{
	color:#fff!important;
}

.testimonial-content p
{
	font-size: 16px;
	line-height: 30px;
	color: #151515;
	font-weight: 400;
	font-family: "Epilogue";
}

.testimonial-name
{
	font-size: 20px;
	letter-spacing: 1px;
	line-height: 35px;
	color: #ffffff;
	font-weight: 400;
	font-family: "Epilogue";
	margin-left: 80px;
}

.client-info-top:before {
    content: '';
    background: url(https://citylimo.co.uk/wp-content/uploads/2024/01/quote_White.svg);
    position: absolute;
    left: 15px;
    width: 42px;
    top: 0;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.client-info-bottom:before{
	content: '';
    background: url(https://citylimo.co.uk/wp-content/uploads/2024/01/Trustpilot.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 120px;
    height: 100%;
    right: 20px;
}

.strong-view.pager-style-buttons .wpmslider-pager-link:hover:before, .strong-view.pager-style-buttons .wpmslider-pager-link.active:before
{
	width:14px!important;
	height:14px!important;
	color:#d3a140!important;
	background:#d3a140!important;
}

.strong-view.pager-style-buttons .wpmslider-pager-link:before
{
	width:12px!important;
	height:12px!important;
}
