
/* https://stackoverflow.com/questions/3215553/make-a-div-fill-an-entire-table-cell */

p.print-space {padding:0}

#ste  {margin:28px 0 8px;height:fit-content;font-size:.9em;bac_kground:#FFFFFF;bor_der-width:1px;bor_der-style:solid;bor_der-color:#000000}
#ste tr {height:100%}  /* required to set heights in table cells */
#ste th:first-child {text-align:left;font-size:1.4em;color:#C04000}
#ste th,
#ste td {position:relative;padding:0 4px 4px;vertical-align:top;border-width:0;border-style:solid;border-color:#000000}
#ste th {padding-top:4px}
#ste tr:nth-child(3) td,
#ste tr:nth-child(5) td,
#ste tr:nth-child(7) td,
#ste tr:nth-child(10) td,
#ste tr:nth-child(12) td,
#ste tr:nth-child(14) td {border-bottom-width:1px;border-bottom-color:RGBA(0,0,0,.1)}
#ste th,
#ste td {border-right-width:1px;border-bottom-width:2px}
#ste tr:first-child th {border-top-width:1px;border-bottom-width:1px}
#ste tr:first-child th:first-child {border-top-width:0;border-bottom-width:0}
#ste td:first-child {border-left-width:1px}
#ste tr.mth th {border-right-width:0}
#ste tr td:nth-child(1) {height:86px}  /* am rows with date div (1) */
#ste tr:nth-child(4)  td:nth-child(1),
#ste tr:nth-child(6)  td:nth-child(1),
#ste tr:nth-child(8)  td:nth-child(1),
#ste tr:nth-child(11) td:nth-child(1),
#ste tr:nth-child(13) td:nth-child(1),
#ste tr:nth-child(15) td:nth-child(1) {height:75px}  /* pm rows */
#ste tr td:nth-child(2),
#ste tr td:nth-child(3),
#ste tr td:nth-child(4),
#ste tr td:nth-child(5),
#ste tr td:nth-child(6) {width:20%}
#ste tr:nth-child(1) th,
#ste tr:nth-child(5),
#ste tr:nth-child(6),
#ste tr:nth-child(10),
#ste tr:nth-child(11),
#ste tr:nth-child(14),
#ste tr:nth-child(15) {background-color:#F0F0F0}
#ste tr:nth-child(1) th:nth-child(1) {background:none}
#ste tr:nth-child(3),
#ste tr:nth-child(4),
#ste tr:nth-child(7),
#ste tr:nth-child(8),
#ste tr:nth-child(12),
#ste tr:nth-child(13) {background-color:#D0D0D0}
#ste tr td:first-child {color:#808080;text-align:center;line-height:.8em;font-size:.8em}
#ste tr td:first-child b {display:block;margin-top:18px;fon_t-weight:normal}
#ste tr:nth-child(4)  td:first-child b,
#ste tr:nth-child(6)  td:first-child b,
#ste tr:nth-child(8)  td:first-child b,
#ste tr:nth-child(11) td:first-child b,
#ste tr:nth-child(13) td:first-child b,
#ste tr:nth-child(15) td:first-child b {margin-top:7px}  /* pm rows */

