@media (max-width: 51em) {
  .navtext {
    display: none;
  }

  .active-page .navtext {
    display: inline;
  }

  .userdata {
    display: none;
  }

  .tablice th {
    display: none;
  }

  .tablice td {
    display: block;
  }

  .tablice td::before {
    font-weight: 700;
    padding-right: 1rem;
  }

  .tablice td:nth-child(1)::before {
    content: 'ID:';
  }

  #tekst-container::before {
    content: 'Naziv:';
    font-weight: 700;
    padding-right: 1rem;
  }

  #tekst-container {
    width: auto;
  }

  .index td:nth-child(2)::before {
    content: 'Voditelj:';
  }

  .index:not(.prof) td:nth-child(3)::before {
    content: 'Naziv:';
  }

  .index td:nth-child(4)::before {
    content: 'Odsjek:';
  }

  .index td:nth-child(5)::before,
  .my_exp_prof td:nth-child(3)::before {
    content: 'Eksperimentator:';
  }

  .index td:nth-child(6)::before,
  .my_exp_prof td:nth-child(4)::before {
    content: 'Mjesto:';
  }

  .index td:nth-child(7)::before,
  .my_exp_prof td:nth-child(5)::before {
    content: 'Datum:';
  }

  .index td:nth-child(8)::before,
  .my_exp_prof td:nth-child(6)::before {
    content: 'Vrijeme:';
  }

  .index td:nth-child(9)::before,
  .my_exp_prof td:nth-child(7)::before {
    content: 'Broj sati:';
  }

  .my_exp_prof td:nth-child(8)::before {
    content: 'Uredi:';
  }

  .my_exp_prof td:nth-child(9)::before {
    content: 'Kopiraj:';
  }

  .my_exp_prof td:nth-child(10)::before {
    content: 'Obriši:';
  }

  .index.prof td:nth-child(10)::before {
    content: 'Uredi:';
  }

  .index:not(.prof) td:nth-child(10)::before {
    content: 'Prijavi se:';
  }

  .index.stud td:nth-child(10)::before {
    content: 'Potpis:';
  }

  .index.stud td:nth-child(11)::before {
    content: 'Odjava:';
  }

  td.center {
    width: auto;
    text-align: left;
  }

  td.center form {
    display: inline-block;
  }

  /* SOSCI */

  p.sosci {
    width: 90%;
  }
}
