﻿:root {
    --FondoMenu: #ffffff;
    /*--colorBase: #047dcc;*/
    --colorBase: #032B44;
    --AzulLogo:#006bb3;
}


body {
    background-color: var(--color2);
    color: var(--colorBase);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px !important;
}

.ColorBase {
    color: var(--colorBase) !important;
}

.Color1 {
    color: var(--color1) !important;
}
.Color2 {
    color: var(--color2);
}

.Gris {
    color: gray;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var(--colorBase);
}

.link-primary, .link-primary:hover {
    color: #047dcc !important;
    text-decoration-color: #047dcc !important;
}


.toolbar {
    border-top: var(--color1) !important;
    background-color: var(--color1) !important;
    color: var(--TextoSobreColor1) !important;
}

    .toolbar h1, .toolbar h4 {
        color: var(--TextoSobreColor1) !important;
    }

.toolbar-fixed .toolbar {
    height: initial !important;
    padding:10px 0px;
}

.header-fixed .header {
    background-color: white;
}

.aside-menu {
    background-color: var(--FondoMenu);
}

.aside .aside-logo {
    background-color: var(--FondoMenu);
}

.menu-column {
    background-color: var(--FondoMenu);
}


.btn {
    border-radius: .475rem;
    font-size: 1em;
}

.btn i{
    font-size: 1em;
    margin-right:3px;
    position:relative;
    top:-1px;
}

.col-form-label {
    padding-bottom: calc(.275rem + 1px);
    color: var(--colorBase);
    font-size:1em;
}

    .col-form-label span {
        color:red;
    }

    .form-select {
        border-radius: .475rem;
        height: 44px;
    }

.form-control {
    display: block;
    width: 100%;
    padding: .775rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--bs-gray-700);
    appearance: menulist !important;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid var(--bs-gray-300);
    border-radius: .475rem;
    box-shadow: false;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    min-height: 44px;
}

.form-select {
    padding: .775rem 4rem .775rem 1rem;
}

.topbar .topbar-item .svg-icon, .topbar .topbar-item i {
    color: #047dcc !important;
}

.card {
    border-radius: 10px;
    color: var(--TextoSobreColor2);
    border-left: 7px solid var(--color1);

{
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin: 2rem auto 1.5rem auto;
    max-width: 900px;
    padding: 2rem;
    border-left: 7px solid #f7dc6f;
}
}

.card-title, .card .card-header .card-title {
    color: var(--color1);
    margin-bottom: 20px;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
}

        .card-title i {
            margin-right:5px;
        }

        .btn.btn-light {
            border: solid 1px #e3e2e2 !important;
        }

.btn.btn-primary, .btn.btn-primary:active, .btn.btn-primar:visited, .btn.btn-primar:focus, .btn.btn-primary, .btn.btn-primary:focus:not(.btn-active) {
    color: var(--TextoSobreColor1);
    border: solid 1px var(--color1) !important;
    background-color: var(--color1) !important;
}
    .btn.btn-primary:hover, .btn.btn-primary:hover:not(.btn-active) {
        color: var(--TextoSobreColor2) !important;
        border: solid 1px var(--color1) !important;
        background-color: var(--color2) !important;
    }
        .btn.btn-primary:hover i {
            color: var(--TextoSobreColor2) !important;
        }

.btn > i {
    padding-right: 0px;
}

.btn {
    /*--bs-btn-line-height: .5;*/
    --bs-btn-line-height: 1;
}

.btn-md {
    --bs-btn-line-height: 1.5;
}

.input-group-right i {
    font-size: 1.5rem;
}

.table:not(.table-bordered) td, .table:not(.table-bordered) tr {
    color: var(--colorBase);
}
.table:not(.table-bordered) th, .table:not(.table-bordered) th a {
    background-color: var(--color1);
    color: var(--TextoSobreColor1);
    font-weight: bold;
    text-transform: uppercase;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}

/*.table:not(.table-bordered) tbody tr:last-child td, .table:not(.table-bordered) tbody tr:last-child th, .table:not(.table-bordered) tfoot tr:last-child td, .table:not(.table-bordered) tfoot tr:last-child th
*/
.table {
    /*--bs-table-accent-bg: red;*/
    --bs-table-striped-bg: var(--color2);
}



