/***********************/
/*     MENU CSS      */
/***********************/

/**********************/


/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    font-family: Inter, Arial, Helvetica, sans-serif;
}

/*.page-id-51455 #main,
.page-id-50096 #main,
.page-id-50071 #main,
.page-id-50416 #main,
.page-id-51319 #main,
.page-id-49895 #main,
.page-id-12822*/

.single-post #main {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.page-id-12981 #main,
.page-id-61502 #main,
.page-id-62813 #main,
.page-id-62657 #main {
    padding: 0 !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

#content_Medico.fusion-fullwidth {
    width: 100% !important;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #e4e4e4;
}

.casos-ensayos-clinicos {
    max-height: 470px;
    height: -webkit-fill-available;
}

.w-doctor {
    width: 1270px !important;
    margin: auto !important;
}

.bg-gris-gradient,
.galeriasSeguros {
    background: linear-gradient(180deg, #fefefe, #cbcbcb) !important;
}

.menu-mobile {
    display: none;
}

.btnPag {
    display: inline-block;
    color: #0c4771;
    border: 1px solid #0c4771;
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 4px;
}

a {
    text-decoration: none !important;
}

.header-mega-menu .mi-viame-div {
    display: flex;
    background-color: #00B2E3;
    font-size: 15px;
    padding: 6px 17px;
    align-items: center;
    width: 165px;
}

.header-mega-menu .p-solicitar-cita {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #00B2E3;
    padding: 6px 17px;
    align-items: center;
    color: white;
    width: 150px;
    font-size: 15px;
}

.header-mega-menu .p-solicitar-cita::before {
    content: "\f054";
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
}

.header-mega-menu .portal-medico {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #00B2E3;
    padding: 6px 17px;
    align-items: center;
    color: white;
    width: 250px;
    font-size: 15px;
}

.header-mega-menu .portal-medico::before {
    content: "\f054";
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
}

.header-mega-menu .fa-lock:before {
    content: "\f023";
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
}

.header-mega-menu .fa-user {
    padding-right: 20px;
    padding-left: 3px;
    font-size: 13px !important;
}

.new-mega-menu .primary-menu .items-menu {
    justify-content: flex-end !important;
}

.new-mega-menu .second-menu {
    padding: 20px 6% !important;
}

/*
.new-mega-menu .second-menu .wpml-ls-item:not(:last-child) {
    border-right: 1px solid #6B6B6B;
}
*/

.wpml-ls-item-en {
    display: none !important;
}

.menu-idiomas .wpml-ls-item a span {
    color: #606060;
    font-weight: 100;
    padding: 0;
}

.menu-idiomas .wpml-ls-current-language a span {
    font-weight: bolder !important;
    color: #00b2e3 !important;
}

.categoria-sala-prensa a {
    display: inline-block;
    width: max-content;
    background-color: transparent;
    padding: 10px 65px;
    border-radius: 12px;
    color: #606060;
    font-size: clamp(16px, 3vw, 16px);
    border: 1px solid #606060;
}

.tagline {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #9ea0a4 !important;
}

@keyframes move-arrow {
    0% {
        right: 20px;
    }

    100% {
        right: 10px;
    }
}

/*************   MOVIL ************/
@media screen and (max-width: 767px) {
    .consent-studio .cookie-toggle {
        bottom: 80px !important;
    }

    .joinchat__button {
        bottom: 60px !important;
    }
}

/**********************************/

/*/////// MENU MOVIL FIJO/////////*/
@media only screen and (min-width: 1000px) and (max-width: 1024px) {
    .fusion-logo {
        bottom: 0px !important;
        position: fixed;
        top: 14px !important;
        left: 15px;
    }
}

@media only screen and (max-width: 1000px) {

    /* Menu secundario en version Móvil */
    .fusion-secondary-header {
        display: none !important;
    }

    .menu-mobile {
        display: block !important;
        position: relative;
        z-index: 12;
    }

    div#ct-ultimate-gdpr-cookie-open {
        display: none !important;
    }

    .menu-wrapper {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        bottom: 0;
        position: fixed;
        background-color: whitesmoke;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 9999999 !important;
        width: 100%;
        box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    }

    .menu-mobile .menu-wrapper .menu-wrapper-card::before {
        position: fixed;
        opacity: 1;
        content: "";
        display: block;
        right: 20px;
        bottom: 30px;
        width: 2px;
        height: 15px;
        background-color: #6d7a82;
        z-index: 9999998 !important;
        transform: rotate(-18deg);
        transition: all 0.3s ease-in-out;
        animation: move-arrow 1s infinite;
    }

    .menu-mobile .menu-wrapper .menu-wrapper-card::after {
        position: fixed;
        opacity: 1;
        content: "";
        display: block;
        right: 20px;
        bottom: 17px;
        width: 2px;
        height: 15px;
        background-color: #6d7a82;
        z-index: 9999998 !important;
        transform: rotate(18deg);
        transition: all 0.3s ease-in-out;
        animation: move-arrow 1s infinite;
    }

    .menu-wrapper-container::after {
        content: "";
        display: block;
        position: fixed;
        height: 60px;
        width: 30px;
        background: linear-gradient(90deg,
                rgba(2, 0, 36, 0) 0%,
                rgba(244, 244, 245, 1) 25%);
        z-index: 9999997 !important;
        bottom: 0;
        right: 0;
    }

    .menu-mobile .menu-wrapper .menu-card:last-child {
        margin-right: 45px;
    }

    .menu-card {
        display: inline-block !important;
        flex: 0 0 auto !important;
        height: 60px !important;
        width: 100px !important;
        text-align: center;
        padding: 2px;
    }

    .menu-card p {
        font-size: 10px !important;
        padding-top: 5px;
    }

    .menu-card a {
        color: #6d7a82;
        text-decoration: none;
    }

    .menu-mobile .menu-wrapper .menu-card h2 {
        font-size: 9px !important;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .menu-wrapper::-webkit-scrollbar {
        display: none;
    }
}


/************************************/
/*     POSTS VIAMED SALUD  CSS      */
/************************************/

.posts-espacio-salud {
    max-width: 1200px;
    margin: 0 auto;
}

.posts-espacio-salud .posts-grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    margin-right: calc(80px / -2);
    margin-left: calc(80px / -2);
    margin-top: calc(40px / -2);
    margin-bottom: calc(40px / -2);
}

.posts-espacio-salud .posts-grid .post-items {
    padding-right: calc(80px / 2);
    padding-left: calc(80px / 2);
    padding-top: calc(40px / 2);
    padding-bottom: calc(40px / 2);
}

.posts-espacio-salud .posts-grid .post-items {
    display: flex;
    flex-direction: column;
}

