html {
  scroll-behavior: smooth;
}
div{
  scroll-margin-top: 60px;
}
.desktop-none{
/*    visibility:hidden;*/
display: none!important;
}

.main-ul-nav .nav-item a{
    color: #4e5760!important;
}

.logo-nav img{
    max-width: 250px;
}

.cta{
    padding: 120px 0;
}

.cta img{
    border-radius: 4.5px;
}


.cta .btn-style-one{
    margin-top: 10px;
}

.cta .btn-style-one:nth-of-type(2){
    margin-left: 15px;
    background: white;
    color: #7C99BB;
    border-color: #7C99BB;
}

.hero-slider .content h2{
    text-align: left;
}

.hero-slider .content.style .tag-text{
    text-align: left;
}

.navbar-dark .navbar-toggler{
    color: rgb(124 153 187);
    font-size: 1.7em;
    font-weight: 300;
}

.accordion-section .accordion-holder{
    margin-top: 0;
}

.container-custom-95{
    max-width: 80%;
    margin: 0 auto;
}


.promo-video:before{
    background: rgb(124 153 187 / 87%);
}

.promo-video h5{
    font-size: 1.8em;
    line-height: 1.5em;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 2px;
    color: white;
}

.promo-video h6{
    font-size: 16px;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 2px;
    margin: 10px auto;
    padding-top: 10px;
    border-top: 1px solid white;
}
/********* POP-UP SOBRE MI****************/
.overlay-sobre-mi {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
    z-index: 9999;
    overflow: scroll;
}
.overlay-sobre-mi:target {
  visibility: visible;
  opacity: 1;
}
.popup-sobre-mi {
  margin: 30px auto;
/*  padding: 20px;*/
  background: #fff;
  border-radius: 4.5px;
  width: 50%;
  min-width: 768px;
    max-width: 2500px;
  position: relative;
  transition: all 2s ease-in-out;
    padding: 40px; 
}
.popup-sobre-mi .close-sobre-mi {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup-sobre-mi .content-sobre-mi {
  max-height: 30%;
  overflow: auto;
    text-align: justify;
    margin: 0 auto;
}

.popup-sobre-mi h2{
    border-bottom: 1px solid #4e5760;
    margin-bottom: 10px;
}

/**************** POP-UP SOBRE MI*****************/

#medicina-preventiva .row{
    align-items: top;
/*    column-gap: 10px;*/
}

#medicina-preventiva .lamejor{
    font-size:1em;
    line-height: 1.7em;
/*    text-transform: uppercase;*/
/*    text-align: justify;*/
    padding-bottom: 15px;
    font-weight: 800;
    color: #4e5760;
}


#medicina-preventiva .section-title h3{
    margin-bottom: 25px;
}

.hero-slider .content.style h2{
    font-size: 4em;
    text-transform: inherit;
}


.service-section .items-container .item{
/*    width: 500PX;*/
}

#medicina-preventiva{
    background: url(../images/bg-10.jpg);
    background-size: cover;
    background-position: center;
}

/**************************** HOME TESTIMONIOS *************************************/
.testimonios-box>div{
    display: inline-block;
    width: 45%;
    margin: 10px;
    vertical-align: middle;
    text-align: justify;
}

.testimonios-box>div:nth-of-type(1){
    border-right: 1px solid #7C99BB;
    padding-right: 30px;
}

.testimonios-box>div div{
    margin-bottom: 45px;
}

.testimonios-box>div div h4{
    color: #41546a;
    margin-bottom: 5px;
    padding-right: 30px;
}

.testimonios-box p{
    line-height: 30px!important;
}

.testimonial-section .testimonial-carousel .slick-dots li button:before{
    color: #7C99BB;
}

.testimonial-section .slick-prev:before, .slick-next:before{
    color: #7C99BB;
}
/**************************** BLOG ***********************************/

.intro-blog h1{
    font-family: "Montserrat", sans-serif;
    font-size: 2.4em;
    line-height: 50px;
    font-weight: 700;
}


.noticias-destacadas-title{
    text-align: left;
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 25px!important;
}

.noticias-destacadas-title span{
    text-align: left;
    font-weight: 400;
}


.blog-slider .slick-dots{
/*    bottom: 180px;*/
}

.blog-slider img{
    width: 100%;
    border-radius: 10px;
}

.blog-intro-titulos{
    color: #41546a;
    bottom: 0;
    width: 100%;
    padding: 25px 25px 15px 25px;
    background: #7c99bbb8;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    z-index: 2;
    color: white;
}