.card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: initial;
    padding-left:0px;
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-bottom: 1px solid var(--bs-card-border-color);
    margin-bottom:10px;
}


.dvLineaTiempo .stepper.stepper-pills {
    --bs-stepper-icon-border-radius: 50%;
}

.stepper-pills {
    display: block ruby;
    margin-bottom: 5px;
}

.stepper-item, .dvLineaTiempo .stepper-icon {
    margin-right: 0px !important;
}

.stepper.stepper-pills .stepper-item.completed .stepper-icon, .stepper.stepper-pills .stepper-item.current.mark-completed:last-child .stepper-icon {
    background-color: #38a169;
}

.stepper.stepper-pills .stepper-item .stepper-icon {
    background-color: #e2e8f0;
}

.stepper.stepper-pills .stepper-item .stepper-icon .stepper-number {
    color: #000000;
}

.stepper.stepper-pills .stepper-item.current .stepper-icon .stepper-number {
    color: var(--TextoSobreColor1);
}

/*.stepper.stepper-pills .stepper-item .stepper-icon .stepper-number {
    color: var(--TextoSobreColor2);
}*/

.stepper.stepper-pills .stepper-item.completed .stepper-icon .stepper-check, .stepper.stepper-pills .stepper-item.current.mark-completed:last-child .stepper-icon .stepper-check {
    color: white;
}

.stepper.stepper-pills .stepper-item.current .stepper-icon {
    transition: color .2s ease;
    background-color: var(--color1);
    border: solid 1px var(--color1);
}

.current-danger div {
    background-color: red !important;
    border: solid 1px red !important;
}

