﻿body {
    background-color: #F9FAFC;
   /* zoom:90%;*/
}
.swal2-container {
    z-index: 10000 !important;
}
.xert-auth-bg {
    background-image: url('../images/bgauth.png');
}

.xert-bg-admision {
    background-image: url('../images/bgadmision.png');
    background-size: cover; /* La imagen se escala para cubrir completamente el fondo */
    background-position: center; /* Centra la imagen en el fondo */
    background-repeat: no-repeat; /* Evita la repetición de la imagen */
}

.xert-vh-100 {
    height: 100vh;
}

.xert-contenedor-image {
    width: 100%;
    height: 100vh; /* La altura del div, puedes ajustarlo según tus necesidades */
    position: relative; /* Posición relativa para alinear la imagen */
    overflow: hidden; /* Oculta cualquier parte de la imagen que exceda el tamaño del div */
}

    .xert-contenedor-image img {
        position: absolute; /* Posición absoluta para superponer la imagen dentro del div */
        width: 100%; /* Ancho del 100% para que la imagen se ajuste al tamaño del div */
        height: 100%; /* Altura del 100% para que la imagen se ajuste al tamaño del div */
        object-fit: cover; /* Ajusta la imagen para cubrir el tamaño del contenedor */
        top: 0; /* Alinea la imagen en la parte superior del contenedor */
        left: 0; /* Alinea la imagen en la parte izquierda del contenedor */
    }

.xert-page-header-container {
    background-color: white;
    margin-top: -30px;
    margin-bottom: -48px;
    padding: 60px;
}

    .xert-page-header-container .xert-page-header-text-title {
        display: flex;
        align-items: center;
    }

        .xert-page-header-container .xert-page-header-text-title .xert-icon {
            margin-right: 10px;
        }

.xert-page-header-text-subtitle {
    color: #828caa;
    font-weight: 200;
}

.xert-label-small {
    font-size: small;
    color: #828caa;
}

.xert-label-small-small {
    font-size: 10px;
    color: #828caa;
}

.xert-avatar-leccion {
    width: 30px;
}

.xert-opciones-leccion {
    width: 150px;
}

.xert-table-nro {
    width: 20px;
}

.xert-table-foto {
    width: 50px;
}

.xert-table-nota {
    width: 150px;
}

.xert-table-asistencia {
    width: 50px;
}

.xert-table-boton {
    width: 179px;
}

.xert-fecha-reunion {
    width: 40px;
}

.xert-estado-reunion {
    width: 100px;
}

.xert-logo-responsive {
    display: none;
}

@media only screen and (max-width: 959px) {
    .xert-logo-responsive {
        display: flex;
    }
}

@media only screen and (max-width: 600px) {
    .xert-logo-responsive {
        display: flex;
    }
}
@media only screen and (max-width: 800px) {
    .xert-login-bg {
        display: none;
    }
}

.xert-color-blue {
    color: #0b125f;
}
.xert-color-white {
    color: white;
}

.xert-color-01 {
    background-color: #0b125f;
}
.xert-color-04 {
    background-color: #023f35;
}
.xert-color-05 {
    background-color: #134216;
}
.xert-color-06 {
    background-color: #F57C00;
}
.xert-color-07 {
    background-color: #0b125f;
}
.xert-color-08 {
    background-color: #0b125f;
}
.xert-color-09 {
    background-color: #0b125f;
}
.xert-color-10 {
    background-color: #0f4813;
}
.xert-color-11 {
    background-color: #0b125f;
}
.xert-color-12 {
    background-color: #930c0c;
}
.xert-color-13 {
    background-color: #C0CA33;
}
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

@media only screen and (max-width: 600px) {
    .xert-datos-reunion {
        width: 100%;
    }

    .xert-estado-reunion {
        width: 100%;
    }

    .xert-opciones-reunion {
        width: 100%;
    }

    .xert-fecha-reunion {
        width: 100%;
    }

    .xert-avatar-leccion {
        width: 100%;
    }

    .xert-opciones-leccion {
        width: 100%;
    }

    .xert-table-nro {
        width: 100%;
    }

    .xert-table-foto {
        width: 50px;
        display: flex;
        justify-content: center;
    }

    .xert-table-nota {
        width: 100%;
    }

    .xert-table-asistencia {
        width: 100%;
    }

    .xert-table-boton {
        width: 100%;
    }
}

.drop-zone {
    padding: 20px;
    width: 100%;
    min-height: 100px;
    border: 2px dashed #0087F7;
    border-radius: 5px;
}

    .drop-zone.hover {
        border-style: solid;
    }

.xert-br {
    line-height: 23px;
}

.swal2-container.swal2-shown {
    z-index: 99999;
}

