@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,800;1,400;1,600&display=swap');
@import url('./css-loader.css');
@import url('./header.css');
@import url('./post.css');
@import url('./inputs.css');
@import url('./checkboxes.css');
@import url('./bootstrap-modified.css');

@import url("./bootstrap-icons.css");


:root {
    --color-blue: rgb(21, 113, 179);
    /* Fuente*/
    --fuentePoppins: 'Poppins', sans-serif;
    --fuenteQuicksand: 'Quicksand', sans-serif;
    --fuenteRoboto: 'Roboto', sans-serif;
    --fuenteMontserrat: 'Montserrat', sans-serif;
    --fuenteNunito: 'Nunito', sans-serif;
    --fuenteHeading: 'Playfair Display SC', serif;
    /* Colores*/
    --BlueRoyal: #3867d6;
    --BlueMarine: #273c75;
    --BlueMarineDarker: #131e3a;
    --BlueMarineLighter: #3a59ae;
    --LightGray: #DCDDE1;
    /* ### Neutral */
    --OffWhite: hsl(36, 100%, 99%);
    --GrayishBlue: hsl(233, 8%, 79%);
    --DarkGrayishBlue: hsl(236, 13%, 42%);
    --GrayDark: #535c68;
    --DarkUde: #1c1d1f;
    --WestAps: #34495e;
    --Midnight: #2c3e50;
    --transicion150ms: all .15s ease-in-out;
}
figure {
    text-align: center;
}
.content img, .container img {
    max-width: 100%;
    height: auto;
}

.user-image {
    object-fit: cover;
}

.bg-main {
    background-color: white;
    color: var(--BlueMarine) !important;
}

.brand-image {
    max-width: 100%;
    margin: 0 !important;
}

body {
    font-family: var(--fuentePoppins);
}

.trix-button.trix-button--icon.trix-button--icon-attach {
    display: none !important;
}

i.hover {
    cursor: pointer;
    scale: 1;
    transition: scale filter 0.2s 0.1s;
}

i.hover:hover {
    scale: 1.1;
    filter: brightness(110%);
}

.end-0 {
    right: 0;
}

.fs {
    font-size: small;
}

.h-fit-content {
    height: fit-content;
}

.input-icon {
    position: absolute;
    right: 1em;
    top: calc(50% - 0.5em);
    color: #d9d9d9;
}

.input-wrapper input {
    padding-right: 2em !important;
}

.input-wrapper {
    position: relative;
}


.not-click {
    pointer-events: none;
}

.start-0 {
    left: 0;
}

.top-0 {
    top: 0;
}


/*=============================================
=            ADMIN PANEL            =
=============================================*/

.tabla-responsive {
    width: 100%;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 2px 0px gray;
    font-family: 'Poppins' sans-serif;
}

.tabla-responsive thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.tabla-responsive th {
    font-weight: 600;
    font-size: 14px;
    padding: 0.7em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FAFAFA;
}

.tabla-responsive tbody tr td {
    color: #252525;
    font-size: 12px;
}

.tabla-responsive tfoot tr td {
    font-size: 12px;
    font-weight: 700;
}
.tabla-responsive tbody tr:hover, .tabla-responsive tbody tr:nth-of-type(even):hover {
    background-color: #dfe4ea;
}

.tabla-responsive tbody tr:nth-of-type(even) {
    background-color: #eee;
}

.tabla-responsive th,
.tabla-responsive td {
    padding: 5px 10px;
    text-align: left;
}

.tabla-responsive th {
    /* background-color: var(--secondary); */
    background-color: #3b6dd5;
}

.tabla-responsive th.dark {
    background-color: #343a40;
}

.tabla-responsive img {
    cursor: zoom-in;
    height: 5em;
    width: 100%;
    max-width: 8em;
    object-fit: cover;
    transition: transform 0.5s ease-in;
}

.tabla-responsive img:hover {
    transform: scale(110%);
}

i.historial {
    cursor: pointer;
    color: #5986a2 !important;
    font-size: 16px;
}