.modal-header {
    background-color: var(--color2);
    color: var(--TextoSobreColor2);
    padding: 0.75rem 1.75rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    min-height:58px;
}

    .modal-header i {
        color:black;
    }

    .modal-content {
        border-radius: 1rem;
        background-color: #fff;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }

.modal-body {
    padding: 1.75rem;
}

.modal-footer {
    padding: calc(1.75rem - 0.5rem * .5);
    background-color: #fff;
    border-top: 1px solid #f1f1f4;
    border-bottom-left-radius: 1.75rem;
    border-bottom-right-radius: 1.75rem;
}


.swal2-container {
    z-index:20000;
}

    .swal2-container .swal2-html-container {
        max-height: 350px;
    }


.select2-dropdown {
    z-index: 11000;
}


.menu-bullet {
    float:left;
}

.h-23px {
    height:23px;
}

.text-nowrap label {
    white-space: nowrap !important;
}


.container-xxl {
    max-width: 100% !important;
}



















































.Tam0_75em {
    font-size: 0.75em;
}

.Tam0_85em {
    font-size: 0.85em;
}
.Tam0_90em {
    font-size: 0.90em !important;
}


.Tam1_35rem {
    font-size: 1.35rem;
}
.Tam1_15rem {
    font-size: 1.15rem;
}

.maxWidth950 {
    max-width:950px;
}

.ml-5 {
    margin-left: 5px;
}

.mr-5 {
    margin-right: 5px;
}
.mr-10 {
    margin-right: 10px;
}
.mr-15 {
    margin-right: 15px;
}

.Padding0 {
    padding:0px !important;
}

.imgLogoCabecera {
    height:48px;
    position:relative;
    top:+8px;
}

.hVH100 {
    height: 100vh !important;
}


.Negrita {
    font-weight: bold;
}

.Seminegrita {
    font-weight: 600;
}

.hLogin {
    margin-bottom: 50px !important;
    font-size: 3em;
    line-height: 1.6;
    color: #02588c !important
}


.displaynone {
    display: none;
}

.displayInlineBlock {
    display: inline-block !important;
}

.displayInline {
    display: inline;
}

.dvErrorCampo {
    position: absolute;
    z-index: 5;
    max-width: 100%;
    padding: .305rem .45rem;
    margin-top: -.4rem;
    margin-left: .2rem;
    font-size: .90rem;
    color: #fff;
    background-color: #d03f3f;
    border-radius: 8px;
    overflow-wrap: break-word; /* fuerza que corte palabras largas */
    white-space: normal; /* permite saltos de línea */
    box-sizing: border-box;
}


.has-error input:not([type=button]):not([type=submit]):not([type=reset]):not([type=radio]), .has-error select, .has-error .select2-selection, .has-error textarea {
    border: solid 1px #d03f3f;
    /*    color: #d03f3f;*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23d03f3f'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23d03f3f' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(.375em + .225rem) center;
    background-size: calc(.75em + .45rem) calc(.75em + .45rem) !important;
    appearance: none !important;
}

.input-group-left {
    border-top-left-radius: .475rem;
    border-bottom-left-radius: .475rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}


.input-group-right {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: .475rem;
    border-bottom-right-radius: .475rem;
}


.dvLineaTiempo {
    display: flex;
    flex-wrap: wrap; /* Permite que los hijos bajen a otra línea si no caben */
    align-items: flex-start; /* Alineación por la parte superior */
    gap: 0px; /* Espaciado entre cajas */
    max-width: 100%; /* Opcional: asegura que no desborde el contenedor padre */
}


.dvLineaEl {
    flex: 1 1 0;
    display: inline-block;
    width: 100px;
    text-align: center;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
}
 

.dvLineaTiempoVerde {
    flex: 1 1 0;
    background-image: url('../../Imagenes/LineaTiempoVerde.png');
    background-repeat: no-repeat;
    background-position-x: center;
    display: inline-block;
    width: 100px;
    text-align: center;
    padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.dvLineaTiempoGris {
    flex: 1 1 0;
    background-image: url('../../Imagenes/LineaTiempoGris.png');
    background-repeat: no-repeat;
    background-position-x: center;
    display: inline-block;
    width: 100px;
    text-align: center;
    padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

 
.rbList {
}

    .rbList input, .check input {
        width: 1.5rem;
        height: 1.5rem;
        margin-top: .25rem;
        position: relative;
        top: +4px;
        background-size: 60% 60%;
    }

        .rbList input:disabled {
            border-radius: 50%;
        }


    .rbList label, .check label, .aspNetDisabled label {
        margin-left: .40rem;
        margin-right: 1rem;
        color: var(--colorBase);
        display:inline;
    }
     

/* Ocultar el input radio */
.rbListCuadro input[type="radio"] {
    display: none;
    vertical-align: top; /* <- CLAVE para que el punto no se caiga */
}

/* Estilo visual del label como botón */
.rbListCuadro td label {
    display: inline-block;
    vertical-align: top; /* <- CLAVE para que el texto alinee con el punto */
    border: 1px solid var(--bs-gray-300);
    border-radius: .475rem;
    padding: 9px 16px 9px 40px;
    cursor: pointer;
    background-color: white;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    color: black;
    margin-right: 10px;
    min-height: 44px;
    line-height: 1.4;
    max-width: 250px; /* opcional si quieres limitar el ancho del botón */
    white-space: normal; /* permite que el texto salte de línea */
}

.rbListCuadroGr td label {
    max-width: 100% !important;
}

    /* Punto personalizado */
    .rbListCuadro td label::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 12px;
        width: 18px;
        height: 18px;
        border: 2px solid var(--bs-gray-500);
        border-radius: 50%;
        background-color: white;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    /* Hover: cambia fondo y texto */
    .rbListCuadro td label:hover {
        background-color: var(--color2);
        color: black;
    }

        .rbListCuadro td label:hover::before {
            border-color: gray;
        }

/* Seleccionado: fondo y texto con variables */
.rbListCuadro input[type="radio"]:checked + label {
    background-color: var(--color2);
    border-color: var(--color2);
    color:black;
}

    /* Punto interior cuando está seleccionado */
    .rbListCuadro input[type="radio"]:checked + label::before {
        background-color: var(--color1);
        box-shadow: inset 0 0 0 4px var(--color1);
        border-color: var(--color1);
    }

/* Estilo visual cuando está desactivado */
.rbListCuadro input[type="radio"]:disabled + label {
    background-color: #f4f4f4; /* Gris claro */
    color: #999999; /* Texto gris */
    border-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none; /* Evita eventos como hover */
}

    /* Punto cuando está desactivado */
    .rbListCuadro input[type="radio"]:disabled + label::before {
        border-color: #bbbbbb;
        background-color: #f0f0f0;
    }


/* Contenedor checkbox + label */
.cbCuadro {
    display: flex;
    align-items: flex-start; /* importante para alinear con la primera línea */
    gap: 8px;
}

    /* Ocultar el checkbox */
    .cbCuadro input[type="checkbox"] {
        display: none;
    }

    /* Label con aspecto de botón */
    .cbCuadro label {
        display: inline-block;
        border: 1px solid var(--bs-gray-300);
        border-radius: .475rem;
        padding: 9px 16px 9px 36px; /* deja más hueco a la izquierda para el check */
        cursor: pointer;
        background-color: white;
        transition: background 0.2s ease, color 0.2s ease;
        color: black;
        position: relative;
        min-height: 44px;
        line-height: 1.4;
    }

        /* Cuadro del check */
        .cbCuadro label::before {
            content: "";
            position: absolute;
            top: 12px; /* centrado visual vertical */
            left: 12px;
            width: 18px;
            height: 18px;
            border: 2px solid var(--bs-gray-500);
            border-radius: 3px;
            background-color: white;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        /* Hover */
        .cbCuadro label:hover {
            background-color: var(--color2);
        }

            .cbCuadro label:hover::before {
                border-color: gray;
            }

    /* Seleccionado */
    .cbCuadro input[type="checkbox"]:checked + label {
        background-color: var(--color2);
        border-color: var(--color2);
    }

        /* Marca dentro del cuadro centrada con Flexbox */
        .cbCuadro input[type="checkbox"]:checked + label::before {
            content: "✔";
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            color: white;
            background-color: var(--color1);
            border-color: var(--color1);
            width: 18px;
            height: 18px;
            position: absolute;
            top: 12px;
            left: 12px;
            border-radius: 3px;
        }


    /* Deshabilitado */
    .cbCuadro input[type="checkbox"]:disabled + label {
        background-color: #f4f4f4;
        color: #999999;
        border-color: #cccccc;
        cursor: not-allowed;
        pointer-events: none;
    }

        .cbCuadro input[type="checkbox"]:disabled + label::before {
            border-color: #bbbbbb;
            background-color: #f0f0f0;
        }

    /* Marca dentro del cuadro centrada con Flexbox */
    .cbCuadro input[type="checkbox"]:checked:disabled + label::before {
        background-color: var(--color1);
        border-color: var(--color1);
    }


.aspNetDisabled input:disabled {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .25rem;
    appearance: none;
    background-color: #dbdbdb;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-gray-300);
    print-color-adjust: exact;
    position: relative;
    top: 4px;
}

input:checked:disabled {
    color: var(--color1) !important; /* 👈 controla el color desde aquí */
    background-color: #dbdbdb !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='currentColor' stroke-width='2' d='M3 8l3 3 7-7'/%3e%3c/svg%3e") !important;
}


@keyframes aparecerDeslizando {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animar {
    animation: aparecerDeslizando 0.8s ease forwards;

}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right !important;
}


.dvBarraEstados {
    position:relative;
    top:-8px;
    background-color: white;
    padding: 15px 20px 5px 20px;
    margin-bottom:20px;
}


.dvTituloCuadro {
    margin-top: 25px;
    margin-bottom: 5px;
    padding-left: 0px;
    font-size: 1em !important;
}

.dvCuadroLinea {
    display: block;
    width: 100%;
    padding: .775rem 1rem;
    border: 1px solid var(--color3);
    border-radius: .475rem;
}

.dvCuadroLineaColorBase {
    display: block;
    width: 100%;
    padding: .775rem 1rem;
    border: 1px solid var(--bs-gray-300);
    border-radius: .475rem;
    color: var(--colorBase);
}

.dvCuadroSangria {
    padding-left:20px;
}


.card-titleTitulo2 {
    background-color: var(--color2);
    color: var(--TextoSobreColor2);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.1em !important;
}


.page-item.active .page-link {
    color: var(--TextoSobreColor1);
}

.page-item .page-link {
    border-radius: .475rem;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1.075rem;
    --bs-pagination-color: var(--colorBase);
    --bs-pagination-bg: transparent;
    --bs-pagination-border-width: 0;
    --bs-pagination-border-color: transparent;
    --bs-pagination-border-radius: 0.475rem;
    --bs-pagination-hover-color: var(--color1);
    --bs-pagination-hover-bg: var(--color2);
    --bs-pagination-hover-border-color: transparent;
    --bs-pagination-focus-color: var(--TextoSobreColor2);
    --bs-pagination-focus-bg: var(--color2);
    --bs-pagination-active-color: var(--color1);
    --bs-pagination-active-bg: var(--color1);
    --bs-pagination-disabled-color: var(--color2);
    --bs-pagination-disabled-border-color: transparent;
    display: flex;
    padding-left: 0;
    list-style: none;
}
.btn.btn-light-primary {
    background-color: transparent;
    border: 1px solid var(--color1) !important;
}
.btn.btn-light-primary .svg-icon, .btn.btn-light-primary i {
    color: var(--color1);
    /*background-color: transparent;
    border: 1px solid #c59c6c;*/
    margin-right:0px;
}
.btn-group-sm > .btn:not(.btn-outline):not(.btn-dashed):not(.btn-bordered):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon):not(.btn-hover-outline), .btn:not(.btn-outline):not(.btn-dashed):not(.btn-bordered):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon):not(.btn-hover-outline).btn-sm
{
    padding: calc(.55rem + 1px) calc(0.8rem + 1px);
}
.btn.btn-light-primary:hover:not(.btn-active) {
    color: var(--TextoSobreColor1);
    border-color: var(--color1);
    background-color: var(--color1) !important;
}


.dvParaScroll {
    position: relative;
    pointer-events: none;
}


    .dvParaScroll::before {
    }



@media (min-width:690px) {
    .dvParaScroll::before {
        display: block;
        content: " ";
        margin-top: -230px;
        height: 230px;
        visibility: hidden;
        pointer-events: none;
    }
}

.dvCuadroBordeColor1 {
    border:solid 1px var(--color1);
    color: var(--colorBase);
    padding: 1.25rem;
    margin-bottom: 10px;
}

.dvCuadroColor2 {
    background-color: var(--color2);
    color: var(--colorBase);
    padding: 1.25rem;
    margin-bottom:10px;
}

.modalBackground {
	background-color:Gray;
	filter:alpha(opacity=70);
	opacity:0.7;
}


.paEmerg500 {width:500px;}
.paEmerg600 {width:600px;}
.paEmerg650 {width:650px;}
.paEmerg750 {width:750px;}
.paEmerg850 {width:850px;}
.paEmerg900 {width:900px;}
.paEmerg950 {width:950px;}
@media (max-width: 600px) {
    .paEmerg500 {width:90%;}
    .paEmerg600 {width:90%;}
    .paEmerg650 {width:90%;}
    .paEmerg750 {width:90%;}
    .paEmerg850 {width:90%;}
    .paEmerg900 {width:90%;}
    .paEmerg950 {width:90%;}
}
@media (min-width: 600px) and (max-width: 991px) {
    .paEmerg500 {width:80%;}
    .paEmerg600 {width:80%;}
    .paEmerg650 {width:80%;}
    .paEmerg750 {width:80%;}
    .paEmerg850 {width:80%;}
    .paEmerg900 {width:80%;}
    .paEmerg950 {width:80%;}
}


.table > tr > th > td {
    vertical-align: middle !important;
}

table, tr, th, td {
    vertical-align: middle !important;
}

.btn-check:active + .btn.btn-light-primary, .btn-check:checked + .btn.btn-light-primary, .btn.btn-light-primary.active, .btn.btn-light-primary.show, .btn.btn-light-primary:active:not(.btn-active), .btn.btn-light-primary:focus:not(.btn-active), .btn.btn-light-primary:hover:not(.btn-active), .show > .btn.btn-light-primary {
    color: var(--bs-primary-inverse);
    border-color: var(--color1);
    background-color: var(--color1) !important;
}
.tbLineaColor tr:hover td {
    cursor: pointer;
}

.tooltip-inner {
    max-width:500px;
    border-radius:0.75rem;
}

.dvAyTXTAyuda {
    background-color: white;
    border: solid 1px #cccccc;
    border-radius: 4px;
    padding: 10px;
    max-width: 400px;
    font-weight: normal;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), 0 6px 6px rgba(0, 0, 0, 0.15);
    color: var(--colorBase);
    text-transform:initial;
}

.dvTituloGeneral {
    font-size: 2em;
    color: var(--AzulLogo);
    font-weight: bold;
    padding-top: 10px;
}

.dvTituloGeneralMov {
    font-size: 2em;
    color: var(--AzulLogo);
    font-weight: 400;
    padding-left: 10px;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

    .responsive-table th, .responsive-table td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: left;
    }

@media (max-width: 600px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 1em;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 10px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
    }

        .responsive-table td::before {
            content: attr(data-label);
            position: absolute;
            left: 0;
            width: 50%;
            padding-left: 10px;
            font-weight: bold;
            text-align: left;
            color: #333;
        }

    .responsive-table tr:last-child td {
        border-bottom: none;
    }
}


