/* Estilos personalizados para el Popup de Gestoría Ramos */

#gestoriaRamosModal .modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
#gestoriaRamosModal  .btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff0000'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center / 1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}


#gestoriaRamosModal button:hover{
    background-color: transparent;
}

#gestoriaRamosModal .modal-content {
    max-width: 90%; /* Esto asegura que el modal se ajuste a pantallas más pequeñas */
    min-width: 800px; /* Ancho mínimo de 670px */
    margin: auto;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

#gestoriaRamosModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

#gestoriaRamosModal .modal-header .btn-close {
    margin-left: auto;
}

#gestoriaRamosModal .modal-title {
    color: #3DBEE4;
    text-align: center;
    font-feature-settings: 'salt' on;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 162.023%; /* 32.405px */

    margin-bottom: 30px;
}

#gestoriaRamosModal .modal-body img {
    border-radius: 10px;
    margin-bottom: 30px;
}

#gestoriaRamosModal .btn-close {
    box-sizing: content-box;
    width: 1.5em; /* Aumenta el tamaño del botón */
    height: 1.5em;
    padding: 0.25em;
    background-color: #003887; /* Fondo azul */
    border: none;
    border-radius: 50%; /* Botón redondeado */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#gestoriaRamosModal .btn-close::before {
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center / contain no-repeat;
    width: 65%;
    height: 100%;
    display: block;
}

#gestoriaRamosModal .btn-close:hover {
    background-color: #8b2323; /* Fondo rojo al hacer hover */
}

#gestoriaRamosModal .btn-close:hover::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center / contain no-repeat;
}



#gestoriaRamosModal .modal-body p.fw-bold {
    margin-top: 30px;
    color: #004085;
}

.text-info-phone{
    border-top: 2px solid #3DBEE4;
    padding-top: 30px;
}

#gestoriaRamosModal .modal-body p {
    color: #003887;
    font-feature-settings: 'salt' on;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    line-height: 162.023%;
}

@media (max-width: 767.98px) {
    #gestoriaRamosModal .modal-content {
        min-width: 100%; /* El modal ocupará todo el ancho de la pantalla */
        max-width: 100%;
        padding: 15px; /* Reduce el padding para pantallas pequeñas */
        border-radius: 0; /* Quita el borde redondeado para ajustar el diseño en móviles */
    }

    #gestoriaRamosModal .modal-body img {
        width: 100%; /* Imagen ocupará todo el ancho disponible */
        height: auto; /* Mantiene la proporción de la imagen */
        border-radius: 5px; /* Redondeo más pequeño para móviles */
    }

    #gestoriaRamosModal .modal-header .btn-close {
        margin-right: 0; /* Alinea el botón de cerrar correctamente en móviles */
    }

    #gestoriaRamosModal .modal-title {
        font-size: 1.25rem; /* Ajusta el tamaño de la fuente para pantallas pequeñas */
    }

    #gestoriaRamosModal .modal-body p {
        font-size: 1rem; /* Ajusta el tamaño del texto para que sea legible en móviles */
        margin-top: 10px;
    }

    .text-info-phone a{
       display: block;
    }
}

