@charset "utf-8";
/* CSS Document */

/* App Configuration */
:root {
    --ct-leftbar-width: 290px;
}

/* Small Screen */
@media only screen and (min-width: 600px) {
    #image-full-preview img {
        max-width: 100%;
        max-height: 90%;
    }
}

/* Medium Screen */
@media only screen and (min-width: 768px) {
    .chat-offcanvas {
        width: 50% !important;
    }
    .assistant-chat-offcanvas{
        width: 50% !important;
    }
}

/* Large Screen */
@media only screen and (min-width: 992px) {
    .chat-offcanvas {
        width: 30% !important;
    }
    .assistant-chat-offcanvas{
        width: 50% !important;
    }
    #image-full-preview img {
        min-height: 100%;
    }
}

/* Extra Large Screen */
@media only screen and (min-width: 1200px) {}

/* Fix para alinear textos a la izquierda en formato 'responsive' en columnas que se alinean a la derecha */
ul.dtr-details>li.text-end {
    text-align: left!important;
}

.end-bar {
    background-color: #fff;
    -webkit-box-shadow: 0 0 24px 0 rgb(49 58 70 / 10%), 0 1px 0 0 rgb(49 58 70 / 8%);
    box-shadow: 0 0 24px 0 rgb(49 58 70 / 10%), 0 1px 0 0 rgb(49 58 70 / 8%);
    display: block;
    position: fixed;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    width: 480px;
    z-index: 9999;
    float: right !important;
    right: -490px;
    top: 0;
    bottom: 0;
    padding-bottom: 80px;
}

.dropdown-icon-logo {
    font-size: 36px !important;
}

.login-logo {
    height: auto !important;
    max-width: 250px;
}

.portal-logo {
    max-height:55px;
    max-width:100%;
}

/* Margen del logo tamaño sm (clase px-1 de bootstrap) */
.leftside-menu .logo {
    padding-right: 0.375rem !important;
    padding-left: 0.375rem !important;
}

.logo-lg img {
    max-height: 55px !important;
    max-width: 100% !important;
    height: auto !important;
}

.logo-sm img {
    max-height: 55px !important;
    max-width: 100% !important;
    height: auto !important;
}


/* scrollbar parecido al del template que funciona con css nuevo y compatible con todos los navegadores  */
.scrollbar{
    scrollbar-color: var(--bs-primary) var(--bs-light);
    scrollbar-width: thin;
}

/* barra de avisos  */
.navbar-advices, .navbar-advices-too-many {
    margin-top: 70px;
    padding-top: 10px;
    z-index: 1;
}

.navbar-advices .btn_hide_detail_alert, .btn_show_too_many{
    cursor: pointer;
}
.navbar-advices .span_hide_detail_alert {
    display: none;
}
.navbar-advices.hide-advices{
    display: none;
}
/* Fin barra de avisos */

/* Fix para corregir el espacio entre columnas (select y título) de las vistas 'Mis Mensajes' */
.email-list > li .email-sender-info .email-title {
    left: 50px;
}

a.custom-accordion-title::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

a.custom-accordion-title:not(.collapsed)::after{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}


.arrow-content {
    float: right;
    font-size: 2em;
    margin-top: -10px;
}

/* Colores de fondo de Detalle de Actividades */
.backlvl1{
    background-color:#e3e5fd;
    padding:10px;
    color: #000;
}

.backlvl2{
    background-color:#d7eff6;
    padding:10px;
    color: #000;
}

.backlvl3{
    background-color:#ffe5ce;
    padding:10px;
    color: #000;
}

.backlvl4{
    background-color:#fff2cc;
    padding:10px;
    color: #000;
}


/* con esto cuando el menú de la izquierda esta "condensed", se mantiene fijo  */
body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) .wrapper .leftside-menu {
    position: fixed;
    padding-top: 0;
    width: 70px;
    z-index: 5;
    padding-top: 70px;
}

/* Ajuste de altura */
body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) {
    min-height: auto;
}

.code-container {
    text-align: center;
}

.input-code {
    width: 30px;
    height: 40px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    color: var(--label-text);
    /*border: 1.5px solid var(--text-secondary);*/
    border-radius: 0.6vw;
    margin-right: 1vw;
}

.input-code::placeholder {
    color: var(--text-secondary);
}

.input-code:focus {
    border-color: var(--button);
    outline: none;
}