.posts-espacio-salud .posts-grid .post-items .post-item {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail a {
    display: block;
    height: 100%;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail a:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 12px !important;
    background: linear-gradient(20deg, rgba(0, 182, 227, 0.57) 0%, rgba(0, 182, 227, 0.25) 28%, rgba(0, 182, 227, 0) 34%, rgba(0, 182, 227, 0) 100%);
    border-radius: 0.25rem 0.25rem 0 0;
    transition: background 0.3s ease;
    z-index: 3;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content {
    padding: 25px 0px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 15px 0;
    color: #003A5D !important;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-meta {
    margin-bottom: 15px;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-meta .post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-meta .post-categories .category {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 190px;
    height: 34px !important;
    font-weight: 500;
    color: rgb(255, 255, 255) !important;
    background-color: rgb(0, 178, 227) !important;
    font-family: Inter, Arial, Helvetica, sans-serif !important;
    padding: 8px 30px !important;
    border-radius: 0px !important;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .read-more:after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding-left: 10px;
    color: #FFF !important;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .read-more:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Paginación */
.posts-pagination .page-link {
    background-color: #e4e4e4;
    color: #4b4e56;
}

.posts-espacio-salud .posts-pagination {
    margin-top: 40px;
    text-align: center;
}

.posts-espacio-salud .posts-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    align-items: center;
}

.posts-espacio-salud .posts-pagination ul li {
    margin: 0;
}

.posts-espacio-salud .posts-pagination ul li a,
.posts-espacio-salud .posts-pagination ul li span {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.posts-espacio-salud .posts-pagination ul li a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

.posts-espacio-salud .posts-pagination ul li .current {
    background: #3498db;
    color: white;
}

/* Mensaje sin posts */
.posts-espacio-salud .no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .posts-espacio-salud .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .posts-espacio-salud {
        padding: 15px;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-content {
        padding: 20px;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-title {
        font-size: 1.15rem;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .posts-espacio-salud .posts-grid .post-items .post-item .post-content {
        padding: 8px;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-title {
        font-size: 1.1rem !important;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail {
        height: 130px;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-content .read-more {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .posts-category>div>.fusion-builder-column-51 {
        order: 1;
    }

    .posts-espacio-salud .posts-grid .post-items {
        padding-right: calc(40px / 2) !important;
        padding-left: calc(40px / 2) !important;
    }

    .posts-destacados-container {
        padding: 45px 10px !important;
    }

    .page-id-50594 h1 {
        font-size: 25px !important;
    }

    .page-id-50594 .boton-navs {
        font-size: 14px !important;
        padding: 5px 10px !important;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.posts-espacio-salud .posts-grid .post-items .post-item {
    animation: fadeInUp 0.6s ease forwards;
}

.posts-espacio-salud .posts-grid .post-items .post-item:nth-child(2) {
    animation-delay: 0.1s;
}

.posts-espacio-salud .posts-grid .post-items .post-item:nth-child(3) {
    animation-delay: 0.2s;
}

.posts-espacio-salud .posts-grid .post-items .post-item:nth-child(4) {
    animation-delay: 0.3s;
}

.posts-espacio-salud .posts-grid .post-items .post-item:nth-child(5) {
    animation-delay: 0.4s;
}

.posts-espacio-salud .posts-grid .post-items .post-item:nth-child(6) {
    animation-delay: 0.5s;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-meta .post-categories .category:first-child {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.posts-espacio-salud .posts-grid .post-items .post-item .post-thumbnail a img {
    position: relative;
    z-index: 2;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}



/**********************************/
/*       PAGE JORNADA I + I       */
/**********************************/

.card-investigacion-container {
    line-height: 1.6;
}

.card-investigacion-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card-investigacion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-content {
    display: flex;
    min-height: 280px;
}

.card-image {
    flex: 0 0 40%;
    min-height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-investigacion-item:hover .card-image img {
    transform: scale(1.04);
}

.card-info {
    flex: 1;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    margin-bottom: 16px;
}

.card-title {
    font-size: clamp(1.4375rem, 1.3935rem + 0.1408vw, 1.5625rem) !important;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.card-date {
    font-size: 14px;
    margin: 15px 0px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-categories {
    font-size: 12px;
    color: #0f4c75;
    background: #e0f2fe;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.card-description {
    flex: 1;
    margin-bottom: 20px;
}

.card-description p {
    color: #808080;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.card-action {
    margin-top: auto;
}

.card-button {
    display: inline-block;
    background: #0f4c75;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-button:hover {
    background: #0a3d5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .card-investigacion-grid {
        grid-template-columns: 1fr !important;
    }

    .card-content {
        flex-direction: column !important;
        min-height: auto;
    }

    .card-image {
        flex: 0 0 200px !important;
        width: 100%;
    }

    .card-info {
        padding: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-description p {
        font-size: 14px;
    }

    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .card-info {
        padding: 16px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.card-investigacion-loading {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.card-investigacion-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}


/***********************/
/*     PAGE HOME       */
/***********************/

.fusion-builder-row {
    max-width: 100% !important;
}

.viamed-menu-wrapper {
    position: relative;
    top: -25px;
}

.viamed-menu-wrapper .viamed-menu-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 5px;
}

.viamed-menu-wrapper .viamed-menu-content .div-pedir-cita {
    display: flex;
    align-items: center;
    min-height: 65px;
    min-width: 250px;
    justify-content: center;
    background-color: #3fb9e5;
    transition: all 0.3s ease;
}


.viamed-menu-wrapper .viamed-menu-content .div-pedir-cita:hover {
    background-color: #3793be;
    position: relative;
    bottom: 2.4px;
}

.viamed-menu-wrapper .viamed-menu-content .div-pedir-cita .btn-pedir-cita {
    color: white;
    font-size: 22px;
}

.viamed-menu-wrapper .viamed-menu-content .div-links {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    top: 10px;
}

.viamed-menu-wrapper .viamed-menu-content .div-links .btn-links-viamed {
    font-size: 18px;
    color: #606060;
    padding: 30px 45px;
}

.viamed-menu-wrapper .viamed-menu-content .div-links .btn-links-viamed:hover {
    position: relative;
    bottom: 3px;
}

.banner-especialidades {
    display: flex;
    align-items: center;
    background-color: #606060;
    position: relative;
    flex-wrap: wrap;
}

.banner-especialidades .imagen-banner-especialidades {
    width: 75%;
    height: 100%;
    max-height: 450px;
    z-index: 1;
    position: relative;
}

.banner-especialidades .imagen-banner-especialidades img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
}

.banner-especialidades .imagen-banner-especialidades:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 20%);
}

.banner-especialidades .imagen-banner-especialidades .contenido-banner {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding-left: 3rem;
    padding: 1rem 65px;
}

.banner-especialidades .imagen-banner-especialidades .contenido-banner .btn-info-viamed {
    background-color: #00b2e2;
    border-radius: 0;
}

.banner-especialidades .imagen-logo-viamed {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-especialidades .imagen-logo-viamed .logo-viamed {
    object-fit: cover;
    min-width: 120px;
    max-width: 320px;
    position: relative;
    left: -120px;
}

/********************/
/* TIEMPO DE ESPERA */
/********************/

#tiempo-espera-div {
    width: 430px;
    position: fixed;
    top: 55%;
    right: 0;
    transform: translateX(0);
    transition: transform 0.4s ease-in-out;
}

#tiempo-espera-div.close-clock {
    transform: translateX(calc(100% - 170px));
    position: fixed;
    top: 65%;
    z-index: 3;
}

.content-hospital-container .wrapper-hospital_map {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.content-hospital-container .hospital-titulo {
    width: 40%;
}

.content-hospital-container .titulo-nuestros-centros {
    color: #00496e;
    font-size: 32px;
}

.content-hospital-container .centros_map-texto {
    width: 70%;
    font-size: 18px;
    color: #00496e;
    margin: 0px !important;
}

.content-hospital-container .hospital_container {
    width: 40%;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}

.container-box-espera-hospital {
    width: 430px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 6px solid #00afdc;
    padding: 10px 15px;
    background-color: #e3e3e3;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.container-box-espera-hospital .icono-container-box-espera {
    width: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.container-box-espera-hospital .container-select-hospital {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.container-box-espera-hospital .icono-container-box-espera p.strong {
    font-size: 16px;
    color: #00496e;
}

.container-box-espera-hospital .icono-container-box-espera img {
    width: 60px;
}

.container-box-espera-hospital #destino {
    width: 100%;
    height: 35px;
    background-color: #cacaca;
    border-radius: 0px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    padding-right: 34px;
}

.container-box-espera-hospital #destino {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.container-box-espera-hospital .select-content {
    position: relative;
}

.container-box-espera-hospital .select-content:after {
    content: '\f078';
    font-family: 'FontAwesome';
    font-weight: 100;
    font-size: 20px;
    position: absolute;
    right: -10px;
    top: -13px;
    width: 60px;
    height: 60px;
    color: #00afdc;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 14px 14px 0;
}

.container-box-espera-hospital .urgencia-text p {
    color: #00496e;
    font-family: Inter, Arial, Helvetica, sans-serif;
    margin: 0px;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 18px;
}

.container-box-espera-hospital .container-tiempo-espera .text_tiempo_espera {
    margin-top: 20px !important;
    margin-left: 15px !important;
    font-size: 22px;
    color: #00496e;
}

select.Hospital-select {
    width: 100%;
    height: 35px;
    border: 2px solid #cacaca !important;
    background-color: transparent !important;
    border-radius: 10px !important;
    font-weight: bold;
    font-size: 16px !important;
    text-align: start;
    padding-right: 45px;
    padding-left: 45px;
}

select.Hospital-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.content-hospital-container .hospital_container:before {
    content: '\f002';
    font-family: 'FontAwesome';
    background-color: #00b2e3;
    color: white;
    position: relative;
    left: 25px;
    top: 14px;
    border-radius: 100%;
    height: 47px;
    min-width: 45px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-hospital-container .hospital_container:after {
    content: '\f078';
    font-family: 'FontAwesome';
    font-weight: 100;
    font-size: 15px;
    position: relative;
    right: 40px;
    top: 7px;
    width: 60px;
    height: 60px;
    color: #00afdc;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 14px 14px 0;
}

.hospital_map {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper-oferta-asistencial {
    color: #00496e;
    font-size: 32px;
}

.backgroung-nuevo-gris {
    background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 25%, #e8e8e8 50%, #d7d7d7 75%, #c6c6c6 100%) !important;
}

.fusion-counters-box .fusion-counter-box .counter-box-container {
    padding: 20px;
    border: none !important;
}

.div-comunicacion-espacio-salud>p {
    color: #606060;
    font-size: 22px;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.article-titles {
    color: #123d5b;
    font-size: 2.5rem;
}

/*******************************/
/*      NUESTROS CENTROS       */
/*******************************/

.absolute-medico {
    position: relative !important;
    bottom: calc(367.41px - 294px) !important;
}

.absolute-medico img {
    height: 367.41px;
    object-fit: contain;
}

.custom-height-medico {
    height: 294px;
}

.custom-height-medico .qr-container .download-col {
    padding: 0 10px;
    text-align: center;
}

.custom-height-medico .download-text p {
    font-size: 20px;
    margin-bottom: 5px;
}


/*******    MEDIA QUERY CUSTOM    ********/
@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    .page-id-51733 .pum-container {
        min-width: 70% !important;
        left: 14% !important;
    }

    .page-id-51733 .w-doctor {
        padding: 4%;
    }

}

@media only screen and (max-width: 1024px) {}

@media only screen and (min-width: 1024px) and (max-width: 1399px) {
    .page-id-51733 .pum-container {
        min-width: 88% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }

    .page-id-51733 .w-doctor {
        padding: 4%;
    }

    .posts-espacio-salud .posts-grid .post-items .post-item .post-content .post-title {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1270px) and (max-width: 1700px) and (min-height: 0px) {

    .banner-especialidades .imagen-logo-viamed .logo-viamed {
        max-width: 230px !important;
        left: -100px !important;
    }

    .footer .container {
        width: 900px !important;
    }

    #verificado-medico .wrapper-verificacion-medico .info-medico .botones-cita {
        gap: 0px !important;
    }

    #relested-posts a {
        font-size: 14px !important;
        color: #003A5D !important;
        margin-right: 20px !important;
    }

    #relested-posts.main-container {
        padding: 30px 17px 30px 20px;
    }

    #relested-posts .sidebar-title {
        font-size: 23px !important;
    }

    .article-titles {
        font-size: 32px !important;
    }

    #descripcion-posts.main-container {
        max-width: 1750px;
        padding: 60px 10% 60px 10% !important;
    }

    #pedir-cita-online .citas-centro-medicos {
        font-size: 23px !important;
    }

    .image-container-espacio-salud img {
        height: 270px !important;
    }

    #verificado-medico .verificado-link {
        top: 9px !important;
    }

    .banner-rsc {
        max-height: 435px !important;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1269px) and (min-height: 0px) {

    .absolute-medico {
        width: 294.2px !important;
        height: 294.2px !important;
    }

    .custom-height-medico {
        max-height: 250px;
    }

    .custom-height-medico .qr-container .download-col img {
        max-width: 115px;
    }

    .custom-height-medico .download-text p {
        font-size: 18px;
        margin-bottom: 5px;
    }

    footer .container {
        width: 800px;
    }

    .absolute-medico {
        position: relative;
        bottom: calc(250px - 169px) !important;
    }

    .banner-especialidades .imagen-logo-viamed .logo-viamed {
        max-width: 220px !important;
        left: -100px !important;
    }

}

@media only screen and (min-width: 788px) and (max-width: 1024px) and (min-height: 0px) {

    .custom-height-medico {
        height: 100% !important;
    }

    .absolute-medico {
        width: 50% !important;
    }

    .absolute-medico {
        position: relative;
        bottom: 0px !important;
    }

    .div-unete {
        width: 50%;
    }

    .div-unete {
        padding-top: 150px !important;
    }

    .div-qr {
        padding: 0 4% !important;
    }

    .div-qr .download-section {
        padding: 50px 10px 0 !important;
    }
}

@media only screen and (max-width: 787px) {

    .custom-height-medico {
        height: 100% !important;
    }

    .absolute-medico {
        width: 50% !important;
    }

    .absolute-medico {
        position: relative;
        bottom: 0px !important;
    }

    .page-id-6447 .absolute-medico {
        bottom: -27px !important;
        left: -8px !important;
    }

    .div-unete {
        width: 50%;
    }

    .div-unete {
        padding-top: 40px !important;
    }

    .div-unete p br {
        display: none;
    }

    .absolute-medico img {
        height: 100% !important;
        object-fit: contain;
    }

    /*
    .absolute-medico {
        order: 1 !important;
        margin-top: 30px !important;
    }
    */

    .custom-height-medico .download-section .download-text {
        text-align: center;
    }


    .wrapper-oferta-asistencial {
        font-size: 25px !important;
    }

    .banner-especialidades .imagen-banner-especialidades {
        width: 100% !important;
    }

    .banner-especialidades .imagen-logo-viamed {
        display: none !important;
    }
}

/***************************/
/* CARROUSEL ESPACIO SALUD */
/***************************/
#espacio-salud-new {
    background-color: transparent !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

#espacio-salud-new .img-css {
    height: 150px !important;
    width: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}

#espacio-salud-new .content-div {
    height: 170px !important;
    width: 100%;
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.read-more {
    margin: 0 !important;
}

.btn-wrapper-espacio-salud {
    column-gap: 20px;
}

.btn-wrapper-espacio-salud p a {
    border: 2px solid #606060;
    padding: 10px 50px;
    color: #606060;
    font-weight: 600;
}

#parent_categories_widget-2 .pills-hospitales {
    background-color: #E4E4E4 !important;
}

#parent_categories_widget-2 .list-pills-hospitales .cat-item a {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    background-color: transparent !important;
    color: #606060 !important;
    border: 1px solid #606060 !important;
}


/*********/
/*  RSC  */
/*********/

.banner-rsc {
    max-height: 450px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: #E4E4E4;
    position: relative;
}

.banner-rsc .contenido-banner-rsc {
    width: 55%;
    position: relative;
    z-index: 1;
}

.banner-rsc .contenido-banner {
    margin: 0 10%;
}

.banner-rsc .contenido-banner p {
    color: #606060 !important;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-weight: 500 !important;
}

.banner-rsc .imagen-banner-logo-viamed {
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #3D4A4C;
}

.banner-rsc .imagen-banner-logo-viamed .imagen-rsc-medica {
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    z-index: 1;
}

.banner-rsc .imagen-banner-logo-viamed .logo-rsc {
    position: relative;
    right: 60px;
    top: 50px;
    z-index: 0;
}

#espacio-salud-new .titulo-rsc-noticias {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #003A5D;
    font-size: 32px;
    margin-bottom: 50px !important;
    line-height: 1.2;
}


@media only screen and (max-width: 767px) {

    .banner-rsc {
        max-height: 750px;
    }

    .banner-rsc .contenido-banner-rsc {
        width: 100% !important;
        padding: 50px 0 !important;
    }

    .banner-rsc .imagen-banner-logo-viamed {
        width: 100% !important;
    }

    .banner-rsc .imagen-banner-logo-viamed .imagen-rsc-medica,
    .banner-rsc .imagen-banner-logo-viamed .logo-rsc {
        max-height: 300px !important;
    }

    .fusion-content-widget-area .widget {
        margin: 0;
    }
}



/***/

.btn-info-viamed {
    padding: 8px 15px !important;
    font-size: 14px;
}


.ws-100 {
    width: 100%;
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }
}

/***/

/******/
/* QR */
/******/

.download-section {
    padding: 50px 0;
}

.download-text {
    color: #0f3a5e;
    font-weight: 600;
}

.download-text p {
    font-size: 24px;
    margin-bottom: 5px;
}

.qr-container {
    display: flex;
    justify-content: center;
}

.qr-container .download-col {
    padding: 0 40px;
    text-align: center;
}

.qr-container .download-col .qr-code {
    max-width: 140px;
    margin-bottom: 15px;
    border: 1px solid #fff;
}

.qr-container .download-col .app-store-btn {
    max-width: 140px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 781px) {

    #espacio-salud-new {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .viamed-menu-wrapper .viamed-menu-content .div-pedir-cita {
        min-height: 50px;
        min-width: 220px;
    }

    .container-preparados-para-atender {
        margin-top: -10px !important;
    }

    .viamed-menu-wrapper .viamed-menu-content .div-links .btn-links-viamed {
        font-size: 16px;
        padding: 10px 15px;
    }

    .banner-especialidades .imagen-logo-viamed .logo-viamed {
        left: -15px !important;
    }

    .banner-especialidades .imagen-banner-especialidades .contenido-banner {
        width: 80%;
        font-size: 15px;
        padding: 1rem 30px !important;
        color: white !important;
    }

    .banner-especialidades .imagen-banner-especialidades {
        max-height: 250px;
    }

    .content-hospital-container {
        margin-bottom: 15px !important;
    }

    .content-hospital-container .wrapper-hospital_map {
        flex-direction: column !important;
        gap: 0px !important;
    }

    .content-hospital-container .hospital-titulo {
        width: 100% !important;
    }

    .content-hospital-container .centros_map-texto {
        width: 100% !important;
    }

    .hospital_container,
    .download-section .container {
        width: 100% !important;
    }

    #tiempo-espera-div {
        width: 100% !important;
        position: relative !important;
        transform: translateX(0) !important;
        top: 0px !important;
    }

    .container-box-espera-hospital {
        width: 100% !important;
    }

    .banner-especialidades .imagen-banner-especialidades img {
        height: 250px;
        object-position: 20% 50%;
    }

    .btn-wrapper-espacio-salud p a {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }

    .download-section {
        padding: 25px 0 !important;
    }


}

/***********************/
/*      POP-UP         */
/***********************/

.pop-contenido .boton-cerrar-sesion {
    z-index: 2 !important;
}

.hospital-slide-viamed {
    display: flex;
    max-width: 660px;
}

.hospital-slide-viamed .content-left {
    width: 76.5%;
    z-index: 1;
}

.hospital-slide-viamed .content-right {
    width: 23.5%;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 0;
}

.hospital-slide-viamed .content-right .imagen-logo {
    width: 160px !important;
    height: 333px;
    position: relative;
    right: 10px;
    object-fit: cover;
}

.carousel-viamed-map .slide-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 20px 0px !important;
}

.carousel-viamed-map .slide-header .redes-sociales i {
    color: #606060 !important;
    font-size: 20px;
}

.carousel-viamed-map .slide-header .titulo-hospital a {
    color: #606060 !important;
    font-weight: 100 !important;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 30px;
}

.hospital-slide-viamed .slide-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hospital-slide-viamed .div-content {
    padding: 0 25px 20px !important;
    background-color: #fff;
}

.hospital-slide-viamed .div-content .linea-viamed {
    width: 1.5px;
    height: 70px;
    background-color: #606060;
}

.hospital-slide-viamed .slide-content .slide-text i {
    color: #606060 !important;
}

.hospital-slide-viamed .slide-content .slide-text .direccion-hospital {
    max-width: 250px;
}

.hospital-slide-viamed .slide-content .slide-text .direccion-hospital p {
    font-size: 16px;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #606060 !important;
    margin: 0px;
}

.hospital-slide-viamed .slide-content .slide-text .telefono-hospital p a {
    font-size: 16px;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #606060 !important;
    margin: 0px;
}

.hospital-slide-viamed .slide-content .botones-hospital {
    display: flex;
    gap: 15px;
}

.hospital-slide-viamed .slide-content .botones-hospital .btn-azul {
    background-color: #00afdc;
    text-align: center;
    color: white;
    padding: 5px 10px;
    font-size: 14px !important;
    min-width: 110px;
}

@media only screen and (max-width: 781px) {

    .hospital-slide-viamed .slide-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .hospital-slide-viamed .div-content .linea-viamed {
        width: 60% !important;
        height: 2px !important;
    }

    .hospital-slide-viamed .content-left {
        width: 100%;
    }

    .hospital-slide-viamed .content-right {
        display: none;
    }
}

/******************************/
/*      QUIENES SOMOS         */
/******************************/

#info-quienes-somos-content-slider {
    overflow: hidden !important;
}

.mision-vision-valores>.fusion-column-wrapper {
    gap: 50px !important;
}

#tabs-gobierno-coorporativo {
    background-color: #eaeaea !important;
    max-width: 100%;
}

#tabs-gobierno-coorporativo .nav-item .nav-link.active {
    background-color: #00B2E3 !important;
    color: white !important;
}

.container-div-gobierno .tab-content {
    border: none !important;
    padding: 40px 4% !important;
}

.mision-vision-valores-div .fusion-builder-row {
    display: flex !important;
    align-items: flex-end !important;
}

@media only screen and (max-width: 781px) {
    .mision-vision-valores-div>.fusion-row {
        display: flex;
        flex-direction: column-reverse;
    }
}

/*******************************/
/*      NUESTROS CENTROS       */
/*******************************/

.absolute-medico {
    position: relative;
    bottom: calc(367.41px - 294px);
}

.absolute-medico img {
    height: 367.41px;
    object-fit: contain;
}

.custom-height-medico {
    height: 294px;
}

.custom-height-medico .qr-container .download-col {
    padding: 0 10px;
    text-align: center;
}

.custom-height-medico .download-text p {
    font-size: 20px;
    margin-bottom: 5px;
}

.section-nuestros-centros-nav-tabs .tab-content {
    padding-top: 50px;
    border-top: 2px solid #3cb0e1;
}

.section-nuestros-centros-nav-tabs .nav-tabs {
    background-color: #E4E4E4 !important;
}

.section-nuestros-centros-nav-tabs .nav-tabs {
    text-align: center;
    display: flex;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    /* border-bottom: none; */
    background-color: transparent;
    align-items: center;
    align-content: center;
}

.section-nuestros-centros-nav-tabs .nav-tabs .nav-item {
    border-right: 3px solid #fff !important;
}

.section-nuestros-centros-nav-tabs .nav-tabs .nav-item .nav-link {
    width: 100%;
    height: 8vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: normal;
    border-color: transparent;
    border-radius: unset;
    /* background-color: #eaeaea;*/
    color: #606060;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-nuestros-centros-nav-tabs .nav-tabs .nav-item .nav-link.active {
    background-color: #00B2E3 !important;
    color: white !important;
    /* border: 1px solid #eaeaea !important; */
    /* border-bottom: 1px solid white !important; */
}

.mapa-nuestros-centros .main-map {
    min-width: 50% !important;
}

.mapa-nuestros-centros .content-hospital-container .hospital-titulo {
    width: 100% !important;
}

.mapa-nuestros-centros .titulo-nuestros-centros.text-gray {
    color: #606060 !important;
    text-align: center !important;
}

.mapa-nuestros-centros .content-hospital-container .hospital_container {
    width: 100% !important;
}

.mapa-nuestros-centros .content-hospital-container .hospital_container .Hospital-select {
    margin: 0px !important;
    width: 100% !important;
}

.mapa-nuestros-centros .content-hospital-container .hospital_container:after {
    width: 50px !important;
    height: 25px !important;
}

.mapa-nuestros-centros .content-hospital-container .wrapper-hospital_map {
    display: flex !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.section-nuestros-centros-nav-tabs .main-title {
    color: #033d5a !important;
    font-size: 28px;
    font-weight: bold;
    margin-left: 0px;
}

.section-nuestros-centros-nav-tabs .ver-mapa-btn {
    color: #606060 !important;
    border: 1px solid #00B2E3 !important;
    background-color: transparent;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 15px;
    font-weight: 600;
}

.section-nuestros-centros-nav-tabs .hospital-card {
    margin-bottom: 30px;
}

.section-nuestros-centros-nav-tabs .hospital-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.section-nuestros-centros-nav-tabs .hospital-info {
    display: flex;
    flex-direction: column;
    max-height: 130px;
}

.section-nuestros-centros-nav-tabs .hospital-name {
    color: #00B2E3 !important;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

.section-nuestros-centros-nav-tabs .hospital-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.section-nuestros-centros-nav-tabs .hospital-city {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-nuestros-centros-nav-tabs .pedir-cita-btn {
    background-color: #00B2E3 !important;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    text-decoration: none;
}

.section-nuestros-centros-nav-tabs .phone-number {
    border: 1px solid #00b2e3;
    color: #606060;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    text-align: center;
}

.section-nuestros-centros-nav-tabs .btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-nuestros-centros-nav-tabs .arrow-icon {
    margin-left: 5px;
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .section-nuestros-centros-nav-tabs .hospital-card {
        margin-bottom: 20px;
    }
}

.cabecera-pagina {
    height: 450px;
}

.cabecera-pagina h1 {
    line-height: 1.3 !important;
}

@media (max-width: 767.98px) {

    .cabecera-pagina h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        font-weight: 400 !important;
    }

    .Logo-absolute img {
        display: none;
    }

    .Logo-absolute img {
        display: none !important;
    }

    .section-nuestros-centros-nav-tabs .main-title {
        font-size: 25px !important;
    }

    .section-nuestros-centros-nav-tabs .btn-row {
        flex-direction: column;
        gap: 10px;
    }

    .section-nuestros-centros-nav-tabs .pedir-cita-btn,
    .section-nuestros-centros-nav-tabs .phone-number {
        width: 100%;
        text-align: center;
    }

    .section-nuestros-centros-nav-tabs .ver-mapa-btn {
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .section-nuestros-centros-nav-tabs h1.main-title {
        font-size: 24px;
    }

    .section-nuestros-centros-nav-tabs .hospital-image {
        height: 180px;
    }
}

/**************************/
/*      CUADRO MÉDICO     */
/**************************/

.btn-no-hover:hover,
.btn-no-hover:focus {
    background-color: #00a8d2 !important;
    color: white !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.main-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 60px 20px;
}

.title-h1-cuadro-medico {
    color: #033d5a;
    font-size: 1.8rem;
    margin-bottom: 2.2rem;
    font-weight: 600;
}

.search-info {
    color: #666;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 1rem;
}

.btn-buscar {
    background-color: #00b6e3 !important;
    color: white !important;
    height: 50px;
}

.alphabet-container {
    padding-left: 8%;
    padding-right: 8%;
    margin-top: 2rem;
    gap: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.alphabet-btn {
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    background-color: #606060;
    border: none;
    font-size: 0.9rem;
    color: #F4F4F4;
    font-weight: bold;
}

.ver-todo-btn {
    color: #606060;
    border: 1px solid #606060;
    padding: 0.5rem 1rem;
    min-width: 150px;
    font-size: 0.9rem;
    border-radius: 5px;
}

.form-select {
    border-radius: 0;
    text-align: left;
    background-color: white;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    color: #212529;
}

#content_medico_hospital {
    width: 100%;
    background-color: #E4E4E4;
    border-bottom: 8px solid #00b6e3;
    padding-left: 4%;
    padding-right: 4%;
}

.page-id-1046 #content_medico_hospital {
    padding: 0% !important;
}

.medicos-wrapper-grid .card-medico {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.medicos-wrapper-grid .div-medico,
.medicos-wrapper-grid .foto-medico {
    position: relative;
}

.medicos-wrapper-grid .content-medico {
    position: absolute;
    bottom: 0;
}

.medicos-wrapper-grid .content-medico .info-medico {
    display: flex;
    flex-direction: column;
}

.medicos-wrapper-grid .nombre-medico {
    font-size: small;
    font-weight: bolder;
}

.medicos-wrapper-grid .especialidad-medico {
    font-size: x-small;
}

.medicos-wrapper-grid .nombre-medico,
.medicos-wrapper-grid .especialidad-medico {
    margin: 2px 10px;
}

.medicos-wrapper-grid .nombre-medico,
.medicos-wrapper-grid .especialidad-medico {
    margin: 2px 10px;
}

.medicos-wrapper-grid .foto-medico img {
    height: 320px;
    width: 100%;
    object-fit: cover;
}

.medicos-wrapper-grid .foto-medico .degradado {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.83));
}

.medicos-wrapper-grid .button-content {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 10px 10px;
    background-color: #E4E4E4;
}

.medicos-wrapper-grid .curriculum,
.medicos-wrapper-grid .pedir-cita {
    border: 1px solid #00b8e3;
    color: #ffffff;
    background-color: #00b8e3;
    padding: 4px 4px 4px 4px;
    border-radius: 4px;
    text-align: center;
    font-size: smaller;
    text-decoration: none;
    width: 110px;
    margin: 0 5px;
}

@media (max-width: 767.98px) {
    .alphabet-container {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

/*************************/
/*      FICHA MÉDICA     */
/*************************/

.ancho-wrapper {
    max-width: 1320px;
    margin: 0 auto;
}

.border-viamed {
    border-top: 8px solid #3fb9e5;
    border-bottom: 8px solid #3fb9e5;
}

.back-header {
    border-bottom: 2px solid #3fb9e5;
    padding: 15px;
    display: flex;
    align-items: center;
}

.back-header .back-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.back-header .back-link i {
    margin-right: 8px;
}

.doctor-profile {
    position: relative;
    padding: 0;
}

.doctor-profile .profile-container {
    display: flex;
    padding: 20px 0;
}

.doctor-profile .doctor-photo {
    width: 300px;
}

.doctor-profile .doctor-photo img {
    width: 100%;
    display: block;
}

.doctor-profile .doctor-contact {
    display: flex;
    margin-top: 20px;
}

.doctor-profile .doctor-contact .phone-button {
    background-color: #999;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    flex: 1;
}

.doctor-profile .doctor-contact .phone-button a {
    color: white;
    text-decoration: none;
}

.doctor-profile .doctor-contact .appointment-button {
    background-color: #0099cc;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    text-decoration: none;
}

.doctor-profile .doctor-contact .appointment-button i {
    margin-left: 5px;
}

.doctor-profile .doctor-info {
    flex: 1;
    padding: 0 20px;
}

.doctor-profile .doctor-info .doctor-name {
    font-size: 24px;
    font-weight: bold;
    color: #606060;
    margin-bottom: 5px;
}

.doctor-profile .doctor-info .doctor-specialty {
    font-size: 14px;
    color: #606060;
    margin-bottom: 20px;
}

.doctor-profile .doctor-info .info-section {
    margin-bottom: 15px;
    position: relative;
}

.doctor-profile .doctor-info .info-section .section-title {
    color: #0099cc;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.doctor-profile .doctor-info .info-section .section-content {
    color: #606060;
    font-size: 14px;
    line-height: 1.5;
}

.doctor-profile .doctor-button-next {
    align-self: start;
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 42%;
    transition: all 0.3s ease;
}

.doctor-profile .doctor-button-next .nav-next {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-decoration: none !important;
    color: #606060;
    font-size: 18px;
}

.doctor-profile .doctor-button-next .nav-next i {
    color: #606060;
    font-size: 40px;
    margin-left: 5px;
}

.similar-doctors-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.similar-doctors-section .similar-title {
    text-align: center;
    font-size: 24px;
    color: #606060;
    margin-bottom: 50px;
    font-weight: 600;
}

.similar-doctors-section .doctors-grid {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 288.59px), 1fr));
    gap: 20px;
    margin-bottom: 20px;
    padding: 4%;
}

@media (max-width: 768px) {
    .doctor-profile .profile-container {
        flex-direction: column;
    }

    .doctor-profile .profile-container .doctor-photo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }

    .doctor-profile .profile-container .nav-next {
        position: static;
        text-align: right;
        margin-top: 15px;
    }

    .doctor-profile .doctor-button-next {
        height: 10vh !important;
        align-items: center !important;
        width: 100% !important;
    }

}

