.carousel-caption{
    position: absolute;
    z-index: 1;
    background: rgba(168, 158, 149,.9);
    box-shadow: rgb(0, 0, 0) 3px 3px 12px;
    border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    bottom: 0px;
}
/*-----------------------------------------------------------------------------------------
                        estilo para bienvenida
    ------------------------------------------------------------------------------------------*/
    .carousel-inner > .carousel-item > img 
    {
            max-width: 100%;
            object-fit: cover;
    }
    .carousel-caption > h5, h4{
        font-family: 'Cinzel';
        letter-spacing: 2px;
    }

    #welcomeRinofast{
        text-align: center;
    }
    .welcome{
        text-align: center;
        font-family: 'AdobeCaslonPro' , sans-serif;
        font-style: italic;
    }
    #descriptionRinofast{
        text-align: justify;
        font-family: 'Futura-pt', sans-serif;
        color: #656565;
        padding-left: 10%;
        padding-right: 10%;
    }
    #descriptionRinofast::first-letter{
        font-size:4rem;
        font-family: 'Trispace', sans-serif;
        float:left;
    }
    /*-----------------------------------------------------------------------------------------
                            estilo para Procedimientos
    ------------------------------------------------------------------------------------------*/
    .containerProcedures {
        display: flex;
        margin: 0px auto;
        text-align: center;
        padding-top: 4%;
        padding-bottom: 4%;
    }
    
    .procedure {
        width: 265px;
        height: 340px;
        position: relative;
        display: inline-block;
        overflow: hidden;
        margin:1em;
    }
    
    .image,
    .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        text-align: center;
        margin: 0px auto;
        object-fit: cover;
    }
    .overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 265px;
        transition: .5s linear;
    }
    
    .procedure:hover .overlay{
        top:0%;
        background: rgba(168, 158, 149,.9);
        opacity: 1;
    }
    .overlay h2 {
        position: relative;
        text-align: center;
        top: 60%;
        font-family: 'Montserrat SemiBold';
        font-size: 20pt;
        transition-duration: 1s;
        color: white;
    }
    .overlay:hover h2
    {
        top: 40%;
    }
    .overlay #galery {
        position: relative;
        text-align: center;
        top: 70%;
        font-size: 30px;
        transition-duration: 1s;
        color: white;
        opacity: 0;
        font-family: 'Trispace', sans-serif;
        font-size: 16pt;
    }

    .overlay #galery a{
        text-decoration: none;
        color: white
    }

    .overlay:hover #galery {
        top: 40%;
        opacity: 1;
    }
    /*Estilos para columna de otros procedimientos*/
    #category_other {
        position: relative;
        text-align: center;
        top: 20%;
        font-family: 'Montserrat SemiBold';
        font-size: 20pt;
        transition-duration: 1s;
        color: white;
    }
    .overlay:hover #category_other
    {
        top: 10%;
    }

    .overlay #other {
        position: relative;
        text-align: center;
        top: 20%;
        font-size: 30px;
        transition-duration: 1s;
        color: white;
        opacity: 0;
        font-family: 'Trispace', sans-serif;
        font-size: 16pt;
    }

    .overlay #other a{
        text-decoration: none;
        color: white
    }

    .overlay:hover #other {
        top: 10%;
        opacity: 1;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para biografia
    ------------------------------------------------------------------------------------------*/
    .sectionBiography{
        margin-top: 4%;
        padding-bottom: 2%;
        background: rgb(244, 244, 245);;
    }
    .biography{
        padding-top: 4%;
    }

    #Hatta{
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .text_biography{
        position: relative;
        margin-top: 0px;
    }

    #name{
        font-family: 'AdobeCaslonPro' , sans-serif;
        font-style: italic;
        color: black;
        margin-top: 50px;
    }
    .description{
        margin-top: 10px;
        font-family: 'Futura-pt', sans-serif;
        color: #656565;
        text-align: justify;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para logo de estudios del Dr. hatta
    ------------------------------------------------------------------------------------------*/
    .study{
        margin-top: 3%;
        font-family: 'Cinzel';
        align-items: center;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para Beneficios
    ------------------------------------------------------------------------------------------*/

    #benefits-table {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #benefits-table .benefits-description {
        text-shadow: 0 1px rgba(255,255,255,.8);        
        background: #fff;      
        border: 1px solid #ddd;
        color: #333;
        text-align: center;
        padding: 20px;
        max-width: 280px;   
        position: relative;
        float:left; 
        width:33.3%;
    }

    #benefits-table #benefits-category {
        z-index: 1;
        top: -13px;
        border-width: 3px;
        padding: 30px 20px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        -moz-box-shadow: 20px 0 10px -10px rgba(0, 0, 0, .15), -20px 0 10px -10px rgba(0, 0, 0, .15);
        -webkit-box-shadow: 20px 0 10px -10px rgba(0, 0, 0, .15), -20px 0 10px -10px rgba(0, 0, 0, .15);
        box-shadow: 20px 0 10px -10px rgba(0, 0, 0, .15), -20px 0 10px -10px rgba(0, 0, 0, .15);    
    }

    #benefits-table .benefits-description:nth-child(1) {
        -moz-border-radius: 5px 0 0 5px;
        -webkit-border-radius: 5px 0 0 5px;
        border-radius: 5px 0 0 5px;        
    }

    #benefits-table .benefits-description:nth-child(4) {
        -moz-border-radius: 0 5px 5px 0;
        -webkit-border-radius: 0 5px 5px 0;
        border-radius: 0 5px 5px 0;        
    }

    /* --------------- */	

    #benefits-table h3 {
        font-family: 'Montserrat SemiBold';
        font-size: 20pt;
        font-weight: normal;
        padding: 20px;
        margin: -20px -20px 50px -20px;
        background-color: #eee;
        background-image: -moz-linear-gradient(#fff,#eee);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));    
        background-image: -webkit-linear-gradient(#fff, #eee);
        background-image: -o-linear-gradient(#fff, #eee);
        background-image: -ms-linear-gradient(#fff, #eee);
        background-image: linear-gradient(#fff, #eee);
    }

    #benefits-table #benefits-category h3 {
        background-color: #ddd;
        background-image: -moz-linear-gradient(#eee,#ddd);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));    
        background-image: -webkit-linear-gradient(#eee, #ddd);
        background-image: -o-linear-gradient(#eee, #ddd);
        background-image: -ms-linear-gradient(#eee, #ddd);
        background-image: linear-gradient(#ca1f30, #ca1f3085);
        margin-top: -30px;
        padding-top: 30px;
        -moz-border-radius: 5px 5px 0 0;
        -webkit-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0; 		
    }

    #benefits-table .benefits-description:nth-child(1) h3 {
        -moz-border-radius: 5px 0 0 0;
        -webkit-border-radius: 5px 0 0 0;
        border-radius: 5px 0 0 0;       
    }

    #benefits-table .benefits-description:nth-child(4) h3 {
        -moz-border-radius: 0 5px 0 0;
        -webkit-border-radius: 0 5px 0 0;
        border-radius: 0 5px 0 0;       
    }	

    #benefits-table h3 span {
        display: block;
        color: #777;
        background: #fff;
        border: 5px solid #fff;
        height: 100px;
        width: 100px;
        margin: 10px auto -65px;
        -moz-border-radius: 100px;
        -webkit-border-radius: 100px;
        border-radius: 100px;
        -moz-box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
        -webkit-box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
        box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
    }

    /* --------------- */

    #benefits-table ul {
        margin: 20px 0 0 0;
        padding: 0;
        list-style: none;
    }

    #benefits-table li {
        padding: 10px 0;
        font-family: 'Futura-pt', sans-serif;
        font-weight: 400;
        color: #656565;
        border-top: 1px solid #ddd;
    }

    /* --------------- */

    .clear:before, .clear:after {
    content:"";
    display:table
    }

    .clear:after {
    clear:both
    }

    .clear {
    zoom:1
    }

    .log{
        width: 80px;
        margin-top: 30px;
    }
    #benefits-table #ul{
        margin-top: 65px;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para redes sociales
    ------------------------------------------------------------------------------------------*/
    .container-social{
        /*min-height: 400px;*/ 
        background: #CA1F30;
        text-align: center;
        margin-bottom: 8%;
    }
    .follow{
        text-align: center;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        color: white;
        padding-top: 20px;
    }
    .social-follow{
        color: white; 
        font-weight: bold;
        font-family: 'Montserrat SemiBold';
        font-size: 20pt;
    }
    .social-network{
        background: black; 
        color: white; 
        font-weight: bold;
        font-family: 'Montserrat SemiBold';
        font-size: 20pt;
    }
    .social-network:hover{
        background: white; 
        color: black; 
        font-weight: bold;
        box-shadow: 2px 2px 5px black;
    }

    /*-----------------------------------------------------------------------------------------
                        estilo para Ubicacion
    ------------------------------------------------------------------------------------------*/
    .maps{
        text-decoration: none;
        color: black;
        background-color: white;
        font-family: 'Gotham';
        font-weight: bold;
    }
    .adress{
        text-decoration: none;
        color: black;
    }
    /* color de iconos*/
    .fas{
        color :#686868;
        transition: transform .2s;
      }
      .fas:hover{
        -ms-transform: scale(1.5); /* IE 9 */
        -webkit-transform: scale(1.5); /* Safari 3-8 */
        transform: scale(1.5);
      }
    hr.separator_section { 
        border: 0;
        height: 1px;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para rinofast
    ------------------------------------------------------------------------------------------*/
    .rinofast{
        font-family: 'Futura-pt', sans-serif;
        font-weight: 400;
        margin-top: 4%;
        padding-top: 2%;
        padding-bottom: 2%;
    }
    center > h3{
        font-family: 'Montserrat SemiBold';
    } 
    #logos-rinofast{
        width: 100px; 
        height: 100px;
        display: flex; 
        align-items: center;
    }
  
  @media (max-width: 575.98px) {
      /*-----------------------------------------------------------------------------------------
                            estilo para slider
    ------------------------------------------------------------------------------------------*/
    .carousel-inner > .carousel-item > img 
    {
        height: 50vh;
        width: 100%;
        object-fit: cover;
    }
    .carousel-caption{
        position: absolute;
        z-index: 1;
        bottom: 0px;
        height: 60px;
        margin-left: -30px;
        margin-right: -30px;
    }

    .carousel-caption > h5{
        font-size: 8pt;
        margin-top: -5px;
        margin-right: -15px;
        margin-left: -15px;
    }
    .carousel-caption > h4{
        font-size: 7pt;
        margin-top: -5px;
        padding-right: -20px;
        padding-left: -20px;
    }
     #local{
        font-size: 5pt;
    }

/*-----------------------------------------------------------------------------------------
                        estilo para bienvenida
------------------------------------------------------------------------------------------*/
    .welcome{
        font-size: 20pt;
        padding-top: 8%;
    }
    #descriptionRinofast{
        font-size: 10pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para logo de estudios del Dr. hatta
    ------------------------------------------------------------------------------------------*/
    .nameStudy{
        font-size: 10pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para biografia
------------------------------------------------------------------------------------------*/
    .biography{
        margin-top: 0px;
    }
    #name{
        font-size: 20pt;
    }
    .description{
        font-size: 10pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para beneficios
------------------------------------------------------------------------------------------*/
    #benefits-table{
        padding-top: 8%;
        padding-bottom: 8%;
    }
    #benefits-table h3 {
        font-size: 10pt;
    }
    #benefits-table h3 span {
        margin: 10px -15px -65px;
    }
    #benefits-table li {
        font-size: 5pt;
    }
    .log{
        width: 50px;
        margin-top: 40px;
    }
    #benefits-table #ul{
        margin-top: -10px;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para redes sociales
    ------------------------------------------------------------------------------------------*/
    .container-social{
        margin-bottom: 8%;
    }
    .social-follow{
        font-size: 15pt;
    }
    .social-network{
        font-size: 15pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para ubicacion
------------------------------------------------------------------------------------------*/
    .maps{
        font-size: 10pt;
        padding-top: 4%;
    }
    .infoLocation{
        padding-top: 4%;
    }
  }
  @media (min-width: 576px) and (max-width: 767.98px) {
      /*-----------------------------------------------------------------------------------------
                            estilo para slider
    ------------------------------------------------------------------------------------------*/
    .carousel-inner > .carousel-item > img 
    {
        height: 80vh;
        width: 100%;
        object-fit: cover;
    }
    .carousel-caption{
        position: absolute;
        z-index: 1;
        bottom: 0px;
        height: 100px;
        margin-left: -30px;
        margin-right: -30px;
        display: flex;
        text-align: center;
        justify-content: center;
        align-content: center;
        flex-direction: column;
    }

    .carousel-caption > h5{
        font-size: 12pt;
        margin-top: -5px;
        margin-right: -15px;
        margin-left: -15px;
    }

/*-----------------------------------------------------------------------------------------
                        estilo para bienvenida
------------------------------------------------------------------------------------------*/
    .welcome{
        font-size: 20pt;
        padding-top: 6%;
    }
    #descriptionRinofast{
        font-size: 10pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para biografia
------------------------------------------------------------------------------------------*/
    .biography{
        margin-top: 0px;
    }
    #name{
        font-size: 20pt;
        margin-top: 70px;
    }
    .description{
        font-size: 10pt;
        padding-bottom: 8%;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para logo de estudios del Dr. hatta
    ------------------------------------------------------------------------------------------*/
    .nameStudy{
        font-size: 12pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para beneficios
------------------------------------------------------------------------------------------*/
    #benefits-table
    {
        padding-bottom: 4%;
    }
    #benefits-table h3 {
        font-size: 10pt;
    }
    #benefits-table li {
        font-size: 5pt;
    }
    .log{
        width: 70px;
        margin-top: 40px;
    }
    #benefits-table #ul{
        margin-top: -10px;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para redes sociales
    ------------------------------------------------------------------------------------------*/
    .container-social{
        margin-bottom: 8%;
    }
    .social-follow{
        font-size: 15pt;
    }
    .social-network{
        font-size: 15pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para ubicacion
------------------------------------------------------------------------------------------*/
    .maps{
        font-size: 15px;
        padding-top: 4%;
    }
    .infoLocation{
        padding-top: 4%;
    }
    
  }
  
  @media (min-width: 768px) and (max-width: 991.98px) {
    
    /*-----------------------------------------------------------------------------------------
                            estilo para slider
    ------------------------------------------------------------------------------------------*/
    .carousel-inner > .carousel-item > img 
    {
        height: 80vh;
        width: 100%;
        object-fit: cover;
    }

    .carousel-caption > h5{
        font-size: 15pt;
        margin-right: -15px;
        margin-left: -15px;
    }
    /*-----------------------------------------------------------------------------------------
                            estilo para bienvenida
    ------------------------------------------------------------------------------------------*/
    .welcome{
        font-size: 20pt;
        padding-top: 4%;
    }
    #descriptionRinofast{
        font-size: 12pt;
        padding-bottom: 3%;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para biografia
------------------------------------------------------------------------------------------*/
    #name{
        font-size: 20pt;
    }
    .description{
        font-size: 10pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para logo de estudios del Dr. hatta
    ------------------------------------------------------------------------------------------*/
    .nameStudy{
        font-size: 15pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para beneficios
------------------------------------------------------------------------------------------*/
    #benefits-table {
        padding-top: 4%;
        padding-bottom: 4%;
    }
    #benefits-table h3 {
        font-size: 10pt;
    }
    #benefits-table li {
        font-size: 5pt;
    }
    .log{
        width: 70px;
        margin-top: 40px;
    }
    #benefits-table #ul{
        margin-top: -10px;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para redes sociales
    ------------------------------------------------------------------------------------------*/
    .container-social{
        margin-bottom: 6%;
    }
    .social-follow{
        font-size: 15pt;
    }
    .social-network{
        font-size: 15pt;
    }