i.historial:hover {
    animation-name: rotate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes rotate {

    0%,
    100% {
        transform: rotate(-30deg);
    }

    50% {
        transform: rotate(30deg);
    }
}

/*----------  Responsive  ----------*/
@media (max-width: 668px) {

    .tabla-responsive {
        box-shadow: none;
    }

    .tabla-responsive thead {
        display: none;
    }

    .tabla-responsive,
    .tabla-responsive tbody,
    .tabla-responsive tr,
    .tabla-responsive td {
        display: block;
    }

    .tabla-responsive tr {
        margin-bottom: 15px;
        display: block;
        background-color: #ddeff8;
        border-radius: 5px;
    }

    .tabla-responsive tbody tr:nth-of-type(even) {
        background-color: var(--LightGray);
    }

    .tabla-responsive tbody tr td {
        display: block;
        text-align: right;
    }

    .tabla-responsive tbody tr td:last-child {
        border-bottom: 0;
    }

    .tabla-responsive tbody tr td::before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 12px;
        font-weight: 700;
    }
}

/* Tabla que no lleva headers */
.tabla-no-headers tbody tr td {
    padding: 10px;
    text-align: center;
}

.tabla-no-headers tbody tr td input[type=checkbox] {
    height: 20px;
    width: 20px;
    border-radius: 5px !important;
}

/*=====  End of ADMIN PANEL  ======*/


/*=============================================
=                    Modal                   =
=============================================*/
.modal-header {
    /* background-color: var(--BlueMarine); */
    color: var(--BlueMarine);;
    border: none;
    font-weight: 700;
    font-family: var(--fuenteQuicksand);
}

.modal-header .close {
    color: var(--BlueRoyal);
}

.modal-footer {
    border: none;
}

.modal-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    margin: 0;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
}


.modal-fullscreen .modal-body {
    overflow-y: auto;
}

.modal-title {
    color: var(--BlueMarine);
    text-transform: uppercase;
    font-family: var(--fuentePoppins);
    font-weight: 600;
}

/*=====  End of Modal  ======*/


/*=============================================
=                   General                   =
=============================================*/
#divisor {
    width: 100%;
    margin: 1em;
    height: 2px;
    background-color: #d9d9d9;
}

.pointer {
    cursor: pointer;
}

.w-available {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
}

/*=====  End of Modal  ======*/


/*=============================================
=                   Tareas                    =
=============================================*/
#tareas-alumnos .grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

#tareas-alumnos .encabezado {
    background-color: var(--BlueRoyal);
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 5px 10px;
}

#tarea-enviada {
    border: 1px solid #49454F;
    border-radius: 5px;
    padding-block: 1em;
    background: #FFF;
    font-size: 14px;
}

@media (min-width: 820px) {
    #tareas-alumnos .grid {
        grid-template-columns: 3fr 1fr;
    }

}

#tarea-clase {
    background: rgba(192, 224, 254, 0.656);
    margin: 0 1em;
    padding: 1em 2em;
    position: relative;
    height: 100%;
}

#tarea-clase h1 {
    border-bottom: 2px solid #4b68b1;
    font-family: var(--fuenteRoboto);
    font-size: 28px;
    color: var(--BlueMarine);
    letter-spacing: 2px;
    text-transform: uppercase;
}

#tarea-clase p {
    font-family: "Lato", "Roboto", sans-serif;
    font-size: 1.1em;
    padding-left: 1.5em;
}

#tarea-clase p::before {
    content: "";
    background: #63afff;;
    display: block;
    height: calc(100% - 90px);
    left: 2em;
    position: absolute;
    top: 3.5em;
    width: 10px;
}

@media (max-width: 819px) {
    #tarea-clase {
        margin: 0;
    }

    #tarea-clase h1 {
        font-size: 20px;
    }

    #tarea-clase p::before {
        left: 1em;
    }

    #tarea-clase p {
        padding-left: 1em;
        font-size: 1em;
    }

    #tareas-alumnos .main-title {
        font-size: 24px;
    }
}


/*=========  End of Tareas   ==========*/