/*************************/
/*     PAGE URGENCIAS    */
/*************************/

.content-block {
    display: flex;
    margin-bottom: 30px;
}

.content-block .blue-bar {
    width: 10px;
    background-color: #00b0f0;
    margin-right: 15px;
    flex-shrink: 0;
}

.content-block .text-content {
    flex-grow: 1;
}

.content-block .text-content p {
    margin: 0px !important;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 17px;
}

.Logo-absolute {
    position: absolute;
    left: -11%;
    top: calc(0px -60px);
}

.Logo-absolute img {
    max-width: 300px !important;
    position: relative;
    left: -40px;
}

/*******************************/
/*    PACIENTE INTERNACIONAL   */
/*******************************/

#paciente-internacional .nav-tabs {
    border: none !important;
    border-right: none !important;
}

#paciente-internacional .nav-link {
    border-radius: 0px !important;
    background-color: transparent !important;
    color: #46abe3 !important;
    border: 1px solid #46abe3 !important;
    font-size: 16px !important;
    padding: 10px 20px !important;
}

#paciente-internacional .tab-pane p {
    font-size: 18px !important;
}

.paciente-internacional .btn-pedir-cita {
    max-width: 150px !important;
}

.paciente-internacional .btn-outline-secondary {
    min-width: 150px !important;
}

