/* feedback */




.feedback-grid-list{
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 4rem;
  column-gap: 2rem;
}







.feedback-heading{
  display: flex;
  justify-content: center;
}

.feedback-heading h2{
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 400;
  color: #127b83;
  margin-bottom: 0;
}




.feedback-list{
  padding: 2rem 0;
  display: flex;
  column-gap: 2rem;
}

.feedback-item{
  display: flex;
  flex-direction: column;
  position: relative;
  width: 350px;
  background: #f5f5f5;
  padding: 2rem 1.5rem;
}


@media(min-width:1170px) and (max-width:1400px){
  .feedback-item{
    width: 310px;
  }
}



.feedback-item:after{
  content: '“';
  position: absolute;
  left: 2rem;
  top: -2rem;
  font-size: 110px;
  line-height: 1;
  font-family: tahoma;
  color: #127b83;
  opacity: .5;
  pointer-events: none;
}

.feedback-item:before{
  content: '”';
  position: absolute;
  right: 2rem;
  bottom: -5rem;
  font-size: 110px;
  line-height: 1;
  font-family: tahoma;
  color: #127b83;
  opacity: .5;
  pointer-events: none;
}


.feedback-media{
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #127b83;

  position: absolute;
  right: 1.5rem;
  top: -1.5rem;
}

.feedback-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.feedback-item .fi-name{
  font-size: 21px;
  font-weight: 500;
  color: #127b83;
}

.feedback-item .fi-comment{
  margin: 1rem 0;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;


  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    max-height: 3.9em;
    line-height: 1.3em;
}



.feedback-item .fi-rates{
  display: flex;
  justify-content: space-around;
  column-gap: 1rem;
  padding-bottom: 1rem;
}

.fi-rate-item{
  text-align: center;
}

.fi-rate-item span{
  font-size: 12px;
  font-weight: 500;
  color: #127b83;
}


.fi-rate-stars{
  display: flex;
  padding-top: 3px;
}

.fi-rate-stars svg {
  stroke: #127b83;
  fill: transparent;
}

.rate-1 svg:nth-child(-n+1) {
    fill: #127b83;
}

.rate-2 svg:nth-child(-n+2) {
    fill: #127b83;
}

.rate-3 svg:nth-child(-n+3) {
    fill: #127b83;
}


.rate-4 svg:nth-child(-n+4) {
    fill: #127b83;
}

.rate-5 svg{
    fill: #127b83;
}

.fi-readmore{
   position: absolute;
   bottom: -17px;
   left: 0;
   right: 0;
   margin-left: auto;
   margin-right: auto;
   display: flex;
   justify-content: center;
}

.fi-readmore button{
    font-size: 16px;
    background: #127b83;
    color: #fff;
    border: 0px;
    cursor: pointer;
    min-width: 140px;
    height: 35px;
    text-align: center;
    transition: .2s ease;
    font-family: inherit;
}

.fi-readmore button:hover{
  opacity: .8;
}



.feedback-add{
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  margin-top: 1rem;
}

.feedback-add button{
  background: #23c4b5;
  color: #fff;
  border: 0px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  padding: .5rem 1.5rem;
  transition: .2s ease;
}

.feedback-add button:hover{
    opacity: .8;
}



/* feedback modal */

body.active-modal{
  overflow: hidden;
}


.feedback-modal{
  display: none;
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0 0 0 / 36%);
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.feedback-modal.active{
  display: flex;
}


.feedback-modal-content{
  width: 450px;
  background: #f5f5f5;
  padding: 2rem 1.5rem;
  position: relative;
  box-sizing: border-box;
  max-width: 90%;
}


.feedback-modal-close{
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 2.5rem;
  height: 2.5rem;

  background: #f5f5f5;
  border-radius: 9999px;
  overflow: hidden;
  border: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #127b83;
}





.modal-feedback-item .fi-name{
  font-size: 21px;
  font-weight: 500;
  color: #127b83;
}

.modal-feedback-item .fi-comment{
  margin: 1rem 0;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3em;
}



.modal-feedback-item .fi-rates{
  display: flex;
  justify-content: space-around;
  column-gap: 1rem;
}


.modal-feedback-item .feedback-media{
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #127b83;

  position: absolute;
  left: 0;
  right: 0;
  top: -1.5rem;
  margin-left: auto;
  margin-right: auto;
}


