﻿#main {
    background-color: #FAFBFC;
}

.contenedor {
    max-width: 1280px;
    padding-left: 60px;
    padding-right: 60px;
    margin-left: auto;
    margin-right: auto;
}

.contenedor-envio {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .contenedor-envio > div {
        width: 50%;
    }

.contenido-envio {
    display: flex;
    gap: 16px;
    flex-flow: column;
}

.card-envio {
    display: flex;
    background-color: #ECF3F9;
    padding: 12px 16px;
    border-radius: 8px;
    gap: 8px;
}

    .card-envio img {
        width: auto;
        height: 24px;
    }

    .card-envio p {
        font-size: 16px;
        color: #585C61;
        margin: 0px 0px 0px 5px;
    }

    .card-envio b {
        font-weight: 600;
    }

h2.main-title {
    line-height: 100%;
    margin: 0;
}

.card-icon div {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.card-icon b {
    font-size: 16px;
}

.card-icon img {
    width: 32px;
}

.card-action img {
    margin-left: 5px;
}

.feature-list > div {
    width: 50%;
}

.padre-mas {
    display: flex;
    gap: 30px;
}

    .padre-mas > div {
        width: 50%;
    }

.contenido-mas {
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 8px;
}

.texto-mas {
    display: flex;
    align-items: center;
    padding: 4px 8px;
}

    .texto-mas img {
        width: 24px;
        height: 24px;
        margin: 0;
    }

    .texto-mas p {
        font-size: 18px;
        color: #585C61;
        margin: 0px 0px 0px 5px;
    }

.education-section h2 {
    margin-bottom: 24px;
}

.contenedor-aliados {
    background-color: #ECF3F9;
}

.padre-tecnologia {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.contenedor-tecnologia {
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 8px;
    max-width: 560px;
}

    .contenedor-tecnologia h1 {
        margin: 0px 0px 4px 0px;
    }

    .contenedor-tecnologia div {
        display: flex;
        padding: 4px 8px;
        gap: 8px;
    }

    .contenedor-tecnologia p {
        font-size: 18px;
        color: #585C61;
        margin: 0;
    }

    .contenedor-tecnologia img {
        width: 24px;
        height: 24px;
        margin: 0;
        margin-top: 3px;
    }

.titulo-indices-movil {
    display: none;
}

.titulo-indices-desktop {
    display: block;
}

.padre-indices {
    display: flex;
    gap: 30px;
}

    .padre-indices > div {
        width: 50%;
    }

.contenido-indices {
    width: 50%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 16px;
}

    .contenido-indices h1 {
        margin: 0px;
    }

    .contenido-indices p {
        font-size: 18px;
        color: #585C61;
        margin: 0;
    }

.main-carousel .owl-item img {
    display: block;
    width: auto;
    object-fit: contain;
    height: 600px;
    justify-self: center;
}

.main-carousel .owl-item {
    overflow: hidden;
}

/* contenedor que une todo en una sola fila */
.owl-controls-inline {
    display: flex;
    align-items: center;
    justify-content: center; /* centra la fila */
    gap: 14px; /* espacio entre prev/dots/next */
    transform: translateY(-300%);
}

    /* estilo de flechas (puedes personalizar) */
    .owl-controls-inline .owl-prev,
    .owl-controls-inline .owl-next {
        background: none;
        border: 0;
        cursor: pointer;
        font-size: 20px;
        padding: 6px 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* asegurar que .owl-dots es una fila */
    .owl-controls-inline .owl-dots {
        display: flex !important;
        gap: 8px;
        align-items: center;
    }

    /* puntos */
    .owl-controls-inline .owl-dot span {
        width: 10px;
        height: 10px;
        display: block;
        background: #ccc;
        border-radius: 50%;
    }

    .owl-controls-inline .owl-dot.active span {
        background: #333;
    }

.logos-carousel-container {
    position: relative;
    overflow: hidden;
}

    .logos-carousel-container::before,
    .logos-carousel-container::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100px; /* ancho del degradado en las orillas */
        height: 100%;
        z-index: 2;
        pointer-events: none; /* que no bloquee clics */
    }

    .logos-carousel-container::before {
        left: 0;
        background: linear-gradient(to right, #ECF3F9 20%, transparent 120%);
    }

    .logos-carousel-container::after {
        right: 0;
        background: linear-gradient(to left, #ECF3F9 50%, transparent 120%);
    }

.logos-carousel div {
    min-height: 120px;
    align-content: center;
}

.logos-carousel .owl-item img {
    width: revert-layer;
}

.logos-carousel .owl-item div {
    justify-items: center;
}

.container-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    transform: translateY(-80%);
    z-index: 99;
    position: relative;
}

.card-resultados, .card-cam, .card-indices {
    display: flex;
    width: 310px;
    max-width: 480px;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 rgba(145, 158, 171, 0.20);
    padding: 24px;
    gap: 16px;
    cursor: pointer;
}

    .card-resultados:hover, .card-cam:hover, .card-indices:hover {
        text-decoration: none;
    }

.card-resultados {
    border-bottom: 2px solid #004D40;
    background: #F3FBFA;
}

    .card-resultados p {
        color: #004D40;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        margin: 0px;
    }

.card-cam {
    border-bottom: 2px solid #145A32;
    background: #F4FBF5;
}

    .card-cam p {
        color: #145A32;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        margin: 0px;
    }

.card-indices {
    border-bottom: 2px solid #A04000;
    background: #FFF9F5;
}

    .card-indices p {
        color: #873802;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        margin: 0px;
    }


.slideshow {
    position: relative;
    width: 45%;
    /*margin: 0 auto;*/
    overflow: hidden;
    border-radius: 5%;
}

.slideshowLogueado {
    position: relative;
    width: 45%;
    /*margin: 0 auto;*/
    overflow: hidden;
    border-radius: 5%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    /*padding: 20px;*/
    box-sizing: border-box;
    text-align: center;
}

.slide2 {
    min-width: 100%;
    /*padding: 20px;*/
    box-sizing: border-box;
    text-align: center;
}

.slide h3 {
    margin-bottom: 10px;
}

.slide ul {
    list-style-type: none;
    padding: 0;
}

.slide li {
    margin: 5px 0;
}

.slide2 h3 {
    margin-bottom: 10px;
}

.slide2 ul {
    list-style-type: none;
    padding: 0;
}

.slide2 li {
    margin: 5px 0;
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    /*position: absolute;*/
    top: 500px;
    left: 45%;
}

.controls2 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    /*position: absolute;*/
    top: 500px;
    left: 45%;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    padding: 0;
}

.control-btn2 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    padding: 0;
}

.control-btn.active {
    background: #0074d4;
}

.control-btn2.active {
    background: #0074d4;
}

.prev, .next, .next2, .prev2 {
    /*position: absolute;*/
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #0074d4;
    border: none;
    /* padding: 10px; */
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* X-offset, Y-offset, blur radius, color */
    margin: 4px 15px 0px 15px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev2 {
    left: 10px;
}

.next2 {
    right: 10px;
}

.hero {
    /* text-align: center; */
    padding: 2rem 2rem 0rem 2rem;
}

    .hero h2 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
        font-weight: bolder;
    }

h2 {
}

h2 {
}

.hero p {
    color: #80888f;
    font-size: 1.7rem;
    font-weight: 600;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem 1.5rem;
    padding: 0px 0 32px 0;
    margin-top:24px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 560px;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid #86B85D;
}




.card-body {
    padding: 16px 24px;
    flex: 1;
}

    .card-body h3 {
        margin-top: 0;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 20px;
        line-height: 135%;
        vertical-align: middle;
        gap: 7px;
    }

    .card-body p {
        color: #585C61;
        font-weight: 400;
        font-size: 16px;
        line-height: 135%;
        vertical-align: middle;
        line-height: 135%;
        vertical-align: middle;
    }

    .card-body .button {
        margin: 6px auto 0 auto;
/*        padding: 1rem;*/
        width: 234px;
        background-color: #0074D9;
        border: 2px solid #0077cc;
        color: white;
        border-radius: 4px;
        font-weight: bold;
        cursor: pointer;
        display: block;
        text-align: center;
    }

    .card-body .button:hover {
        background-color: #004480;
        color: white;
        transition: 0.2s ease-in-out;
    }

    .card-body .button:active {
        border-radius: var(--radius-alias-radius-s, 4px);
        border-top: 1px solid #003666;
        border-right: 1px solid #003666;
        border-left: 1px solid #003666;
        background: linear-gradient(0deg,  #003666 -12.5%,  #003666 100%);
        box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.43) inset;
    }

    .card-body .button a {
        display: block;
        width: 100%;
        text-decoration: none;
        color: #fff;
        padding: 1rem;
    }




.containerAyuda {
    margin-bottom: 56px;
    display: flex;
    align-items: center;
    padding: 16px 0px;
    justify-content: space-between;
    gap: 30px;
}

.left-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 499px;
}

.right-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 50%;
    max-width: 571px;
}