.paciente-internacional .hospital-contact {
    display: flex !important;
    justify-content: space-between !important;
}

.paciente-internacional .hospital-card {
    flex: 1 0 calc(50% - 20px) !important;
    max-width: 32.3% !important;
}

/***************************/
/*    POST ESPACIO SALUD   */
/***************************/

.search-container-busqueda {
    display: flex;
    justify-content: flex-end;
}

.search-container-busqueda .search-icons {
    min-width: 50px !important;
    min-height: 50px !important;
    background-color: #00b2e3;
    border-radius: 50%;
    border: 0px;
    position: absolute;
    left: 0px;
}

.posts-destacados-container {
    width: 100%;
    background-color: #d8d8d8;
    padding: 45px 30px;
    margin: 40px auto !important;
    border-radius: 14px;
}

.buscador-posts .search-input {
    width: calc(100% - 10px) !important;
    padding-left: 60px;
    background-color: #d8d8d8;
    color: #636363;
    border-radius: 30px;
}

.titulo-posts-destacados .posts-destacados-title {
    text-align: center;
    color: #00496e;
    font-weight: bolder !important;
    font-size: clamp(1.25rem, 1.162rem + 0.2817vw, 1.5rem) !important;
    margin-bottom: 20px;
}

article.posts-destacado {
    margin-bottom: 30px;
}

