﻿/*para evitar que el navegador muestre brevemente la plantilla html de AngularJS en su forma sin procesar*/
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.not-cloak {
    display: block !important;
}

.notDisabled[disabled] 
{
    opacity: 1 !important;
}



.sidenav .slimScrollBar {
    display: block !important;
}

/*@media print 
{
    
}*/

/*@media print {
    .col-print-11 {
        width: 49%;
        float: left;
    }
}
@media print {
    .col-print-4 {
        width: 33%;
        float: left;
    }
}
@media print {
    .col-print-5 {
        width: 33%;
        float: none;
    }
}
@media print {
    .col-print-6 {
        width: 33%;
        float: right;
    }
}*/
.btn.btn-gradient-yellowTando {
    color: #fff;
    background-color: #ffa600;
    background: linear-gradient(-90deg, #ffa600, #e89804);
    background: -webkit-linear-gradient(-90deg, #ffa600, #e89804);
    border-color: #e89804;
}

    .btn.btn-gradient-yellowTando:hover, .btn.btn-gradient-yellowTando:focus:not(.disabled):not([disabled]), .btn.btn-gradient-yellowTando.focus:not(.disabled):not([disabled]), .btn.btn-gradient-yellowTando:active:not(.disabled):not([disabled]), .btn.btn-gradient-yellowTando.active:not(.disabled):not([disabled]) {
        background-color: #ffa600;
        background: linear-gradient(-90deg, #e89804, #e89804);
        background: -webkit-linear-gradient(-90deg, #e89804, #e89804);
        border-color: #e89804;
        box-shadow: none;
    }

    .btn.btn-gradient-yellowTando.btn-shadow {
        box-shadow: 0px 5px 10px 2px rgba(0, 132, 255, 0.24) !important;
    }


.bg-danger-ligth2
{
    background-color: #ff9a97 !important;
}

.text-100
{
   font-size: 100%;
}

.tandoNav {
    background: #611232;
    color: #ffffff;
    box-shadow: 2px 2px 15px rgba(188, 189, 197, 0.1) !important;
    border-color: #dee2e6 !important;
}

.page-header.page-portal.page-header-tando {
    background-color: #611232;
}

.page-header.whiteHeader.page-header.page-header-tando .sidenav-btn .navbar-toggler-icon {
    background-color: #611232;
}

    .page-header.whiteHeader.page-header.page-header-tando .sidenav-btn .navbar-toggler-icon:before, .page-header.whiteHeader.page-header.page-header-tando .sidenav-btn .navbar-toggler-icon:after {
        background-color: #611232;
    }

.tandoNav .metisMenu > li.active > .nav-thumbnail {
    background-color: #ffa600;
    background: linear-gradient(-90deg, #ffa600, #e89804);
    background: -webkit-linear-gradient(-90deg, #ffa600, #e89804);
}

.dataTables_wrapper select.form-control.form-control-sm {
    height: calc(1.8125rem + 2px) !important;
}

.nav-pills .nav-item {
    /*flex-grow: 1;*/
    background-color: rgba(0, 132, 255, 0.05) !important;
}

.nav-pills.pills-tando .nav-link.active, .nav-pills.pills-tando .show > .nav-link {
    background-color: #611232 !important;
    color: #ffffff !important;
}

.nav-pills.pills-success .nav-link.active, .nav-pills.pills-tando .show > .nav-link {
    background-color: #94df4a !important;
}

.nav-pills.pills-tando .nav-item {
    background-color: rgba(97,18,50,0.08) !important;
}

.nav-pills.pills-success .nav-item {
    background-color: rgba(148, 223, 74, 0.10980392156862745) !important;
}

.pills-tando .nav-item a:hover {
    color: #611232 !important;
}

.pills-success .nav-item a:hover {
    color: #94df4a !important;
}

.nav-wizard .valid {
    font-weight: bold;
    color: #611232 !important;
}

.nav-wizard li:first-child {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.nav-wizard li:last-child {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.text-tando {
    color: #611232 !important;
}

.input-group-text {
    border-color: #e1eaea !important;
    background-color: rgba(243, 248, 250, 0) !important;
}

textarea {
    resize: none;
}

.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
    position: relative;
}

    .contenedor-arbol ul {
        list-style: none;
    }

    .contenedor-arbol li::before, .contenedor-arbol li::after {
        content: "";
        position: absolute;
        left: -12px;
    }

    .contenedor-arbol li::before {
        border-top: 2px solid #808080;
        top: 9px;
        width: 8px;
        height: 0;
    }

    .contenedor-arbol li::after {
        border-left: 2px solid #808080;
        height: 100%;
        width: 0px;
        top: 2px;
    }

    .contenedor-arbol ul > li:last-child::after {
        height: 8px;
    }

ul.list-left {
    flex-direction: inherit;
}

    ul.list-left > li {
        margin-right: 5px;
    }

        ul.list-left > li:last-child {
            margin-right: 0;
        }

.input-icon-group 
{
    margin-bottom: .15rem !important;
}
label {
    margin-bottom: .15rem !important;
}


.calificacion input[type='radio'] {
    opacity: 0;
}

.calificacion label {
    font-size: 30px;
    color: rgb(150, 150, 150);
    cursor: pointer;
}

.calificacion.no-select label {
    cursor: default;
}

.calificacion.calificacion-hover label:hover {
    color: rgb(255, 230, 0);
}

.calificacion .activo + label {
    color: rgb(255, 230, 0) !important;
}


table thead.error
{
    border-color: #fa625e;
    background-color: rgba(250, 98, 94, 0.1);
    box-shadow: 0px 0px 5px 2px rgba(250, 98, 94, 0.15);
}

    table thead.error td, table thead.error th 
    {
        border-color: #fa625e;
    }

.error div.btn-group > button.form-control.multiselect {
    border-color: #fa625e;
    background-color: rgba(250, 98, 94, 0.1);
    box-shadow: 0px 0px 5px 2px rgb(250 98 94 / 15%);
}

.scrollable-menu {
    height: auto;
    max-height: 150px;
    overflow-x: hidden;
}
.customUi-checkbox.w-100 .label-helper {
    width: calc(100% - 35px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.customUi-radio.w-100 .label-helper {
    width: calc(100% - 35px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.customUi-checkbox.checkboxUi-primary label .label-checkbox {
    border-color: #8cc6fb;
}

.text-nowrap {
    white-space: nowrap;
}

body ::-webkit-scrollbar {
    width: 10px; /*scroll vertical*/
    height: 10px; /*scroll horizontal*/
}
/* Track */
/*body ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}*/

/* Handle */
body ::-webkit-scrollbar-thumb {
    background: #cecdcd;
    border-radius: 5px;
}

/* Handle on hover */
    body ::-webkit-scrollbar-thumb:hover {
        background: #bdbbbb;
    }


.border-2 {
    border-width: 2px !important;
}
.border-3 {
    border-width: 3px !important;
}
.border-4 {
    border-width: 4px !important;
}

.bg-tando, .badge-tando 
{
    background-color: #611232 !important;
    color: #fff;
}

.bg-tando-gray{
    background-color: #808080 !important;
}


.border-tando {
    border-color: #611232 !important;
}

.input-icon-append .multiselect-native-select {
    float: right;
    width: calc(100% - 2.5rem);
    position: relative;
    height: 35px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: .8rem;
}

.multiselect-container div.container-search {
    padding: .25rem;
    margin: 0 !important;
}
.dropdown-menu .dropdown-item {
    color: #495057 !important;
}

.text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

tr.group,
tr.group:hover {
    background-color: #cfe4e4 !important;
    font-weight: bold;
}

.dataTables_length {
    float: left;
}

.dt-button {
    color: #fff !important;
    background: #0084ff !important;
    border-color: rgba(16, 114, 206, 0.4) !important;
    /*text-transform: capitalize !important;*/
    text-align: center !important;
    border-radius: .25rem !important;
}

.img-gafete {
    width: 100%;
    height: 80%;
}

.img-curso {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    margin: auto;
}

.img-evento {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    margin: auto;
}

.modal.show:nth-child(2n) 
{
    z-index: 1051;
}

.modal.show:nth-child(3n) {
    z-index: 1052;
}

.table-res-block tbody td.td-respuesta.colums-2 {
    width: 25% !important;
}

.table-res-block tbody td.td-respuesta.colums-5 {
    width: 10% !important;
}

.th-icon {
    width: 50px;
}

.custom-file-label::after {
    content: "Buscar";
}
.custom-file-label, .custom-file-label::after {
    padding: .5rem .75rem;
}

.daterangepicker select.yearselect,
.daterangepicker select.monthselect {
    border: 1px solid #e1eaea;
    border-radius: 4px;
    padding: .3rem;
}

table.table-form .form-control {
    font-size: .72rem;
    padding: .25rem .55rem;
    height: calc(1.5rem + 2px);
}

table.table-form td
{
    vertical-align: middle;
}

.ui-timepicker-standard {
    border-radius: 5px !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-color: #eee !important;
}

.ui-widget-content,
.ui-timepicker-viewport {
    width: 100% !important;
    height: 100% !important;
}

.ui-menu-item {
    border-bottom: 1px solid #eee !important;
}

.ui-widget-content {
    border: none !important;
    border-radius: 5px !important;
}

.btn.btn-space-normal {
    white-space: normal !important;
    text-transform: initial !important;
}

.div-marker {
    text-align: center;
}

    .div-marker p {
        color: #585757;
        background-color: #ffffffcf;
        text-align: center;
        padding: 0;
        margin: 0;
        font-size: 12px;
    }

    .div-marker img {
        padding: 0;
        margin: 0;
    }

@media (max-width: 991px) {
    .table-res-block tbody td {
        display: block !important;
    }

        .table-res-block tbody td.td-pregunta {
            width: 100% !important;
        }

        .table-res-block tbody td.td-respuesta {
            width: 100% !important;
            float: left;
        }

            .table-res-block tbody td.td-respuesta.colums-2 {
                width: 50% !important;
            }

            .table-res-block tbody td.td-respuesta.colums-5 {
                width: 20% !important;
            }

    .label-help-tit {
        display: none !important;
    }

    .input-icon-group .input-icon-append .form-control,
    select.form-control {
        height: 2.8rem;
        font-size: 1.25rem;
    }

    .input-icon-group .input-icon-append i {
        height: 2.8rem;
        line-height: 2.8rem;
    }

    .btn {
        line-height: 1.70;
    }

    .customUi-radio label .label-radio {
        width: 25px;
        height: 25px;
    }

    .customUi-radio label span.label-helper {
        font-size: .9rem;
    }

}

.table-parent {
    width: calc(100vw - 34px);
    overflow: auto;
}

.dropdown-wrapper {
    width: 100%;
    position: relative;
    max-height: 500px;
}

    .dropdown-wrapper .ae-select {
        padding: 8px;
        position: relative;
        border: 1px solid #ccc;
        height: 20px;
    }

        .dropdown-wrapper .ae-select.chosen {
            color: #333;
        }

        .dropdown-wrapper .ae-select .down-icon, .ae-select .up-icon {
            position: absolute;
            right: 8px;
            top: 7px;
        }

    .dropdown-wrapper .ae-dropdown .dropdown-list {
        background: #fffef3;
        box-shadow: none;
        border-radius: 0px;
    }

        .dropdown-wrapper .ae-dropdown .ae-select, .dropdown-wrapper .ae-dropdown .dropdown-list > li {
            cursor: pointer;
        }

            .dropdown-wrapper .ae-dropdown .dropdown-list > li > a:focus, .dropdown-wrapper .ae-dropdown .dropdown-list > li > a:hover {
                background: none;
            }

    .dropdown-wrapper .ae-disabled {
        pointer-events: none;
    }

.ae-hide {
    display: none;
}

/*ul.dropdown-menu {
    list-style-type: none;
}

ul.dropdown-menu {
    margin: 0px;
    padding: 5px;
    border: 1px solid #ccc;
}*/

ul.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 10rem;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #495057;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #95949b;
    border-radius: 0.25rem;
    list-style-type: none;
}

    ul.dropdown-list li {
        padding: 2px;
        border-bottom: 1px solid #95949b;
    }
        ul.dropdown-list li > a {
            display: block;
        }
            ul.dropdown-list li > a:focus,
            ul.dropdown-list li > a:hover {
                color: #0056b3 !important;
            }

        ul.dropdown-list li:last-child {
            border-bottom: none;
        }

        /*ul.dropdown-list li:focus {
            background: rgb(180 231 251 / 55%);
        }*/

video {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


.table-striped-rank tbody [data-rank="1"] 
{ 
    background-color: #f3f8fa;
}

@media (min-width: 992px) {

    .page-content {
        max-width: calc(100vw - 65px);
    }

    .table-parent {
        width: calc(100vw - 125px);
        overflow: auto;
    }

    .title-mobile {
        display: none !important;
    }
}

@media print {
    .oculto-impresion, .oculto-impresion * {
        display: none !important;
    }

    body.clean-toprint > *:not(#printSection) {
        display: none;
    }

    body.clean-toprint #printSection,
    body.clean-toprint #printSection * {
        visibility: visible;
    }

    body.clean-toprint #printSection {
        position: absolute;
        left: 0;
        top: 0;
    }

    body {
        background-color: #fff;
    }

    /*.table td, .table th 
    {
         background-color: inherit !important; 
         -webkit-print-color-adjust: exact !important; 
    }*/

    .zoom-1 {
        zoom: 0.9;
    }
    .zoom-2 {
        zoom: 0.8;
    }

    .saltopagina {
        break-inside: avoid;
        break-after: auto;
    }

    .table.print td, .table.print th {
        background-color: initial !important;
    }

    .table-bordered.print td, .table-bordered.print th {
        border: 1px solid #e1eaea !important;
    }
}

@media screen {
    body.clean-toprint #printSection {
        display: none !important;
    }
}


.imagen-con-marco-sombra {
    border: 2px solid #ccc; /* Define el marco: grosor, estilo, color */
    /*box-shadow: 2px 2px 5px #999;*//* Define la sombra: desplazamiento horizontal, vertical, desenfoque, color */
}

/* Estilo para cuando el lector está conectado */
.status-connected {
    background-color: #e8f5e9; /* Un verde muy claro */
    border-color: #4caf50; /* Un borde verde */
    color: #2e7d32; /* Texto verde oscuro */
}

/* Estilo para cuando el lector está desconectado o en estado neutro */
.status-disconnected {
    background-color: #f5f5f5; /* Un gris muy claro */
    border-color: #e0e0e0; /* Un borde gris */
}

/* Definición de colores cálidos y modernos FRU20251016*/
:root {
    --primary-color: #4A1528;
    --primary-dark: #4A4A4A;
    --success-color: #2ECC71;
    --danger-color: #E74C3C;
    --light-bg: #FFF8F0;
}

/* Estilos para el modal y encabezado */
.modal-content {
    border-radius: 0.75rem; /* Bordes redondeados */
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.modal-title {
    color: #333; /* Color de texto oscuro para el título */
    font-weight: 600;
}

/* Estilos de las pestañas (Tabs) */
.nav-pills .nav-link {
    color: #555;
    border-radius: 0.5rem 0.5rem 0 0; /* Solo bordes superiores redondeados */
    background-color: #f8f9fa; /* Fondo gris muy claro para pestañas inactivas */
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

    .nav-pills .nav-link.active,
    .nav-pills .nav-link:hover {
        background-color: var(--primary-color);
        color: white;
        font-weight: 500;
    }

.nav-pills.nav-justified .nav-item {
    margin-right: 0.25rem; /* Pequeño espacio entre pestañas */
}

/* Encabezados de sección (Datos Fiscales, etc.) */
.section-header {
    color: var(--primary-dark) !important;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f0f0f0; /* Línea separadora suave */
    padding-bottom: 0.5rem;
}

.Text-tile-Tando {
    color: var(--primary-dark) ;

}

.Icon-title-Tando {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.5rem; /* Icono más pequeño para el encabezado de sección */
}

    .section-header i {
        color: var(--primary-color);
        margin-right: 10px;
        font-size: 1.5rem; /* Icono más pequeño para el encabezado de sección */
    }

/* Estilos de los campos de formulario con iconos */
.input-icon-group .form-control {
    border-left: none;
    padding-left: 0.5rem;
    border-radius: 0 0.25rem 0.25rem 0;
}

/* Input-group con el icono a la izquierda para un estilo moderno */
.input-group-text, .input-icon-append {
    color: #777;
    border-radius: 0.25rem 0 0 0.25rem;
    border-right: none;
}

.input-group .form-control {
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

.form-group label {
    font-weight: 500;
    color: #495057;
}

/* Botones de acción */
.btn-save {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
    font-weight: 500;
}

.btn-cancel {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: white;
    font-weight: 500;
}

/* Mejoras para el feedback de error (asumiendo que 'error' es la clase de ng-class) */
.form-control.error {
    border-color: var(--danger-color);
}

.hover-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .hover-scale:hover {
        transform: translateY(-2px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
        z-index: 1;
    }