.detalle-alumno {
    color: var(--mattes);
    position: relative;
    text-decoration: underline;
}

.chat-box {
    height: 350px;
    overflow-y: scroll;
    margin-top: 40px;
}
  
.enviado {
    background-color: var(--mattes2);
    border-radius: 20px;
    border: none !important;
    color: white;
    padding: 10px;
}
  
.recibido {
    background-color: lightgray;
    border-radius: 20px;
    border: none !important;
    padding: 10px;
}

  
@media(min-width: 576px){
    .detalle-alumno{
        text-decoration: none;   
    }
    .detalle-alumno::after,
    .detalle-alumno::before {
        content: ' ';
        position: absolute;
        width: 40px;
        height: 2px;
        background-color: currentcolor;
        top: 0.6em;
    }
}

@media(min-width: 576px) {
    .detalle-alumno {
        text-decoration: none;
    }

    .detalle-alumno::after,
    .detalle-alumno::before {
        content: ' ';
        position: absolute;
        width: 40px;
        height: 3px;
        background-color: currentcolor;
        top: 0.6em;
    }

    .detalle-alumno::after,
    .detalle-alumno::before {
        width: 100px;
    }

    .detalle-alumno::before {
        left: 20px;
    }

    .detalle-alumno::after {
        right: 20px;
    }
}

@media(min-width: 768px) {
    .detalle-alumno::before {
        left: 110px;
    }

    .detalle-alumno::after {
        right: 110px;
    }
}

@media(min-width: 992px) {
    .detalle-alumno::before {
        left: 230px;
    }

    .detalle-alumno::after {
        right: 230px;
    }
}

@media(min-width: 1200px) {
    .detalle-alumno::before {
        left: 320px;
    }

    .detalle-alumno::after {
        right: 320px;
    }
}

/*Estilos animados a los inputs*/
.form-control,
.dataTables_filter input {
    border-radius: 0px !important;
}

.form__group {
    margin: auto;
    position: relative;
}

.form__input {
    display: block;
    width: 100%;
    background: none;
    color: #000;
    font-size: 18px;
    padding: 8px 12px 8px 5px;
    border: none;
    border: 1px solid #ccc;
    font-family: "Gothic";
}

.form__input:focus {
    outline: none;
    color: #000;
    padding-bottom: 8px;
}

input {
    caret-color: var(--mattes);
}

.form__input:focus+.form__label,
.form__input:not(:placeholder-shown)+.form__label {
    position: absolute;
    top: -23px;
    left: 16px;
    font-size: 18px;
    color: #212529;
    width: 95%;
    font-family: "Gothic";
}

.form__label {
    position: absolute;
    color: #212529;
    font-size: 18px;
    left: 24px;
    top: 6px;
    transition: 0.5s ease all;
    pointer-events: none;
}

input[type=text]:valid:not(:focus):not(:placeholder-shown),
input[type=tel]:valid:not(:focus):not(:placeholder-shown),
input[type=email]:valid:not(:focus):not(:placeholder-shown),
input[type=number]:valid:not(:focus):not(:placeholder-shown),
input[type=date]:valid:not(:focus):not(:placeholder-shown),
select:valid:not(:focus):not(:placeholder-shown),
textarea:valid:not(:focus):not(:placeholder-shown) {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    border: 1px solid #28a745;
    padding-right: calc(1.5em + .75rem) !important;
}

input[type=text]:invalid:not(:focus):not(:placeholder-shown),
input[type=tel]:invalid:not(:focus):not(:placeholder-shown),
input[type=email]:invalid:not(:focus):not(:placeholder-shown),
input[type=number]:invalid:not(:focus):not(:placeholder-shown),
textarea:invalid:not(:focus):not(:placeholder-shown) {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    border: 1px solid #dc3545;
    padding-right: calc(1.5em + .75rem) !important;
}

input[type=text]:invalid:not(:focus):not(:placeholder-shown)~.requirements,
input[type=tel]:invalid:not(:focus):not(:placeholder-shown)~.requirements,
input[type=email]:invalid:not(:focus):not(:placeholder-shown)~.requirements,
input[type=number]:invalid:not(:focus):not(:placeholder-shown)~.requirements,
input[type=date]:invalid:not(:focus):not(:placeholder-shown)~.requirements,
textarea:invalid:not(:focus):not(:placeholder-shown)~.requirements {
    max-height: 200px;
}

.tab {
    width: 100%;
    background-color: #fff;
    border: var(--mattes);
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.datos-alumno .tablinks {
    background-color: white !important;
    color: var(--mattes);
    border-top: 1px solid var(--mattes);
    border-right: 1px solid var(--mattes);
    border-left: 1px solid var(--mattes);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

@media(min-width:768px) {
    .tablinks {
        border-right: 1px solid #0088F7;
        border-left: 1px solid #0088F7;
        border-top: 1px solid #0088F7;
        border-bottom: 1px solid transparent;
    }

    .tab {
        border-bottom: 1px solid var(--mattes);
    }
}

.tab {
    border-bottom: 1px solid #0088F7;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

.tabcontent {
    border: none;
}

.tablinks.active,
.tablinks:hover {
    background-color: #0088F7 !important;
    color: white;
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    width: 650px;
    max-width: 100%;
    padding: 25px;
    border: 1px dashed rgba(33, 140, 230, 10);
    border-radius: 3px;
    transition: 0.2s;
}

.choose-file-button {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(33, 140, 230, 0.6);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.file-message {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

#searchResult {
    list-style: none !important;
    padding: 0px !important;
    width: 250px !important;
    position: absolute !important;
    margin-top: 10px !important;
    min-width: 100%;
    z-index: 9999;
    overflow-y: scroll;
    transition: all .5s ease;
    height: auto;
    overflow-y: auto;
}

#searchResult li {
    background-color: var(--mattes) !important;
    color: var(--blanco);
    padding: 4px !important;
    margin-bottom: 1px !important;
}

#searchResult li:nth-child(even) {
    background-color: var(--blanco) !important;
    color: var(--mattes) !important;
}

#searchResult li:hover {
    cursor: pointer !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cccccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    font-family: 'FontAwesome';
    content: "\f00d";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2132f9;
}

input:checked+.slider {
    background-color: #006425;
}

input:focus+.slider {
    box-shadow: 0 0 1px #006425;
}

input:checked+.slider:before {
    content: "\f00c";
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.notificaciones-alumno {
    text-decoration: underline;
    color: var(--mattes);
}

@media(min-width:576px) {
    .notificaciones-alumno {
        text-decoration: none;
    }
    
    .notificaciones-alumno::after,
    .notificaciones-alumno::before {
        content: ' ';
        position: absolute;
        width: 120px;
        height: 2px;
        background-color: currentcolor;
        top: 5.8em;
    }
   
    .notificaciones-alumno::before {
        left: 40px;
    }
    .notificaciones-alumno::after {
        right: 40px;
    }
}

@media(min-width:768px) {
    .notificaciones-alumno::before {
        left: 134px;
    }
    .notificaciones-alumno::after {
        right: 134px;
    }
}

@media(min-width:992px) {
    .notificaciones-alumno::before {
        left: 250px;
    }
    .notificaciones-alumno::after {
        right: 250px;
    }
}

@media(min-width:1200px) {
    .notificaciones-alumno::before {
        left: 340px;
    }
    .notificaciones-alumno::after {
        right: 340px;
    }
}