article.posts-destacado .post-destacado-titulo,
.posts-category .fusion-title {
    font-size: 20px !important;
    font-weight: 100;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

article.posts-destacado .post-destacado-titulo a {
    color: #00496e !important;
    width: 100% !important;
}

.posts-destacados .entry-title {
    font-size: 20px !important;
    color: #00496e !important;
    font-weight: 600;
    margin-bottom: 20px !important;
}


article.posts-destacado .post-destacado-imagen.imagen-con-estrella:before {
    content: "\f005";
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Font Awesome 6 free';
    font-weight: bolder;
    background-color: #00b2e3;
    color: white;
    position: absolute;
    right: 0;
    top: -10px;
    border-radius: 50%;
}

/*.posts-destacados .entry-title a,*/
article.posts-destacado .post-destacado-imagen a,
.posts-category .fusion-title a {
    width: 100% !important;
    color: #00496e !important;
}

.posts-destacados .entry-title a:hover,
.posts-category .fusion-title a:hover {
    color: #00496e !important;
}

article.posts-destacado .post-destacado-imagen img,
.posts-destacados img,
.posts-category img {
    width: 100% !important;
    max-height: 130px !important;
    min-height: 130px !important;
    border-radius: 12px !important;
    object-fit: cover;
}

.posts-category .fusion-image-element {
    height: 160px;
}

.posts-category .alturaminima {
    height: 160px !important;
}

.posts-destacados img:before,
.posts-category .alturaminima:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(20deg, rgba(0, 182, 227, 0.57) 0%, rgba(0, 182, 227, 0.25) 28%, rgba(0, 182, 227, 0) 34%, rgba(0, 182, 227, 0) 100%);
    z-index: 1;
    border-radius: 0.25rem 0.25rem 0 0;
    transition: background 0.3s ease;
    border-radius: 12px !important;
}

