[eventproxy^=loginForm] [class^='formTitle'], [eventproxy^=loginForm] [class^='textItemLite']{
    font-size: 18px;
}

[class^='windowHeader'] {
    text-align: center !important;
    width: 400px;
    font-size: 18px;
    font-weight: bold;
}

[eventproxy^=loginForm] [class^='textItemLite'], [class^='windowBackground']{
    border-radius: 10px;
}

.formTitle, .formTitleFocused {
    padding: 10px;
}

[class^='button'] {
    border-radius: 20px;
}

td.formCell>div[class^=staticTextItemLite] img {
    width: 85px;
    height: 100px;
    cursor: pointer;
}

.redondo, .redondoOver, .redondoDown{
    border-radius: 50%;
    cursor: pointer;
}

.botonParcial, .botonParcialOver, .botonParcialDown, .botonParcialFocused, .botonParcialFocusedDown, .botonParcialFocusedOver{
    border-radius: 20px;
    font-weight: bolder;
    cursor: pointer;
    color: white;
    font-family: "Times New Roman" !important;
    text-align: center;
    box-shadow: 1px 1px black;
    background-color: royalblue;
}

.botonRec, .botonRecOver, .botonRecDown, .botonRecFocused, .botonRecFocusedDown, .botonRecFocusedOver{
    border-radius: 20px;
    font-weight: bolder;
    cursor: pointer;
    color: white;
    font-family: "Times New Roman" !important;
    text-align: center;
    box-shadow: 1px 1px black;
    background-color: #dd4151;
}

.botonDis, .botonDisOver, .botonDisDown, .botonDisFocused, .botonDisFocusedDown, .botonDisFocusedOver{
    border-radius: 20px;
    font-weight: bolder;
    cursor: pointer;
    color: white;
    font-family: "Times New Roman" !important;
    text-align: center;
    box-shadow: 1px 1px black;
    background-color: #228b28;
}

[class^='botonParcial']:hover {
    color: #ffffff !important;
    background-color: #157fcc !important;
    border: 1px solid #157fcc;
    box-shadow: 0 0 0.2em 0.1em #1f99ef !important;
}

[class^='botonRec']:hover {
    color: #ffffff !important;
    background-color: #dd4151 !important;
    border: 1px solid #dd4151;
    box-shadow: 0 0 0.2em 0.1em #dd4151 !important;
}


[class^='botonDis']:hover {
    color: #ffffff !important;
    background-color: #228b22 !important;
    border: 1px solid green;
    box-shadow: 0 0 0.2em 0.1em green !important;
}

body {
    margin: 0;
    padding: 0;
    color: white;
    display: flex;
    min-height: 100vh;
    min-width: 100vw;
    overflow-x: hidden;
}

aside, main {
    width: 100%;
    display: flex;
}

aside {
    /*background-image: url("../images/fondo_califik.jpg");*/
    background-color: rgba(34, 134, 182, 14.85);
    background-attachment: fixed;
    background-size: contain;
    align-items: center;
    justify-content: flex-end;
}

aside div {
    text-align: center;
    width: 100%;
    font-size: 25pt;
    font-family: Candal;
}

main {
    align-items: center;
    justify-content: center;
}

@media screen and (max-device-width: 799px){
     body {
         display: flex; /* Convierte el body en un contenedor flexible */
         flex-direction: column; /* Alinea los elementos en columna */
    }

    aside {
        flex: 1; /* El aside ocupa el 50% */
        align-items: baseline;
        background-color: #ffffff;
        color: black;
    }

    aside div {
        text-align: center;
        width: 100%;
        font-size: 15pt;
        font-family: Candal;
    }

    main {
        flex: 1; /* El main ocupa el 50% */
        background-color: #ffffff;
    }

    [eventproxy^=loginForm] [class^='textItemLite'], [class^='windowBackground']{
        border-radius: 10px;
        border: 1px solid #d0d0d0;
        box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.05);
    }
}

[eventproxy^=imgColegio] img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}

[eventproxy^=imgColegio] {
    display: flex;
    justify-content: center;
}

