.google_reviews {
  background-color: #fff7e1;
  padding-top: 10px;
  padding-bottom: 55px;
}
.testim_text {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  max-height: 200px;
  &::-webkit-scrollbar {
    width: 4px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #a9a9a9;
  }
  &::-webkit-scrollbar-track {
    background-color: transparent;
    border: 1px solid transparent;
  }
  scrollbar-width: thin;
  scrollbar-color: #a9a9a9 transparent;
}
.owl-carousel .owl-item img {
  width: auto;
}
.owl-carousel {
  width: 76%;
  margin-left: auto;
}
.owl-stage-outer {
  overflow-x: scroll !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  scrollbar-width: thin;
  scrollbar-color: #a9a9a9 transparent;
  gap: 15px;
}
.testimonials {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-left: 38px;
}
.testimonial_box {
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px 4px rgba(59, 89, 151, 0.04);
  width: 320px;
  height: 233px;
  padding-bottom: 37px;
  position: relative;
}
.headshot {
  position: relative;
  top: 45px;
  width: 84px;
  height: 98px;
  left: 52%;
  transform: translateX(-65%);
  z-index: 7;
}
.testimonial_box .quotation_mark {
  position: relative;
  left: 20px;
  top: 20px;
}
.testim_text {
  position: relative;
  top: -28px;
  height: inherit;
  overflow-y: auto;
  max-height: 157px;
}
.testimonial_box .testim_box_para {
  font-family: ProximaNova-Regular;
  color: #373737;
  font-size: 19px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 0;
  width: 80%;
  margin: 0 auto;
}
.testimonial_box .testim_name {
  font-family: ProximaNova-Regular;
  color: #373737;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  margin: 0px !important
}
.testimonial_box .testim_location {
  font-family: ProximaNova-Regular;
  color: #959898;
  font-size: 16px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
  margin: 0 0 5px 0;
}
.google-user-details {
  position: relative;
  top: -15px;
}
.google-details {
  position: relative;
  top: 55px;
}
.google-review-icon {
  position: absolute;
  right: 20px;
  transform: translateY(20px);
}
.google-user-url {
  text-decoration: none;
  color: #373737;
}
.google-user-url:hover {
  text-decoration: underline;
  color: blue;
}
.google-review-section {
  display: flex;
  max-width: 1400px;
  margin: auto;
  gap: 15px;
}
.google-review-rating {
  margin-left: 10px;
  margin-top: -0.2%; 
}
.google-review-headshot {
  height: 92px !important;
  border-radius: 50% !important;
  object-fit: cover;
  width: 92px !important;
  transform: translateX(-50%);
}
.rating-out-of {
  color: #fb8e28 !important;
  font-size: 21px !important;
  font-weight: 600 !important;
}
.review-on-google {
  background: #0a6cff !important;
  padding: 12px 30px 12px 30px !important;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.3);
}
.google-details p {
  line-height: 27px !important;
}
.review-on-google:hover {
  background-color: #1f67e7 !important;
}
.google-review-button {
  margin-top: 40px !important;
}
.google-user-details .google-user-rating {
  margin-bottom: 10px !important;
}
.owl-next {
  margin-left: 20px;
}
.owl-nav {
  display: block;
  float: right;
  margin-right: 40px;
  margin-top: 30px;
}
#gr-carousel .owl-dots {
  margin: 30px auto;
  float: left;
  width: 70%;
}
/*========================large screeen=======================*/
@media (min-width: 1920px) and (max-width: 2500px) {
  .owl-stage {
    width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .owl-item {
    width: 350px !important;
  }
}
/*========================big screeen=======================*/
@media (min-width: 1366px) and (max-width: 1920px) {
  .owl-stage {
    width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .owl-item {
    width: 360px !important;
  }
}
@media (min-width: 1150px) and (max-width: 1366px) {
  .owl-stage {
    width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .owl-item {
    width: 350px !important;
  }
}
/*========================iPad=======================*/
@media (min-width: 768px) and (max-width: 1024px) {
  .google-review-headshot {
    transform: translateX(-7%) !important;
  }
  #reviews-component-mob {
    display: none;
  }
  .review-date {
    margin: 0;
  }
  .reviewer-name{
    margin: 0;
    padding-top: 12px;
    padding-right: 7px;
  }
  .maps-and-flags{
    position: relative;
    top: 11px;
  }
  .reviewer-location {
    margin: 0;
    padding-top: 12px;
  }
  .star-rating {
    margin-top: 0 !important;
  }
}
@media (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
  .testimonial_box .testim_box_para {
    font-size: 18px;
    width: 94%;
    text-align: center;
    padding-left: 0;
    margin: 0 auto;
  }
  .headshot {
    left: 100px;
  }
}
/*========================Mobile Responsive=======================*/
@media (min-width: 376px) and (max-width: 767px) {
  #gr-carousel .owl-nav .owl-prev, #gr-carousel .owl-nav .owl-next {
    display: none;
  }
}
/*========================Mobile Responsive=======================*/
@media only screen and (max-width: 1280px) {
  .testimonial_box {
    width: 300px !important;
  }
  .headshot {
    transform: translateX(-55%);
  }
}
@media only screen and (max-width: 1100px) {
  .testimonial_box {
    width: 255px !important;
  }
}
@media only screen and (max-width: 1024px) { 
  #reviews-component-mob {
    display: none;
  }
  .owl-nav {
    margin-top: 25px;
    position: absolute;
    right: 0;
    margin-right: 34px;
  }
  .testimonial_box {
    margin: 0 auto;
    height: 270px;
    width: 230px !important;
  }
  .profile_img img {
    margin: 0 auto;
  }
  .profile_img {
    width: 33%;
  }
  .testimonial_box .quotation_mark {
    display: none !important;
  }
  .testim_text {
    top: 50px;
  }
  .testimonial_box .testim_box_para {
    line-height: 23px;
    width: 89%;
    font-size: 17px;
    padding-top: 0;
  }
  .testimonial_box .testim_name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 7px;
  }
  .google-user-details {
    top: 55px;
  }
  .testimonial_box .testim_location {
    font-size: 14px;
    line-height: 15px;
    margin: 0px;
  } 
  #gr-carousel .owl-dot.active {
    opacity: 1;
  }
  #gr-carousel .owl-dot {
    height: 6px;
    width: 6px;
    margin-right: 10px;
    border-radius: 5px;
    opacity: 0.30 ;
  }
  #gr-carousel .owl-dots {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 5px;
  }
  .headshot {
    left: 100%;
    transform: translateX(0%);
  }
  .headshot_other {
    left: 41%;
  }
}
@media only screen and (max-width: 999px) {
  .testimonial .testimonial_box {
    width: 255px !important;
  }
  .profile_img {
    width: 33%;
  }
  .owl-nav {
    padding-right: 60px;
  }
}
@media (min-width: 720px) and (max-width: 767px) {
  .testimonial .testimonial_box {
    width: 210px !important;
  }
  .profile_img {
    width: 27%;
  }
}
@media (min-width: 481px) and (max-width: 719px) {
  .testimonial .testimonial_box {
    width: 260px !important;
  }
}
@media only screen and (max-width: 480px) {
  .reviews-outer {
    gap: 15px;
    margin-left: 25px;
    margin-right: 32px;
  }
  .owl-nav {
    display: block;
  }
  .google-user-details {
    top: 45px !important;
  }
  .google-user-details .google-user-rating {
    margin: 0px !important;
  }
  .google-review-headshot {
    left: 102% !important;
    top: 50px !important;
  }
  .testimonial_box {
    height: 210px;
    width: 80% !important;
  }
  .review-on-google {
    padding: 12px 30px 12px 30px !important;
    border-radius: 30px !important;
    font-size: 16px;
  }
  .testimonial .review_box {
    width: 327px !important;
    height: 243px;
  }
  .profile_img {
    width: 38%;
  }
  .google-review-rating {
    width: 100%;
  }
  .owl-carousel {
    width: 100% !important;
  }
  .google-review-section {
    flex-wrap: wrap !important;
  }
  .google-review-rating {
    margin: auto;
  }
  .headshot {
    height: 80px;
    top: 35px;
    left: 84%;
  }
  .testimonial_box .testim_box_para {
    font-size: 17px;
  }
  .testimonial_box .testim_name {
      font-size: 15px;
      margin-top: 6px;
  }
  #gr-carousel .owl-dots {
    float: none;
  }  
  .google-review-button {
    margin-top: 20px !important;
  }
}
@media (min-width: 375px) and (max-width: 390px) {
  .testimonial .review_box {
    width: 280px !important;
  }
  .google-review-headshot {
    left: 100% !important;
  }
}
@media (min-width: 320px) and (max-width: 376px) {
  .reviews-outer {
    margin-left: 25px;
    margin-right: 20px;
  }
  .testimonial .review_box {
    width: 280px !important;
  }
  .google-review-headshot {
    left: 97% !important;
  }
  
  .testimonial_box .testim_box_para {
    font-size: 16px;
  }  
  .owl-nav {
    right: -2px;
  }
  #gr-carousel .owl-dots {
    margin-bottom: 45px;
  }
  .headshot_other {
      left: 152px !important;
  }
  .headshot {
    left: 90px;
  }
   #gr-carousel .owl-nav .owl-prev, #gr-carousel .owl-nav .owl-next {
    display: none;
  } 
}
@media (min-width: 320px) and (max-width: 360px) {
  .testimonial_box .testim_box_para {
    font-size: 15px;
  }
  .headshot_other {
    left: 148px !important;
  }
}
@media only screen and (max-width: 320px) {
  .headshot {
    left: 88px;
  }
  .testimonial_box .testim_box_para {
    font-size: 14px;
  }
  .headshot_other {
    left: 125px !important;
  }
   #gr-carousel .owl-nav .owl-prev, #gr-carousel .owl-nav .owl-next {
    display: none;
  }
}
