.timetable_description { display:block; float: left; width:92%; text-align: center; font-weight: bold; } .block_timetable .timetable_description { width:100%; } div.timetables { display: flex; flex-wrap: wrap; } div.timetable { border:2px solid black; } .block_timetable div.timetable { border:0px; } .timetable table { text-align: center; padding-top:0rem; padding-bottom:0rem; padding-left:2px; padding-right:0px; margin: 0 auto; width: 100%; line-height: 1; } .block_timetable table { max-width: 280px; } .timetable table.caption { padding-top:0pt; padding-bottom:0pt; } #close { display:block; float:right } .block_timetable #close { display: none; } .timetable th { padding: 2px; font-size: 0.8em; text-align: center; width: 4.5rem; } .timetable td { padding: 2px; padding-left: 2px; font-size: 0.8em; text-align: center; width: 1rem; } .time { font-size: 6pt; display: none; } div.lesson { margin: 2px; } .substitution { //padding: 2px; background-color: pink; display: block!important; } .lesson_detail { font-size: 6pt; white-space: nowrap; } .changed { background-color: red; color: white; padding: 2px; //box-sizing: border-box; font-weight:bold; font-size: 1em; //display: block!important; } .lesson_details { display: none; } .lesson_detail { display: inline-block; margin: 1px; } .lesson_txt { background-color: pink; color: blue; padding: 2px; font-weight:bold; //display: inline; } .canceled { background-color: red; color: white; padding: 2px; font-weight:bold; //display: inline; //text-decoration: line-through; } .subtype_1 .lesson_main { text-decoration: line-through; } .subtype_1 .lesson_detail { text-decoration: line-through; } .cancel4me .lesson_main { text-decoration: line-through; } .cancel4me .lesson_detail { text-decoration: line-through; font-size: 1em; //display: none; } //.canceled .lesson_detail.cancel_detail { // text-decoration: line-through; //} .canceled .lesson_detail.changed { text-decoration: line-through; } .canceled.lesson_main.changed { text-decoration: line-through; } //.canceled.lesson_main.cancel_detail { // text-decoration: line-through; //}