/* divs */
#ste td div:nth-child(1) {position:relative;left:-4px;margin-bottom:0px;padding:.5px .5px .5px 0;width:14px;height:14px;color:#C04000;font-size:12px;font-weight:bold;text-align:center;background-color:RGBA(255,255,255,.5);border-radius:5px}  /* date (am) */
#ste tr.brl td:nth-child(3) div:nth-child(1),
#ste tr.brl td:nth-child(4) div:nth-child(1),
#ste tr.brl td:nth-child(5) div:nth-child(1),
#ste tr.brl td:nth-child(6) div:nth-child(1) {left:0}  /* half term */
#ste tr:nth-child(4)  td > div:nth-child(1),
#ste tr:nth-child(6)  td > div:nth-child(1),
#ste tr:nth-child(8)  td > div:nth-child(1),
#ste tr:nth-child(11) td > div:nth-child(1),
#ste tr:nth-child(13) td > div:nth-child(1),
#ste tr:nth-child(15) td > div:nth-child(1) {height:3px;background-color:RGBA(0,0,0,0)}  /* spacer (pm) */
#ste td div:nth-child(2):has(div),  /* only 2nd div containing a div */
#ste tr.brl td div:nth-child(2) {position:relative;padding:4px 4px 4px 8px;height:calc(100% - 25px);border-width:1px;border-style:solid;border-color:#808080;border-radius:3px}
#ste tr:nth-child(4)  td > div:nth-child(2),
#ste tr:nth-child(6)  td > div:nth-child(2),
#ste tr:nth-child(8)  td > div:nth-child(2),
#ste tr:nth-child(11) td > div:nth-child(2),
#ste tr:nth-child(13) td > div:nth-child(2),
#ste tr:nth-child(15) td > div:nth-child(2) {height:calc(100% - 14px)}
#ste td > div:nth-child(2) div {padding:0;height:auto;border:none;color:#A0A0A0;font-size:.75em;line-height:.95em;out_line:1px solid #FF00FF}
#ste td > div:nth-child(2) div:nth-child(1) {position:absolute;top:0;left:0;width:6px;height:100%;border-radius:2px 0 0 2px !important}  /* left border */
#ste td > div:nth-child(2) div:nth-child(2) {}  /* board/code */
#ste td > div:nth-child(2) div:nth-child(3) {mar_gin:1px 0 0;color:#404040;font-size:1em;font-weight:bold;line-height:1em;white-space:nowrap}  /* subject/paper */
#ste td > div:nth-child(2) div:nth-child(4) {position:absolute;bottom:4px}  /* notes */
#ste td > div:nth-child(2) div:nth-child(5) {position:absolute;top:4px;right:2px;text-align:right;color:#404080}  /* duration */
#ste td > div:nth-child(3) {position:absolute;top:14px;right:0;bottom:0;left:0;background-image:url(imgs/stripe.png);background-size:100% 100%;opacity:.5} /* add 3rd div to cross out the day */
#ste tr:nth-child(4)  td > div:nth-child(3),
#ste tr:nth-child(6)  td > div:nth-child(3),
#ste tr:nth-child(8)  td > div:nth-child(3),
#ste tr:nth-child(11) td > div:nth-child(3),
#ste tr:nth-child(13) td > div:nth-child(3),
#ste tr:nth-child(15) td > div:nth-child(3) {top:0}  /* pm rows */

#st_e tr.brl td:nth-child(1) {height:auto}  /* half term */
#ste tr.brl td:nth-child(2) {padding-right:0}
#ste tr.brl td:nth-child(3),#ste tr.brl td:nth-child(4),#ste tr.brl td:nth-child(5) {padding-right:0;padding-left:0}
#ste tr.brl td:nth-child(6) {padding-left:0}
#ste tr.brl td div:nth-child(2) {position:relative;left:-1px;padding-left:12px;width:calc(100% - 14px);color:#808080;background-color:RGBA(248,248,248,.6)}  /* shifting the divs to overlap the vertical cell borders */
#ste tr.brl td:nth-child(2) div:nth-child(2) {left:0;width:calc(100% - 16px)}
#ste tr.brl td:nth-child(6) div:nth-child(2) {width:calc(100% - 16px)}
#ste tr.brl td div:nth-child(2) {line-height:60px}  /* same line-height as height vertically aligns (single line of) text in the middle */
#ste tr.brl td div:nth-child(2) span {display:inline-block;width:calc(100% - 8px);text-align:center;vertical-align:middle;line-height:.9em}  /* needed for multiple lines of text */
#ste tr.brl:nth-child(7) td:nth-child(2) div:nth-child(2):after {content:'half term'}
#ste tr.brl:nth-child(7) td:nth-child(5) div:nth-child(2) span:after {content:'someone’s birthday'}
#ste tr.brl td:nth-child(2) div:nth-child(2) {border-right:0;border-radius:3px 0 0 3px}
#ste tr.brl td:nth-child(3) div:nth-child(2),
#ste tr.brl td:nth-child(4) div:nth-child(2),
#ste tr.brl td:nth-child(5) div:nth-child(2) {border-right:0;border-left:0;border-radius:0}
#ste tr.brl td:nth-child(6) div:nth-child(2) {border-left:0;border-radius:0 3px 3px 0}

