/* Google fonts import */
/* @import url('https://fonts.googleapis.com/css2?family=Lato&family=Poppins:wght@700;800&family=Varela+Round&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:wght@700;800&family=Varela+Round&display=swap');

* {
  box-sizing: border-box;
}

.owl-carousel {
  display: flex !important;
  flex-wrap: wrap;
  line-height: 1.6em;
}

.owl-stage,
.owl-item,
.item {
  height: 100%;
}

.container-wrapper {
  display: flex;
  position: relative;
}

.container {
  position: relative;
  margin: 50px auto;
  overflow: hidden;
  /* Add padding to create space for (if) buttons inside the container */
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
}

.card-block {
  width: 100%;
  display: flex;
  padding: 1em;
  justify-content: center;
  height: 100%;
}

.card-block-inner-wrapper {
  background-color: #368ef8;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card-block-inner-wrapper:after {
  background-color: #368ef8;  
  border-radius: 5px;
  content: "";
  display: none; /* hide the tail unless user enables it */
  height: 28px;
  left: 100px; /* 13% */
  margin-top: -19px;
  overflow: hidden;
  position: absolute;
  bottom: -8px;
  transform: rotate(-135deg);
  transition: background-color .3s ease-in-out;
  width: 28px;
}

.testimonial-image-and-author-info {
  display: inline-flex;
  align-items: center;
  justify-content: start;
}

.testimonial-quote {
  font-size: 18px;
  font-weight: normal;
  font-family: "Lato", sans-serif;
  color: #ffffff;
}

.testimonial-quote p {
  margin-top: 5px;
  margin-bottom: 5px;  
  font-family: inherit;
  line-height: 1.5;
}

.author, .author-details {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
}

.author {
  font-size: 18px;
  font-weight: 600;  
}

.author-details {

}

.image-wrapper {
  margin-right: 20px;
}

.testimonial-image,
.img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 10px;
}

.testimonial-image img,
.img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.testimonial-image {
  display: flex;
  align-items: center;
}

/* Utility classes */
.left-content .testimonial-image-and-author-info {
  align-items: start;
}

.left-content.author-side-by-side .testimonial-image-and-author-info,
.testimonial-style-option-1 .testimonial-image-and-author-info {
  align-items: center;
  align-self: flex-start;
}

.owl-item .text-wrapper {
  max-width: 100%;
  padding: 0;
}

.center-content {
  text-align: center;
}

.center-content .text-wrapper {
  text-align: left;
  padding: 0;
  margin: 0;
}

.center-content .testimonial-image-and-author-info {
  justify-content: center;
}

.author-stacked .testimonial-image-and-author-info {
  flex-direction: column;
}

.author-stacked .text-wrapper {
  text-align: center;
}

.left-content.author-stacked .text-wrapper {
  text-align: left;
  margin: 0;
}

.author-stacked .image-wrapper {
  margin-right: 0;
}

/* Navigation */

.owl-dots {
  width: 100%;
}

.mynav {
  cursor: pointer;  
  display: none;
}

/* Hide arrow navigation when there's single testimonial item */
.arrow-nav-show .mynav {
/*   display: block; */
  display: flex;
  align-items: center;  
  margin-top: -38px;
}

.arrow-nav-show .dots-disabled.mynav {
  margin-top: 0;
}

.mynav-prev,
.mynav-next {
  width: 35px;
  height: 35px;
  position: absolute;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50%;
  border-color: transparent;
  z-index: 9;
  opacity: 0.2;
  transition: all 0.2s ease;
  filter: saturate(0);
/*   top: 45%; */
/*   top: calc(45% - 20px);   */
}

.mynav-prev:hover,
.mynav-next:hover {
  opacity: 1;
  filter: saturate(1);
}

.mynav-prev {
  left: 5px;
}

.mynav-next {
  right: 5px;
}

{# Testimonial options style #}
.container-wrapper.testimonial-style-option-1 .card-block-inner-wrapper {
  background-color: #ffffff;
}

.container-wrapper.testimonial-style-option-1 .card-block-inner-wrapper:after {
  background-color: #ffffff;
}

.container-wrapper.testimonial-style-option-1 .container {
  width: 60%;
/*   padding: 0; CAN'T, THE ARROW NAV ISSUE IF PADDING SET TO 0*/
}

.testimonial-style-option-1 .side-image {
  width: 40%;
  display: flex;
  justify-content: center;
}

.testimonial-style-option-1 .testimonial-quote {
  color: #212322;
}

.testimonial-style-option-1 .card-block {
  flex-direction: column;
}

.testimonial-style-option-1 .testimonial-image-and-author-info {
  padding-left: 75px;
}

.testimonial-style-option-1 .author, 
.testimonial-style-option-1 .author-details {
  color: #212322;
}

.testimonial-style-option-2 {

}    

/* Responsive */
@media (min-width: 1600px) {
  .container-wrapper.testimonial-style-option-1 .container {
    width: 70%;
  }

  .side-image {
    width: 30%;
  }
}

@media (max-width: 1100px) {
  .container {
    max-width: 100% !important;
  }
}

@media (min-width: 1001px) {
  .container-wrapper.testimonial-style-option-1 .side-image {
    align-items: flex-start;
    margin-top: 80px;
  }
}

@media (max-width: 1000px) {
  .container-wrapper.testimonial-style-option-1 .side-image {
    position: absolute;
    width: 20% !important;
  }
  
  .container-wrapper.testimonial-style-option-1 .container {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .testimonial-style-option-1 .card-block-inner-wrapper:after {
    left: 45px; 
  }
  
  .testimonial-style-option-1 .testimonial-image-and-author-info {
    padding-left: 20px;
  }
}

@media (max-width: 600px) {
  .side-image {
    top: 10px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0;
  }

  .card-block-inner-wrapper {
    padding: 25px !important;
  }
  
  .side-image {
    top: 40px;
  }  

  .owl-item {
    margin: 0;
  }

  .mynav {
    display: none !important;
  }
}