.solo-impresion {
    display: none;
}

.no-impresion {
}


@media print {
.solo-impresion {
    display: block !important;
}
    body .no-impresion, body .dvParaScroll {
        display: none !important;
    }

    .toolbar-fixed .toolbar {
        position:static;
    }

    .header-fixed.toolbar-fixed .toolbar {
        top: 0px;
        margin-bottom: 10px !important;
    }

    body .mb-15 {
        margin-bottom: 10px !important;
    }

    #kt_wrapper, #kt_content {
        padding-top: 0px !important;
    }

    .row {
        display: block !important;
        clear: both !important;
    }

    .aside-enabled.aside-fixed .wrapper {
        padding-left: 0px;
    }

    .form-control:disabled {
        color: var(--colorBase);
        background-color: white;
/*        border: 1px solid black !important;
        -moz-appearance: none !important;
        appearance: none !important;*/
    }

    .d-flex { display: block !important; }
    [class*="col-"] { float: left !important; display: block !important; box-sizing: border-box !important; }
    .col-md-1 { width: 8.3333% !important; }
    .col-md-2 { width: 16.6667% !important; }
    .col-md-3 { width: 25% !important; }
    .col-md-4 { width: 33.3333% !important; }
    .col-md-5 { width: 41.6667% !important; }
    .col-md-6 { width: 50% !important; }
    .col-md-7 { width: 58.3333% !important; }
    .col-md-8 { width: 66.6667% !important; }
    .col-md-9 { width: 75% !important; }
    .col-md-10 { width: 83.3333% !important; }
    .col-md-11 { width: 91.6667% !important; }
    .col-md-12 { width: 100% !important; }

}