.post-destacado-leer-mas {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 190px;
    height: 34px !important;
    font-weight: 500;
    color: rgb(255, 255, 255) !important;
    background-color: rgb(0, 178, 227) !important;
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    padding: 8px 30px !important;
    border-radius: 0px !important;
    margin-top: 15px !important;
}

.posts-category .espacio-salud-button {
    display: inline-block;
    color: #fff !important;
    background-color: #00B2E3 !important;
    padding: 8px 30px !important;
    border-radius: 0px !important;
}

.posts-category .espacio-salud-button:after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding-left: 10px;
}

#descripcion-posts.main-container {
    max-width: 1750px;
    padding: 60px 16% 60px 16%;
}

#descripcion-posts h1 {
    font-size: clamp(2rem, 4vw, 2.344rem);
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    color: #0f3a5e !important;
    margin-top: 40px;
}

#descripcion-posts h1 strong {
    color: #0f3a5e !important;
}

#descripcion-posts h2 {
    font-size: clamp(1.75rem, 3vw, 2rem);
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    color: #0f3a5e !important;
    margin-top: 40px;
}

#descripcion-posts h2 strong {
    color: #0f3a5e !important;
}

#descripcion-posts h3 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    color: #0f3a5e !important;
    margin-top: 40px;
}

#descripcion-posts h3 strong {
    color: #0f3a5e !important;
}

