@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

#form-consulta,
.input,
.inputduoc,
h1,
header {
    box-sizing: border-box
}

#form-consulta,
header {
    column-gap: 20px
}

header,
nav {
    display: flex !important
}

a,
nav>a {
    text-decoration: none
}

#formlogin,
.card,
.card button,
.enviar,
table {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1)
}

.card button:hover,
footer,
header,
th {
    background-color: #1b1b1b
}

.boton,
.card button,
.enviar {
    cursor: pointer
}

#logo-pdf {
    height: 2rem;
    display: none;
    /* border: 1px red solid; */
}

#nombre-alumno,
.card button,
.enviar,
h1 {
    font-weight: 700
}

#nombre-alumno,
.boton {
    text-transform: uppercase
}

.mensaje,
td:nth-last-child(-n+4) {
    text-align: center
}

#contenedor-tabla,
#formlogin {
    /* animation-name: subir;
    animation-duration: 2s */
}

.card button,
.imgleft,
td,
th {
    overflow: hidden
}

* {
    padding: 0;
    margin: 0;
    font-family: Lato, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    scrollbar-width: auto;
    scrollbar-color: #e4e4e4 #f1f1f1
}

#banners {
    width: 48%
}

#banner {
    transform: translatey(20%);
    width: 100%
}

::placeholder {
    color: #bdbdbd;
    opacity: 1
}

a {
    color: #1b1b1b
}

.enviar,
header,
nav>a,
th {
    color: #fff;
    font-size: 1.2rem;
}

.icon-admin {
    filter: brightness(10.5) grayscale(1);
    height: 40%
}

.logos,
header {
    height: 7vh;
    width: 100%
}

.imgleft {
    height: 40vh;
    display: flex
}

header {
    justify-content: space-between;
    align-items: center;
    padding: 0 6vw;
    z-index: 2
}

nav {
    width: 40%;
    justify-content: space-evenly;
    align-items: center
}

nav>a {
    width: inherit
}

.logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    opacity: .1
}

.logos>img {
    width: 7%
}

.imgleft {
    justify-content: center;
    flex-direction: column;
    align-items: center
}

#contenido,
#formlogin {
    background-color: #fff;
    flex-direction: column;
    display: flex
}

#contenido {
    min-height: 100vh;
    align-items: center
}

.content,
.contentlogin {
    justify-content: center;
    display: flex
}

.content {
    column-gap: 2vw;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    row-gap: 6vh
}

.content-datos {
    display: flex;
    row-gap: 3vh;
    max-width: 80%;
    width: 80%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4vh;
    margin: 3vh 0;
    column-gap: 4%
}

.contentlogin {
    width: 100%;
    min-height: 100vh;
    align-items: center;
    background-color: #cbcac7
}

#formlogin {
    justify-content: center;
    align-items: center;
    width: 30%;
    min-width: 500px;
    height: fit-content;
    border-left: 10px solid #ffb800;
    border-radius: 20px;
    row-gap: 45px;
    padding: 6vh 4%
}

.subtitulo {
    font-size: 1.25rem;
    width: 90%
}

table {
    border-collapse: collapse;
    width: 100%
}

td,
th {
    padding: 8px;
    font-size: 1rem;
    width: auto;
    border: 1px solid #d7d7d7
}

footer {
    width: 100%;
    height: 15vh;
    color: #ffa920
}

.card {
    height: 50vh;
    display: flex;
    flex-direction: column;
    width: 20vw;
    border: 2px dotted #e7e7e7;
    border-radius: 20px;
    align-items: center;
    padding: 10px;
    justify-content: space-between
}

.card button,
.custom-file-upload>button,
.enviar,
.input,
.inputduoc,
form,
h1 {
    width: 100%
}

.enviar {
    display: flex;
    justify-content: center;
    height: 3rem;
    border: none;
    background: #ffa920;
    border-radius: 6px;
    font-size: 1.1rem
}