#mensaje-instalacion {
    position: fixed; /* Lo fija en la pantalla */
    top: -35px; /* Lo coloca cerca de la parte inferior */
    left: 50%; /* Lo centra horizontalmente */
    transform: translateX(-50%); /* Centrado fino */
    background-color: #f0f8ff; /* Color de fondo suave */
    color: #333; /* Color de texto oscuro */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra sutil */
    text-align: center;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    width: 90%; /* Ancho adaptable */
    max-width: 400px; /* Ancho máximo en pantallas grandes */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideUp 0.5s ease-out; /* Animación de deslizamiento */
}

#mensaje-instalacion p {
    margin-bottom: 15px;
}

#mensaje-instalacion button {
    background-color: #007bff; /* Color azul para el botón principal */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

#mensaje-instalacion button:hover {
    background-color: #0056b3; /* Color más oscuro al pasar el ratón */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 600px) {
    #mensaje-instalacion {
        width: 95%; /* Ajuste para pantallas pequeñas */
        padding: 15px;
    }
}

.fuenteLetra {
    font-family: Verdana;
    cursor: pointer;
    color: white;
}

.fuenteLetraProfesor {
    font-family: Verdana;
    color: white;
    cursor: pointer;
}

/*titulos calificador*/
.tituloArtistica
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloArtistica:before
{
    content:url('../images/iconos/calificador/Artistica.png');
    margin-right: 3px;
}
.tituloArtisticaOver
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloArtisticaOver:before
{
    content:url('../images/iconos/calificador/Artistica.png');
    margin-right: 3px;
}

.tituloAula
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloAula:before
{
    content:url('../images/iconos/calificador/Aula.png');
    margin-right: 3px;
}
.tituloAulaOver
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloAulaOver:before
{
    content:url('../images/iconos/calificador/Aula.png');
    margin-right: 3px;
}

.tituloExtraAula
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloExtraAula:before
{
    content:url('../images/iconos/calificador/ExtraAula.png');
    margin-right: 3px;
}

.tituloCovid
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloCovid:before
{
    content:url('../images/iconos/calificador/covid_mini.png');
    margin-right: 3px;
}

.tituloExtraAulaOver
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloExtraAulaOver:before
{
    content:url('../images/iconos/calificador/ExtraAula.png');
    margin-right: 3px;
}

.tituloValores
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloValores:before
{
    content:url('../images/iconos/calificador/Valores.png');
    margin-right: 3px;
}
.tituloValoresOver
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloValoresOver:before
{
    content:url('../images/iconos/calificador/Valores.png');
    margin-right: 3px;
}
.tituloCovidOver
{
    font-size: 9pt;
    color: white;
    font-weight: bold;
}
.tituloCovidOver:before
{
    content:url('../images/iconos/calificador/covid_mini.png');
    margin-right: 3px;
}

[class^='menuAvatar'] {
    color: #f0f0f0;
}

.imgWhite {
    filter: brightness(50);
}

.transparente
{
    color: transparent;
}

.about {
    background-size: cover;
    --opacidad: 0.8;
    background-image: linear-gradient(rgba(255, 255, 255, var(--opacidad)), rgba(255, 255, 255, var(--opacidad))), url("../images/lineas.png");
    background-color: white;
}

@font-face {
    font-family: 'Candal';
    src: url('../fonts/Candal-Regular.ttf');
}

.hoverMenuEstilo {
    background-color: white;
    color: black;
}

/* Contenedor principal para centrar el editor */
.editor-container-wrapper {
    max-width: 800px;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Asegura que las sombras y bordes se vean bien */
}

/* Estilos para la barra de herramientas definida en HTML */
#toolbar-container {
    border: 1px solid #e0e0e0;
    padding: 10px;
    background-color: #f8f8f8;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex; /* Usar flexbox para alinear los grupos de botones */
    flex-wrap: wrap; /* Permitir que los grupos de botones salten de línea */
    gap: 5px; /* Espacio entre grupos de botones */
}

/* Estilo para los grupos de formatos en la barra de herramientas */
.ql-formats {
    margin-right: 10px; /* Espacio entre los grupos de formatos */
    border-right: 1px solid #eee; /* Separador visual entre grupos */
    padding-right: 10px;
}

.ql-formats:last-child {
    border-right: none; /* Eliminar el borde del último grupo */
}