#blog .noticia-titulo{
    margin: 0 auto 5px auto;
    font-size: 1.4em;
    line-height: 1.5em;
    font-weight: 600;
    color: #41546a;
}


.blog-slide-cta{
    color: white;
    text-align: right;
    width: 100%;
    display: block;
    margin: 20px auto 0 auto;
}

.blog-portal .slick-prev:before, .blog-portal .slick-next:before{
    color: #7c99bb;
    font-size: 3em;
}

.blog-portal .slick-prev, .blog-portal .slick-next{
    font-size: 1em;
}

.blog-portal .slick-prev{
    left: -48px;
}

.blog-section.style-four .item-holder:first-child, .blog-section.style-four .item-holder:nth-of-type(2){
  padding-top: 0px!important;
}


.todas-noticias-title{
    margin-top: 120px;
    font-size: 2em;
    line-height: 50px;
    color: #41546a;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

.todas-noticias-box{
    flex-grow: 1;    
}

#blog .noticia-titulo-slider{
    font-weight: 600;
    font-size: 1.8em;
    line-height: 1.3em;
}


#blog .cta-leer-mas{
    text-align: right;
    border-bottom: 1px solid grey;
    padding-bottom: 10px;
}

.cta-nota .btn-style-one{
    padding: 4px 36px;
}

#blog .item-holder{
    max-width: 530px;
}


.styled-pagination{
    display: block;
    width: 100%;
    text-align: center;
}


/**************************** INTERNA NOTICIA BLOG *******************************/
#interna-blog .noticia-titulo{
    font-size: 30px;
    line-height: 1.5em;
    color: #41546a;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 15px;
}

#interna-blog .volver{
    color: #41546a;
    margin-bottom: 20px;
    display: inline-block;
}
/**************************** TERMINA INTERNA NOTICIA BLOG *******************************/




/***************************** DRIPS *******************************/
.drip-box-slider{
    padding: 25px 30px;
}

.drip-box-slider h3{
    font-size: 1em;
    text-align: center;
    margin: 0px auto 5px auto;
}

.drip-box-slider a{
    font-size: .9em;
    text-align: center;
    display: block;
    font-weight: 600;
    color: #7C99BB;
    line-height: 27px;
    padding: 4px 5px;
/*    background: #7C99BB;*/
/*    border: 1px solid #7C99BB;*/
    border-radius: 4.5px;
    font-family: "Montserrat", sans-serif;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    margin: 0 auto;
    max-width: 80px;
}

#drips .beneficios p{
    
}

/*** DRIPS POUP **/

.overlay_drip {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
    overflow-y: scroll;
}
.overlay_drip:target {
  visibility: visible;
  opacity: 1;
}
.popup_drip {
  margin: 70px auto;
/*  padding: 20px;*/
  background: #fff;
  border-radius: 4.5px;
  width: 50%;
  min-width: 768px;
    max-width: 500px;
  position: relative;
  transition: all 2s ease-in-out;
    padding: 40px;
    z-index: 9999;
}
.popup_drip .close_drip {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup_drip .content_drip {
  max-height: 30%;
  overflow: auto;
    text-align: justify;
    margin: 0 auto;
}

.popup_drip h2{
    border-bottom: 1px solid #4e5760;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

/************ ASESORIA ONLINE ******************/
.proximamente-equipo{
	margin-top: 49px;
    text-align: right;
    display: block;
    width: 100%;
}

.proximamente-equipo h6{
	font-size: 1.5em;
}

.proximamente-equipo ul{
	margin-top: 10px;
}

.proximamente-equipo ul li{
	font-size: 1.2em;
    margin: 8px auto;
}

  /* Estilos básicos para el pop-up */
  .popup-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
    justify-content: center;
    align-items: center;
    z-index: 555;
  }

  .popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 95%;
    max-width: 450px;
    text-align: center;
      position: relative;
  }

  .popup-content h2 {
    margin-bottom: 10px;
      font-size: 1.8em;
  }

  .popup-content p {
    margin:  25px auto;
    color: #333;
      font-size: 1.2em;
      text-align: left;
  }

  .popup-button {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }

  .popup-button:hover {
    background-color: #0056b3;
  }

  .close-button {
    color: #41546a;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: white;
    font-size: 40px;
	  border:none
  }

.esta-seccion{
    background: url(../images/bg-15.jpg);
    position: relative;
}

