
/* class teachers/subjects/rooms */
#stt td.Bi_ div,
#stt td.Bi2 div {background-color:#EDFBDF}  /* solid colour but equiv to 32/255 alpha (over white) of the first-child div bg */
#stt td.Bi_ div div:first-child,
#stt td.Bi2 div div:first-child {background-color:#71E300}
#stt td.Bi_ div div:nth-child(2):after,
#stt td.Bi2 div div:nth-child(2):after {content:'Dr H Brown'}
#stt td.Bi_ div div:nth-child(3):after,
#stt td.Bi2 div div:nth-child(3):after {content:'Biology'}
#stt td.Bi_ div div:nth-child(4):after {content:'Gurdon Lab'}
#stt td.Bi2 div div:nth-child(4):after {content:'Curie Lab'}
#stt td.Ch_ div,
#stt td.Ch2 div {background-color:#F3E5F1}
#stt td.Ch_ div div:first-child,
#stt td.Ch2 div div:first-child {background-color:#A03690}
#stt td.Ch_ div div:nth-child(2):after,
#stt td.Ch2 div div:nth-child(2):after {content:'Miss E Maund'}
#stt td.Ch_ div div:nth-child(3):after,
#stt td.Ch2 div div:nth-child(3):after {content:'Chemistry'}
#stt td.Ch_ div div:nth-child(4):after {content:'Gospel Lab'}
#stt td.Ch2 div div:nth-child(4):after {content:'Room 31'}
#stt td.En_ div {background-color:#E5E1E3}
#stt td.En_ div div:first-child {background-color:#361225}
#stt td.En_ div div:nth-child(2):after {content:'Ms L Sidwell'}
#stt td.En_ div div:nth-child(3):after {content:'English'}
#stt td.En_ div div:nth-child(4):after {content:'A1 - Acorn block'}
#stt td.Ge_ div,
#stt td.Ge2 div {background-color:#F7FAF1}
#stt td.Ge_ div div:first-child,
#stt td.Ge2 div div:first-child {background-color:#C3DC93}
#stt td.Ge_ div div:nth-child(2):after,
#stt td.Ge2 div div:nth-child(2):after {content:'Ms L Browning'}
#stt td.Ge_ div div:nth-child(3):after,
#stt td.Ge2 div div:nth-child(3):after {content:'Geography'}
#stt td.Ge_ div div:nth-child(4):after {content:'Room 29'}
#stt td.Ge2 div div:nth-child(4):after {content:'Room 28'}
#stt td.Ma_ div {background-color:#EAF4F3}
#stt td.Ma_ div div:first-child {background-color:#5EAFA4}
#stt td.Ma_ div div:nth-child(2):after {content:'Mr A Alonzi'}
#stt td.Ma_ div div:nth-child(3):after {content:'Maths'}
#stt td.Ma_ div div:nth-child(4):after {content:'Room 8'}
#stt td.Mu_ div {background-color:#E8E7FC}
#stt td.Mu_ div div:first-child {background-color:#4B43E9}
#stt td.Mu_ div div:nth-child(2):after {content:'Mrs R D’Souza'}
#stt td.Mu_ div div:nth-child(3):after {content:'Music'}
#stt td.Mu_ div div:nth-child(4):after {content:'Music Centre'}
#stt td.PE_ div,
#stt td.PE2 div {background-color:#EDF5F6}
#stt td.PE_ div div:first-child,
#stt td.PE2 div div:first-child {background-color:#70B0BB}
#stt td.PE_ div div:nth-child(2):after {content:'Mrs C Das Gupta'}
#stt td.PE2 div div:nth-child(2):after {content:'Ms E French'}
#stt td.PE_ div div:nth-child(3):after,
#stt td.PE2 div div:nth-child(3):after {content:'Sports Lead'}
#stt td.PE_ div div:nth-child(4):after,
#stt td.PE2 div div:nth-child(4):after {content:'FLD'}
#stt td.PR_ div {background-color:#EAF8EF}
#stt td.PR_ div div:first-child {background-color:#5FC980}
#stt td.PR_ div div:nth-child(2):after {content:'Miss T Lynch'}
#stt td.PR_ div div:nth-child(3):after {content:'Philosophy\a & Religion';white-space:pre}
#stt td.PR_ div div:nth-child(4):after {content:'Room 30'}
#stt td.Ph_ div,
#stt td.Ph2 div {background-color:#E7E8EE}
#stt td.Ph_ div div:first-child,
#stt td.Ph2 div div:first-child {background-color:#40497E}
#stt td.Ph_ div div:nth-child(2):after,
#stt td.Ph2 div div:nth-child(2):after {content:'Dr J Fletcher'}
#stt td.Ph_ div div:nth-child(3):after,
#stt td.Ph2 div div:nth-child(3):after {content:'Physics'}
#stt td.Ph_ div div:nth-child(4):after {content:'Huygens Lab'}
#stt td.Ph2 div div:nth-child(4):after {content:'Curie Lab'}
#stt td.Sp_ div,
#stt td.Sp2 div {background-color:#FAE7EE}
#stt td.Sp_ div div:first-child,
#stt td.Sp2 div div:first-child {background-color:#DD477C}
#stt td.Sp_ div div:nth-child(2):after,
#stt td.Sp2 div div:nth-child(2):after {content:'Ms J Vann'}
#stt td.Sp_ div div:nth-child(3):after,
#stt td.Sp2 div div:nth-child(3):after {content:'Spanish'}
#stt td.Sp_ div div:nth-child(4):after {content:'L6 - L2 - Lang block'}
#stt td.Sp2 div div:nth-child(4):after {content:'L2 - Lang block'}