.grid.grid-2cols {
    grid-template-columns: 1fr 1fr !important;
}

.grid-invert {
    grid-template-columns: 3fr 1fr !important;
}

#mantenimiento {
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: black;
    color: white;
    left: 255px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    color: purple;
}


/* Fonts */

.fontP {
    font-family: var(--fuentePoppins);
}

.fontQ {
    font-family: var(--fuenteQuicksand);
}

.fontR {
    font-family: var(--fuenteRoboto);
}

.fontM {
    font-family: var(--fuenteMontserrat);
}

.fontN {
    font-family: var(--fuenteNunito);
}

.fontH {
    font-family: var(--fuenteHeading);
}

/* Font weight */
.fw-1 {
    font-weight: 100;
}

.fw-2 {
    font-weight: 200;
}

.fw-3 {
    font-weight: 300;
}

.fw-4 {
    font-weight: 400;
}

.fw-5 {
    font-weight: 500;
}

.fw-6 {
    font-weight: 600;
}

.fw-7 {
    font-weight: 700;
}

.fw-8 {
    font-weight: 800;
}

.fw-9 {
    font-weight: 900;
}


/*=============================================
=                TABLA ARCHIVOS               =
=============================================*/
.tabla-files {
    background-color: white;
    width: 100%;
    font-weight: 600;
    font-family: var(--fuenteQuicksand);
}

.tabla-files td {
    vertical-align: middle;
}

.text-colorfull {
    text-align: center;
    background: -webkit-linear-gradient(0deg, #00b3ff 0%, #1d51fd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.tabla-files td:nth-child(2) {
    color: var(--BlueRoyal);
}

.tabla-files td:nth-child(4) {
    color: var(--GrayishBlue);
}

.tabla-files button {
    margin: 0;
    padding: 5px 20px;
    border: 1px solid var(--BlueRoyal);
    border-radius: 10px;
    background-color: white;
    color: var(--BlueRoyal);
}

.tabla-files button:hover {
    color: white;
    font-weight: 500;
    background-color: var(--BlueRoyal);
}

/*=========  End of Tabla archivos  =========*/

/*=============================================
=                    TAGS                    =
=============================================*/
ul.list-tags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
}

li.tag {
    background-color: var(--color);
    color: var(--fontColor);
    border-radius: 40%;
    display: inline-block;
    padding: 0.25em 0;
    padding-right: 1.4em;
    padding-left: 0.25em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.4rem;
}

li.tag i {
    opacity: 0;
}

li.tag i:hover {
    opacity: 1;
    pointer-events: unset;
    cursor: pointer;
    color: var(--fcolor);
}

/*=========  End of Tags  =========*/


.collapsible-content {
    display: none;
    /* Oculta el contenido por defecto */
}

.collapsible-btn {
    background-color: #eee;
    color: #333;
    cursor: pointer;
    padding: 10px;
    border: none;
    text-align: left;
    width: 100%;
}

.collapsible-btn:focus {
    outline: none;
}

.collapsible-content.show {
    display: block;
    /* Muestra el contenido cuando se activa */
}

.custom-border{
    border: 1px solid #80bdff;
}

.rotate180 {
    transform: rotate(180deg);
}

pre {
    background: #f0f7ff;
    color: #d80000;
}


.actividades-clase__semana {
    width: 100%;
    padding: 2rem;
    /* box-shadow: 2px 4px 8px 0px #0002; */
    border: 1px solid #acd3fb;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.alert-custom {
    padding: 2em 1.5em;
    background-color: #d2e8fc;
    border: 1px solid var(--primary);
    color: #537ed0;
    font-weight: 600;
    font-family: var(--fuenteQuicksand);
    font-size: 1.1em;
}

.btn-help {
    background-color: transparent;
    color: var(--BlueRoyal);
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 5px;
}
.btn-help::before {
    content: "\f059";
    font-family: 'Font Awesome 6 Free';
}
.btn-help:not(.no-txt)::after {
    content: 'Tutorial';
    margin-left: 3px;
    font-size: 0.8em;
}