.img-intro-asesoria{
    max-width: 100%;
    width: 260px;
    border-radius: 100%;
    margin-bottom: 15px;
}

#asesoria-online .espacio-items {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

#asesoria-online .column {
    width: 45%; /* Ajusta el ancho para dos columnas con espacio entre ellas */
}

#asesoria-online .espacio-items .item{
    display: flex;
    align-items: center;
    margin: 15px 0;
}

#asesoria-online .espacio-items li{
    margin: 20px 0;
    font-size: 1.1em;
    text-align: left;
    padding-left: 22px;
    max-width: 600px;
    line-height: 1.7em;
/*    list-style: circle;*/
}

#asesoria-online .espacio-items i{
    font-size: 1.5em;
/*    vertical-align: top;*/
    width: 25px;
/*    text-align: center;*/
/*    border: 1px solid black;*/
/*    border-radius: 100%;*/
/*    padding: 15px;*/
}

#asesoria-online .modalidad-img{
    max-width: 100%;
    overflow-y: hidden;
/*    width: 600px;*/
    height: auto;
    margin: 15px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
    opacity: 0.9;
}

.ca3-scroll-down-arrow {
	background-image: url(../images/arrow.png);
	background-size: contain;
	background-repeat: no-repeat;
}

.ca3-scroll-down-link {
  cursor:pointer;
	height: 20px;
	width: 50px;
	margin: 0px 0 0 -40px;
	line-height: 60px;
	position: absolute;
	left: 50%;
	bottom: 60px;
	color: #FFF;
	text-align: center;
	font-size: 70px;
	z-index: 100;
	text-decoration: none;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);

	-webkit-animation: ca3_fade_move_down 2s ease-in-out infinite;
	-moz-animation:    ca3_fade_move_down 2s ease-in-out infinite;
	animation:         ca3_fade_move_down 2s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes ca3_fade_move_down {
  0%   { -webkit-transform:translate(0,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -webkit-transform:translate(0,20px); opacity: 0; }
}
@-moz-keyframes ca3_fade_move_down {
  0%   { -moz-transform:translate(0,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -moz-transform:translate(0,20px); opacity: 0; }
}
@keyframes ca3_fade_move_down {
  0%   { transform:translate(0,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { transform:translate(0,20px); opacity: 0; }
}

#faq-asesoria-3 p{
    font-size: .9em;
}

#faq-asesoria-3 .consulta-span{
    list-style: circle;
    font-weight: 700;
    font-size: 1.1em;
    display: block;
}

#faq-asesoria-3 .card-body div:nth-of-type(2) .consulta-span, #faq-asesoria-3 .card-body div:nth-of-type(3) .consulta-span{
	margin-top: 15px;
    border-top: 1px solid #00000036;
    padding-top: 15px;
} 

#faq-asesoria-3 .consulta-span span{
/*    font-size: 1em;*/
    font-weight: 700;
}
/*

.accordion-section .accordion-holder .card .card-header h4 a{
    font-weight: 700;
}

.accordion-section .accordion-holder .card .card-header h4 a span{
    font-weight: 700;
}
*/

#reservar-consulta h4{
    padding-bottom: 25px;
    font-weight: 800;
    font-size: 2em;
}

#reservar-consulta h4 span{
    font-weight: 500;   
}

.info-imp p{
    font-size: 1.1em;
}

.profesionales .cartilla-box{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
	justify-content:center;
}

.profesionales .cartilla-box .medico-box{
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0 0 20px #f1f1f1;
    border: 1px solid #c9cbcd;
    max-width: 4500px;
    width: 33.3%;
    /* margin: 15px 0; */
    /* flex: 1; */
    display: flex
;
    flex-direction: column;
    justify-content: space-between;
    /* width: 650px; */
    /* flex-basis: 45%; */
    /* display: inline-block; */
    /* vertical-align: top; */
    width: calc(40% - 14px);
    box-sizing: border-box;
    /* border: 1px solid black; */
    padding: 20px;
    text-align: center;
}

.profesionales .cartilla-box .medico-box .medico-info{
    padding: 20px;
  display: flex;
  flex-direction: column; /* Organiza el contenido de arriba hacia abajo */
  justify-content: space-between; /* Alinea el contenido verticalmente */
  height: 100%; /* Asegura que ocupe toda la altura del contenedor */
}

.profesionales .cartilla-box .medico-box img{
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 10px 20px;
    border-radius: 3px;
    text-align: center;
    display: block;
    height: auto;
    width: 450px;
}