/* Ocultar el input radio */
.rbListCuadroVertical input[type="radio"] {
    display: none;
    vertical-align: top; /* <- CLAVE para que el punto no se caiga */
}

/* Estilo visual del label como botón */
.rbListCuadroVertical td label {
    display: inline-block;
    vertical-align: top; /* <- CLAVE para que el texto alinee con el punto */
    border: 1px solid var(--bs-gray-300);
    border-radius: .475rem;
    padding: 9px 16px 9px 40px;
    cursor: pointer;
    background-color: white;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    color: black;
    margin-right: 10px;
    min-height: 44px;
    line-height: 1.4;
    max-width: 100%; /* opcional si quieres limitar el ancho del botón */
    white-space: normal; /* permite que el texto salte de línea */
}

    /* Punto personalizado */
    .rbListCuadroVertical td label::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 12px;
        width: 18px;
        height: 18px;
        border: 2px solid var(--bs-gray-500);
        border-radius: 50%;
        background-color: white;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    /* Hover: cambia fondo y texto */
    .rbListCuadroVertical td label:hover {
        background-color: var(--color2);
        color: black;
    }

        .rbListCuadroVertical td label:hover::before {
            border-color: gray;
        }

/* Seleccionado: fondo y texto con variables */
.rbListCuadroVertical input[type="radio"]:checked + label {
    background-color: var(--color2);
    border-color: var(--color2);
    color: black;
}

    /* Punto interior cuando está seleccionado */
    .rbListCuadroVertical input[type="radio"]:checked + label::before {
        background-color: var(--color1);
        box-shadow: inset 0 0 0 4px var(--color1);
        border-color: var(--color1);
    }

