/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.page-template-template-Listado-Medicos-Hospital-php {
    background-color: white;
}

.elementor-location-header {
    background-color: #293133 !important;
}

/**************************/
/*  CARD MEDICAL DESIGN   */
/**************************/

.design-section {
    max-width: 1400px;
    margin: 30px auto;
    /* padding: 20px; */
}

.design-section .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.design-section .card-grid .doctor-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 293.5px;
    margin: 0 auto;
    border: 1px solid #202c30;
}

.design-section .doctor-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto 20px;
}

.design-section .doctor-image-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #b18d5c 0deg, #b18d5c 180deg, transparent 180deg, transparent 0deg);
    z-index: 1;
}

.design-section .card-grid .doctor-image-viacare {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    padding: 10px;
    background-color: white;
    z-index: 2;
}

.design-section .card-grid .doctor-info {
    padding: 20px;
    height: calc(100% - 235px);
    margin-top: -6px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.design-section .card-grid .doctor-name {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin: 0;
    color: #293133;
}

.design-section .card-grid .specialty-viacare {
    color: #1e2c30;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 6px 0 18px 0;
    font-weight: bold;
}

.design-section .card-grid .buttons-viacare {
    display: flex;
    flex-direction: column;
}

.design-section .card-grid .btn-viacare {
    flex: 1;
    padding: 10px;
    background-color: #ffffff;
    color: #b18d5c;
    border: 1px solid #b18d5c;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.design-section .card-grid .btn-viacare:hover {
    opacity: 0.9;
}

.design-section .button_cita_online {
    border-top: 1px solid #FFF !important;
    border-radius: 0px 0px 25px 25px;
}

@media only screen and (max-width: 767px) {
    .buscador-especialidades-form {
        display: flex;
        flex-direction: column !important;
        gap: 15px;
    }
}

/**************/
/*  OVERLAY   */
/**************/
.overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.3s ease;
    z-index: -1;
    background: #000;
}

.overlay.active {
    opacity: .5;
}

.overlay.active {
    display: block !important;
    opacity: .5;
    z-index: 10012;
}

.overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

iframe#Frame {
    border-radius: 14px;
}

.cerrar {
    border: 1px solid #fff !important;
    color: #fff;
    font-size: 17px;
    background-color: black !important;
    border-radius: 50%;
    padding: 0px !important;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -15px;
    top: -15px;
}

.modalMedico {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.modalMedico {
    max-height: calc(100% - 100px);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;
}

.modalMedico.active {
    visibility: visible;
    z-index: 10012;
    opacity: 1;
}

/**************************/
/*      CUADRO MÉDICO     */
/**************************/
#SendMedico {
    width: 190px;
    height: 50px;
    border: 1px solid #b18d5c;
    color: #b18d5c;
    border-radius: 10px !important;
}

#SendMedico:hover {
    border: 1px solid #b18d5c;
    background-color: white;
    color: #b18d5c;
    width: 190px;
}

.Especialidad-cards {
    background-color: #202c30 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
}

.Especialidad-cards::placeholder {
    color: white !important;
    text-align: center !important;
}

.title-medico h3 {
    color: #202c30;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 22px;
}

.title-medico p {
    color: #202c30;
    margin-bottom: 20px;
}

.page-id-468 button:hover {
    background-color: #b18d5cba;
}

.buscador-especialidades-form {
    display: flex;
    gap: 15px;
}

:focus-visible {
    outline: none !important;
}

.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 {
    text-align: right;
    color: #666;
    font-weight: bold;
    text-align: right !important;
    font-size: 18px;
    margin-bottom: 1rem;
}

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

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

.alphabet-container-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

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

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

.ver-todo-btn:hover {
    color: #b18d5c;
    background-color: #FFF !important;
}

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

@media only screen and (min-width: 1100px) and (max-width: 1450px) {
    .alphabet-container-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1px !important;
    }

    .design-section .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@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 #9b7f4f;
    border-bottom: 8px solid #9b7f4f;
}

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

.back-header .back-link {
    color: #ffffff;
    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: 80px 3%;
}

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

.doctor-profile .doctor-photo img {
    width: 100%;
    display: block;
    border-radius: 6px 6px 6px 6px;
}

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

.doctor-profile .doctor-contact .phone-button {
    background-color: #fff;
    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: #b18d5c;
    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 80px;
}

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

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

.doctor-profile .doctor-info .doctor-specialty a {
    text-decoration: underline;
}

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

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

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