.profesionales .cartilla-box .medico-box h5{
    color:#41546a!important;
    font-size: 1.7em;
    margin: 0 auto 0 auto;
    text-align: center;
}

.profesionales .cartilla-box .medico-box span{
    color:#41546a!important;
    font-weight: 500;
    margin: 10px auto;
    display: block;
/*    text-transform: uppercase;*/
    font-size: 1em;
    line-height: 1.8em;
    text-align: center;
/*    max-width: 250px;*/
}

.profesionales .cartilla-box .medico-box ul li{
    font-size: .9em;
    list-style: circle;
}

.profesionales .cartilla-box .medico-box p{
    font-size: .9em;
    text-align: left;
}

.profesionales .cartilla-box .medico-box:nth-child(3) p{
    margin-bottom: 56px;
}

.profesionales .cartilla-box .medico-box a{
/*    margin: 30px auto 0 auto;*/
    margin-top: auto;
    text-align: center;
    display: block;
/*    align-self: self-end;*/
}

#drips .contacto-text{
    font-size: 1.2em;
    line-height: 1.8em;
}

#drips .contact-area form{
    margin-top: 35px;
}

#drips #contacto{
    margin: 0 auto;
}
/************ FOOTER ******************/
.logo-footer{
    max-width: 250px;
}

.footer-main .footer-top .frase-final{
    font-size: 1.2em;
    line-height: 1.4em;

}

.share{
  color: #7C99BB;
}

@media (max-width: 1600px) {
    .profesionales .cartilla-box .medico-box p{
        font-size: .9em;
        padding: 5px 0;
    }
    
     #reservar-consulta .container-custom-95{
        max-width: 90%;
    }
}

@media (max-width: 1500px) {
	.profesionales .cartilla-box{
		flex-wrap:wrap;
	}
	
	.profesionales .cartilla-box .medico-box{
    	width: 48%;
		flex:inherit;
	    margin: 17px 0;
	}
	
    .profesionales .cartilla-box .medico-box p{
        font-size: .9em;
        padding: 5px 0;
    }
    
     #reservar-consulta .container-custom-95{
        max-width: 90%;
    }
}

@media (max-width: 1300px) {
    .navbar .navbar-nav li > .nav-link{
        font-size: .8em;
        padding: 13px 13px!important;
    }
    
    .logo-nav img{
        max-width:  200px;
    }
    
    .hero-slider .content.style h2{
        font-size: 3em;
    }
    
    #asesoria-online .espacio-items{
        justify-content: space-between;
    }
    
    #reservar-consulta .container-custom-95{
        max-width: 95%;
    }
}

@media (max-width: 1080px) {
    .desktop-none{
/*    visibility:visible;*/
/*        display: block;*/
}
    
    .text-left-mobile{
        text-align: left!important;
    }
/********************* HEADER *****************************/
    .header-top{
        display: none;
    }
    
    .navbar{
        position: fixed;
        display: block;
        width: 100%;
        z-index: 1;
        box-shadow: 0 1px 1px rgb(0 0 0 / 3%), 0 2px 2px rgb(0 0 0 / 3%), 0 4px 4px rgb(0 0 0 / 3%), 0 6px 8px rgb(0 0 0 / 3%), 0 8px 16px rgb(0 0 0 / 3%);
    }
    
    .navbar .container{
        max-width: 92%;
    }
    
    .mobile-none{
        display: none!important;
    }
    
    #reserva-mobile{
        display: none; /* Hidden by default */
        visibility: visible;
        position: fixed;
        bottom: 15px;
        right: 15px;
        z-index: 999;
        cursor: pointer;
        transition: 0.3s;
        color: #7C99BB;
        font-size: .8em;
        font-weight: 600;
        letter-spacing: 1px;
        background: white;
        border: 1px solid #7C99BB;
        text-transform: uppercase;
        padding: 10px 10px;
        border-radius: 4.5px;
box-shadow: 0 1px 1px rgb(0 0 0 / 3%), 0 2px 2px rgb(0 0 0 / 3%), 0 4px 4px rgb(0 0 0 / 3%), 0 6px 8px rgb(0 0 0 / 3%), 0 8px 16px rgb(0 0 0 / 3%);
    }
    
    #reserva-mobile a{
        color: #7C99BB;
    }
    
    /********************* HOME *****************************/
    .hero-slider, .hero-slider .slider-item{
        height: 100vh;
    }
    
    .hero-slider .slider-item{
/*    background-position: -150px;*/
    }
    
    .hero-slider .content.style h2{
        font-size: 2.8em;
    }

    .hero-slider .content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-slider .content.style .btn-main{
        width: 250px;
        padding: 15px 5px;
        font-size: 1em;
/*        display: block;*/
        margin-left: 0!important;
    }
    
    #home .hero-slider{
        padding-top: 5px;
    }

    #sobre-mi .col-lg-6:nth-of-type(1){
        max-width: 350px;
        margin: 0 auto 50px auto;
    }
    
    #sobre-mi p{