.modal-feedback-item .fi-readmore{
  position: relative;
  padding-top: 1rem;
  display: flex;
  column-gap: 1rem;
}

.modal-feedback-item .fi-readmore a,
.modal-feedback-item .fi-readmore button{
  padding: 0 10px;
}



.modal-feedback-item .fi-readmore a{
    font-size: 16px;
    background: #23c4b5;
    color: #fff;
    border: 0px;
    cursor: pointer;
    min-width: 140px;
    height: 35px;
    text-align: center;
    transition: .2s ease;
    font-family: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.modal-feedback-item .fi-readmore a:hover{
    opacity: .8;
}





.feedback-modal-add{
  display: none;
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0 0 0 / 36%);
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.feedback-modal-add.active{
  display: flex;
}


.fma-add{
  width: 450px;
  background: #f5f5f5;
  padding: 2rem 1.5rem;
  position: relative;
  box-sizing: border-box;
  max-width: 90%;
}




.add-feedback-container{
  display: flex;
  flex-direction: column;
  position: relative;
}


.add-feedback-container .head{
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  color: #127b83;
  padding-bottom: 1rem;
  text-align: center;
}


.feedback-form{
  display: flex;
  flex-direction: column;
  position: relative;
}



.add-feedback-container .row-item{
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.add-feedback-container .row-item + div{
  margin-top: 1rem;
}


.add-feedback-container .row-item > label{
    font-size: 15px;
    padding-bottom: 5px;
}

.add-feedback-container .row-item input, .add-feedback-container .row-item textarea {
    padding: 10px 10px;
    border-radius: 0;
    border: 1px solid #40b9ae;
    transition: border-color .2s ease;
    font-family: inherit;
}

.add-feedback-container .row-item textarea{
  resize: none;
}



.add-feedback-container .row-item input:focus, .add-feedback-container .row-item textarea:focus{
  outline: none;
}

.add-feedback-container .row-item .failed-input {
    border: 1px solid red !important;
}


.add-feedback-container .row-item .row-item-response {
    padding-top: 5px;
    color: red;
    font-size: 12px;
}


.row-item .rating-stars{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.row-item .rating-stars input{
  display: none;
}

.row-item .rating-stars label{
  cursor: pointer;
}


.row-item .rating-stars svg {
    width: 25px;
    height: 25px;
    stroke: #127b83;
    fill: transparent;
    transition: fill .1s ease;
}


.rating-stars > input:not(:checked) ~ label:hover svg, .rating-stars > input:not(:checked) ~ label:hover ~ label svg {
    fill: #127b83;
}


.rating-stars > input:checked ~ label svg, .rating-stars > input:checked ~ label ~ label svg {
    fill: #127b83;
}



.row-item .add-feedback{
    background: #127b83;
    color: #fff;
    border: 0px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    padding: .5rem 1.5rem;
    transition: .2s ease;
}


.row-item .add-feedback:hover{
  opacity: .8;
}


.feedback-form.load .row-item{
  opacity: .6;
  pointer-events: none;
  user-select: none;
}



.feedback-form.load:before{
    
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border: 3px solid #127b83;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    opacity: 1 !important;
    z-index: 100;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;

}


@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.feedback-form .form-response{
  display: flex;
    flex-direction: column;
    align-items: center;
}


.feedback-form .form-response svg{
   color: #127b83;
}

.feedback-form .form-response p{
  font-size: 18px;
  text-align: center;
  margin: 0;
  color: #127b83;
  margin-top: 1rem;
}


.feedback-form .form-response.error svg{
   stroke: red;
}


.form-response-html{
  display: none;
}



@media(max-width:400px){

  .feedback-item{
    max-width: 100%;
  }

  .feedback-item .fi-rates{
    flex-wrap: wrap;
    row-gap: 1rem;
  }
}



.fi-agg-rate{
  display: flex;
  margin-top: .5rem;
  font-size: 15px;
  font-weight: 500;
  color: #127b83;
  column-gap: .3rem;
}

.fi-agg-rate svg{
  fill: #127b83;
  margin-top: -1px;
}


.feedback-empty{
  margin: 0;
  font-size: 18px;
  color: #008080;
}

.home-feedback{
  padding-bottom: 2rem;
}