/* class teachers/subjects/rooms */
#ste td div div:nth-child(2):after,
#ste td div div:nth-child(4):after {white-space:pre-wrap}  /* required for \a line breaks (pre or pre-wrap) */
#ste td.Bi_ div:nth-child(2),
#ste td.Bi2 div:nth-child(2) {background-color:#EDFBDF}  /* solid colour but equiv to 32/255 alpha (over white) of the first-child div bg */
#ste td.Bi_ div:nth-child(2) div:first-child,
#ste td.Bi2 div:nth-child(2) div:first-child {background-color:#71E300}
#ste td.Bi_ div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8461/1H'}
#ste td.Bi2 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8461/2H'}
#ste td.Bi_ div:nth-child(2) div:nth-child(3):after {content:'Biology 1'}
#ste td.Bi2 div:nth-child(2) div:nth-child(3):after {content:'Biology 2'}
#ste td.Bi_ div:nth-child(2) div:nth-child(4):after,
#ste td.Bi2 div:nth-child(2) div:nth-child(4):after {content:''}
#ste td.Bi_ div:nth-child(2) div:nth-child(5):after,
#ste td.Bi2 div:nth-child(2) div:nth-child(5):after {content:'1h 45m'}  /* 2h 12m'} +27m */
#ste td.Ch_ div:nth-child(2),
#ste td.Ch2 div:nth-child(2) {background-color:#F3E5F1}
#ste td.Ch_ div:nth-child(2) div:first-child,
#ste td.Ch2 div:nth-child(2) div:first-child {background-color:#A03690}
#ste td.Ch_ div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8462/1H'}
#ste td.Ch2 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8462/2H'}
#ste td.Ch_ div:nth-child(2) div:nth-child(3):after {content:'Chemistry 1'}
#ste td.Ch2 div:nth-child(2) div:nth-child(3):after {content:'Chemistry 2'}
#ste td.Ch_ div:nth-child(2) div:nth-child(4):after,
#ste td.Ch2 div:nth-child(2) div:nth-child(4):after {content:''}
#ste td.Ch_ div:nth-child(2) div:nth-child(5):after,
#ste td.Ch2 div:nth-child(2) div:nth-child(5):after {content:'1h 45m'}  /* 2h 12m'} +27m */
#ste td.Ei_ div:nth-child(2),
#ste td.Ei2 div:nth-child(2),
#ste td.Ea_ div:nth-child(2),
#ste td.Ea2 div:nth-child(2) {background-color:#E5E1E3}
#ste td.Ei_ div:nth-child(2) div:first-child,
#ste td.Ei2 div:nth-child(2) div:first-child,
#ste td.Ea_ div:nth-child(2) div:first-child,
#ste td.Ea2 div:nth-child(2) div:first-child {background-color:#361225}
#ste td.Ei_ div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8702/1'}
#ste td.Ei2 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8702/2'}
#ste td.Ea_ div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8700/1'}
#ste td.Ea2 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8700/2'}
#ste td.Ei_ div:nth-child(2) div:nth-child(3):after {content:'English Lit 1'}
#ste td.Ei2 div:nth-child(2) div:nth-child(3):after {content:'English Lit 2'}
#ste td.Ea_ div:nth-child(2) div:nth-child(3):after {content:'English Lan 1'}
#ste td.Ea2 div:nth-child(2) div:nth-child(3):after {content:'English Lan 2'}
#ste td.Ei_ div:nth-child(2) div:nth-child(4):after,
#ste td.Ei2 div:nth-child(2) div:nth-child(4):after,
#ste td.Ea_ div:nth-child(2) div:nth-child(4):after,
#ste td.Ea2 div:nth-child(2) div:nth-child(4):after {content:''}
#ste td.Ei_ div:nth-child(2) div:nth-child(5):after,
#ste td.Ea_ div:nth-child(2) div:nth-child(5):after,
#ste td.Ea2 div:nth-child(2) div:nth-child(5):after {content:'2h 12m'}  /* +27m */
#ste td.Ei2 div:nth-child(2) div:nth-child(5):after {content:'2h 49m'}  /* +34m */
#ste td.Ge_ div:nth-child(2),
#ste td.Ge2 div:nth-child(2),
#ste td.Ge3 div:nth-child(2) {background-color:#F7FAF1}
#ste td.Ge_ div:nth-child(2) div:first-child,
#ste td.Ge2 div:nth-child(2) div:first-child,
#ste td.Ge3 div:nth-child(2) div:first-child {background-color:#C3DC93}
#ste td.Ge_ div:nth-child(2) div:nth-child(2):after {content:'Edexcel B \a 1GB0 01'}
#ste td.Ge2 div:nth-child(2) div:nth-child(2):after {content:'Edexcel B \a 1GB0 02'}
#ste td.Ge3 div:nth-child(2) div:nth-child(2):after {content:'Edexcel B \a IGB0 03'}
#ste td.Ge_ div:nth-child(2) div:nth-child(3):after {content:'Geography 1'}
#ste td.Ge2 div:nth-child(2) div:nth-child(3):after {content:'Geography 2'}
#ste td.Ge3 div:nth-child(2) div:nth-child(3):after {content:'Geography 3'}
#ste td.Ge_ div:nth-child(2) div:nth-child(4):after {content:'Global issues'}
#ste td.Ge2 div:nth-child(2) div:nth-child(4):after {content:'UK issues'}
#ste td.Ge3 div:nth-child(2) div:nth-child(4):after {content:'People/env issues \a – Making decisions'}
#ste td.Ge_ div:nth-child(2) div:nth-child(5):after,
#ste td.Ge3 div:nth-child(2) div:nth-child(5):after {content:'1h 53m'}  /*+23m */
#ste td.Ge2 div:nth-child(2) div:nth-child(5):after {content:'2h 12m'}  /* +27m */
#ste td.Ma_ div:nth-child(2),
#ste td.Ma2 div:nth-child(2),
#ste td.Ma3 div:nth-child(2),
#ste td.MaA div:nth-child(2) {background-color:#EAF4F3}
#ste td.Ma_ div:nth-child(2) div:first-child,
#ste td.Ma2 div:nth-child(2) div:first-child,
#ste td.Ma3 div:nth-child(2) div:first-child,
#ste td.MaA div:nth-child(2) div:first-child {background-color:#5EAFA4}
#ste td.Ma_ div:nth-child(2) div:nth-child(2):after {content:'Edexcel \a 1MA1 1H'}
#ste td.Ma2 div:nth-child(2) div:nth-child(2):after {content:'Edexcel \a 1MA1 2H'}
#ste td.Ma3 div:nth-child(2) div:nth-child(2):after {content:'Edexcel \a 1MA1 3H'}
#ste td.MaA div:nth-child(2) div:nth-child(2):after {content:'OCR \a 6993'}
#ste td.Ma_ div:nth-child(2) div:nth-child(3):after {content:'Maths 1'}
#ste td.Ma2 div:nth-child(2) div:nth-child(3):after {content:'Maths 2'}
#ste td.Ma3 div:nth-child(2) div:nth-child(3):after {content:'Maths 3'}
#ste td.MaA div:nth-child(2) div:nth-child(3):after {content:'Additional Maths';white-space:pre-wrap}
#ste td.Ma_ div:nth-child(2) div:nth-child(4):after {content:'non-calculator'}
#ste td.Ma2 div:nth-child(2) div:nth-child(4):after,
#ste td.Ma3 div:nth-child(2) div:nth-child(4):after {content:'calculator'}
#ste td.MaA div:nth-child(2) div:nth-child(4):after {content:''}
#ste td.Ma_ div:nth-child(2) div:nth-child(5):after,
#ste td.Ma2 div:nth-child(2) div:nth-child(5):after,
#ste td.Ma3 div:nth-child(2) div:nth-child(5):after {content:'1h 30m'}  /* 1h 53m'} +23m */
#ste td.MaA div:nth-child(2) div:nth-child(5):after {content:'2h'}   /* +30m */
#ste td.Mu_ div:nth-child(2) {background-color:#E8E7FC}
#ste td.Mu_ div:nth-child(2) div:first-child {background-color:#4B43E9}
#ste td.Mu_ div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8271/W'}
#ste td.Mu_ div:nth-child(2) div:nth-child(3):after {content:'Music'}
#ste td.Mu_ div:nth-child(2) div:nth-child(4):after {content:''}
#ste td.Mu_ div:nth-child(2) div:nth-child(5):after {content:'1h 30m'}  /* 1h 53m'} +23m */
#ste td.Ph_ div:nth-child(2),
#ste td.Ph2 div:nth-child(2) {background-color:#E7E8EE}
#ste td.Ph_ div:nth-child(2) div:first-child,
#ste td.Ph2 div:nth-child(2) div:first-child {background-color:#40497E}
#ste td.Ph_ div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8463/1H'}
#ste td.Ph2 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8463/2H'}
#ste td.Ph_ div:nth-child(2) div:nth-child(3):after {content:'Physics 1'}
#ste td.Ph2 div:nth-child(2) div:nth-child(3):after {content:'Physics 2'}
#ste td.Ph_ div:nth-child(2) div:nth-child(4):after,
#ste td.Ph2 div:nth-child(2) div:nth-child(4):after {content:''}
#ste td.Ph_ div:nth-child(2) div:nth-child(5):after,
#ste td.Ph2 div:nth-child(2) div:nth-child(5):after {content:'1h 45m'}  /* 2h 12m'} +27m */
#ste td.S13 div:nth-child(2),
#ste td.Sp4 div:nth-child(2) {background-color:#FAE7EE}
#ste td.S13 div:nth-child(2) div:first-child,
#ste td.Sp4 div:nth-child(2) div:first-child {background-color:#DD477C}
#ste td.S13 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8692/LH & 8692/RH'}
#ste td.Sp4 div:nth-child(2) div:nth-child(2):after {content:'AQA \a 8692/WH'}
#ste td.S13 div:nth-child(2) div:nth-child(3):after {content:'Spanish 1 & 3'}
#ste td.Sp4 div:nth-child(2) div:nth-child(3):after {content:'Spanish 4'}
#ste td.S13 div:nth-child(2) div:nth-child(4):after {content:'Listening & Reading'}
#ste td.Sp4 div:nth-child(2) div:nth-child(4):after {content:'Writing'}
#ste td.S13 div:nth-child(2) div:nth-child(5):after {content:'45m & 1h'}  /* 57m & 1h 15m'} +12m & +15m */
#ste td.Sp4 div:nth-child(2) div:nth-child(5):after {content:'1h 15m'}  /* 34m'} +19m */