/*        font-size: 1.5em;*/
    }

    #servicios .slick-slide .inner-box{
        height: 470px;
    }
    
    #servicios .slick-slide .inner-box h4{
        font-size: 1.3em;
    }
    
    .testimonial-section .inner-box{
        padding: 80px 50px;
        border-radius: 4.5px;
    }
    
    .testimonios-box>div{
        display: block;
        width: 100%;
        border-right: none;
        margin: 0;
    }
    
    .testimonios-box>div:nth-of-type(1){
        border-right: none;
        border-bottom: 1px solid #7C99BB;
        padding-right: 0px;
    }
    
    .testimonios-box>div:nth-of-type(2){
        margin-top: 25px;
    }
    
    .testimonios-box>div div{
        margin-bottom: 25px;
    }
    
    .overlay_drip{
        overflow-y: scroll;
    }
    
    .popup_drip{
        min-width: 95%;
        margin: 115px auto 70px auto;
/*        overflow-y: scroll;*/
    }
    
    .popup-sobre-mi{
        min-width: 95%;
        margin: 25px auto 70px auto;
        padding: 45px 30px;
    }
    
    #popup-sobre-mi{
        z-index: 999;
    }
/********************* ASESORIA Y DRIPS  *****************************/
    #asesoria-online .page-title, #drips .page-title, #blog .page-title, #interna-blog .page-title{
        padding: 130px 0 70px 0;
    }
    
    .intro-asesoria .row, .intro-drips .row{
        flex-direction: column-reverse;
    }
    
    .intro-asesoria .col-lg-8, .intro-drips .col-lg-8{
        margin: 80px auto 0 auto;
        padding: 0 15px!important;
    }

    
    #asesoria-online .asesoria-slider, #drips .drips-slider{
        margin: 0 auto;
        text-align: center;
    }
    
    #asesoria-online .asesoria-slider img, #drips .drips-slider img{
        margin: 0 auto;
        max-width: 400px;   
    }

    #asesoria-online .info-detallada .content-block, #drips .beneficios .content-block{
        padding: 0!important;
    }
    
    #asesoria-online .espacio-items {
        flex-direction: column;
    }
    
    #asesoria-online .espacio-items .column{
        width: 100%;
    }
    
    #asesoria-online .espacio-items li{
        max-width: 100%;
    }
    
    .profesionales .cartilla-box{
        flex-direction: column;
        gap:0;
    }
    
    .profesionales .cartilla-box .medico-box{
        margin: 20px auto;
        max-width: 650px;
		max-width: 100%;
        width: 100%;
    }
    
    
}

@media (max-width: 768px) {
/********************* HOME *****************************/
    .container-custom-95{
            max-width: 90%;
            margin: 0 auto;
        }
    
    .hero-slider .content.style h2{
        font-size: 2.5em;
    }
        
    #sobre-mi .btn-style-one{
        width: 250px;
        padding: 15px 5px;
        font-size: 1em;
        display: block;
        margin: 15px auto;
    }

    #servicios .slick-slide{
        display: block;
        float: none;
        width: 100%!important;
    }
    
    #servicios .slick-slide .inner-box{
        height: auto;
        margin: 45px auto; 
    }
    
    .service-section .items-container .item{
        margin: 0;
    }
    
    #medicina-preventiva .content-block{
        padding-right: 0!important;
    }
    
    .section-title h3{
        text-align: center;
    }
    
    .contact-area form{
        margin-top: 20px;
    }
    
/********************* ASESORIA Y DRIPS  *****************************/    
    .intro-asesoria a, .intro-drips a{
        width: 250px;
        padding: 15px 5px;
        font-size: 1em;
        display: block;
        margin: 15px auto;
    }
    
    .intro-asesoria .btn-style-one:nth-of-type(2), .intro-drips .btn-style-one:nth-of-type(2){
        margin: 0 auto;
    }

    .popup-content{
        padding: 20px;
    }
	
	.proximamente-equipo h6{
		font-size:1.2em;
	}
}