.xert-background-image {
    background-image: url('../images/bgmain.png');
    object-fit: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.xert-pl-88px {
    padding-left: 88px !important;
}

#cover-spin {
    position: fixed; /* Cambiado de fixed a absolute */
    width: 100%;
    height: 100%; /* Ajustado para ocupar toda la altura del contenedor */
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.7);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999999999;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

#p-cover-spin {
    font-size: 17px;
    font-weight: bold;
}


#cover-spin-empty {
    z-index: 999999999;
}

.dxbrv-toolbar .dxbs-toolbar .btn-toolbar > .btn-group {
    background-color: white !important;
}

.dxbl-popup-cell {
    z-index: 10005 !important;
}

.xert-zindex-modal {
    z-index: 1005090;
}

.xert-fecha {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    border: solid 3px;
    border-color: #00c853;
    overflow: hidden;
    background-color: whitesmoke;
}

.xert-date {
    font-size: 20px;
    font-weight: bold;
}

.xert-top-title {
    padding: 84px !important;
    margin: -47px;
}

.xert-border-top-header {
    border-bottom: 1px solid #edf0f2;
    width: 100%;
    margin-bottom: 16px;
}

.xert-border-botton-file {
    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

.xert-mouse-over-hand {
    cursor: pointer;
}

.xert-border-foto {
    border: solid 2px white;
}

.xert-responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.xert-dxgrid-no-header .dxbs-grid-header-row {
    display: none;
}

.xert-label-wrap {
    float: left;
    max-width: 150px;
    font-size: smaller;
    word-wrap: break-word;
    text-transform: lowercase;
}
.xert-login-center-center {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    height: 100vh; /*Opcional: ajusta la altura según tus necesidades */
}

.xert-contenedor-mudlist .mud-list-subheader {
    margin-top: 0;
    margin-bottom: 0;
}

/* Estilo para quitar espacios arriba y abajo de mud-list-subheader-gutters dentro de un contenedor específico */
.xert-contenedor-mudlist .mud-list-subheader-gutters {
    margin-top: 0;
    margin-bottom: 0;
}

.xert-rectangle-color {
    width: 26px; /* Ancho del rectángulo */
    height: 26px; /* Altura del rectángulo */
    background-color: #3498db; /* Color de fondo (puedes cambiarlo según tus preferencias) */
    border: 1px solid #2980b9; /* Borde del rectángulo */
}

.xert-dxgrid-hide-rowlines td {
    border-left-width: 0px;
    border-right-width: 0px;
}

.highlighted-item:hover, .highlighted-item:hover > td {
    background-color: #FAFAFA;
    cursor: pointer;
    color: black;
}

.responsive-iframe {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* Proporción de aspecto 16:9 para videos de YouTube, puedes ajustarlo según tus necesidades */
    height: 0;
}

    .responsive-iframe iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


.xert-container-titulo-toolbar {
    position: relative;
    display: flex;
    min-width: 200px;
    margin-right:10px;
}

.xert-titulo-toolbar-icono {
    width: 30px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xert-titulo-toolbar-titulo {
    height: 25px;
    display: flex;
    align-items: flex-end; /* Ajuste para pegar hacia abajo */
    justify-content: flex-start; /* Ajuste para pegar a la izquierda */
    position: absolute;
    top: 0;
    left: 43px; /* Ajuste de posición */
    font-weight: bold;
    font-size: 14px;
}

/* Estilos del tercer div (azul) */
.xert-titulo-toolbar-descripcion {
    height: 25px;
    display: flex;
    align-items: flex-start; /* Ajuste para pegar hacia arriba */
    justify-content: flex-start; /* Ajuste para pegar a la izquierda */
    position: absolute;
    top: 25px;
    left: 43px; /* Ajuste de posición */
    color: darkgrey;
    font-size: small;
    line-height: 1;
}

.separador-3d {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(255, 255, 255, 0.2) 100%);
    content: '';
}

.xert-toolbar-page-adm {
    background-color: #F9FAFC;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.xert-icon-size-button {
    font-size: 17px; /* Tamaño personalizado según tus necesidades */
}


.xert-button {
    background-color: #FFFFFF;
    color: black;
    border-color: #CED4DA;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

    /* Estilo para el botón cuando el mouse pasa sobre él */
    .xert-button:hover {
        background-color: #E9E9E9;
        color: black;
        border-color: #CED4DA !important;
    }
    .xert-button:active {
        background-color: #CED4DA;
        color: black;
        transform: scale(0.95);
    }

.dxbl-treeview-item-indent {
    min-width: 10px !important; /* Establece la indentación a cero */

}

.xert-size-icon-menu {
    font-size: 16px;
}

.xert-size-icon-toolbar {
    font-size: 18px;
}

.xert-size-icon-title {
    font-size: 26px;
}

.xert-border-color-gray {
    border-color: #838B93;
}
.xert-no-padding-margin{
    padding: 0px;
    margin:0px;
}

.xert-img-quiz {
    /*max-width:400px;
    max-height:200px;*/
    max-width: 100%;
    height: auto;
}

/*    .xert-no-padding-margin .mud-dialog .mud-dialog-content {
        padding: 0px !important;
    }*/

.xert-texto-justificado{
    text-align: justify;
}

.hand-cursor .dx-dropdowneditor-input-wrapper {
    cursor: pointer;
}

.xert-texto-muted {
    color: gray;
    font-style: italic;
}

.xert-texto-cursiva {
    font-style: italic;
}

.fab-container {
    position: fixed;
    bottom: 30px;
    right: 105px;
    cursor: pointer;
}

.fab-container-subsa {
    position: fixed;
    bottom:18px;
    right: 105px;
    cursor: pointer;
}

.xert-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, gray, transparent);
    margin: 10px 0; /* Espaciado opcional */
}

