.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.table tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.table-sm th,
.table-sm td {
  padding: 0.3rem;
}
.table-secondary,
.table-secondary > th,
.table-secondary > td {
  background-color: #d6d8db;
}

.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
  border-color: #b3b7bb;
}
.table .thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}
.flex-wrap {
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}


.waku_1 {background-color: #fff !important; color: #000 !important; border: 1px solid #000;}
.waku_2 {background-color: #000 !important; color: #fff !important;}
.waku_3 {background-color: #f00 !important; color: #fff !important;}
.waku_4 {background-color: #00f !important; color: #fff !important;}
.waku_5 {background-color: #ff0 !important; color: #000 !important;}
.waku_6 {background-color: #080 !important; color: #fff;}
.waku_7 {background-color: #ffa500 !important; color: #000 !important;}
.waku_8 {background-color: #ffc0cb !important; color: #000 !important;}
.waku {
	padding: 3px 8px;
	text-align: center;
}
.waku_vertical {
	padding-top: 4px;
	padding-left: 4px;
}

.race-container {
	page-break-inside: avoid;	/* 途中で改ページさせない */
}

hr {
	page-break-after: always;
	height: 10px;
	border: none;
}

.canvas {
	width: 280px;
	margin-left: 2px !important;
	margin-right: 2px !important;
}
.bigCanvas {
	margin: 0 auto;
	width: 420px;
}
@media screen and (min-width: 768px) {
.bigCanvas {
	width: 580px;
}
}

table {
	page-break-inside: avoid;
}
.choukyou-data {
}
.table-light td {
	background-color: #f0f0f0;
}
.choukyou-laptime th, .choukyou-laptime td {
	text-align: center;
	padding: 0.1rem 0.3rem;
}
.table-bonsou,
.table-bonsou > th,
.table-bonsou > td {
	background-color: #F0F0F0;
}
.table-koucho,
.table-koucho > th,
.table-koucho > td {
	background-color: #BFE0F7;
}
.table-thisweek,
.table-thisweek > th,
.table-thisweek > td {
	background-color: #F5C0D9;
}

#main div.d-flex, 
#main div.d-flex div,
#main div.d-flex table {
	margin: 0;
}