/* screens <= 410px */
@media only screen AND (max-width:410px){
  #stt td.Bi_ div div:nth-child(3):after,
  #stt td.Bi2 div div:nth-child(3):after {content:'Bio'}
  #stt td.Ch_ div div:nth-child(3):after,
  #stt td.Ch2 div div:nth-child(3):after {content:'Chem'}
  #stt td.Ge_ div div:nth-child(3):after,
  #stt td.Ge2 div div:nth-child(3):after {content:'Geog'}
  #stt td.Ph_ div div:nth-child(3):after,
  #stt td.Ph2 div div:nth-child(3):after {content:'Phy'}
  #stt td.PR_ div div:nth-child(3):after {content:'PRS'}
}

/* screens <= 350px */
@media only screen AND (max-width:350px){
  #stt td.Bi_ div div:first-child,
  #stt td.Bi2 div div:first-child {display:none}
  #stt td.Bi_ div div:nth-child(2),
  #stt td.Bi2 div div:nth-child(2) {display:none}
  #stt td.Bi_ div div:nth-child(3):after,
  #stt td.Bi2 div div:nth-child(3):after {content:'Bio'}
  #stt td.Bi_ div div:nth-child(4):after {content:'Gurdon'}
  #stt td.Bi2 div div:nth-child(4):after {content:'Curie'}
  #stt td.Ch_ div div:first-child,
  #stt td.Ch2 div div:first-child {display:none}
  #stt td.Ch_ div div:nth-child(2),
  #stt td.Ch2 div div:nth-child(2) {display:none}
  #stt td.Ch_ div div:nth-child(3):after,
  #stt td.Ch2 div div:nth-child(3):after {content:'Chem'}
  #stt td.Ch_ div div:nth-child(4):after {content:'Gospel'}
  #stt td.Ch2 div div:nth-child(4):after {content:'31'}
  #stt td.En_ div div:first-child {display:none}
  #stt td.En_ div div:nth-child(2) {display:none}
  #stt td.En_ div div:nth-child(3):after {content:'Eng'}
  #stt td.En_ div div:nth-child(4):after {content:'A1'}
  #stt td.Ge_ div div:first-child,
  #stt td.Ge2 div div:first-child {display:none}
  #stt td.Ge_ div div:nth-child(2),
  #stt td.Ge2 div div:nth-child(2) {display:none}
  #stt td.Ge_ div div:nth-child(3):after,
  #stt td.Ge2 div div:nth-child(3):after {content:'Geog'}
  #stt td.Ge_ div div:nth-child(4):after {content:'29'}
  #stt td.Ge2 div div:nth-child(4):after {content:'28'}
  #stt td.Ma_ div div:first-child {display:none}
  #stt td.Ma_ div div:nth-child(2) {display:none}
  #stt td.Ma_ div div:nth-child(4):after {content:'8'}
  #stt td.Mu_ div div:first-child {display:none}
  #stt td.Mu_ div div:nth-child(2) {display:none}
  #stt td.Mu_ div div:nth-child(3):after {content:'Music'}
  #stt td.Mu_ div div:nth-child(4):after {content:'Music'}
  #stt td.PE_ div div:first-child,
  #stt td.PE2 div div:first-child {display:none}
  #stt td.PE_ div div:nth-child(2) {display:none}
  #stt td.PE2 div div:nth-child(2) {display:none}
  #stt td.PE_ div div:nth-child(3):after,
  #stt td.PE2 div div:nth-child(3):after {content:'Sports'}
  #stt td.PE_ div div:nth-child(4):after,
  #stt td.PE2 div div:nth-child(4):after {content:'FLD'}
  #stt td.PR_ div div:first-child {display:none}
  #stt td.PR_ div div:nth-child(2) {display:none}
  #stt td.PR_ div div:nth-child(3):after {content:'PRS'}
  #stt td.PR_ div div:nth-child(4):after {content:'30'}
  #stt td.Ph_ div div:first-child,
  #stt td.Ph2 div div:first-child {display:none}
  #stt td.Ph_ div div:nth-child(2),
  #stt td.Ph2 div div:nth-child(2) {display:none}
  #stt td.Ph_ div div:nth-child(3):after,
  #stt td.Ph2 div div:nth-child(3):after {content:'Phy'}
  #stt td.Ph_ div div:nth-child(4):after {content:'Huygens'}
  #stt td.Ph2 div div:nth-child(4):after {content:'Curie'}
  #stt td.Sp_ div div:first-child,
  #stt td.Sp2 div div:first-child {display:none}
  #stt td.Sp_ div div:nth-child(2),
  #stt td.Sp2 div div:nth-child(2) {display:none}
  #stt td.Sp_ div div:nth-child(4):after {content:'L6 - L2'}
  #stt td.Sp2 div div:nth-child(4):after {content:'L2'}
}