html,body { }

#wrapper { width:90%; margin:0 auto; height:90vh; position:relative; overflow:scroll; }
table.datalist { border-collapse: separate; width:100%; margin:12px auto 24px; }
table.datalist th,table.datalist td { border:1px solid #999; font-size:80%; padding:4px; white-space: nowrap; }
table.datalist th { background-color:#fafad2; }	
table.datalist td.num { text-align:right; }

table.datalist th.thSales { background-color:#ffffe0; }
table.datalist th.thCnt,table.datalist th.thDays { background-color:#eee8aa; }

table.datalist tr:nth-child(2n+1) { background: #e6e6fa; }
table.datalist tr:hover td { background: #4169e1; color:#FFF; }

table.datalist thead th { 
	position: -webkit-sticky;
	position: sticky;
	z-index: 1;
	white-space: nowrap;
}
table.datalist thead tr:nth-child(1) th { top: 0;  }
table.datalist thead tr:nth-child(2) th { top: 2rem; }
table.datalist thead tr:nth-child(3) th { top: 4rem; }

header { position:relative; }
h1 { margin:0; padding:0; font-size:24px; }
header ul { position:absolute; top:0; right:24px; display:flex; justify-content:left; flex-wrap:no-wrap; margin:0; padding:0; }
header li { list-style-type:none; background-color:#3aa7a0; margin:0 4px; padding:4px;  }
header li a { color:#FFF; text-decoration:none; }

dl#regist { display:flex; display:flex; justify-content:left; flex-wrap:wrap; width:480px; margin:0 auto;}
dl#regist dt,dl#regist dd { margin:8px 0; padding:6px; box-sizing: border-box; border:1px solid #3aa7a0; }
dl#regist dt { width:20%; background-color:#9fd9d0;   }
dl#regist dd { width:80%; border-left:0; } 
dl#regist dd select,dl#regist dd input { padding:4px; }
dl#regist dd input[type="number"] { text-align:right; } 
dl#regist dd input.price { text-align:right; width:100px; } 

#btnBox { text-align:center; }
#btnBox button { padding:6px; font-size:120%;}

#carlist { width:100%; max-width:480px; text-align:center }
#carlist input { border:0; background-color:transparent; }
#carlist input:hover { background-color:#FFF; }
.no { text-align:center; }

#cmbMon{ padding:4px; }

.txtC { text-align:center; }

.msgBox,.errBox { width:80%; margin:6px auto; text-align:center; }
.msgBox { background-color:#0000FF; color:#FFF; }

#btnDel{ color:red; display:none; }