.doctor-profile .doctor-info .info-section .section-content h2 {
    font-size: 22px;
    text-transform: capitalize !important;
}

.doctor-profile .doctor-info .info-section .section-content p {
    font-size: 16px;
}

.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: #ffffff;
    font-size: 18px;
}

.doctor-profile .doctor-button-next .nav-next i {
    color: #fff;
    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: #ffffff;
    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 {
        padding: 80px 0px !important;
    }

    .doctor-profile .profile-container {
        flex-direction: column;
    }
    
    .doctor-profile .profile-container .doctor-info {
        padding: 0px 4% !important;
    }

    .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;
    }
}

/*******************************/
/*        ESPECIALIDADES      */
/****************************/
.texto-no-found {
    color: white;
    text-align: center;
    padding: 100px 0px;
}

.contenedorMedico {
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%) !important;
    min-height: 440px !important;
}

.nombreMedico {
    color: #019AC7 !important;
    font-weight: bold;
    font-size: 14px !important;
    margin-top: 5px;
    padding: 10px 10px !important;
    height: 35px !important;
}

.especialidadMedico {
    border-bottom: none !important;
    border-top: none !important;
    text-align: left !important;
    color: #000000 !important;
    font-weight: bold;
    padding: 0px 10px !important;
}

.Especialidad-img {
    position: relative;
}

.imagen-container-especialidad {
    display: inline-block;
    z-index: 1;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    line-height: 1;
    filter: none;
    transition: all;
}

.Form_Especialidad {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 60px;
    width: 100%;
}

#Especialidad-cards {
    width: 81.5%;
    border: 0px solid #f4f4f4;
    background-color: #f4f4f4;
    height: 65px;
    border-radius: 20px 0px 0px 20px;
}

.Form_Especialidad:after {
    content: "\f002";
    font-family: 'icomoon';
    transform: scaleX(-1);
    left: -2.9rem;
    bottom: 2px;
    position: relative;
    font-size: x-large;
    color: #4A4E57;
}

#Especialidad-cards::placeholder {
    color: #4A4E57;
    font-weight: 400;
    font-size: 18px;
}

#listado-especialidades-nuestros-centros .Especialidad-img {
    padding-top: 30px !important;
}

#listado-especialidades-nuestros-centros .Especialidad_Row {
    padding-bottom: 30px !important;
}

.Especialidad-img {
    padding-top: 50px;
}

.imagen-container-especialidad:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #b18d5ccc 30%, rgba(255, 0, 0, 0) 55%);
    z-index: 1;
}

.img-especialidad {
    height: 262px;
    object-fit: cover;
}

.row.Especialidad_Row {
    padding-bottom: 80px;
}

.Letter_Especialidad {
    text-align: center;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    background-color: #b18d5c;
    border: none;
    font-size: clamp(16px, 2vw, 20px);
    color: #fff;
    font-weight: bold;
}

.hospital-especialdiad {
    font-weight: bold;
    color: #093b59;
}

.especialidades-listado {
    display: flex;
    flex-direction: column;
    padding: 10px 2px;
}

.especialidad-span {
    padding: 3px 10px;
}

.especialidad-span:before {
    content: "\f192";
    font-family: 'Font Awesome 5 Free';
    font-weight: normal;
    padding-right: 5px;
}

.search-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.search-container-row {
    width: 70%;
    margin: 60px 0;
    display: flex;
    justify-content: center;
}

.search-icon-especialidades {
    background-color: #b18d5c;
    width: 70px;
    height: 65px;
    border-radius: 0px 20px 20px 0px;
}

.search-icon-especialidades img {
    position: relative;
    top: 25%;
    left: 25%;
}

.search-icon {
    background-color: #00afdc;
    width: 70px;
    height: 65px;
    border-radius: 0px 20px 20px 0px;
}

/* FAQS */
#preguntas .accordion-item .accordion-header .accordion-button {
    background-color: #293133 !important;
    color: #fff !important;
    box-shadow: none !important;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
}

#preguntas .accordion .accordion-item {
    border-color: #293133 !important;
    border: none !important;
}

#preguntas .accordion .accordion-item .accordion-button::after {
    content: "\f078" !important;
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
}

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

.paginations {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
    padding: 0px 0 60px 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: #b18d5c;
    border: 2px solid #b18d5c;
    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 #b18d5c;
    background-color: #b18d5c;
}