﻿@media (min-width: 768px){
  .service{
    width: 100%;
    box-sizing: border-box;

    cursor: default;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 85.3px;

    margin-top: 70px;

    padding: 13px 25.113dvw;
  }

  .service-heading{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8.7px;
  }
  .service-name-rating-c{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
  }

  .service-name{
    font-size: 23px;
    color: var(--light-primary-text-color);
  }
  .service-rating-button{
    width: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;

    padding: 3.7px 12.5px;

    border: 1px solid var(--light-border-color);
    border-radius: 100px;

    background-color: var(--light-background-color);
  }
  .service-rating-button:hover{
    background-color: var(--light-hover-color);
  }
  .service-star-rating-c{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 3px;

    font-size: 14px;
    color: #333333;
  }
  .service-star-icon{
    height: 13px;
  }
  .service-reviews-text{
    color: #666666;
  }

  .service-locations-c{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11.7px;
  }
  .service-location{
    font-size: 16px;
    color: #444444;
  }


  .service-photos-handyman-info-c, .service-description-c, .service-reviews-c{
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22.5px;
  }
  .service-photos-c{
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .service-photo-c{
    position: relative;

    height: 250px;
    width: 250px;
  }
  .service-photo{
    height: 100%;
    width: 100%;
    border-radius: 15px;
  }
  .service-previous-photo-button, .service-next-photo-button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    height: 33.7px;
    width: 33.7px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid var(--light-border-color);
    border-radius: 100px;

    background-color: var(--light-background-color);
  }
  .service-previous-photo-button{
    left: -103.3px;
  }
  .service-next-photo-button{
    right: -103.3px;
  }
  .service-previous-photo-button:hover, .service-next-photo-button:hover{
    background-color: var(--light-hover-color);
  }
  .service-previous-photo-button-arrow-icon, .service-next-photo-button-arrow-icon{
    height: 15px;
  }
  .service-photos-arrow-icon{
    height: 16.3px;
  }

  .service-handyman-info-c{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12.5px;
  }
  .service-handyman-name, .service-description-heading, .service-reviews-heading{
    font-size: 20px;
    color: var(--light-primary-text-color);
  }
  .service-handyman-contact-info-c{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13.3px;
  }
  .service-handyman-contact-info-button{
    padding: 7px 13.5px;

    border-radius: 10px;

    background-color: var(--primary-color);

    font-size: 14px;
    color: var(--light-secondary-text-color);
  }
  .service-handyman-contact-info-button:hover{
    opacity: 0.85;
  }


  .service-description-c{
    padding-top: 12.63px;
  }
  .service-description-content{
    cursor: text;

    text-align: left;
    font-size: 15.5px;
  }


  .service-reviews{
    width: 100%;
    box-sizing: border-box;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5.3px;

    padding-top: 9.75px;
  }
  .service-review, .user-review{
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 24.23px;

    padding: 17px 21px;
    
    border: 1px solid var(--light-border-color);
    border-radius: 15px;
  }
  .user-review{
    margin-top: 3.5px;
  }
  .service-review-heading, .user-review-heading{
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .service-review-heading-profile-picture-username-c, .user-review-heading-profile-picture-username-c{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13.39px;
  }
  .service-review-heading-user-profile-picture-c, .user-review-heading-user-profile-picture-c{
    height: 26px;
    width: 26px;
  }
  .service-review-heading-user-profile-picture, .user-review-heading-user-profile-picture{
    height: 100%;
    width: 100%;
    border-radius: 100px;
  }
  .service-review-heading-username, .user-review-heading-username{
    font-size: 16px;
    color: var(--light-primary-text-color);
  }


  .user-review-heading-stars-attach-button-send-button-c{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14.7px;
  }

  .service-review-heading-stars-c, .user-review-heading-stars-c{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 4.65px;
  }
  .user-review-heading-attach-button-send-button-c{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 7.85px;
  }
  .user-review-heading-stars-c{
    cursor: pointer;
  }
  .star-icon{
    height: 18px;
  }
  .user-review-heading-button{
    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 1.5px;
  }
  .attach-icon, .send-icon{
    height: 15.3px;
  }

  .user-review-content-textarea{
    border: 0;
  }
  .user-review-content-textarea::placeholder{
    color: #666666;
  }


  .service-review-content, .user-review-content{
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 8.65px;
  }
  .service-review-content-text, .user-review-content-textarea{
    width: 100%;
    box-sizing: border-box;

    cursor: text;

    text-align: left;
    font-size: 15px;
    color: var(--light-primary-text-color);
  }
  .view-more-text{
    cursor: pointer;

    padding-left: 7px;
    padding-top: 1px;

    font-size: 12px;
    color: #777777;
  }
  .review-text-js.review-is-collapsed{
    position: relative;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .service-review-content-images-c, .user-review-content-images-c{
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 11.213px;
  }
  .service-review-content-image-c, .user-review-content-image-c{
    height: 170px;
    width: 170px;

    cursor: pointer;
  }
  .service-review-content-image, .user-review-content-image{
    height: 100%;
    width: 100%;
    border-radius: 15px;
  }
}





.review-text-js.review-is-collapsed{
  position: relative;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.review-collapse-affordance::before{
  content: "...";
  position: absolute;
  right: 100%;
  bottom: 0;
  background: var(--light-background-color);
}

.service-rating-button:active{
  background-color: var(--light-active-color);
}
.service-previous-photo-button:active, .service-next-photo-button:active{
  background-color: var(--light-active-color);
}
.service-handyman-contact-info-button:active{
  opacity: 0.73;
}



.service-photos-c-no-before-photos{
  justify-content: center !important;
}
.service-photos-c-no-before-photos .service-before-photo-c, .service-photos-c-no-before-photos .service-photos-arrow-icon{
  display: none;
}
.service-photos-c-no-before-photos .service-after-photo-c .service-previous-photo-button{
  display: flex;
}
.service-after-photo-c .service-previous-photo-button{
  display: none;
}
.service-previous-photo-button-arrow-icon{
  rotate: 270deg;
}
.service-next-photo-button-arrow-icon{
  rotate: 90deg;
}
