.tei_entity.active.tei_person {
  background-color: #FFE082; 
}

.tei_entity.active.tei_person::before {
  content: "\f007";
}

.border-person {
  border-color: #FFE082;
}

.bg-person {
  background-color: #FFE082;
}

.text-person {
  color: #FFE082;
}

.tei_entity.active.tei_place {
  background-color: #81D4FA; 
}

.tei_entity.active.tei_place::before {
  content: "\f5a0";
}

.border-place {
  border-color: #81D4FA;
}

.bg-place {
  background-color: #81D4FA;
}

.text-place {
  color: #81D4FA;
}

.tei_entity.active.tei_book {
  background-color: #BCAAA4; 
}

.tei_entity.active.tei_book::before {
  content: "\f02d";
}

.border-book {
  border-color: #BCAAA4;
}

.bg-book {
  background-color: #BCAAA4;
}

.text-book {
  color: #BCAAA4;
}

.tei_entity.active.tei_organization {
  background-color: #EF9A9A; 
}

.tei_entity.active.tei_organization::before {
  content: "\f0c0";
}

.border-organization {
  border-color: #EF9A9A;
}

.bg-organization {
  background-color: #EF9A9A;
}

.text-organization {
  color: #EF9A9A;
}

.tei_entity.active.tei_journal {
  background-color: #C5E1A5; 
}

.tei_entity.active.tei_journal::before {
  content: "\f1ea";
}

.border-journal {
  border-color: #C5E1A5;
}

.bg-journal {
  background-color: #C5E1A5;
}

.text-journal {
  color: #C5E1A5;
}

.tei_entity.active.tei_lexicon {
  background-color: #CCCCCC; 
}

.tei_entity.active.tei_lexicon::before {
  content: "\f5db";
}

.border-lexicon {
  border-color: #CCCCCC;
}

.bg-lexicon {
  background-color: #CCCCCC;
}

.text-lexicon {
  color: #CCCCCC;
}

.tei_entity.active.tei_event {
  background-color: #9F8ECA; 
}

.tei_entity.active.tei_event::before {
  content: "\f334";
}

.border-event {
  border-color: #9F8ECA;
}

.bg-event {
  background-color: #9F8ECA;
}

.text-event {
  color: #9F8ECA;
}
