h3.table_title{ text-align: center; margin-bottom: 1em; } table.seat { border: solid 10px #1f2c3d; text-align: center; background-color: rgba(215, 215, 215, 1); } table.seat tbody tr:nth-child(2n + 1) { background-color: rgba(204, 255, 204, 0); } table.seat th{ font-size: 0.9em; padding: 0.30em 0.30em 0.30em 0.30em; border-bottom: solid 2px #1f2c3d; } table.seat th:first-child { border-right: solid 2px #1f2c3d; } table.seat td { padding: 0.35em 0.35em; } table.seat td:first-child { font-size: 0.9em; padding: 0.30em 0.30em 0.30em 0.30em; font-weight: 600; border-right: solid 2px #1f2c3d; } .check_box { display:none; } .check_box+label{ background:url('../../img/seat_red.png') no-repeat; height: 16px; width: 16px; display:inline-block; } .check_box:checked+label{ background:url('../../img/seat_green.png') no-repeat; } .black.button { width: 100%; height: 30px; border: 1px solid #dadada; background-color: #00020f; color: #dadada; padding: 5px; margin-top: 5px; font-size: 12px; font-weight: bold; box-shadow: 2px 2px #1f2c3d; cursor: pointer; } .black.button:hover { border:#000000; background-color: #791515; } h3.tablelike_title{ text-align: left; margin-bottom: 1em; margin-left: 13%; float:left; } a.tablelike_link { color: #1f2c3d; text-decoration: none; float:left; padding:10px; border-bottom:1px solid #000; border-right:1px solid #000; min-width:46px; width: 25%; height: 40px; } a.tablelike_link:nth-child(8n){ background-color:rgba(144, 144, 144, 0.25); } a.tablelike_link:nth-child(8n-1){ background-color:rgba(144, 144, 144, 0.25); } a.tablelike_link:nth-child(-n+4){ border-top:1px solid #000; } a.tablelike_link:hover{ color:rgb(138, 150, 32); } ul.tablelike{ list-style:none; text-align:center; } ul.tablelike li.tablelike{ float:left; padding:10px; border-bottom:1px solid #000; border-right:1px solid #000; min-width:46px; width: 25%; height: 40px; } ul.tablelike li.tablelike:nth-child(2n+1){ clear:both; border-left:1px solid #000; } ul.tablelike li.tablelike:nth-child(-n+2){ border-top:1px solid #000; } li.tablelike:nth-child(8n-2){ background-color:rgba(144, 144, 144, 0.25); } li.tablelike:nth-child(8n-3){ background-color:rgba(144, 144, 144, 0.25); }