﻿@charset "utf-8";

@font-face {
    font-family: 'BallparkWeiner';
    src: url('../fuentes/ballpark_weiner-webfont.eot');
    src: url('../fuentes/ballpark_weiner-webfont.eot?#iefix') format('embedded-opentype'), url('../fuentes/ballpark_weiner-webfont.woff') format('woff'), url('../fuentes/ballpark_weiner-webfont.ttf') format('truetype'), url('../fuentes/ballpark_weiner-webfont.svg#BallparkWeiner') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AllerRegular';
    src: url('../fuentes/aller_rg-webfont.eot');
    src: url('../fuentes/aller_rg-webfont.eot?#iefix') format('embedded-opentype'), url('../fuentes/aller_rg-webfont.woff') format('woff'), url('../fuentes/aller_rg-webfont.ttf') format('truetype'), url('../fuentes/aller_rg-webfont.svg#AllerRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font: Georgia, "Times New Roman", Times, serif;
    color: #666;
    background: #FFF;
    text-rendering: optimizeLegibility;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big,
cite, code, del, dfn, em, font, img,
ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, legend,
center, u, b, i {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: normal;
    font-style: normal;
   /* font-family: inherit;*/
    vertical-align: baseline;
}

a {
    text-decoration: none;
}

form {
    float: left;
}

input, textarea {
    font-family: 'Open Sans', sans-serif;
}

.main {
    width: 950px;
    margin: 0 auto;
    padding-bottom: 30px;
    overflow: hidden;
    /*font-family: 'Open Sans', sans-serif;*/
}



.custom-h1 {
    width: clamp(950px, 60vw, 780px);
    font-size: clamp(24px, 2.5vw, 36px);
    height: 50px;
    color: #334353;
    margin: 20px 0;
    font-weight: 600;
    font-style: italic;
    border-bottom: 1px solid #F77B2F;
}

.custom_pers-h {
    width: clamp(950px, 60vw, 780px);
    font-size: clamp(24px, 2.5vw, 36px);
    height: 50px;
    color: #334353;
    margin: 20px 0;
    font-weight: 600;
    font-style: italic;
    border-bottom: 1px solid #F77B2F;
}



h1_titulo,
h1 {
    width: 950px;
    height: 50px;
    font-size: 33px;
    color: rgb(51, 67, 83);
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    font-style: italic;
    font-family: "Segoe UI", "Verdana", "Tahoma", "Arial", sans-serif;
}

h1 {
    border-bottom: 1px solid #F77B2F;
}


.btn, .btnDialog {
    padding: 0 20px;
    background: url(img/bgbt.jpg) repeat-x;
    height: 26px;
    border: none;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: #FFF;
    min-width: 116px;
    cursor: pointer;
    clear: both;
}

    .btn:hover, .btnDialog:hover {
        opacity: 0.8;
    }

.right {
    float: right;
}

.box, .box-Dialog {
    background: #EFEFEF;
    width: 100%;
    float: left;
  margin-top: 20px;
    padding: 18px 19px;
}

    .box h2, .box-Dialog h2 {
        color: #4D6379;
        color:  rgb(77, 99, 121);
        font-size: 20px;
        font-weight: 600;
    }

        .box h2 strong, .box-Dialog h2 strong {
            font-weight: 800;
            /*color: #F77B2F;*/
            color: rgb(247, 123, 47);
        }

.box0, .box0-Dialog {
   
    width: 75%;
    float: left;
  /* margin-top: 20px;*/

}

.box0Tit, .box0Tit {
    width: 75%;
    float: left;
    margin-top: 20px;
    border-bottom: 1px solid #F77B2F; /* Aplica color solo en la línea inferior */
}


.tit, .tit02, .tit03, .tit04 {
    float: left;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    padding-left: 14px;
    color: #FFF;
    height: 40px;
    line-height: 40px;
    margin-top: 16px;
}

.tit {
    background: #C5D1DE;
    width: 93.4%;
    margin-right: 1%;
}

.tit02, .tit03, .tit04 {
    background: #BBCADA;
    margin-left: 15px;
    width: 85%;
}

.col01, .col02, .col50, .col30, .col03 {
    float: left;
    margin-top: 20px;
}


.col01_cal {
    float: left;
    margin-top: 10px;
}

.col01 {
    width: 98%;
    margin-left: 10px;
    font-size: 12px;
    color: #4D6379;
    font-weight: 700;
}

.col02 {
    width: 33%;
    min-height: 350px;
    border-right: 1px solid #BBCADA;
}

    .col02:last-child {
        border-right: none;
    }

.c1, .c4 {
    float: left;
    width: 211px;
}

    .c1 input, .c3 .input, .c3 .textarea, .c3 .select, .input02, .select01, .select02, .c4 .select03 {
        width: 100%;
        height: 21px;
        font-size: 12px;
        margin: 8px 0;
        color: #4D6379;
        border: 1px solid #CCC;
    }

.c3, .c3Dialog {
    width: 246px;
    margin: 15px auto;
    padding-top: 15px;
    clear: both;
    font-size: 12px;
    color: #4D6379;
    font-weight: 700;
}

    .c3 .btn {
        padding: 0 5px;
        min-width: 86px;
    }

.col01 ul, .c4 ul {
    list-style: none;
    width: 100%;
    display: block;
    overflow: hidden;
    padding-bottom: 20px;
}

    .col01 ul li, .c4 ul li {
        color: #4D6379;
        font-weight: 700;
        width: 50%;
        float: left;
    }

.centro {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -75px;
    margin-left: -75px;
}

.btoninvisible {
    visibility: hidden;
}

.divScroll, .divScroll2 {
    overflow: auto;
}

.divScroll {
    width: 540px;
    height: 350px;
}

.divScroll2 {
    width: 580px;
    height: 290px;
}

#LabelTitulo1 {
    font-weight: 600;
}

#dgTabla, #dgTablaMultiple, #dgTabla2, #dgTablaRR, #dgListaConexiones, #divdgTablaConexiones {
    width: 100%;
}

