:root {
    --fros-blue-color: #1988f0;
    --blue-color: #004AAD;
    --verde-oscuro: #367F56;
    --verde-claro: #87BB70;
    --dark-color: #202020;
    --light-gray: #dedede;
    --dark-gray: #a1a1a0;
    --light-color: #fff;
    --poppins-font: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.2) !important;
}

/* header-----------------sub-menu----------------- */

.sub-menu nav {
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.sub-menu nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0px;
    white-space: nowrap;
}

.sub-menu nav li {
    display: inline-block;
    white-space: nowrap;
}

.sub-menu nav a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    margin-left: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-menu_btn {
    background-color: var(--blue-color);
    width: 100px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-pagos{
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
}

.sub-menu_btn:hover {
    background-color: #5abdf7;
    color: #003785;
}

.sub-menu_btn img {
    width: 22px;
    height: 22px;
}

.clinica-nueva-text{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 5px;
}

.clinica-nueva-text a {
margin: 0 auto;
}

.clinica-nueva-text a img{

    width: 15px;
}

@media screen and (max-width: 600px) {
    .sub-menu nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media screen and (max-width: 450px) {
    .clinica-nueva-text a img {
        width: 15px;
    }
}

/* header -----------MENU----------- */
/*---------------------------------------------------------------*/

.menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    gap: 5px;
}
.menu-list li:hover {
    font-weight: 700;
}
.header {
    min-height: 5.5vh;
}

.navbar {
    position: absolute;
    opacity: 0.98;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    box-shadow: 0 0.1px 10px rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: transform 0.5s ease;
}

.navbar.sticky {
    position: fixed;
    top: 0;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar .container {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.navbar-brand img {
    max-width: 260px;
    padding: 0.5rem 0rem;
    margin: 0 auto;
}

.menu-show-icon{
    margin-left: 10px;
    width: 35px;
}

.navbar-show-btn,
.navbar-hide-btn {
    background-color: transparent;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

.der-btn-nb {
    width: 180px;
}

.navbar-hide-btn_izquierda {
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    width: 300px;
    background-color: transparent;
}

.navbar-hide-btn_izquierda img {
    width: 50%;
}

.navbar-collapse-hidden-content {
    display: flex;
    flex-direction: row;
}

button[class ^=navbar]:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0rem 0rem 8rem 0rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-shadow: -3px 0 10px 4px rgba(0, 0, 0, 0.1);
    box-shadow: -3px 0 10px 4px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateX(110%);
    -ms-transform: translateX(110%);
    transform: translateX(110%);
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    z-index: 1000;
    color: #d4d4d4;
}

/* navbar show class */
.navbar-show {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.navbar-hide-btn {
display: flex;
padding: 1rem;
}

.navbar-hide-btn_izquierda {
    top: 1rem;
}

.nav-item {
    margin: 1.5rem 0; 
    justify-content: center;
}

.nav-item img{
    width: 20px;
    margin-right: 1rem;
}

.nav-link {
    opacity: 0.95;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    display: inline-block;
    font-size: 16px;
    align-items: center;
    text-align: center;
    color: white;
}

.nav-link_lg {
    width: 155px;
}

.nav-link:hover {
    opacity: 1;
    color: #fff;
    -webkit-transform: translateX(7px);
    -ms-transform: translateX(7px);
    transform: translateX(7px);
}

.div-boton-section{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 5px;
}

.nav-btn-box{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #003785;
}
.nav-btn-box{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #003785;
    margin: 0 auto;
}

.agendar-btn {
    background-color: white;
    padding: 1rem 1rem;
    color: #0056b3;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    margin-left: 10px;
    border-radius: 30px;
    transition: 1s;
    animation: pulse 3s infinite;
    width: 180px;
    margin: 0 auto;
}

.agendar-btn-p{
    padding: 0.35rem 1rem;


}

.agendar-btn-p a{

    display: inline-block; /* Hace que el enlace se comporte como un bloque en línea */
    text-align: center; /* Centra el texto dentro del enlace */
}


.agendar-btn:hover {
    transform: scale(1.05);

}

.agendar-btn a {
    color: var(--blue-color);
    padding: 1rem 2rem;
}


.agendar-btn a:hover {
    color: #1988f0;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 #2a7fe0
    }

    70% {
        -webkit-box-shadow: 0 0 0 7px transparent
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 transparent
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 #2a7fe0;
        box-shadow: 0 0 0 0 #2a7fe0
    }

    /*COLOR DE LA PULSACION*/
    70% {
        -moz-box-shadow: 0 0 0 3px transparent;
        box-shadow: 0 0 0 7px transparent
    }

    100% {
        -moz-box-shadow: 0 0 0 0 transparent;
        box-shadow: 0 0 0 0 transparent
    }
}

.search-icon {
    display: block;
    width: 20px;
}

.search-control::-webkit-input-placeholder {
    color: var(--light-blue-color);
}

.search-control::-moz-placeholder {
    color: var(--light-blue-color);
}

.search-control:-ms-input-placeholder {
    color: var(--fros-blue-color);
}

.search-control::-ms-input-placeholder {
    color: var(--fros-blue-color);
}

.search-control::placeholder {
    color: rgb(218, 218, 218);
}

.search-control {
    height: 27px;
    width: 100%;
    border-radius: 1.9rem;
    border: 2px solid var(--light-gray);
    padding: 0 1.5rem;
    visibility: visible;
}

/*---------------------------------------------------------------*/
/* SEARCH */

#input-search {
    width: 180px;
    height: 30px;
    padding: 0rem 1rem;
    margin: 0rem 2rem;
    font-size: 12px;
    text-indent: 10px;
    border: 0.5px solid #cfcfcf;
    border-radius: 30px;
}

.search-space {
    position: relative;
    display: flex;
    justify-content: end;
}

.input-space {
    padding: 3px;
}

.lupa-search {
    position: absolute;
    background-color: var(--blue-color);
    border-radius: 50%;
    width: 38px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .7rem;
    cursor: pointer;
}

.content-search {
    width: 67%;
    height: 100vh;
    position: fixed;
    top: 45px;
    left: 1;
    display: none;
}

.content-table {
    width: 100%;
    max-height: 200px;
    height: auto;
    background: rgba(255, 255, 255, 0.842);
    margin-left: 20px;
    overflow-y: visible;
    overflow-x: hidden;
    font-size: 14px;
}

.content-table p {
    margin: 1rem 1rem 0rem 1rem;
    color: #505050;
}

.content-table table {
    width: 100%;
}

tbody tr td a {
    display: block;
    padding: 10px;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

tbody tr td a:hover {
    background: rgba(29, 113, 223, 0.582);
    border-radius: 10px;

    color: white;
}

#table_length,
#table_filter,
#table_info,
#table_paginate {
    display: none;
}

/* header -----------MENU----------- */

/* INICIO header inner */
.header-inner {
    padding-top: 1rem;
}

.header-inner-left h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0;
}

.header-inner-left h1 span {
    font-weight: 300;
    text-transform: uppercase;
}

.header-inner-left .lead {
    opacity: 0.9;
}

.header-inner-left .text {
    margin: 5.8rem 0;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
}

.header-inner-left .btn-group {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.header-inner-right {
    margin-top: 6rem;
}

.header-inner-right img {
    max-width: 500px;
    margin: 0 auto;
}

.hidden-desktop {
    text-align: left;
}

.hidden-desktop a {
    text-align: left;
}

/* -----------------------------------------------------*/

/* Estilos para dispositivos de pantalla ancha */
@media screen and (min-width: 1200px) {
    .hidden-desktop {
        display: none !important;
    }

    .agendar-btn {
        background-color: #ffffff;
        padding: none;
        color: #ffffff;
        border: 3px solid #0056b3;
        text-align: center;
        text-decoration: none;
        display: flex;
        width: 170px;
        font-size: 15px;
        margin-left: 10px;
        border-radius: 30px;
        transition: 1s;
        animation: pulse 2s infinite;
    }
   
    .agendar-btn-p {
        background-color: #ffffff;
        padding: none;
        color: #ffffff;
        border: 3px solid #0056b3;
        text-align: center;
        text-decoration: none;
        display: flex;
        width: 170px;
        font-size: 15px;
        margin-left: 10px;
        border-radius: 30px;
        transition: 1s;
        animation: pulse 2s infinite;
    }

    .agendar-btn:hover {
        border: 3px solid #1988f0;
        transform: scale(1.05);
    }
    
    .agendar-btn a {
        color: #004AAD;

        padding: .5rem;
        margin: 0 auto;
        line-height: 13px;
    }
}

/* Estilos para dispositivos de pantalla estrecha */
@media screen and (max-width: 1199px) {
    .hidden-mobile {
        display: none !important;
    }
    .div-boton-section .agendar-btn-p {
        display: none;
    }
}

@media screen and (max-width: 300px) {

    .navbar-brand img { 
        width: 140px;
    }
}

@media screen and (max-width: 450px) {
   
    .sub-menu nav li a {
        font-size: 9px;
    }
     .sub-menu {
        height: 25px;
     }

    .navbar-brand img { 
        width: 160px;
    }
}


@media screen and (max-width: 992px) {
   

}


@media(min-width: 992px) {
    .header-inner {
        padding-top: 3.2rem;
    }

    .header-inner .container {
        grid-template-columns: 545px auto;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: calc(100vh - 32px);
        position: relative;
    }

    .header-inner-left {
        text-align: left;
    }

    .header-inner-left .text {
        margin-left: 0;
    }

    .header-inner-left .btn-group {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }

    .header-inner-right img {
        position: absolute;
        bottom: 0;
        right: 0;
        padding-left: 5rem;
    }

}

@media (max-width: 1199px) {
    .buscador {
        display: none;
    }

    .search-space {
        display: none;
    }

    .content-search {
        display: block;
    }

   
}

@media(min-width: 1200px) {

    .navbar-show-btn,
    .navbar-hide-btn {
        display: none;
    }

    .navbar-collapse {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        position: relative;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 0;
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
    .navbar-collapse-hidden-content{
        background-color: #000;
        gap: 250px;
    }

    .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        
    }

    .ventana-hidden{
        display: flex;
        flex-direction: row;
        padding: 5rem;
    }

    .nav-item {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0rem 1.5rem;
    }

    .nav-link {
        color: #363636;
        opacity: 1;
        font-weight: 600;
        font-size: 15px;
        position: relative;
        max-width: 480px;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        height: 2px;
        width: 0;
        background-color: var(--fros-blue-color);
        opacity: 0;
        -webkit-transition: var(--transition);
        -o-transition: var(--transition);
        transition: var(--transition);
    }

    .nav-link:hover {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        color: var(--fros-blue-color);
    }

    .nav-link:hover::after {
        opacity: 1;
        width: 100%;
    }

    .nav-link-p{
        position: relative;
    display: inline-block;
    max-width: 550px;
    }

    .nav-link span {
        position: absolute;
        top: -6px;
        right: -25px;
        width: auto;
        border-radius: 3px;
        background-color: #1e4da5b0; /* Cambia el color de fondo a tu preferencia */
        color: #fff; /* Cambia el color del texto a tu preferencia */
        padding: 3px; /* Ajusta el relleno según sea necesario */
        font-size: 0.6em; /* Ajusta el tamaño de fuente según sea necesario */
      }




    .search-bar {
        margin-left: 5.5rem;
        visibility: hidden;
    }

    .search-inner-right {
        width: 100%;
        visibility: hidden;
    }

    .search-inner-right img {
        padding-left: 0;
        max-width: 647px;
        visibility: hidden;
    }

    .search-control {
        width: 150px;
        visibility: hidden;
    }

    .header-inner-right {
        width: 100%;
    }

    .header-inner-right img {
        padding-left: 0;
        max-width: 647px;
    }
}


/*------------------- FIN DE MEDIA QUERYS ---------------- */

@media(min-width: 310px) {
    .navbar-collapse {
        width: 280px;
    }
}

@media (max-width: 700px) {
    .sub-menu_btn {
        display: none;
    }

    .menu-list {
        display: none;
    }



    .clinica-nueva-container {
        display: block;
    }
}

@media (min-width: 700px) {
    .clinica-nueva-container {
        display: none;
    }
}