.testimonial-page  {
  padding-top: 40px;


}
@media (max-width:767px){
  .testimonial-page  {
    padding-bottom: 40px;
  
  
  }
  
}

@media (min-width:767px){
  .testimonial-page {
    padding-top: 100px;

  
  }
  
}
.testimonial-title {
  margin-bottom: 42px
}

.testimonial-tab .tab-content {
  margin-top: 3.15625rem
}

@media (max-width:767px) {
  .testimonial-tab .tab-content {
      margin-top: 2.1875rem
  }
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap>.row>:nth-child(3n) .video-card {
  margin-right: 0
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap>.row>:nth-child(3n+1) .video-card {
  margin-left: 0
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card {
  border: 0;
  background-color: #F7F7F7;
  max-width: 414.5px;
  margin: auto;
  margin-bottom: 3.75rem;
  cursor: pointer
}

@media (max-width:1399px) {
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card {
      margin-bottom: 1.875rem
  }
}

@media (max-width:767px) {
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card {
      max-width: 100%;
      margin: 0 0 40px
  }
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img {
  position: relative
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img figure {
  position: relative;
  margin-bottom: 0;
  overflow: hidden
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img figure:before {
  content: "";
  display: block;
  padding-top: 52.5838359469%
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img figure:after {
  content: "";
  height: 3.75rem;
  width: 100%;
  background-image: linear-gradient(to top, rgba(13, 52, 46, 0.231372549) 45%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  bottom: 0;
  left: 0
}

@media (max-width:767px) {
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img figure:after {
      height: 70%
  }
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img figure img {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  width: 100%;
  transform: scale(1.01);
  transition: transform 0.5s ease-in-out
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img .play-btn,
.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img i {
  position: absolute;
  bottom: 20px;
  left: 25px;
  font-size: 38px;
  width: 38px;
  transform: scale(1);
  overflow: visible
}

@media (max-width:767px) {

  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img .play-btn,
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img i {
      bottom: 0;
      left: 0;
      top: 0;
      right: 0;
      margin: auto;
      font-size: 55px;
      width: 55px;
      height: 55px
  }
}

@media (max-width:480px) {

  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img .play-btn,
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-img i {
      font-size: 42px;
      width: 42px;
      height: 42px
  }
}

@media (min-width:768px) {
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card:hover .card-img figure img {
      transform: scale(1.05)
  }

  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card:hover .card-img .play-btn,
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card:hover .card-img i {
      animation: zoom-in-zoom-out 1.5s ease infinite
  }
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-content {
  padding: 30px 35px 40px
}

@media (max-width:1199px) {
  .testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-content {
      padding: 20px 20px 25px
  }
}

.testimonial-tab .tab-content.testimonial .video-testimonial-wrap .video-card .card-content .card-description {
  line-height: 26px;

}
.card.article-card .card-description span{
  display: -webkit-box;
  -webkit-line-clamp:3 ;
  -webkit-box-orient: vertical;  
  overflow: hidden;

}
.card.article-card .card-description span.read-moretext{
  color:#2A61BB;
  cursor: pointer;

}
.card.article-card .card-description span.read-moretext:hover{
  color:#bf4e31;
}
.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap>.row>:nth-child(3n) .article-card {
  margin-right: 0
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap>.row>:nth-child(3n+1) .article-card {
  margin-left: 0
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card {
  background-color: #F7F7F7;
  border: 0;
  padding: 2.375rem 2.375rem 2.5rem;
  max-width: 414.5px;
  
  height: 100%;
}
.testimonial .profile-testimonial .card-outer-wrap {
  margin-bottom: 3.75rem;
}
@media (max-width:1399px) {
  .testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card {
      margin-bottom: 1.875rem
  }
}

@media (max-width:1199px) {
  .testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card {
      padding: 2rem 1.5625rem 2rem
  }
}

@media (max-width:767px) {
  .testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card {
      max-width: 100%;
      margin: 0 0 40px
  }
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .card-description {
  margin-top: 40px
}

@media (max-width:575px) {
  .testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .card-description {
      font-size: 15px
  }
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .author-detail {
  margin-top: 10px;
  display: flex;
  align-items: center
}

@media (max-width:1199px) {
  .testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .author-detail {
      /* margin-top: 35px */
      margin-top: 0;
  }
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .author-detail .author-img {
  margin-right: 18px;
  max-width: 49px;
}

@media (max-width:1199px) {
  .testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .author-detail .author-img {
      max-width: 49px;
  }
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .author-detail .author-img figure {
  margin: 0;
  height: 100%
}

.testimonial-tab .tab-content.testimonial .testimonial-writings-wrap .article-card .author-detail .author-img figure img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.card p {
  font-size: 1.125rem
}

.author-details {
  margin-top: 45px
}

.author-name {
  font-weight: 500;
  margin-bottom: 3px
}

.author-place {
  color: #5C6369;
  font-weight: 500;
  margin-bottom: 0
}
@media (max-width:767.98px){
  .testimonial .profile-testimonial .card-outer-wrap:last-child{
    margin-bottom: 20px;
  }
}
.testi-modal .modal-header{
  border: none;
  padding: 30px 30px 15px 30px;

}
.testi-modal .modal-body{
  overflow-y: auto;
  max-height: 85vh;
  padding:15px 30px 30px 30px;
  font-size: 18px;
  line-height: 1.7;
}
.testi-modal .modal-content{
  background-color: #F7F7F7;
}