.cardAyuda {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 2px 0px rgba(145, 158, 171, 0.24),0px 4px 32px 0px rgba(145, 158, 171, 0.24);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    /* border-left: 5px solid #d9e4ec; */
}

.card-icon {
    display: flex;
    flex-direction: column;
}

    .card-icon b {
        color: #25435F
    }

.card_subtitle {
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 14px;
    line-height: 135%;
    font-family: 'Open Sans';
    color: #43474A;
}

.card-action a {
    color: #0074D9;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

    .card-action a:hover {
        text-decoration: none;
    }

.card-action span {
    color: red
}

.card-action {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 61px;
    }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c3c56;
}

.logo-subtext {
    font-size: 0.75rem;
    color: #28a37c;
    margin-top: -5px;
}

.education-section {
    margin-bottom: 56px;
}

    .education-section p {
        font-size: 16px;
        font-weight: 400;
        font-family: 'Open Sans';
        color: #585C61;
    }

.education-cards {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.education-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 0px 2px 0px rgba(145, 158, 171, 0.24), 0px 4px 32px 0px rgba(145, 158, 171, 0.24);
    padding: 16px 24px;
    width: 50%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .education-card h3 {
        color: #004480;
        margin-top: 1.5rem;
        font-size: 18px;
        font-weight: 700;
        line-height: 135%;
        letter-spacing: 0%;
        vertical-align: middle;
    }

    .education-card p {
        color: #585C61;
        margin: 0.5rem 0 1rem 0;
        font-family: 'Open Sans';
        font-weight: 400;
        font-size: 16px;
        line-height: 135%;
        letter-spacing: 0%;
        vertical-align: middle;
    }

    .education-card a {
        color: #0074D9;
        font-weight: bold;
        text-decoration: none;
        font-family: 'Open Sans';
        font-weight: 700;
        font-size: 16px;
        line-height: 135%;
        letter-spacing: 0%;
    }

.link-education-card {
    display: flex;
    justify-content: flex-end;
    /*margin: 50px 0px 20px 0px;*/
}

.gaceta-container {
    text-align: center;
    max-width: 100%;
    padding: 20px;
    margin: 30px 0px 50px 0px;
}

.gaceta-title {
    font-size: 28px;
    color: #333;
    font-weight: bolder;
}

.gaceta-description {
    color: #555;
    margin: 10px 0 20px;
    font-size: 16px;
}

    .gaceta-description strong {
        font-weight: bold;
    }

.gaceta-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gaceta-input-container {
    position: relative;
}

    .gaceta-input-container::before {
        content: "✉️";
        position: absolute;
        left: 6px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: #555;
    }

.gaceta-input {
    padding: 10px 10px 10px 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
    min-width: 400px;
}

.gaceta-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .gaceta-button:hover {
        background-color: #0056b3;
    }

.page-container {
    margin: 0 auto;
    margin-bottom: 56px;
    text-align: left;
    padding-top: 24px;
    padding-bottom: 24px;
}

.main-title {
    font-size: 32px;
    color: #2E3133;
    margin-bottom: 15px;
    font-family: 'Montserrat', Tahoma, sans-serif;
    font-weight: 700;
    line-height: 150%;
}

.subtitle {
    color: #585C61;
    margin-bottom: 16px;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 20px;
    line-height: 135%;
    letter-spacing: 0;
}

.feature-list {
    display: flex;
    gap: 30px;
}

.btn_create_account {
    display: flex;
    margin-top: 16px;
    margin-left: 12px;
}

.auth-panel__button {
    width: unset;
    font-weight: 600;
}

.auth-panel__white_button {
    width: unset;
    padding: 12px 24px;
}

    .auth-panel__white_button:hover {
        text-decoration: none;
    }

.auth-panel__button:hover {
    background-color: #004480 !important;
    color: #FFFFFF;
    text-decoration: none;
}

.btn_create_account .auth-panel__button {
    border: 1px solid #0074D9;
}

.auth-panel__button:active {
    border-radius: var(--radius-alias-radius-s, 4px);
    border-top: 1px solid var(--primary-alias-primary-darker, #003666);
    border-right: 1px solid var(--primary-alias-primary-darker, #003666);
    border-left: 1px solid var(--primary-alias-primary-darker, #003666);
    background: linear-gradient(0deg, var(--primary-alias-primary-darker, #003666) -12.5%, var(--primary-alias-primary-darker, #003666) 100%);
    box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.43) inset;
}

.auth-panel__button:disabled {
    background-color: #A9AEB3;
}

.auth-panel__button:focus {
    color: #FFFFFF;
    background-color: #0074D9;
    border-radius: var(--radius-alias-radius-s, 4px);
    border: 1px solid #004480 !important;
    outline: none;
    text-decoration: none;
}

.feature-item {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.feature-title {
    line-height: 135%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #585c61;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 700;
    text-align: center;
    font-family: 'Open Sans';
}

.feature-description {
    line-height: 135%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #585c61;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 400;
    text-align: center;
    font-family: 'Open Sans';
}

.btn-primary {
    margin-top: 40px;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

body {
    background-color: #fafbfc;
}

.imgSlide {
    border-radius: 15px;
    width: 100%;
}

@media (min-width: 481px) and (max-width: 1200px) {
    .card-body button {
        margin: 0;
    }

    .container {
        padding: 0 25px !important;
    }

    .container_image {
        margin: 40px 0;
        width: 100%;
        height: 300px;
    }

        .container_image img, .container_image_logueado img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 40%;
        }

    .container_image_logueado {
        margin: 0;
        width: 100%;
        height: 250px;
    }

    .page__title {
        font-size: 32px;
        width: 100%;
        font-family: 'Montserrat' !important;
    }

    .card {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .contenedor-envio > div {
        width: unset;
    }

    .padre-indices > div {
        width: unset;
    }
}

@media (max-width: 1070px) {
    .containerAyuda {
        margin-top: 16px;
        margin-bottom: 32px;
        flex-direction: column;
        gap: 24px;
        align-items: start;
    }

    .left-section {
        width: 100%;
        max-width: unset;
    }

    .right-section {
        width: 100%;
        padding: 0px;
        margin: 0px;
        max-width: unset;
    }

    .cardAyuda {
        display: flex;
        /*flex-wrap: wrap;*/
    }

    .education-cards {
        flex-direction: column;
    }

    .education-card {
        width: 100%;
    }

    .card-resultados, .card-indices {
        width: 224px;
        gap: 16px;
        padding: 16px;
    }

    .card-cam {
        width: 224px;
        gap: 1px;
        padding: 16px;
    }

        .card-resultados p, .card-cam p, .card-indices p {
            font-size: 14px;
        }

    .btn_create_account {
        margin-left: 4px;
    }

    .auth-panel__button {
        padding: 12px 24px;
    }

    .padre-tecnologia {
        gap: 30px;
    }
}

@media (max-width: 1080px) {
    .main-carousel .owl-item img {
        width: 100%;
        height: auto;
    }

    .owl-controls-inline {
        transform: translateY(-400%);
    }

    .container-cards {
        transform: translateY(-120%);
    }
}

@media (max-width: 767px) {
    .contenedor-envio {
        flex-direction: column-reverse;
    }

    .card-action {
        width: 100%;
        justify-content: flex-end;
    }

    .padre-mas {
        flex-direction: column;
    }

        .padre-mas > div {
            width: unset;
        }

    .cardAyuda {
        flex-wrap: wrap;
    }

    .auth-panel__button {
        width: 100%;
    }

    .padre-tecnologia {
        flex-direction: column;
        gap: 12px;
    }
    .contenedor-tecnologia {
        max-width: unset;
    }

    .contenedor-imagen-tecnologia {
        width: 100%;
    }

        .contenedor-imagen-tecnologia img {
            width: 100%;
        }

    .padre-indices {
        flex-direction: column;
        gap: 24px;
    }

    .titulo-indices-movil {
        display: block;
    }

    .titulo-indices-desktop {
        display: none;
    }

    .contenedor-imagen-indices {
        width: 100%;
    }

        .contenedor-imagen-indices img {
            width: 100%;
        }

    .auth-panel__white_button {
        width: 100%;
    }


    .primerSeccionHome {
        margin-top: 0;
    }

    .feature-description {
        font-size: 18px;
    }

    .page-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .slideshow {
        width: 100%;
    }

    .education-section {
        padding-top: 0px;
    }

    .imgSlide {
        border-radius: 16px;
    }


    .logo img {
        height: 44px;
    }

    .card-icon {
        width: 100%;
    }



    .slideshowLogueado {
        width: 100%;
    }

    .container-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        transform: translateY(-30%);
    }

    .card-resultados, .card-cam, .card-indices {
        width: 90%;
        gap: 24px;
        padding: 16px 24px;
        align-items: center;
    }

        .card-resultados p, .card-cam p, .card-indices p {
            font-size: 20px;
            text-align: left;
        }
}

.camb-text::before {
    /* content:"Herramientas que ponemos a su alcance"; */
}

@media (max-width: 625px) {
    .owl-controls-inline {
        transform: translateY(-330%);
    }
}

@media (max-width: 580px) {
    .owl-controls-inline {
        transform: translateY(-900%);
    }

    .container-cards {
        transform: translateY(-25%);
        margin-top: -198px;
    }
}

@media (max-width: 480px) {
    .owl-controls-inline {
        transform: translateY(-600%);
    }

    .container-cards {
        transform: translateY(-15%);
        margin-top: -130px;
    }

    .card-resultados p, .card-cam p, .card-indices p {
        font-size: 18px;
    }

    .card {
        width: 100%;
    }

    .container_image img, .container_image_logueado img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .container_image_logueado {
        margin: 0;
        width: 100%;
        height: 230px;
    }

    .feature-list {
        flex-direction: column;
    }

    .container {
        padding: 0 25px !important;
    }

    .page__title {
        font-size: 23px;
    }

    .main-title {
        font-size: 23px;
        line-height: 150%;
    }

    .cardAyuda {
        flex-wrap: wrap !important;
    }

    .subtitle, .ma-card__text {
        font-size: 16px;
    }

    .camb-text::before {
        /* content:"¿Cómo Médicos Aliados por la Salud impulsa su consulta?" !important; */
    }
}

camb-text {
    font-size: 2rem;
    color: transparent;
    position: relative;
}

    camb-text::before {
        color: #2E3133;
        position: absolute;
        left: 0;
        top: 0;
    }