#content_medico_hospital p,
#descripcion-posts p {
    color: #333;
}

#descripcion-posts strong {
    color: #606060 !important;
}


.post #title-post .main-container {
    padding: 60px 100px 60px 25%;
}

#relested-posts.main-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 30px;
    background-color: #EDEDED;
    border-radius: 10px 0px 0px 10px;
}

#pedir-cita-online {
    position: sticky;
    top: 230px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px !important;
    border-left: 1px solid #606060;
    border-top: 1px solid #606060;
    border-bottom: 1px solid #606060;
    border-radius: 12px 0px 0px 12px;
}

#pedir-cita-online li::marker {
    color: #033d5a;
    font-size: 11px;
}

#pedir-cita-online .citas-centro-medicos {
    color: #003A5D !important;
    font-size: 32px;
}

#content-pedir-cita-single .citas-centro-medicos {
    color: #003A5D !important;
    font-size: 32px;
}

#content-pedir-cita-single .sub-title-cita-centros-medicos {
    color: #606060;
    font-size: 14px;
}

#content-pedir-cita-single #pedir-cita-online-botton {
    max-width: 1420px;
    background-color: #DBDBDB;
    border-radius: 12px;
}


#pedir-cita-online .titulo-provincia {
    color: #003A5D !important;
    font-size: 16px;
    margin: 10px 0px !important;
}

#pedir-cita-online .Provincia a {
    color: #003A5D !important;
    font-size: 13px;
}

#pedir-cita-online .Provincia ul {
    margin-bottom: 0px !important;
}

#relested-posts.main-container {
    margin-top: 60px;
}

#relested-posts .sidebar-title {
    font-size: 32px;
    color: #003A5D !important;
}

#relested-posts a {
    font-size: 18px;
    color: #003A5D !important;
}

#relested-posts .fa-solid {
    color: #003A5D !important;
}

.image-container-espacio-salud img {
    height: 400px;
    object-fit: cover;
}

.article-content .fusion-fullwidth {
    display: flex;
    justify-content: flex-start;
}

#verificado-medico {
    background-color: #EAEAE6;
}

#verificado-medico .wrapper-verificacion-medico {
    display: flex;
    gap: 10px;
}

#verificado-medico .wrapper-verificacion-medico .info-medico {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 20px 0px;
}

#verificado-medico .wrapper-verificacion-medico .info-medico .wrapper-info-medico {
    display: flex;
    align-items: center;
}

#verificado-medico .wrapper-verificacion-medico .info-medico .wrapper-info-medico .nombre-medico .nombre {
    margin-bottom: 5px !important;
}

#verificado-medico .wrapper-verificacion-medico .info-medico .wrapper-info-medico .nombre-medico .info-hospital {
    font-size: 13px;
    margin-bottom: 0px;
}

#verificado-medico .wrapper-verificacion-medico .info-medico .botones-cita {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

#verificado-medico .wrapper-verificacion-medico .info-medico .botones-cita a {
    min-width: 90px;
    text-align: center;
    padding: 5px 15px;
    background-color: #00B2E3;
    color: white;
    font-size: 13px;
}

#verificado-medico .wrapper-verificacion-medico .medico-imagen {
    width: 150px;
    height: 118px;
}

#verificado-medico .wrapper-verificacion-medico .medico-imagen img {
    /* height: 150px; */
    width: 200px;
    object-fit: cover;
    object-position: 0% 0%;
    padding-top: 7px;
}

#verificado-medico .verificado-link {
    width: calc(100% + 20px);
    height: 40px !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    background-color: #35A8E0;
    border-radius: 28px 0px 0px 28px;
    color: white;
    position: relative;
    left: -20px;
}

#verificado-medico .verificado-link .texto-verificado {
    margin-bottom: 0px;
}


@media only screen and (max-width: 787px) {

    .post #title-post .main-container {
        padding: 4% 0px 60px 4%;
    }

    .image-container-espacio-salud img {
        width: 100%;
        height: 200px;
    }

    #descripcion-posts.main-container {
        padding: 60px 4% 60px 4% !important;
    }

    #verificado-medico .verificado-link {
        left: 20px;
        bottom: -30px;
    }

    #verificado-medico .wrapper-verificacion-medico {
        display: flex;
        flex-direction: column !important;
        align-items: center;
    }

    #verificado-medico .wrapper-verificacion-medico .info-medico {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 20px 20px 20px;
    }

    #relested-posts.main-container {
        padding: 30px 20px 30px 20px;
        margin-left: 4% !important;
    }

    #relested-posts a {
        font-size: 16px !important;
        color: #003A5D !important;
    }

    #pedir-cita-online {
        margin-left: 4%;
    }

    #content-pedir-cita-single #pedir-cita-online-botton {
        margin-left: 4%;
        margin-right: 4%;
    }

    #locations-container .location-item:nth-child(3n+2),
    #locations-container .location-item:nth-child(3n) {
        border-top: 2px solid #00b8e3;
        border-left: none !important;
    }
}


/************************/
/*    CENTROS MEDICOS   */
/************************/

/* Estilos de navegación de pestañas */
.section-nuestros-centros-nav-tabs {
    width: 100%;
    background-color: #e4e4e4;
    border-bottom: 0px solid #ddd;
}

