﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Estilos para pantallas pequeñas (menos de 600px de ancho) */
@media (max-width: 600px) {
    .seccion-info {
        /* Estilos para pantallas pequeñas */
    }
    .logo_medio_pago img {
        max-width: 140px;
    }
}

/* Estilos para pantallas medianas (entre 600px y 992px de ancho) */
@media (min-width: 601px) and (max-width: 992px) {
    .seccion-info {
        /* Estilos para pantallas medianas */
    }
    .logo_Entidad {
        max-height: 40px; /* Reduce aún más en dispositivos móviles */
    }
}

/* Estilos para pantallas grandes (más de 992px de ancho) */
@media (min-width: 993px) {
    .seccion-info {
        /* Estilos para pantallas grandes */
    }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 10px;
}

.encabezado {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
}

.contenedor-principal {
    min-height: 140vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 80px);
}

.footer {
    position: relative;
    margin-top: 60px;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}

    .footer .contenido {
        background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(25%, #fff), color-stop(25%, #1E63AA), to(#1E63AA));
        background: linear-gradient(to bottom, #fff 0%, #fff 25%, #1E63AA 25%, #1E63AA 100%);
        padding-bottom: 2em;
    }

    .footer .container {
        background-color: #F3F5FA;
        padding: 2.5em;
        -webkit-box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }

        .footer .container .container .info-footer-cliente .info-text {
            overflow: auto;
        }

    .footer .dev-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #D6DBDf;
    }

/* Titulo Inicio 
 -------------------------------------------------------*/
.text-contenido {
    align-items: center;
}

    .text-contenido .column-img-aries {
        align-items: center;
        display: flex;
        flex-direction: row-reverse;
    }

#titlePrincipal {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    color: #1E63AA;
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Imagenes Logo
------------------------------------------------------- */

img {
    max-width: 100%;
    padding: 15px;
}

.logo_Aries {
    height: auto;
    width: 190px;
}

.logo_Entidad {
    height: auto;
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

/* Estilos de breadcrumb 
----------------------------------------------------- */
#crumbs {
    text-align: center;
    background-color: #F3F5FA;
    box-shadow: 0 0.25rem 0.75rem rgba(30,99,170, .2);
}

    #crumbs ul {
        list-style: none;
        display: inline-table;
        margin-top: 15px;
        margin-bottom: 15px;
    }

        #crumbs ul li {
            display: inline-block;
            margin-right: 10px;
            position: relative;
        }

            #crumbs ul li a {
                display: block;
                float: left;
                height: 35px;
                background: #8093A7;
                text-align: center;
                padding: 5px 15px 0 40px;
                position: relative;
                margin: 0 10px 0 0;
                font-size: 15px;
                text-decoration: none;
                color: #D6DBDf;
                border-radius: 10px;
            }

                #crumbs ul li a:before {
                    content: "";
                    border-top: 15px solid transparent;
                    border-bottom: 20px solid transparent;
                    border-left: 26px solid #F3F5FA;
                    position: absolute;
                    left: 0;
                    top: 0;
                }

                #crumbs ul li a:after {
                    content: "";
                    border-top: 15px solid transparent;
                    border-bottom: 20px solid transparent;
                    border-left: 26px solid #8093A7;
                    position: absolute;
                    right: -20px;
                    top: 0;
                }

            #crumbs ul li:first-child a {
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
            }

                #crumbs ul li:first-child a:before {
                    display: none;
                }

            #crumbs ul li:last-child a {
                padding-right: 40px;
                border-top-right-radius: 10px;
                border-bottom-right-radius: 10px;
            }

                #crumbs ul li:last-child a:after {
                    display: none;
                }

/*#crumbs ul li a:hover {
                background: #808080;
            }

                #crumbs ul li a:hover:after {
                    border-left-color: darkgreen;
                }*/

.current-page a {
    background-color: #1E63AA !important;
    color: #fff !important;
}

    .current-page a::after {
        border-left-color: #1E63AA !important;
    }

/* Pagina Consulta Documento 
 --------------------------------------------------- */
#formConsulta {
    display: flex;
    justify-content: center;
}

#btnconsulta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #btnconsulta #btn {
        display: flex;
        flex-direction: column;
    }

/* Tabla 
--------------------------------------------------------- */

/* CARD */
.card {
    margin-top: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0.25rem 0.75rem rgba(30,99,170, .2);
}
    .card-title {
        width: 100% !important;
        min-width: 100%;
        background-color: #1E63AA;
        border-radius: 10px 5px;
        height: 50px;
    }

        .card-title h2 {
            color: #D6DBDF;
            padding: 10px 0 10px 15px;
            font-size: 25px;
        }

.table {
    margin-top: 5px;
}

    .table .card-title {
        width: 100% !important;
        min-width: 100%;
        background-color: #1E63AA;
        border-radius: 10px 5px;
        height: 50px;
    }

        .table .card-title h2 {
            color: #D6DBDF;
            padding: 10px 0 10px 15px;
            font-size: 25px;
        }

/* RadioBoton
--------------------------------------------------------*/
th:nth-child(5), td:nth-child(5),
th:nth-child(6), td:nth-child(6) {
    position: sticky;
    right: 0;
    background-color: white;
    z-index: 2;
}

@media (max-width: 768px) {
    .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }

    label {
        font-size: 1rem;
    }
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.monto-pago {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/*  Button
------------------------------------------------------*/
.row .col-6 {
    display: flex;
    flex-direction: column;
}

/* Informacion Contribuyente
-------------------------------------------------------*/
.info-contribuyente {
    background-color: #D6DBDf;
    padding: 10px;
    border-radius: 8px;
}

/* formulario pago
------------------------------------------------------------------*/
.logo_medio_pago img {
    width: auto;
    max-width: 180px;
    height: auto;
    display: block;
    padding: 10px;
}

.form-select {
    background-color: #F3F5FA;
    color: #1E63AA;
}

.btn-cancel .btn {
    background-color: #D6DBDf;
    border-color: #D6DBDf;
    color: black;
}

    .btn-cancel .btn:hover {
        color: #ffff;
        background-color: #8093A7;
        border-color: #8093A7;
    }


/* Estilos Loading 
---------------------------------------------------------*/
.loading-indicator {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    z-index: 9999;
}

.spinner {
    border: 5px solid rgba(0, 0, 0, 0.3);
    border-top: 5px solid #1E63AA;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

/* Animación del spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.select-responsive {
    font-size: 1.2rem;
}

/* Reducir tamaño para pantallas pequeñas */

/* Para pantallas de 14" o menores */
@media (max-width: 1400px) {

    body {
        font-size: 0.9rem; /* Reduce el tamaño del texto */
        zoom: 90%; /* Reduce ligeramente el tamaño general */
    }

    h1, h2, h3 {
        font-size: 95%; /* Reduce títulos */
    }
    .encabezado h1 {
        font-size: 2rem;
    }

    .encabezado h5 {
        font-size: 1.2rem;
    }

    table {
        font-size: 0.85rem; /* Reduce el tamaño de texto en las tablas */
    }

    .btn {
        padding: 6px 12px; /* Reduce botones */
        font-size: 0.85rem;
    }

    .logo_medio_pago img {
        max-width: 120px;
    }

    .select-responsive {
        font-size: 1rem; 
    }
}

@media (max-width: 480px) {
    .select-responsive {
        font-size: 0.9rem; 
    }
}