#WebChartViewerGR {
    width: 800px;
}

#ListaArancelesT, #ListaRutT {
    border-color: transparent;
    background-color: transparent;
}

    #ListaArancelesT tr td, #ListaRutT tr td {
        border-color: transparent;
        background-color: transparent;
    }

.letraalert {
    font-size: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.imgalert {
    width: 100px;
    height: 100px;
}

.ModalProgress {
    position: absolute;
    z-index: 998;
    height: 100%;
    width: 100%;
    top: 0;
    background-color: white;
    opacity: 0.6;
}


.caja-centradaxls_default {
    background-color: white;
    color: black;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin: auto;
    position: fixed; /* Mantén fijo en la pantalla */
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%); /* Centra la caja respecto a la pantalla */
    z-index: 1050;
    max-height: 80vh;
}


.caja-centradaxls {
    background-color: white;
    color: black;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin: auto;
    position: fixed;
    top: 5%; /* Cambiado de 50% */
    left: 50%;
    transform: translateX(-50%); /* Solo horizontal */
    z-index: 1050;
    max-height: 80vh; /* Limita la altura para que no se salga de pantalla */
    /*   overflow-y: auto;  Agrega scroll interno si es necesario */
}




    .caja-centradaxls.posicion-especial {
        top: 50%; /* o el valor que tú necesites */
        left: 40%; /* nuevo valor */
        transform: translateX(-42%);
    }


    .caja-centradaxls  .modal-content {
        width: 400px;
        height: 350px;
        margin: auto;
        border-radius: 10px;
        border: 1px solid #F77B2F;
        background-color: #f0f0f0;
        display: flex;
        flex-direction: column;
    }

    .form-box {
        background-color: #f0f0f0;
        border-radius: 10px;
        padding: 20px;
        height: 250px
    }