/*-----------------------------------------------------------------------------------------
                        estilo para ubicacion
------------------------------------------------------------------------------------------*/
    .maps{
        font-size: 15px;
        padding-top: 4%;
    }
    .infoLocation{
        padding-top: 4%;
    }

  }
  @media (min-width: 992px) and (max-width: 1199.98px) { 
    /*-----------------------------------------------------------------------------------------
                        estilo para bienvenida
    ------------------------------------------------------------------------------------------*/
    .carousel-inner > .carousel-item > img 
    {
        height: 95vh;
    }
    .carousel-caption > h5{
        font-size: 25pt;
    }
    .welcome{
        padding-top: 4%;
        font-size: 50pt;
        padding-top: 30px;
    }
    #descriptionRinofast{
        padding-bottom: 2%;
        font-size: 18pt;
        font-weight: 400;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para biografia
    ------------------------------------------------------------------------------------------*/
    .sectionBiography{
        padding-top: 4%;
        padding-bottom: 2%;
    }
    .biography{
        padding-top: 4%;
    }

    #Hatta{
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .text_biography{
        position: relative;
        margin-top: 0px;
    }

    #name{
        font-size: 30pt;
    }
    .description{
        font-size: 14pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para logo de estudios del Dr. hatta
    ------------------------------------------------------------------------------------------*/
    .nameStudy{
        font-size: 18pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para Beneficios
    ------------------------------------------------------------------------------------------*/
    #benefits-table {
        padding-top: 4%;
        padding-bottom: 4%;
    }
    #benefits-table .benefits-description {
        font: 12px 'Lucida Sans', 'trebuchet MS', Arial, Helvetica;
    }
    #benefits-table h3 {
        font-size: 20pt;
    }
    #benefits-table li {
        font-size: 10pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para redes sociales
    ------------------------------------------------------------------------------------------*/
    .container-social{
        margin-bottom: 6%;
    }
    .social-follow{
        font-size: 20pt;
    }
    .social-network{
        font-size: 20pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para Ubicacion
    ------------------------------------------------------------------------------------------*/
    .maps{
        font-size: 20px;
        padding-top: 4%;
    }
    .infoLocation{
        padding-top: 4%;
    }
  }
  @media (min-width: 1200px) {
    /*-----------------------------------------------------------------------------------------
                        estilo para bienvenida
    ------------------------------------------------------------------------------------------*/
    .carousel-inner > .carousel-item > img 
    {
        height: 95vh;
    }
    .carousel-caption > h5{
        font-size: 30pt;
    }
    .welcome{
        padding-top: 4%;
        font-size: 50pt;
        padding-top: 30px;
    }
    #descriptionRinofast{
        padding-bottom: 2%;
        font-size: 18pt;
        font-weight: 400;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para biografia
    ------------------------------------------------------------------------------------------*/
    .sectionBiography{
        padding-top: 4%;
        padding-bottom: 2%;
    }
    .biography{
        padding-top: 4%;
    }

    #Hatta{
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .text_biography{
        position: relative;
        margin-top: 0px;
    }

    #name{
        font-size: 30pt;
    }
    .description{
        font-size: 16pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para logo de estudios del Dr. hatta
    ------------------------------------------------------------------------------------------*/
    .nameStudy{
        font-size: 25pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para Beneficios
    ------------------------------------------------------------------------------------------*/
    #benefits-table {
        padding-top: 4%;
        padding-bottom: 4%;
    }
    #benefits-table .benefits-description {
        font: 12px 'Lucida Sans', 'trebuchet MS', Arial, Helvetica;
    }
    #benefits-table h3 {
        font-size: 20pt;
    }
    #benefits-table li {
        font-size: 10pt;
    }
     /*-----------------------------------------------------------------------------------------
                        estilo para redes sociales
    ------------------------------------------------------------------------------------------*/
    .container-social{
        margin-bottom: 6%;
    }
    .social-follow{
        font-size: 20pt;
    }
    .social-network{
        font-size: 20pt;
    }
    /*-----------------------------------------------------------------------------------------
                        estilo para Ubicacion
    ------------------------------------------------------------------------------------------*/
    .maps{
        font-size: 20px;
        padding-top: 4%;
    }
    .infoLocation{
        padding-top: 4%;
    }
   }
   
    /* Estilo del botón flotante */
        .whatsapp-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            border-radius: 50%;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .whatsapp-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
        }

        .whatsapp-button img {
            width: 35px;
            height: 35px;
            pointer-events: none; /* Evitar que el clic sea interceptado por la imagen */
        }
        
        
        
        