.input-code[type=number]::-webkit-inner-spin-button,
.input-code[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/***************   Portal sin menú ************/
.content-page-no-menu {
    overflow: hidden;
    padding: 70px 12px 65px;
    min-height: 100vh;
}

.content-page-no-menu .navbar-custom {
    left: 0 !important;
    padding-left: 0;
}

.content-page-no-menu .footer {
    left: 0 !important;
}

.content-page-no-menu .logo {
    width: auto;
}

.content-page-no-menu .btn-registry {
    margin-top: 20px;
}
/************ Fin   Portal sin menú **********/


/************* Community ***************/

.communityCorrect {
    border: 3px solid green;
    padding: 5px;
}

.iconCorrect {
    float: right;
    color: green;
    font-size: 2em;
}

.listTimeLineCorrect {
    /*border: 3px solid green;
    padding: 5px;
    margin-top: 10px;
    background-color: #354034;*/
}

/************* Fin Community ***********/

/************* Image Mask ***************/
/* ZoomIn Hover-Mask Effect :: https://codepen.io/alicevega/pen/vEWXGL :: https://codepen.io/ArnaudBalland/pen/vGZKLr*/
.hover-mask a {
    display: block;
    position: relative;
    overflow: hidden;
}
.hover-mask img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.hover-mask:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
.hover-mask a h5 {
    color: #FFFFFF;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    height: 100%;
    width: 100%;
    padding: 35% 20px;
    text-align: center;
    background-color: rgba(0,0,0,0.4);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}
.hover-mask:hover a h5 {
    color: #FFFFFF;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.hover-mask .mdi {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    color: #fff;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}
.hover-mask:hover .mdi {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
    opacity: 1;
}
/************* END Image Mask ***************/



/* TagsInput */
/*.bootstrap-tagsinput .tag {
    color: #000;
}*/

/************* Colores personalizados ***************/

/* Border */
.border-pink {
    border-color: rgb(251, 91, 226) !important;
}
.border-lime {
    border-color: rgb(131, 204, 6) !important;
}
.border-orange {
    border-color: rgb(253, 126, 20) !important;
}
.border-blue {
    border-color: rgb(13, 110, 253) !important;
}
.border-violet {
    border-color: rgb(165, 111, 181) !important;
}
.border-warning {
    border-color: rgb(255, 183, 0) !important;
}

/* Text */
.text-pink {
    color: rgb(251, 91, 226) !important;
}
.text-lime {
    color: rgb(131, 204, 6) !important;
}
.text-orange {
    color: rgb(253, 126, 20) !important;
}
.text-blue {
    color: rgb(13, 110, 253) !important;
}
.text-shadow {
    text-shadow: 1px 1px #000000a1;
}
.text-shadow-light {
    text-shadow: 1px 1px #a9a9a9b8;
}
.text-violet {
    color: rgb(165, 111, 181) !important;
}
.text-warning {
    color: rgb(255, 183, 0) !important;;
}

/* Background */
.bg-pink {
    background-color: rgb(251, 91, 226) !important;
}
.bg-lime {
    background-color: rgb(131, 204, 6) !important;
}
.bg-orange {
    background-color: rgb(253, 126, 20) !important;
}
.bg-blue {
    background-color: rgb(13, 110, 253) !important;
}
.bg-violet {
    background-color: rgb(165, 111, 181) !important;
}
.bg-warning {
    background-color: rgb(255, 183, 0) !important;
}

/* Background lighten */
.bg-pink-lighten {
    background-color: rgba(251, 91, 226, 0.25) !important;
}
.bg-lime-lighten {
    background-color: rgba(131, 204, 6, 0.25) !important;
}
.bg-orange-lighten {
    background-color: rgba(253, 126, 20, 0.25) !important;
}
.bg-blue-lighten {
    background-color: rgba(13, 110, 253, 0.25) !important;
}
.bg-black-lighten {
    background-color: rgba(0, 0, 0, 0.75) !important;
}
.bg-violet-lighten {
    background-color: rgba(165, 111, 181, 0.25) !important;
}
.bg-warning-lighten {
    background-color: rgba(255, 183, 0, 0.25) !important;
}

/* Background */
.text-bg-pink {
    color: #fff !important;
    background-color: rgb(251, 91, 226) !important;
}
.text-bg-lime {
    color: #fff !important;
    background-color: rgb(131, 204, 6) !important;
}
.text-bg-orange {
    color: #fff !important;
    background-color: rgb(253, 126, 20) !important;
}
.text-bg-blue {
    color: #fff !important;
    background-color: rgb(13, 110, 253) !important;
}
.text-bg-violet {
    color: #fff !important;
    background-color: rgb(165, 111, 181) !important;
}
.text-bg-warning {
    color: rgb(54, 35, 18) !important;
    background-color: rgb(255, 183, 0) !important;
}

/* Botones */
.btn {
    box-shadow: none !important;
}

.btn-warning {
    background-color: rgb(255, 183, 0) !important;
    border-color: rgb(255, 183, 0) !important;
    color: rgb(54, 35, 18) !important;
}

.btn-warning:hover {
    background-color: rgb(255, 195, 44) !important;
    border-color: rgb(255, 195, 44) !important;
    color: rgb(54, 35, 18) !important;
}

/* Ribbon */
.ribbon-box .ribbon-two-warning span {
    background-color: rgb(255, 183, 0) !important;
    color: rgb(54, 35, 18) !important;
}

/* Corrección de color de texto para modal con fondo de color "warning" */
.modal-header.bg-warning {
    color: rgb(54, 35, 18) !important;
}

/* Corrección de color de texto para badge con fondo de color "warning" */
.badge.bg-warning {
    color: rgb(54, 35, 18) !important;
}


/*********** END Colores personalizados *************/



/************ Menu flotante del chat  ****************/
.chat-flotante {
    top: 10px;
    position: fixed;
    width: auto;
    z-index:1050;
}

@media (min-width: 1200px) {
    .chat-flotante {
        right: 400px;
    }
}

@media (max-width: 1200px) {
    .chat-flotante {
        right: 35%;
    }
}

/*********** END Menu flotante del chat  *************/

/************ Textos  ****************/

.crop-text-2 {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.crop-text-3 {
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/************ END Textos ****************/

/************ Blinking backgrounds ****************/

.bg-warning-blink {
    animation:          bg-warning-blink 2s infinite;
    -webkit-animation:  bg-warning-blink 2s infinite; /* Safari 4+ */
    -moz-animation:     bg-warning-blink 2s infinite; /* Fx 5+ */
    -o-animation:       bg-warning-blink 2s infinite; /* Opera 12+ */
}

@keyframes bg-warning-blink {
    0%{background-color: #ffbc0040;}
    50%{background-color: #ffbc0057;}
    100%{background-color: #ffbc0040;}
}

.bg-info-blink {
    animation:          bg-info-blink 2s infinite;
    -webkit-animation:  bg-info-blink 2s infinite; /* Safari 4+ */
    -moz-animation:     bg-info-blink 2s infinite; /* Fx 5+ */
    -o-animation:       bg-info-blink 2s infinite; /* Opera 12+ */
}

@keyframes bg-info-blink {
    0%{background-color: #39afd1;}
    50%{background-color: #2e89a3;}
    100%{background-color: #39afd1;}
}

/************ END Blinking backgrounds ****************/

/************ Chat ****************/

.conversation-list .conversation-text .ctext-wrap {
    float: left !important;
    text-align: left !important;
}

.conversation-list .odd .conversation-text .ctext-wrap {
    float: right !important;
    text-align: right !important;
}

.chatbox_header_min.user-chat-search {
    display: none !important;
}

/************ END Chat ****************/


.borderYellow1px {
    border: 1px solid yellow !important;

    animation: blinkBorderYellow 1s;
    animation-iteration-count: 3;
}

@keyframes blinkBorderYellow { 50% { border-color:#464f5b ; }  }

/******** separador con texto en el medio  *****/

.separator-mid {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 5px;
    color: yellow;
}

.separator-mid::before,
.separator-mid::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid;
}

.separator-mid:not(:empty)::before {
    margin-right: .25em;
}

.separator-mid:not(:empty)::after {
    margin-left: .25em;
}

/* Clase para ancho del 5% */
.w-5 {
    width: 5% !important;
}

/* Clase para ancho del 95% */
.w-95 {
    width: 95% !important;
}



body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) .side-nav .badge, body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) .side-nav .menu-arrow, body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) .side-nav .side-nav-title {
    display: inline !important;
}

/* Modal que ocupa el 90% del ancho de la pantalla */
.modal-wide {
    min-width: 90% !important;
}



/* botones order */
.btn-order-up, .btn-order-down {
    display: block;
    cursor: pointer;
}

/* Flechas de swiper */

.swiper-button-white {
    color: rgba(255, 255, 255, 1);
    text-shadow: rgba(0, 0, 0, 0.75) 0px 0px 8px;
}

/* iframe de videos de Youtube */
.youtube-video-container {
    position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;
}

.youtube-video-container iframe, .video-container object, .video-container embed {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}


/* Procesando de datatable */
div.dataTables_processing {
    top: 10% !important;
}



#accordionCurso i.mdi {
    font-size: 1.5em;
}

/* menú condensed fijo sin mover con el scroll */
.leftside-menu {
    position: fixed !important;
}

/* POPOVER para los "Me gusta" */
.custom-likes-popover{
    width: 100% !important;
    padding: 0 !important;
    --ct-popover-max-width: 200px !important;
    --ct-popover-border-color: var(--ct-info) !important;
    --ct-popover-header-bg: var(--ct-info) !important;
    --ct-popover-header-color: var(--ct-white) !important;
    --ct-popover-body-padding-x: 0rem !important;
    --ct-popover-body-padding-y: 0rem !important;
}

/* Tareas */
.task-list-items {
    min-height: 0px !important;
}

.task-list-items:before {
    content: "" !important;
}

/* QuillEditor */
.ql-mention::before {
    content: '@';
    color: #aab8c5;           /* color base del botón */
    font-weight: bold;
    transition: color 0.2s ease;
}

.ql-mention:hover::before {
    color: #0d6efd;           /* azul estilo enlace Bootstrap */
    cursor: pointer;
}