.radio-opciones {
    display: flex;
    flex-direction: column; /* Asegura que los radio buttons y los textos estén en línea vertical */
}

    .radio-opciones input[type="radio"] {
        margin-right: 10px; /* Aumenta el espacio entre el radio button y el texto */
    }

    .radio-opciones label {
        font-size: 11px;
        font-weight: normal;
        color: #025587;
        font-family: Arial, sans-serif;
        margin-bottom: 5px; /* Espacio debajo de cada etiqueta */
    }



    .modal-content {
        border: 2px solid #fd7e14;
        border-radius: 10px;
        padding: 10px;
        background-color: #fff;
    }


    .modal-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .modal-header {
        background-color: #f8f9fa;
        padding: 10px;
        border-bottom: 1px solid #dee2e6;
        border-bottom-left-radius: 10px; /* Ajuste de esquina inferior izquierda */
        border-bottom-right-radius: 10px; /* Ajuste de esquina inferior derecha */
    }

    .modal-title {
        font-size: 12px;
        font-weight: bold;
        color: #333;
    }

    .modal-body {
        padding: 10px 20px;
        min-height: 400px; 
    }

    .modal_GrabarConsulta-body {
        padding: 10px 20px;
        min-height: 200px; 
    }

    .modal-footer {
        display: flex;
        justify-content: flex-end;
        padding: 10px;
        border-top: 1px solid #dee2e6;
    }

    .modal-header-custom {
        background-color: #f0f0f0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

.caja-centradaxls .btn {
    background-color: #fd7e14;
    color: white;
    /* padding: 10px 20px;*/
    border: none;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
}

        .caja-centradaxls .btn:hover {
            background-color: #45a049;
        }

    .caja-centradaxls span, .caja-centrada p {
        color: black;
    }

    .caja-centradaxls .close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #000;
        font-weight: bold;
    }

 
    .panel-excel {
        height: 400px; 
        width: 300px; 
        overflow-y: auto; 
    }
 
        .panel-excel .mb-3 {
            margin-bottom: 20px; 
        }


        .panel-excel .form-label {
            margin-bottom: 10px; /* Espacio debajo de las etiquetas */
            font-size: 12px; 
        }

        /* Estilo general para los campos de texto */
        .panel-excel .form-control {
            padding: 10px; /* Añadir padding dentro de los campos de texto */
        }

        /* Estilo para el botón */
        .panel-excel .btn {
            margin-top: 5px; /* Espacio entre el botón y los demás elementos */
        }

        /* Estilo para los radio buttons dentro del panel */
        .panel-excel .form-control .rb-item {
            background-color: #fff; /* Fondo blanco para todos los elementos */
            padding: 5px;
            --bs-bg-opacity: 0; /* Hacer el fondo completamente transparente */
        }

            /* Estilo para los radio buttons dentro del panel */
            .panel-excel .form-control .rb-item input[type="radio"] {
                background-color: transparent; /* Fondo transparente para el botón de radio */
            }

            /* Forzar consistencia en la apariencia de los ítems */
            .panel-excel .form-control .rb-item:hover,
            .panel-excel .form-control .rb-item:checked {
                background-color: #e9ecef; /* Fondo gris claro para el hover y el checked */
            }

            /* Ajustes visuales para los radio buttons seleccionados */
            .panel-excel .form-control .rb-item input[type="radio"]:checked {
                background-color: #007bff; /* Fondo azul para el radio button seleccionado */
                border-color: #007bff; /* Borde azul para el radio button seleccionado */
            }

.mb-3 .btn {
    display: block; /* Asegura que el botón sea un bloque */
    margin: 0 auto; /* Aplica margen automático a los lados */
}


/* Mis Consulas*/
.btn-orange {
    background-color: #fd7e14;
    color: white;
    border: none;
    font-size: 0.75rem; /* Tamaño de letra más pequeño */
    padding: 2px 6px; /* Menor relleno vertical y horizontal */
    line-height: 1.2; /* Altura de línea ajustada */
    border-radius: 4px; /* Bordes suaves */
    width: 50px; /* El ancho se ajusta al contenido del botón */
}

