#testimonios {
    background-size: cover;
    padding-top: 120px;
    position: relative;
  z-index: 3;
}
.opinion-button .text {
  font-family: 'Montserrat' !important;
}
.titletesti{
  font-family: 'Montserrat' !important;
font-weight: 900;
font-size: 40px;
line-height: 48px;
color: #064D43;
}
.parrafotesti{color: #373737;
    font-family: 'Montserrat' !important;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    opacity: .75;
    margin: 0px 0 16px 0;}
#testimonios .btn-principal{width:70%;}
.divtesti1{padding-right: 40px;}
#testimonios img{width:auto;height:auto;}
.divslider{background: #F7F7F7;
    border-radius: 16px;
    padding: 12px;
    margin-right: 20px;}
.testimony-text{font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;

color: #373737;}
.user{font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 20px;
color: #E9540D;
  padding-bottom: 8px;
}

.stars-container {
  padding: 12px;
  padding-left: 0;
}

.testimony-text{
  font-family: 'Open Sans';
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #373737;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimony-open {
  -webkit-line-clamp: unset;
}

.read-more {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;color: #373737;
  display: none;
  margin-bottom: 8px;
}

.read-less {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;
color: #373737;
  display: none;
  margin-bottom: 8px;
}

.read-more:hover {
  color: #3f1e0c;
  cursor: pointer;
}
.read-less:hover {
  color: #3f1e0c;
  cursor: pointer;
}

.active{
  display: block;
}

.line {
  width: 100%;
  height: 1px;
  background: #EAEFF3;
}
/***Estilos Popup Formulario***/

.popup-testimonial-container{ width: 100%; height: 100%; display: flex; flex-wrap: wrap; position: fixed; top: 0; justify-content: center; left:0;
  align-items: center; background-color: rgba(50,50,50,.8); opacity: 1; z-index: 1000000000000000000;    overflow-y: scroll; }

.testimonial-form{position: relative; width: 100%; max-width: 895px; box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.25); 
  display: flex; flex-direction: column; align-items: center; border-radius: 20px; overflow: hidden;}

.testimonial-form .sujeto {
  position: absolute;
  width: 30%;
  bottom: 0px;
  right: 0px;
}

.testimonial-header{ width: 100%; height: 50px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 0 5px 0;}

.testimonial-header .logo-container{ display: flex; align-items: flex-end;}

.testimonial-header .logo-container img{     width: 150px;
    margin: 0px 10px;}

.testimonial-header .logo-container p{ display: none; font-size: 13px; margin: 0 0 4px 0; font-weight: 700; }

.testimonial-header .logo-medicasp{ height: 56px !important; width: auto !important; }

.close-testimonial-form{ width: 24px; height: 24px; cursor: pointer;}

.testimonial-hero { 
  position: relative;
  display: flex;
  justify-content: flex-start;
  width: 100%; 
  height: auto; 
  padding-top: 40px; 
  padding-bottom: 40px;
  font-family: 'Montserrat' !important;
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  line-height: 120%;
  color: #064D43;

  text-shadow: 0px 4px 24px rgba(0, 0, 0, 0.15);
}


.testimonial-form .hs_cos_wrapper{  width: 100%;
    box-sizing: border-box; margin:0}

.testimonial-form form{ display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; box-sizing: border-box; padding-bottom: 12px;}

.testimonial-form label{
  font-family: 'Montserrat' !important;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  color: #373737;
}

.testimonial-form li::marker{
  color: #ef6b51;
}

.testimonial-form input[type='text'], .testimonial-form input[type='email']{
  background: linear-gradient(132.58deg, rgba(255, 255, 255, 0.28) 16.8%, rgba(255, 255, 255, 0.1225) 93.98%), linear-gradient(132.48deg, rgba(255, 255, 255, 0.4) 15.37%, rgba(255, 255, 255, 0.22) 83.24%);
  border: 2px solid #064D43;
  backdrop-filter: blur(16px);
  border-radius: 8px;
  width: 100%; 
  height: 48px;
  box-sizing: border-box; 
  color: black; 
  font-weight: 400; 
  font-size: 16px; 
  margin: 2px 0 6px 0; 
  padding: 0 0 0 20px;
}

.testimonial-form .hs-firstname {
  width: 48%;
  color: #373737;
}

.testimonial-form .hs-lastname {
  width: 48%; 
  color: #373737;
  margin-left: 4%;
}

.testimonial-form .hs-email {
  width: 100%;
}

.testimonial-form input[type='text']::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  color: #373737;
  opacity: .72; /* Firefox */
}

.testimonial-form input[type='email']::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  color: #373737;
  opacity: .72; /* Firefox */
}

.testimonial-form .hs-testimonio {
  width: 100%; 
  margin-bottom: 4px;
}

.testimonial-form textarea{ 
  background: linear-gradient(132.58deg, rgba(255, 255, 255, 0.28) 16.8%, rgba(255, 255, 255, 0.1225) 93.98%), linear-gradient(132.48deg, rgba(255, 255, 255, 0.4) 15.37%, rgba(255, 255, 255, 0.22) 83.24%);
  border: 2px solid #064D43;
  backdrop-filter: blur(16px);
  border-radius: 8px;
  width: 100%; 
  box-sizing: border-box; 
  height: 152px; 
  padding: 20px 0 0 20px; 
  color: black; 
  font-weight: 400; 
  font-size: 16px; 
  margin:0; 
}

.testimonial-form textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  color: #373737;
  opacity: .72; /* Firefox */
}

