.divMateria {
    display: flex;
    flex-direction: column;
    border: 2px solid #9dabb3;
    width: 100%;
    justify-content: center;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    border-top-right-radius: 11px;
}

.divMateriaTitulo {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #8ea4b1;
    height: 20px;
    font-weight: bolder;
    background-color: #e9e9e9;
    border-top-right-radius: 10px;
    font-size: 13px;
}
.green {
    background-color: #2a6c42;
    border: none;
    color: white !important;
    cursor: pointer;
    border-radius: 6px;
    height: 35px;
}

.green:hover {
    background-color: #205232;

}

.divGrupos {
    text-align: center;
    font-weight: 500;
    color: gray;
    width: auto;
    font-size: 12px;
}

.barraColorMateria {
    width: 60px;
    height: 7px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Estilos tabla */
.mat-column-Grupo,
.mat-column-Materia {
    text-align: center;
    width: 200px;
}

.mat-column-Acciones {
    text-align: center;
    width: 150px;
}

.mat-column-nombre {
    text-align: center;
    width: 400px;
}

.mat-column-acciones,
.mat-column-seleccion,
.mat-column-id {
    text-align: center;
}

.mat-column-grupo,
.mat-column-materia {
    text-align: center;
    width: 300px;
}

.Visualizar {
    background-color: #949596 !important;
}

.DatosProfesor {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
    color: black;
}

.DatosProfesorTitulo {
    display: flex;
    flex-direction: column;
    padding-right: 94px;
    color: #81a3d2;
    text-align: center;
}

.DatosProfesorTitulo2 {
    width: 31%;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-right: 120px;
    color: #81a3d2;
}

.containerMaterias {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 158px;
    max-width: 280px;
}

.btnEditarP {
    background-color: red !important;
    margin-left: 79px !important;
}

.divContainerMateria {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin-top: 33px;
}

@media only screen and (max-width: 600px) {
    .centrar1 {
        width: 100%;
        margin-top: 10%;
        display: flex;
        justify-content: center;
    }

    .fondo {
        width: 85%;
    }

    .content {
        margin-bottom: 0;
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
        font-weight: 500;
        font-size: 24px;
        color: white;
        font-family: "Serenity Medium";
    }

    .containerPagina {
        width: 100%;
        padding: 0 0;
    }

    .regresar {
        margin-left: 81%;
        margin-top: 8%;
    }

    .button {
        width: 100%;
        transform: scale(0.9);
    }

    .btnTitle {
        width: 76%;
        margin-top: 24%;
        margin-right: 13%;
    }

    .buscador {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .contenedorInputs {
        width: 100%;
        flex-direction: column;
        align-items: start;
    }

    .exportar {
        width: 100%;
        margin-bottom: 5%;
        display: flex;
        justify-content: space-evenly;
    }

    .boton-export {
        margin-left: 0px;
        width: 35%;
    }

    .buscador-input {
        width: 86%;
    }

    .filtro {
        width: 86%;
        margin-left: 0%;
    }

    .table {
        width: 100%;
    }

    .table2 {
        width: 100%;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .tabla1 {
        overflow-x: scroll;
        white-space: nowrap;
    }

    .dialog {
        width: auto !important;
    }

    .input {
        width: 81%;
    }

    .input-label {
        margin-top: 5%;
    }

    .agregarRelacion {
        margin-bottom: 14px;
    }

    .btn1 {
        width: 83px !important;
    }

    .DatosProfesor {
        flex-direction: column;
    }

    .DatosProfesorTitulo {
        display: flex;
        padding-right: 0px;
        text-align: start;
        width: 100%;
    }

    .DatosProfesorTitulo2 {
        display: flex;
        padding-right: 0px;
        text-align: start;
        width: 100%;
    }

    .containerMaterias {
        width: auto;
        padding-left: 10px;
    }

    .btnEditarP {
        margin-left: 18px !important;
    }

    .divContainerMateria {
        margin-left: -10px;
    }
  .tabla1,
  .tabla2,
  .table,
  .table2 {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    display: block;
  }

  table {
    width: max-content;
    min-width: 600px;
  }

  th, td {
    text-align: center;
    padding: 8px;
  }

}