/* Estilo visual cuando está desactivado */
.rbListCuadroVertical input[type="radio"]:disabled + label {
    background-color: #f4f4f4; /* Gris claro */
    color: #999999; /* Texto gris */
    border-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none; /* Evita eventos como hover */
}

    /* Punto cuando está desactivado */
    .rbListCuadroVertical input[type="radio"]:disabled + label::before {
        border-color: #bbbbbb;
        background-color: #f0f0f0;
    }

/* Ocultar el input radio */
.RadioButtonVertical input[type="radio"] {
    display: none;
    vertical-align: top; /* <- CLAVE para que el punto no se caiga */
}

/* Estilo visual del label como botón */
.RadioButtonVertical label {
    display: inline-block;
    vertical-align: top; /* <- CLAVE para que el texto alinee con el punto */
    border: 1px solid var(--bs-gray-300);
    border-radius: .475rem;
    padding: 9px 16px 9px 40px;
    cursor: pointer;
    background-color: white;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    color: black;
    margin-right: 10px;
    min-height: 44px;
    line-height: 1.4;
    min-width: 545px;
    white-space: normal; /* permite que el texto salte de línea */
}

    /* Punto personalizado */
    .RadioButtonVertical label::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 12px;
        width: 18px;
        height: 18px;
        border: 2px solid var(--bs-gray-500);
        border-radius: 50%;
        background-color: white;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    /* Hover: cambia fondo y texto */
    .RadioButtonVertical label:hover {
        background-color: var(--color2);
        color: black;
    }

        .RadioButtonVertical label:hover::before {
            border-color: gray;
        }