.testimonial-form input[type='submit']{ 
  height: auto;
  width: 235px;
  box-sizing: border-box; 
  cursor: pointer;
  margin: 8px 0 60px 0; 
  border: none; 
  appearance: none; 
  -webkit-appearance: none;  
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  padding: 8px 16px;
  background: radial-gradient(86.25% 86.25% at 50% 50%, #F77436 20.31%, #E9540D 63.02%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
  box-shadow: inset 0px 4px 4px rgba(255, 255, 255, 0.25);
  border-radius: 56px;
  color: #FFFFFF;
  margin: 20px 0;
  transition: all .3s linear;
}

.required-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #373737;
}

.cerrar-modal{
  height: auto;
  width: 235px;
  box-sizing: border-box; 
  cursor: pointer;
  border: none; 
  appearance: none; 
  -webkit-appearance: none;  
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  background: transparent;
  box-shadow: inset 0px 4px 4px rgba(255, 255, 255, 0.25);
  border-radius: 56px;
  border: 2px solid #064D43;
  padding: 8px 16px;
  color: #064D43;
  margin: 20px 0;
  transition: all .3s linear;
  margin-right: 24px;
}

.testimonial-form input[type='submit']:hover{
  border: 0px !important;
  background: #064D43; !important;
  color: #FFFFFF;
}

.testimonial-form .cerrar-modal[type='button']:hover{
  border: 2px solid #064D43;
  font-weight: 700 !important;
  background: #064D43;
  color: white;
}


.qualify-box{  
  display: block;
  padding-bottom: 20px;
  width: 100%;
  color: #064D43;
}

.qualify-box p{ 
  font-family: 'Montserrat' !important;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0.03em;
  margin: 0;
  margin-bottom: 16px;
}

.hs-submit{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 8px;
}

.hs-submit .actions{ 
  width: auto;
}

.testimonial-form .hs-richtext{     
  position: absolute;
  bottom: 70px;
  right: 35px;
  color: #373737;
}

.testimonial-form form .hs-richtext p{ 
  font-weight: 600;
  font-size: 14px;
  line-height: 120%; 
  margin: 0; 
}

.qualify-box img{ width: 40px !important; height: 40px !important; margin: 0 3px; transition: all 0.2s ease;}

.qualify-box img:hover{opacity: 0.6;}

.hs_calificacion{ display: none !important; }

.input .hs-error-msgs.inputs-list{ display: none; }

.popcta-volver{ padding: 5px 30px; font-weight: 700; font-size: 14px; position: absolute; bottom: 20px; left: 29px; cursor: pointer; }

.hs_error_rollup{ color: red; font-weight: 400; font-size: 14px; }


@media only screen and (max-width:768px){
  
  
  .testimonial-hero { font-size: 22px; line-height: 110%; padding-top: 20px; padding-bottom: 20px;}
  
  .testimonial-hero .image{ display: none;}

  .testimonial-hero .image-cell{ display: block;}
    
  .testimonial-form .hs-firstname {
    width: 100%;
    margin-bottom: 12px;
  }

  .testimonial-form .hs-lastname {
    width: 100%;
    margin-left: 0%;
    margin-bottom: 12px;
  }

  .hs-submit {
    flex-direction: column-reverse;
    justify-content: center;
  }
  
  .testimonial-form input[type='text'], .testimonial-form input[type='email']{ 
    font-size: 12px;
    line-height: 15px;
  }
  
  .testimonial-form textarea{
    font-size: 12px;
    line-height: 15px;
  }
  
  .testimonial-form input[type='text']::placeholder { 
    font-size: 12px;
    line-height: 15px;
    color: #373737;
    opacity: .72;
  }

  .testimonial-form input[type='email']::placeholder { 
    font-size: 12px;
    line-height: 15px;
    color: #373737;
    opacity: .72;
  }

  .testimonial-form textarea::placeholder { 
    font-size: 12px;
    line-height: 15px;
    color: #373737;
    opacity: .72;
  }
  
  .hs-submit .actions{ 
    width: 100%;
    margin-bottom: 12px;
  }
  
  .testimonial-form input[type='submit']{ 
    margin: 20px 0 12px 0;
    font-size: 14px;
    line-height: 17px;
  }
  
  .cerrar-modal{
    font-size: 14px;
    line-height: 17px;
  }
  
  .testimonial-form label{
    font-size: 16px;
    line-height: 20px;
  }
  
  .qualify-box p{ 
    font-weight: 800;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
  }
  
  .qualify-box img{ width: 25px; height: 25px; margin: 0 1px;}

}

.testimonial-form form .hs-richtext {
  margin-right: 25vw;
  margin-bottom: 4px;
  position: relative !important;
  bottom: 0;
  right: 0;
}
.testimonial-form ,.popup-testimonial-container{    padding: 40px;}

.popup-testimonial-container{    padding-top: 100px;}

.videobajo{    margin: 0 auto;
    margin-top: 30px;
    width: 45%;
    min-width: 300px;
    background-repeat: no-repeat;
    background-position: center center;
  border-radius: 8px;
  overflow: hidden;
}

#testimonios .esfera1 {
  position: absolute;
  right: -240px;
  top: -40px;
  width: 135px;
}

#testimonios .atomo1 {
  bottom: -72px;
  left: -160px;
  position: absolute;
  width: 104px;
  filter: blur(1px);
}

#testimonios .atomo2 {
  position: absolute;
  right: -160px;
  top: 148px;
  width: 95px;
}

#testimonios .esfera2 {
  left: -48px;
  position: absolute;
  top: 272px;
  width: 95px;
  filter: blur(1px);
}

#testimonios .esfera3 {
  bottom: -200px;
  position: absolute;
  right: -192px;
  width: 660px;
}

#testimonios .atomo3 {
  bottom: 52px;
  left: -8px;
  position: absolute;
  width: 100px;
  filter: blur(1.5px);
}