/* --- ESTILOS CLAVE PARA EL EDITOR DE TAMAÑO FIJO --- */
div[id$=_quillEditor] {
    /* Define una altura fija para el contenedor del editor */
    max-height: 300px; /* Puedes ajustar este valor según tus necesidades */
    overflow-y: auto ;
    border: 1px solid #e0e0e0;
    border-top: none; /* Para que se vea continuo con el toolbar */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #fff;
}

/* Ajuste para el contenido interno de Quill */
/* .ql-editor es el div interno donde se escribe el contenido */
.ql-editor {
    /* Hace que el área de edición ocupe el 100% de la altura de su padre (#editor) */
    height: 100%;
    /* ¡IMPORTANTE! Esto asegura que el scroll aparezca internamente cuando el contenido desborda */
    overflow-y: auto;
    /* Un poco de espacio al final para que el cursor no quede pegado */
    padding-bottom: 20px;
    line-height: 1.6; /* Mejora la legibilidad */
    font-size: 1.1em;
}

/* Estilos para las imágenes dentro del editor */
.ql-editor img {
    max-width: 100%; /* Asegura que las imágenes no desborden el editor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Para que la imagen ocupe su propia línea */
    margin: 10px auto; /* Centra la imagen y le da algo de margen */
    border-radius: 4px; /* Bordes redondeados para las imágenes */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra suave para las imágenes */
}

/* Estilos para los botones de la barra de herramientas */
.ql-toolbar button, .ql-toolbar select {
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.ql-toolbar button:hover, .ql-toolbar select:hover {
    background-color: #e0e0e0;
}

.ql-toolbar button.ql-active {
    background-color: #d0d0d0;
}

/* Estilo para imágenes que han sido eliminadas del servidor */
.ql-editor img.deleted-image {
    border: 2px dashed #ff0000; /* Borde rojo para indicar que está rota */
    opacity: 0.7; /* Ligeramente transparente */
    background-color: #ffe0e0; /* Fondo claro */
    content: url('../images/deleted_image.png'); /* Placeholder visual */
}

/* --- NUEVO ESTILO: Centrar el cuadro flotante (tooltip) de Quill --- */
.ql-tooltip {
    /* Asegura que el tooltip se posicione en relación a la ventana del navegador */
    position: fixed !important;
    /* Centra horizontalmente */
    left: 50% !important;
    /* Centra verticalmente */
    top: 50% !important;
    /* Desplaza el elemento la mitad de su propio ancho/alto para un centrado perfecto */
    transform: translate(-50%, -50%) !important;
    /* Asegura que esté por encima de otros contenidos */
    z-index: 10000 !important;
    /* Opcional: añade un poco de estilo extra para que se vea mejor */
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

.ql-editor .ql-invalid-video {
    display: block;
    margin: 15px auto;
    width: 300px; /* Tamaño del placeholder */
    height: 150px;
    background-color: #ffe0e0;
    border: 2px dashed #e74c3c;
    color: #e74c3c;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.2em;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 4px;
}
.ql-editor .ql-invalid-video::before {
    content: "🚫"; /* Icono de prohibición */
    font-size: 2em;
    margin-bottom: 5px;
}

.card {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
    background-color: #fff;
    overflow: hidden;
}

.card-header {
    background-color: #0288d1;
    color: #fff;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.card-title {
    margin: 0;
    font-size: 1.2em;
}

.card-body {
    padding: 15px;
    color: #333;
}

.card-description {
    margin: 0;
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9em;
}

.author-info, .post-date {
    display: inline-block;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin: 5px 20px;
}

.reply-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: #555;
}

.reply-button {
    background-color: rgba(40,167,69,1.65);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9em;
}

.reply-button:hover {
    background-color: #218838;
}

.delete-button {
    background-color: rgba(213,10,27,0.8);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9em;
}

.delete-button:hover {
    background-color: #ff3838;
}

[class^='headerButton'][class*='Rotated'] > div div {
    width: 100% !important;
}

[class^='headerButton'][class*='Rotated'] div div div {
    white-space: pre-wrap !important;
}

[class^=TituloPago] {
    font-size: 20px;
    font-weight: bold;
    color: green;
}