.nav-tabs {
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    max-width: 1140px;
    margin: 0 auto;
    background-color: transparent;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
    border-right: 0px solid #fff !important;
}

.nav-tabs .nav-link {
    padding: 15px 20px;
    border: none;
    color: #E4E4E4;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 0px solid transparent;
}

.section-nuestros-centros-nav-tabs .nav-tabs .nav-item .nav-link {
    background-color: #E4E4E4;
    height: 50px;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    color: #00B2E3;
    border-bottom: 0px solid #00B2E3;
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: transparent;
    color: #00B2E3;
}

/* Contenido de pestañas */
.tab-content {
    padding: 30px 0;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active.show {
    display: block;
    opacity: 1;
}

/* Estilos de cabecera de hospitales */
.hospitales-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 20px 0;
    max-width: 1140px;
}

.hospitales-header h2 {
    color: #005080;
    font-size: 28px;
}

.btn-ver-mapa {
    border: 1px solid #00B2E3 !important;
    color: #666 !important;
    padding: 8px 16px !important;
    border-radius: 0px !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-ver-mapa:hover {
    background-color: #00B2E3 !important;
    border: 1px solid #00B2E3 !important;
    color: white !important;
}

/* Estilos de la cuadrícula de hospitales */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.hospitales-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    margin: 30px 4%;
}

.hospital-card {
    flex: 1 0 calc(25% - 20px);
    min-width: 250px;
    background-color: #E4E4E4;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: 33%;
}

.hospital-image {
    height: 160px;
    overflow: hidden;
}

.hospital-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hospital-info {
    padding: 15px;
    flex-grow: 1;
}

.hospital-info h3 {
    color: #606060;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
}

.hospital-info h3 a:hover {
    color: #606060;
    opacity: 0.97;
}

.hospital-info p {
    color: #606060;
    margin-bottom: 5px;
    font-size: 13px;
}

.hospital-contact {
    padding: 10px;
    display: flex;
    gap: 10px;
}

.btn-pedir-cita-home {
    height: 65px;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 8px 10px !important;
    text-decoration: none !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease !important;
    flex: 1;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 500 !important;
}

.btn-pedir-cita {
    background-color: #00B2E3 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 8px 10px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease !important;
    flex: 1;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 500 !important;
}

.btn-pedir-cita:hover {
    background-color: #00A1C6 !important;
    border: 1px solid #00A1C6 !important;
}

.btn-pedir-cita .arrow-right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #fff;
    margin-left: 8px;
}

.btn-outline-secondary {
    border: 1px solid #00B2E3 !important;
    color: #666 !important;
    background-color: transparent !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    border-radius: 0 !important;
    align-items: center;
    justify-content: center;
}

.btn-outline-secondary:hover {
    background-color: #00B2E3 !important;
    border: 1px solid #00B2E3 !important;
    color: white !important;
}

/* Estilo para los números de teléfono */
.phone-number {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 10px;
    text-decoration: none;
    font-size: 13px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

/* Lista de píldoras (pills) */
.pills-hospitales {
    background-color: #f0f0f0;
    padding: 20px 0;
}

.list-pills-hospitales {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.list-pills-hospitales p {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #005080;
}

.list-pills-hospitales ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.list-pills-hospitales li {
    margin-right: 10px;
}

.list-pills-hospitales a {
    color: #00b2d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-pills-hospitales a:hover {
    color: #0095b3;
    text-decoration: underline;
}

.info-texto-desaparecer {
    display: none;
}

/*
.cabecera-pagina:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}
*/
/* Responsive Cabecera */
@media only screen and (max-width: 768px) {
    .cabecera-pagina {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .quienes-somos-title {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
    h1.title {
        font-size: 25px !important;
        width: 56% !important;
        margin-left: 5%;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .cabecera-pagina {
        max-height: auto !important;
    }

    .quienes-somos-title {
        height: auto !important;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .cabecera-pagina {
        max-height: auto !important;
        padding: 40px;
    }

    .quienes-somos-title {
        height: auto !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .mision-vision-valores .\31 _3 {
        width: 100% !important;
    }

    .mision-vision-valores-div .\34 _5 {
        margin: 0px !important;
    }

    .mision-vision-valores p {
        margin: 0px !important;
    }

    .info-texto-desaparecer {
        display: none;
    }

    .info-texto {
        display: block !important;
    }

    .info-texto p {
        margin: 0 0 20px !important;
    }

    .compromiso-quienes-somos-div {
        margin-top: -25px;
    }
}

@media only screen and (min-width: 1281px) and (max-width: 1600px) {
    .cabecera-pagina {
        max-height: auto !important;
    }

    .quienes-somos-title {
        height: auto !important;
    }
}


/* Responsive */
@media only screen and (min-width: 992px) and (max-width: 1100px) {
    .footer .container {
        max-width: 760px;
    }
}

@media only screen and (min-width: 1100px) and (max-width: 1269px) {
    .footer .container {
        max-width: 820px;
    }
}


@media (max-width: 992px) {
    .hospital-card {
        flex: 1 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .hospital-card {
        max-width: 100%;
        flex: 1 0 100%;
    }

    .hospitales-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-item {
        flex: 1 0 50%;
    }

    .hospital-contact {
        flex-direction: column;
    }

    .section-nuestros-centros-nav-tabs .nav-tabs .nav-item {
        border-top: 3px solid #fff !important;
        border-left: 3px solid #fff !important;
    }

    .section-nuestros-centros-nav-tabs .nav-tabs .nav-item:first-child {
        border-right: 0px solid #fff !important;
    }

    .section-nuestros-centros-nav-tabs .nav-tabs .nav-item:nth-child(3) {
        border-right: 0px solid #fff !important;
    }

    .section-nuestros-centros-nav-tabs {
        padding-top: 40px !important;
    }

}


/***********************/
/*      PAGINACION     */
/***********************/

.paginations {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
    padding: 60px 0 0 0px;
}

.paginations .arrows a {
    border: none !important;
}

.paginations a,
.paginations span.current {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 44px !important;
    width: 44px !important;
    color: #606060;
    border: 2px solid #606060;
    margin: 10px 15px !important;
    font-size: 18px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.paginations .active a {
    color: white !important;
    border: 2px solid #00b6e3;
    background-color: #00b6e3;
}


/***********************/
/*      FOOTER         */
/***********************/

footer {
    background-color: #3D4A4C;
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

footer .container {
    width: 100%;
}

footer .footer-graphic {
    position: absolute;
    left: -60px;
    top: 60px;
    height: 100%;
    width: 17%;
    opacity: 0.8;
}

.footer h5 {
    width: 25px;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

footer .footer-contact {
    margin-bottom: 15px;
}

footer .footer-address {
    font-size: 14px;
}

footer .footer-divider {
    border-top: 2px solid rgba(255, 255, 255, 0.72);
    margin: 20px 0;
}

footer .footer-copyright {
    font-size: 13px;
}

footer .social-icons a {
    margin-right: 15px;
    font-size: 18px;
}

footer .footer .titulo-subcribe p {
    max-width: 270px;
    font-size: 25px;
}

footer .subscribe-form {
    display: flex;
}

footer .subscribe-form input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

footer .subscribe-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #38b5e6;
    border-color: #38b5e6;
}

footer .logo-footer {
    max-width: 150px;
}

@media (max-width: 781px) {
    footer .footer-graphic {
        display: none;
    }
}

@media (min-width: 1200px) {
    footer .container {
        width: 1200px;
    }
}