/* Seleccionado: fondo y texto con variables */
.RadioButtonVertical input[type="radio"]:checked + label {
    background-color: var(--color2);
    border-color: var(--color2);
    color: black;
}

    /* Punto interior cuando está seleccionado */
    .RadioButtonVertical input[type="radio"]:checked + label::before {
        background-color: var(--color1);
        box-shadow: inset 0 0 0 4px var(--color1);
        border-color: var(--color1);
    }

/* Estilo visual cuando está desactivado */
.RadioButtonVertical input[type="radio"]:disabled + label {
    background-color: #f4f4f4; /* Gris claro */
    color: #999999; /* Texto gris */
    border-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none; /* Evita eventos como hover */
}

    /* Punto cuando está desactivado */
    .RadioButtonVertical input[type="radio"]:disabled + label::before {
        border-color: #bbbbbb;
        background-color: #f0f0f0;
    }

/* *Marcar el control que tiene el foco*/
.input-focus {
    background-color: #fff9c4 !important;
}


.chkSep label {
    margin-left: 5px;
    display: inline;
}

.tbTablaSimple th {
    background-color: var(--color2) !important;
    color: var(--TextoSobreColor2) !important;
    width: 25%;
    border: solid 1px var(--color2) !important;
}

.tbTablaSimple td, .tbTablaSimple > tbody > tr:nth-of-type(2n+1) > * {
    background-color: white !important;
    --bs-table-bg-type: white !important;
    width: 25%;
    border: solid 1px var(--color2) !important;
}

.MinWidth140 label {
    min-width: 140px;
}

.MinWidth160 label {
    min-width: 160px;
}

.MinWidth170 label {
    min-width: 170px;
}

.MinWidth180 label {
    min-width: 180px;
}

.MinWidth200 label {
    min-width: 200px;
}

.MinWidth210 label {
    min-width: 210px;
}

.MinWidth220 label {
    min-width: 220px;
}

.me-0 {
    margin-right: 0px !important;
}

