.tan-testimonials{
  margin-bottom:50px; 
}
.tan-testimonials .section-container{
    background: #fff;
    padding: 70px 0 80px 0; 
    border-radius: 80px 0;
}
.tan-testimonials h2{
  margin-bottom:20px; 
}
.tan-testimonials .intro{
  font-size:1.125rem;
  margin-bottom:40px; 
}

.tan-testimonials .box{
  background:#f5f5f3;
  border-radius:20px;
  margin-bottom:30px;
  padding:20px 30px 35px 30px;
  min-height:80%;
  text-align: center;
  margin-top: 100px;
}
.enterprise-services .tan-testimonials .box{
  min-height:404px; 
}
.tan-testimonials .box .author {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.tan-testimonials .box .title {
    font-size: .8rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform:uppercase; 
    color: #007c81;
    letter-spacing: 2px;
}

.tan-testimonials .quote-icon img{
    border-radius: 50%;
    max-width: 150px !important;
    max-height: 150px !important;
    margin-top: -120px;
    margin-bottom: 10px;
    margin-left:auto;
    margin-right:auto;
    border: 9px solid #a4d5dc;
   text-align: center;
}

.tan-testimonials .quote {
  font-weight:400;
}

.stars img{
    bottom: 25px;
    position: absolute;
    text-align: center;
    width: 43%;
    right: 28%;
}
}

@media screen and (max-width:991px){
  .tan-testimonials .box, .enterprise-services .tan-testimonials .box{
    margin-left:35px;
    margin-right:35px;
    min-height:0px;
    
  }
 
}

@media screen and (max-width:991px) and (min-width:768px){
   .tan-testimonials .box .text-wrap {
      display: inline-block;
      width: calc(100% - 150px);
      vertical-align: top;
      margin-top: 25px;
      text-align: center;
      padding-left: 20px;
  }
  .tan-testimonials .box .icon-wrap {
    display: inline-block;
    width: 130px;
    vertical-align: top;
  }
    .tan-testimonials .box {
    padding-bottom:30px;
      margin-left: 0px;
    margin-right: 0px;
    min-height: 0px;
  }
  .stars img {
    bottom: 0; 
    position: relative;
    text-align: center;
    right: 0;
    max-width: 150px;
    padding-top: 25px;
}
}

@media screen and (max-width:767px){
  .tan-testimonials .box, .enterprise-services .tan-testimonials .box {
    margin-left: 0px;
    margin-right: 0px;
    min-height: 0px;
    padding-bottom:70px;
  } 

  .stars img{
    bottom: 55px;
    position: absolute;
    text-align: center;
    width: 33%;
    right: 33%;
    max-width:100%;
    padding-top:0px;
  }
  
  @media screen and (max-width:767px){
      .tan-testimonials .section-container{
  padding-top:40px;
  }
}