#ws   {margin:0;padding:0}

/* screens <= 895px */
@media only screen AND (max-width:895px){
  #c0   {margin:0 8%}
}

/* screens <= 800px */
@media only screen AND (max-width:800px){
  #ste  {font-size:.8em}
  #ste tr td:nth-child(1) {height:75px}  /* am rows with date div (1) */
  #ste tr:nth-child(4)  td:nth-child(1),
  #ste tr:nth-child(6)  td:nth-child(1),
  #ste tr:nth-child(8)  td:nth-child(1),
  #ste tr:nth-child(11) td:nth-child(1),
  #ste tr:nth-child(13) td:nth-child(1),
  #ste tr:nth-child(15) td:nth-child(1) {height:64px}  /* pm rows */
  #ste tr.brl td div:nth-child(2) {line-height:50px}
  #ste td div:nth-child(2) div:nth-child(2):after {content:' \a \a ' !important}  /* board/code */
}

/* screens <= 720px */
@media only screen AND (max-width:720px){
  #c0   {margin:0 2%}
}

/* screens <= 650px */
@media only screen AND (max-width:650px){
  #ste td.Bi_ div:nth-child(2) div:nth-child(3):after {content:'Bio 1'}
  #ste td.Bi2 div:nth-child(2) div:nth-child(3):after {content:'Bio 2'}
  #ste td.Ch_ div:nth-child(2) div:nth-child(3):after {content:'Chem 1'}
  #ste td.Ch2 div:nth-child(2) div:nth-child(3):after {content:'Chem 2'}
  #ste td.Ei_ div:nth-child(2) div:nth-child(3):after {content:'Eng Li 1'}
  #ste td.Ei2 div:nth-child(2) div:nth-child(3):after {content:'Eng Li 2'}
  #ste td.Ea_ div:nth-child(2) div:nth-child(3):after {content:'Eng La 1'}
  #ste td.Ea2 div:nth-child(2) div:nth-child(3):after {content:'Eng La 2'}
  #ste td.Ge_ div:nth-child(2) div:nth-child(3):after {content:'Geo 1'}
  #ste td.Ge2 div:nth-child(2) div:nth-child(3):after {content:'Geo 2'}
  #ste td.Ge3 div:nth-child(2) div:nth-child(3):after {content:'Geo 3'}
  #ste td.Ge3 div:nth-child(2) div:nth-child(4):after {content:'People issues \a – decisions'}
  #ste td.Ma_ div:nth-child(2) div:nth-child(3):after {content:'Maths 1'}
  #ste td.Ma2 div:nth-child(2) div:nth-child(3):after {content:'Maths 2'}
  #ste td.Ma3 div:nth-child(2) div:nth-child(3):after {content:'Maths 3'}
  #ste td.MaA div:nth-child(2) div:nth-child(3):after {content:'Add Maths';white-space:pre-wrap}
  #ste td.Mu_ div:nth-child(2) div:nth-child(3):after {content:'Music'}
  #ste td.Ph_ div:nth-child(2) div:nth-child(3):after {content:'Phy 1'}
  #ste td.Ph2 div:nth-child(2) div:nth-child(3):after {content:'Phy 2'}
  #ste td.S13 div:nth-child(2) div:nth-child(3):after {content:'Spa 1&3'}
  #ste td.Sp4 div:nth-child(2) div:nth-child(3):after {content:'Spa 4'}
  #ste td.S13 div:nth-child(2) div:nth-child(4):after {content:'Listening & Reading';white-space:pre-wrap}
}

/* screens <= 561px */
@media only screen AND (max-width:561px){
  #d0   {padding:10px 0}
  #c0   {margin:0 2%}
  #ste  {font-size:.7em}
  #ste tr td:nth-child(1) {height:70px}  /* am rows with date div (1) */
  #ste tr:nth-child(4)  td:nth-child(1),
  #ste tr:nth-child(6)  td:nth-child(1),
  #ste tr:nth-child(8)  td:nth-child(1),
  #ste tr:nth-child(11) td:nth-child(1),
  #ste tr:nth-child(13) td:nth-child(1),
  #ste tr:nth-child(15) td:nth-child(1) {height:59px}  /* pm rows */
  #ste tr.brl td div:nth-child(2) {line-height:42px}
  #ste td.S13 div:nth-child(2) div:nth-child(5):after {content:'57m & \a 1h 15m';white-space:pre-wrap}
  #ws   {padding-bottom:30px}
}

/* screens <= 410px */
@media only screen AND (max-width:410px){
  #ste tr:nth-child(6) td:nth-child(1),
  #ste tr:nth-child(13) td:nth-child(1) {height:28px}
  #ste tr.brl td:nth-child(3) div:nth-child(2) {padding-left:2px;width:calc(100% - 4px)}
  #ste tr.brl td:nth-child(1) {height:auto}
  #ste tr.brl td div:nth-child(2) {height:22px;line-height:22px}
  #ste tr.brl:nth-child(7) td:nth-child(2) div:nth-child(2) {text-align:right}
  #ste tr.brl:nth-child(7) td:nth-child(2) div:nth-child(2):after {content:'half'}
  #ste tr.brl:nth-child(7) td:nth-child(3) div:nth-child(2):after {content:'term'}
  #ste tr.brl:nth-child(7) td:nth-child(5) div:nth-child(2) span:after {content:'b’day'}
  #ste td.Ch_ div:nth-child(2) div:nth-child(3):after {content:'Che 1'}
  #ste td.Ch2 div:nth-child(2) div:nth-child(3):after {content:'Che 2'}
  #ste td.Ei_ div:nth-child(2) div:nth-child(3):after {content:'En Li1'}
  #ste td.Ei2 div:nth-child(2) div:nth-child(3):after {content:'En Li2'}
  #ste td.Ea_ div:nth-child(2) div:nth-child(3):after {content:'En La1'}
  #ste td.Ea2 div:nth-child(2) div:nth-child(3):after {content:'En La2'}
  #ste td.Ge_ div:nth-child(2) div:nth-child(3):after {content:'Geo 1'}
  #ste td.Ge2 div:nth-child(2) div:nth-child(3):after {content:'Geo 2'}
  #ste td.Ge3 div:nth-child(2) div:nth-child(3):after {content:'Geo 3'}
  #ste td.Ge3 div:nth-child(2) div:nth-child(4):after {content:'People \a – decis.'}
  #ste td.Ma_ div:nth-child(2) div:nth-child(3):after {content:'Math 1'}
  #ste td.Ma2 div:nth-child(2) div:nth-child(3):after {content:'Math 2'}
  #ste td.Ma3 div:nth-child(2) div:nth-child(3):after {content:'Math 3'}
  #ste td.MaA div:nth-child(2) div:nth-child(3):after {content:'Add Math';white-space:pre-wrap}
  #ste td.Mu_ div:nth-child(2) div:nth-child(3):after {content:'Music'}
  #ste td.Ph_ div:nth-child(2) div:nth-child(3):after {content:'Phy 1'}
  #ste td.Ph2 div:nth-child(2) div:nth-child(3):after {content:'Phy 2'}
  #ste td.S13 div:nth-child(2) div:nth-child(3):after {content:'Sp 1&3'}
  #ste td.Sp4 div:nth-child(2) div:nth-child(3):after {content:'Sp 4'}
  #ste td.S13 div:nth-child(2) div:nth-child(4):after {content:'Listen. & Read.';white-space:pre-wrap}
}

/* screens <= 350px */
@media only screen AND (max-width:350px){
  #d0   {padding:10px 0}
  #c0   {margin:0 2%}
  #ws   {padding-bottom:30px}
}

/* print (A4 - margins:10mm )*/
@media print{
  body  {min-height:0}
  div.sh,
  div.bl,div.bl2,div.bl3,div.bl4,div.bl5,
  div.bu,div.bu2,div.bu3,div.bu4,div.bu5,
  div.lv,div.lv2,div.lv3,div.sn,div.sn2,
  #logo {display:none}
  #d0   {padding:0;background:none;background-color:#FFFFFF !important}
  #c0   {margin:0 1% 0}
  h1,h2,h3,p {display:none}
  #ste {margin:0}
  #ste tr:nth-child(6) td:nth-child(1),
  #ste tr:nth-child(13) td:nth-child(1) {height:60px}  /* empty pm all week */
  #ste tr.brl td:nth-child(1) {height:auto}
  #ste tr.brl td div:nth-child(2) {height:34px;line-height:34px}  /* half term */
  #ws   {padding:0}
}