.paFirmaScroll {
    max-height: 35vh;
    border: solid 2px var(--color2);
    padding: 3px;
    border-radius: .475rem;
}


.paMailCorreduriaScroll {
    max-height: 40vh;
    border: solid 2px var(--color2);
    padding: 3px;
    border-radius: .475rem;
}


.dvAyOpcionesListado {
    color: Black;
    text-align: left;
    padding: 5px 15px 15px 15px;
    font-weight: normal;
    font-size: 14px;
    background-color: #FFFFFF;
    border: solid 1px #fb9142;
}

@media screen and (max-width : 1153px) {
    .dvAyOpcionesListado {
        color: Black;
        text-align: left;
        padding: 5px;
        font-weight: normal;
        font-size: 12px;
        background-color: #FFFFFF;
        border: solid 1px #fb9142;
    }

        .dvAyOpcionesListado .Letra14B {
            font-weight: normal;
            font-size: 12px;
        }

        .dvAyOpcionesListado img {
            width: 13px;
            float: left;
            padding-bottom: 5px;
        }
}

.table:not(.table-bordered) tbody tr:last-child td, .table:not(.table-bordered) tbody tr:last-child th, .table:not(.table-bordered) tfoot tr:last-child td, .table:not(.table-bordered) tfoot tr:last-child th {
    border-bottom: solid 1px var(--color2) !important;
}

table {
    page-break-inside: avoid; /* Evita saltos dentro de la tabla */
}

thead, tfoot {
    display: table-header-group; /* Repite cabecera/pie en cada página */
}

tr, td, th {
    page-break-inside: avoid; /* Evita cortar filas o celdas */
    page-break-after: auto;
}

.tbMin {
    --bs-table-striped-bg: white !important;
}

    .tbMin th {
        background-color: var(--color2) !important;
        color: var(--color1) !important;
        padding: 0.5rem !important;
    }

    .tbMin td {
        padding: 0.5rem !important;
        border-bottom: solid 1px var(--color2) !important;
    }


    .tbMin .form-control {
        padding: 5px !important;
        font-weight: bold;
        line-height: 1;
        height: 35px;
        min-height: 35px;
    }

    .tbMin .input-group-text {
        padding: 5px 10px;
    }

    .tbMin .input-group-right i {
        font-size: 1.2rem !important;
    }


.input-group input.form-control.input-group-left[type="text"] {
    text-align: right;
    background-position: left calc(.375em + .225rem) center !important;
}

    .input-group input.form-control.input-group-left[type="text"]:disabled {
        background-color: #f5f5f7 !important;
        color: var(--bs-gray-700) !important;
    }

.form-control:disabled {
    background-color: #f5f5f7 !important;
    color: var(--bs-gray-700) !important;
}

.input-group .has-error input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="radio"]) {
}

.dvMensaje {
    border: solid 1px var(--color2);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 5px;
    max-width: 90%;
}

.dvMensajePropio {
    background-color: var(--color2);
    margin-left: 20%;
    border: solid 1px var(--color1);
}

.dvMensajeNombre {
    font-size: 0.8em;
    font-weight: 400;
}

.dvMensajeFecha {
    font-size: 0.8em;
    color: gray;
}

.dvMensajeComentario {
    font-size: 0.9em;
    color: var(--colorBase);
}

.MarginTop3 {
    margin-top: 3px;
}
.MarginTop38 {
    margin-top: 38px;
}

.dvBotonPaso {
    text-align: left;
    padding: calc(.575rem + 1px) calc(1rem + 1px) !important;
}
    .dvBotonPaso i {
        margin-right:10px;
    }


/* -----  CABECERA FIJA  ----- */
.tabla-fija thead th {
    position: sticky;
    top: 0;
    background: #f0f0f0;
    z-index: 10;
}

/* -----  ESTILO FILAS (igual que ListadoFacturas.ascx)  ----- */
.tabla-fija {
    width: 100%;
    border-collapse: collapse;
}

    .tabla-fija th, .tabla-fija td {
        padding: 6px 10px;
        border-bottom: 1px solid #ddd;
    }

    .tabla-fija tr:hover {
        background: #fafafa;
    }