.inputduoc,
label {
    background-color: #fff
}

button>img {
    height: 55%
}

.custom-file-upload {
    position: relative;
    display: inline-block;
    width: 100%
}

.card p {
    color: #5c5c5c;
    /* height: 30% */
}

.card button {
    border: 1px solid #ccc;
    height: 9vh;
    border-radius: 5px;
    transition: background-color .2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    font-size: 1rem;
    color: #5c5c5c
}

.card button:hover {
    color: #cbcac7
}

.custom-file-upload input[type=file]::-webkit-file-name-text {
    color: #000
}

h1 {
    border-left: 4px solid #ffb800;
    font-size: 2rem;
    padding-left: 10px;
    text-align: left
}

.input {
    position: relative
}

.inputduoc {
    height: 3rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    outline: 0;
    padding: 0 10px;
    font-size: 1rem;
    font-weight: 400
}

label {
    position: absolute;
    top: -16px;
    left: 7px;
    z-index: 1;
    padding: 5px
}

#form-consulta {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 48%;
    justify-content: center;
    row-gap: 20px;
    border-radius: 20px;
    align-items: center;
    row-gap: 4vh
}

#pdf {
    width: 200px;
    align-self: flex-end
}

.boton {
    background-color: #ffb800;
    height: 3rem;
    border: none;
    font-size: 1.1rem;
    border-radius: 3rem;
    color: #1a1a1a;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px
}

.boton:hover {
    background-color: #ffc838
}

#nombre-alumno {
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between
}

.mensaje {
    width: 100%;
    font-size: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem
}

#contenedor-tabla {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    transform-origin: top;
    align-items: center;
    z-index: 2;
    overflow: hidden
}

tr:nth-child(2n) {
    background-color: #f4f4f4
}

.fecha-pdf {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

#resultados {
    width: 90%;
    margin: 0px 5%;
}

#titulo-docentes {
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-transform: uppercase;
}

@keyframes subir {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@media(max-width:1480px) {

    #form-consulta,
    .imagen {
        width: 600px
    }

    #banners {
        width: 100%
    }

    #rut_alumno {
        margin: 0px 5%;
        width: 90%;
    }

    #btn-consultar {
        width: 90%
    }

    .card {
        height: fit-content
    }

    .imgleft {
        overflow: hidden
    }

    .content-datos {
        margin: 0
    }

    label {
        left: 35px;
    }
}

@media(max-width:750px) {

    #nombre-alumno,
    td,
    th {
        font-size: .8rem
    }

    #titulo-docentes {
        font-size: 1.3rem;
    }

    #datos-consulta td:nth-child(2),
    #datos-consulta th:nth-child(2) {
        display: none
    }

    #examenes-docente td:nth-child(1),
    #examenes-docente th:nth-child(1),
    #examenes-docente td:nth-child(3),
    #examenes-docente th:nth-child(3) {
        display: none
    }

    .content-datos {
        width: 100%;
        max-width: 190%;
        margin: 0
    }

    .imgleft {
        overflow: hidden
    }

    #contenedor-tabla {
        width: 90%
    }

    .content {
        flex-direction: column;
        row-gap: 2vh
    }

    .card {
        width: 85%
    }

    .fecha-pdf {
        display: flex;
        flex-direction: column;
        width: 100%;
        row-gap: 1rem;
        font-size: .8rem;
    }

    #pdf {
        align-self: center;
        width: 100%;
        margin-bottom: 1rem;
    }


}

@media(max-width:537px) {
    #banner {
        transform: none
    }
}

@media(max-width:331px) {
    #banner {
        height: 100%;
        width: auto
    }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px
}

::-webkit-scrollbar-track {
    background: 0 0
}

::-webkit-scrollbar-thumb {
    background-color: #e4e4e4;
    border-radius: 10px;
    border: 3px solid #e4e4e4
}

::-webkit-scrollbar-thumb:hover {
    background: #e4e4e4
}