.xert-button-radius {
    border-radius: 23px;
    font-size:15px;
}

/*.dxbl-btn-standalone.dxbl-btn-success.dxbl-lg {
    border-radius: 23px;
}
*/

.xert-button-container-submit {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: none;
    background-image: linear-gradient(90deg, transparent 0%, #e2e8f0 15%, #e2e8f0 85%, transparent 100%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top;
    padding-top: 3px;
    padding-bottom: 7px;
}


/*INICIO Quitar bordes del contenedor principal */
.grid-no-borders {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

    /* Quitar bordes de todos los elementos internos */
    .grid-no-borders *,
    .grid-no-borders *::before,
    .grid-no-borders *::after {
        border: none !important;
        outline: none !important;
    }

    /* Específicamente para elementos conocidos de DevExpress */
    .grid-no-borders .dx-widget,
    .grid-no-borders .dx-datagrid,
    .grid-no-borders .dx-datagrid-wrapper {
        border: none !important;
        box-shadow: none !important;
    }

    /* Hover con esquinas redondeadas */
    .grid-no-borders .dxbl-grid-data-row:hover {
        border-radius: 50px !important;
        background-color: rgba(0, 123, 255, 0.1) !important; /* Azul claro opcional */
    }

        /* Asegurar que las celdas dentro del hover también sean redondeadas */
        .grid-no-borders .dxbl-grid-data-row:hover td:first-child {
            border-top-left-radius: 50px !important;
            border-bottom-left-radius: 50px !important;
        }

        .grid-no-borders .dxbl-grid-data-row:hover td:last-child {
            border-top-right-radius: 50px !important;
            border-bottom-right-radius: 50px !important;
        }





/* INICIO Quitar bordes verticales del grid */

.xert-grid-no-border-vertical.dxbl-grid .dxbl-grid-table > tbody > tr > td {
    border-left-width: 0px;
}

.xert-grid-no-border-vertical.dxbl-grid .dxbl-grid-table > thead > tr > th {
    border-left-width: 0px;
}

/* FIN Quita los bordes horizontales y verticales*/

.xert-notification-lista-alu {
    margin-top: -18px;
    margin-left: 10px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 88vh;
   
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden; /* Previene desbordamiento */
}

.chat-header {
    flex-shrink: 0; /* Evita que el header se encoja */
    border-bottom: 1px solid #eee;
    padding: 10px 10px 4px 5px;
}

.chat-body {
    flex: 1; /* Toma el espacio restante */
    overflow: hidden; /* Contenedor para el scroll */
    display: flex;
    flex-direction: column;
}

.chat-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 7px;
}

    .chat-status.connected {
        background-color: #d4edda;
        color: #155724;
    }

    .chat-status.disconnected {
        background-color: #f8d7da;
        color: #721c24;
    }

.messages-list {
    flex: 1;
    overflow-y: auto; /* Permite scroll solo en los mensajes */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-footer {
    flex-shrink: 0; /* Evita que el footer se encoja */
    border-top: 1px solid #eee;
}

.message {
    max-width: 80%;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    margin: 0.2rem 0;
}

    .message.received {
        align-self: flex-start;
        background-color: #f1f0f0;
    }

    .message.sent {
        align-self: flex-end;
        background-color: #dcf8c6;
    }

.message-header {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.message-time {
    margin-left: 0.5rem;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
}

    .chat-input input {
        flex: 1;
        padding: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 1.5rem;
        outline: none;
    }

    .chat-input button {
        padding: 0.5rem 1.5rem;
        border: none;
        border-radius: 1.5rem;
        background-color: #0d6efd;
        color: white;
        cursor: pointer;
    }

        .chat-input button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }