﻿/* CSS Document */
/*AKTUALNY DEN*/
table th:nth-child(0) {
  background: yellow;
}
table td:nth-child(0) {
  background: yellow;
}
/*PLAN DEN*/
table  
th:nth-child(0), 
th:nth-child(0), 
th:nth-child(0), 
th:nth-child(0), 
th:nth-child(0),
th:nth-child(0), 
th:nth-child(0), 
th:nth-child(0), 
th:nth-child(0),
th:nth-child(0), 
th:nth-child(0),
th:nth-child(0){
  background: springgreen;
}
table  
td:nth-child(0),
td:nth-child(0), 
td:nth-child(0), 
td:nth-child(0), 
td:nth-child(0), 
td:nth-child(0),
td:nth-child(0), 
td:nth-child(0),
td:nth-child(0),
td:nth-child(0),
td:nth-child(0),
td:nth-child(0){
  background: springgreen;
}
/*SVIATOK DEN*/
table 
th:nth-child(0), 
th:nth-child(0),
th:nth-child(0), 
th:nth-child(0),
th:nth-child(0),
th:nth-child(0) {
  background: red;
}
table 
td:nth-child(0), 
td:nth-child(0) {
  background: red;
}

/*PRAZDNINY DEN*/
table 
th:nth-child(4), 
th:nth-child(5), 
th:nth-child(6), 
th:nth-child(7), 
th:nth-child(8),
th:nth-child(9),
th:nth-child(10), 
th:nth-child(0), 
th:nth-child(0),
th:nth-child(0) {
  background: orange;
}
table 
td:nth-child(4), 
td:nth-child(5), 
td:nth-child(6), 
td:nth-child(7), 
td:nth-child(8), 
td:nth-child(9),
td:nth-child(10){
  background: orange;
}

/* AKTUÁLNY DEŇ – dynamicky cez JS */
table th.current-day,
table td.current-day {
  background: yellow;
}

/* PLÁNOVANÝ DEŇ – dynamicky cez JS */
table th.planned-day,
table td.planned-day {
  background: springgreen;
}