.btn-orange:hover {
        background-color: #e8590c;
        color: white;
    }



    #MainContent_dgconsulta td,
    #MainContent_dgconsulta th {
        padding: 0.3rem;
    }

#MainContent_dgconsulta {
    font-size: 0.8rem;
}

.custom-table th, .custom-table td {
    font-size: 120%; /* Aumenta el tamaño de la letra en un 20% */
}

.custom-table {
    /* Cambiar el color de fondo de las filas alternadas */
    --bs-table-striped-bg: rgb(227, 235, 242); /* Color celeste */
    /* Cambiar el color de fondo de las filas activas (seleccionadas) */
    --bs-table-active-bg: rgba(227, 235, 242, 0.5); /* Color de fondo con opacidad */
}

.custom-table {
    width: 100%; /* Reducir el tamaño al 70% */
    margin-left: auto;
    margin-right: auto; /* Centrar la tabla */
}

/* Reducir el tamaño de la tarjeta en un 30% y alinearla a la izquierda */
.custom-card {
    width: 90%; /* Reduce el tamaño de la tarjeta al 70% */
    margin-left: 0; /* Alinea la tarjeta a la izquierda */
    margin-right: auto; /* Elimina cualquier margen derecho */
}

.datagrid {
    background-color: #E3EBF2;
    border-color: black;
    color: #025587;
    font-size: 9px;
    font-family: Verdana;
    border-width: 1px;
    padding: 5px;
    margin: 10px auto;
    width: 100%;
    height: auto;
    border-collapse: collapse;
}

    .datagrid th, .datagrid td {
        border: 1px solid white;
        padding: 0px;
    }

.datagrid-header, .datagrid-footer {
    font-size: 9px;
    font-family: Verdana;
    font-weight: bold;
    text-align: center;
    color: #025587;
    background-color: #9BC8E7;
    border: 1px solid black;
}

.clear {
    clear: both;
}


/*Checkbox Personalizados*/


.form-check {
      width: 100%;
        display: table;
        margin-right: 5px;
        line-height: 1.5;


/*    display: flex;
    align-items: center;*/
}

  
    .form-check input {
        margin-right: 5px; 
    }


    .form-check label {
/*        display: inline-block;
        margin-right: 10px;
        font-size: 11px;
        font-weight: normal;*/

        margin: 0; /* eliminamos cualquier margen por defecto */
        padding: 0; /* también eliminamos relleno si hubiera */
        font-size: 11px;
        font-weight: normal;
    }



    .form-check input[type="checkbox"] {
        vertical-align: text-bottom;
        margin-right: 5px;
        
    }


    .row .col-md-6, .row .col-md-12 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .row .col-md-6 {
        flex: 1 0 48%; 
    }

    .row .col-md-12 {
        flex: 1 0 100%; 
    }

   
    .tit {
        margin-bottom: 10px;
        font-weight: bold;
    }

    .estilo-SinRegistros {
        font-family: Verdana;
        font-size: 16px;
        color: #025587;
    }


/*Bold campos principales Grillas Reportes Pais-Rut Pais-Glosa*/

.fila-total {
    font-weight: bold;
}

.celda-primera {
    font-weight: bold;
}



.spinner-carga-excel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* alinear desde arriba */
    padding-top: 100px; /* ajusta este valor según lo alto que lo quieras */
}

.spinner-content {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.spinner-border {
    width: 5rem !important;
    height: 5rem !important;
}


.spinner-carga-excel--abajo {
    padding-top: 700px;  
    justify-content: flex-start;  
    padding-left: 350px;  
}

.spinner-carga-excel--proc {
    padding-top: 800px; 
    justify-content: flex-start;  
    padding-left: 400px;  
}

